{
  "match_info": {
    "home_team": "Real Betis",
    "away_team": "Osasuna",
    "tournament": "LaLiga",
    "date": "20261011",
    "timezone": "America/New_York",
    "home_formation": "4-3-3",
    "away_formation": "4-2-3-1",
    "lineup_status": "unconfirmed_official",
    "lineup_source": "/matches/get-lineups",
    "lineup_confirmed": false,
    "lineup_confidence": 0.75
  },
  "prediction": {
    "most_likely_score": "1-0",
    "home_goals": 1,
    "away_goals": 0,
    "most_likely_score_probability": 0.1207,
    "match_resolution": "regulation",
    "predicted_winner": "Real Betis",
    "tiebreaker": {
      "applies": false,
      "method": "none",
      "regulation_draw_probability": 0.2143,
      "shootout_home_win_probability": null,
      "shootout_away_win_probability": null,
      "penalty_home_goals": null,
      "penalty_away_goals": null,
      "penalty_score": null,
      "penalty_winner": null,
      "penalty_winner_goals": null,
      "penalty_loser_goals": null,
      "penalty_result": null,
      "home_advance_probability": null,
      "away_advance_probability": null,
      "projected_winner": null,
      "projected_winner_probability": null,
      "final_score_after_penalties": null,
      "reason": "Tie-breaker not required for this match context."
    },
    "top_5_scorelines": [
      {
        "score": "1-0",
        "probability": 0.1207
      },
      {
        "score": "2-0",
        "probability": 0.1173
      },
      {
        "score": "1-1",
        "probability": 0.1019
      },
      {
        "score": "2-1",
        "probability": 0.098
      },
      {
        "score": "3-0",
        "probability": 0.0756
      }
    ],
    "scoreline_probabilities": {
      "0-0": 0.0633,
      "0-1": 0.0518,
      "0-2": 0.0219,
      "0-3": 0.0061,
      "0-4": 0.0013,
      "1-0": 0.1207,
      "1-1": 0.1019,
      "1-2": 0.0423,
      "1-3": 0.0118,
      "1-4": 0.0025,
      "2-0": 0.1173,
      "2-1": 0.098,
      "2-2": 0.0409,
      "2-3": 0.0114,
      "2-4": 0.0024,
      "3-0": 0.0756,
      "3-1": 0.0631,
      "3-2": 0.0264,
      "3-3": 0.0073,
      "3-4": 0.0015,
      "4-0": 0.0366,
      "4-1": 0.0305,
      "4-2": 0.0127,
      "4-3": 0.0035,
      "4-4": 0.0007,
      "5-0": 0.0141,
      "5-1": 0.0118,
      "5-2": 0.0049,
      "5-3": 0.0014,
      "6-0": 0.0046,
      "6-1": 0.0038,
      "6-2": 0.0016,
      "7-0": 0.0013,
      "7-1": 0.0011
    },
    "outcome": {
      "home_win": 0.6313,
      "draw": 0.2143,
      "away_win": 0.1544
    },
    "markets": {
      "over_2_5_goals": 0.5231,
      "under_2_5_goals": 0.4769,
      "btts_yes": 0.4849,
      "btts_no": 0.5151,
      "home_clean_sheet": 0.4339,
      "away_clean_sheet": 0.1446
    },
    "home_ratings": {
      "DR": 6.8,
      "MCR": 7.01,
      "ATR": 7.02,
      "GK": 7.21
    },
    "away_ratings": {
      "DR": 6.68,
      "MCR": 6.88,
      "ATR": 6.8,
      "GK": 7.09
    },
    "insights": {
      "summary": "Antagonist matchup analysis for Real Betis vs Osasuna. Most likely scoreline: 1-0. Lambdas derived from 6 home and 5 away individual player duels. Head-to-head: Real Betis 6W-2D-2L vs Osasuna over 10 meetings.",
      "key_player": "Projected scorer(s): Abdessamad Ezzalzouli",
      "tactical_analysis": "Tactical parity between 4-3-3 and 4-2-3-1. Match outcome driven primarily by individual player quality. Midfield is evenly contested — Pablo Fornals vs Jon Moncayola will be the pivotal duel. Total antagonist xG — Home: 1.19, Away: 0.58. Home danger zone: Left Wing vs Right Back — Flank Battle. Away danger zone: Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle."
    },
    "confidence": 0.77,
    "home_lambda": 1.934,
    "away_lambda": 0.835,
    "h2h": {
      "available": true,
      "meetings": 10,
      "home_wins": 6,
      "away_wins": 2,
      "draws": 2,
      "home_multiplier": 1.0286,
      "away_multiplier": 0.9714
    },
    "modal_scoreline": null,
    "modal_scoreline_probability": null,
    "headline_policy": null
  },
  "pregame_baseline": {
    "fair_win_probability": {
      "home_win": 0.6313,
      "draw": 0.2143,
      "away_win": 0.1544
    },
    "favorite": "Real Betis",
    "favorite_win_probability": 0.6313,
    "fair_spread": 1.099,
    "fair_total": 2.769,
    "prop_estimates": [
      {
        "market": "team_total_goals",
        "selection": "Real Betis",
        "estimate": 1.934,
        "probability": null,
        "unit": "goals"
      },
      {
        "market": "team_total_goals",
        "selection": "Osasuna",
        "estimate": 0.835,
        "probability": null,
        "unit": "goals"
      },
      {
        "market": "over_2_5_goals",
        "selection": "yes",
        "estimate": 2.5,
        "probability": 0.5231,
        "unit": "probability"
      },
      {
        "market": "both_teams_to_score",
        "selection": "yes",
        "estimate": 1.0,
        "probability": 0.4849,
        "unit": "probability"
      },
      {
        "market": "clean_sheet",
        "selection": "Real Betis",
        "estimate": 1.0,
        "probability": 0.4339,
        "unit": "probability"
      },
      {
        "market": "clean_sheet",
        "selection": "Osasuna",
        "estimate": 1.0,
        "probability": 0.1446,
        "unit": "probability"
      },
      {
        "market": "anytime_goal",
        "selection": "Abdessamad Ezzalzouli (Real Betis)",
        "estimate": 0.4764,
        "probability": 0.379,
        "unit": "xG"
      },
      {
        "market": "anytime_goal",
        "selection": "Ante Budimir (Osasuna)",
        "estimate": 0.378,
        "probability": 0.3148,
        "unit": "xG"
      },
      {
        "market": "assist",
        "selection": "Abdessamad Ezzalzouli (Real Betis)",
        "estimate": 0.2709,
        "probability": 0.2373,
        "unit": "xA"
      },
      {
        "market": "assist",
        "selection": "Moi Gómez (Osasuna)",
        "estimate": 0.1264,
        "probability": 0.1187,
        "unit": "xA"
      }
    ],
    "expected_pace": {
      "tempo": "balanced",
      "expected_total_goals": 2.769,
      "expected_total_shots": 25,
      "expected_total_passes": 911,
      "expected_pressing_actions_per_90": 12.2,
      "possession_home_pct": 50.1,
      "possession_away_pct": 49.9,
      "notes": "possession projects near even"
    },
    "expected_game_script": {
      "favorite": "Real Betis",
      "favorite_win_probability": 0.6313,
      "script": "Real Betis is the fair winner side, but the baseline remains favorite-led: fair spread +1.10 goals and fair total 2.77.",
      "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; Osasuna 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 Asier Osambela in Left Wing vs Right Back — Flank Battle; possession projects near even.",
    "expected_rotation_usage_behavior": [
      "Real Betis: starters carry the main goal usage through Abdessamad Ezzalzouli; bench watchlist: Troy Parrott, Nelson Deossa.",
      "Osasuna: starters carry the main goal usage through the highest xG attackers; bench watchlist: Enzo Boyomo, Romain Del Castillo, Jonathan Dubasin.",
      "Assist usage should flow through Isco; 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.38 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 Osasuna 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.",
      "Osasuna 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-3-3",
      "players": {
        "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.4764,
            "goal_rate": 0.4871,
            "goals": 1,
            "shots_on_target": 1,
            "total_shots": 3,
            "expected_assists": 0.2709,
            "key_pass": 2,
            "rating": 7.2543,
            "minutes": 81,
            "total_pass": 30,
            "accurate_pass": 24,
            "duels_won": 6,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "total_opp_half_passes": 21,
            "accurate_opp_half_passes": 17,
            "crosses_total": 2,
            "crosses_accurate": 0,
            "touches": 50,
            "possession_lost": 13.0932,
            "dispossessed": 1.7229,
            "duels_lost": 5,
            "aerial_lost": 1,
            "total_contest": 3,
            "won_contest": 2,
            "ball_recovery": 3,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 2,
            "assist_rate": 0.1556,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.6642,
            "offsides": 0,
            "ball_carries": 18,
            "total_progression": 105,
            "progressive_carries": 5,
            "shots_off_target": 2,
            "duel_xg_multiplier": 1.1841,
            "dribbles_attempted": 4,
            "dribbles_successful": 2.1,
            "aerial_won": 1,
            "crosses_attempted": 2.5,
            "duel_win_rate": 0.605,
            "pressing_faced": "LOW",
            "matchup_zone": "Left Wing vs Right Back — Flank Battle",
            "numerical_situation": "1v1",
            "opponent_defenders": "Asier Osambela",
            "opponent_faced": "Asier Osambela",
            "antagonist_source": "attacking_duel",
            "projected_goals": 1,
            "goal_probability": 0.379,
            "projected_assists": 0,
            "assist_probability": 0.2373,
            "finishing_factor": 1.25,
            "creation_factor": 0.8114,
            "fifa_overall": 86.0
          },
          "latest_10_games": [
            {
              "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.4941,
                "expected_assists": 0.0792,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 35,
                "accurate_pass": 30,
                "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"
            },
            {
              "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.6,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3006,
                "expected_assists": 0.0051,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 26,
                "accurate_pass": 21,
                "key_pass": 1,
                "tackles": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 8,
                "ball_recovery": 5
              },
              "has_player_stats": true
            },
            {
              "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": 8.6,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.6889,
                "expected_assists": 0.2853,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 38,
                "accurate_pass": 28,
                "key_pass": 2,
                "tackles": 4,
                "tackles_won": 2,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 7,
                "ball_recovery": 4
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083211,
              "match_date": "2026-04-24",
              "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": 8.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0553,
                "expected_assists": 0.3401,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 46,
                "accurate_pass": 39,
                "key_pass": 3,
                "tackles": 4,
                "tackles_won": 3,
                "interceptions": 3,
                "duels_won": 8,
                "ball_recovery": 4
              },
              "has_player_stats": true
            }
          ],
          "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.2543,
            "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": 33,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 33,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 1.0115,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (F_service) evaluated 33 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.3092,
                "goals": 0.4068,
                "goal_rate": 0.4068,
                "shots_on_target": 0.9071,
                "total_shots": 2.2302,
                "expected_assists": 0.2011,
                "key_pass": 1.5637,
                "rating": 7.2543,
                "minutes": 81.35,
                "total_pass": 29.6008,
                "accurate_pass": 24.1724,
                "duels_won": 5.582,
                "total_long_balls": 0.7643,
                "accurate_long_balls": 0.6084,
                "total_opp_half_passes": 20.3586,
                "accurate_opp_half_passes": 16.6257,
                "crosses_total": 1.8778,
                "crosses_accurate": 0.3636,
                "touches": 49.5423,
                "possession_lost": 12.9443,
                "dispossessed": 1.7033,
                "duels_lost": 5.0952,
                "aerial_lost": 1.0238,
                "total_contest": 2.9098,
                "won_contest": 1.4958,
                "ball_recovery": 2.9958,
                "challenges_lost": 0.4288,
                "fouls": 0.7697,
                "fouls_drawn": 1.8941,
                "assists": 0.1538,
                "assist_rate": 0.1538,
                "interceptions": 0.3482,
                "tackles_won": 0.9598,
                "tackles": 1.4334,
                "clearances": 0.6639,
                "blocks": 0.0412,
                "big_chances_created": 0.259,
                "big_chances_missed": 0.2367,
                "xgot": 0.4311,
                "offsides": 0.053,
                "ball_carries": 17.3582,
                "total_progression": 104.1932,
                "progressive_carries": 4.5394,
                "shots_off_target": 1.3231
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-11T10:27:16.278802+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 604,
                    "rows": 15537
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1507,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Getafe",
                    "minutes": 72.0,
                    "is_starting": true,
                    "weight": 0.1281,
                    "rating": 8.1
                  },
                  {
                    "match_date": "2026-09-14",
                    "opponent": "Villarreal",
                    "minutes": 66.0,
                    "is_starting": true,
                    "weight": 0.1089,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Levante UD",
                    "minutes": 16.0,
                    "is_starting": false,
                    "weight": 0.0926,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Levante UD",
                    "minutes": 80.0,
                    "is_starting": true,
                    "weight": 0.0787,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "FC Barcelona",
                    "minutes": 79.0,
                    "is_starting": true,
                    "weight": 0.0669,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-12",
                    "opponent": "Elche",
                    "minutes": 83.0,
                    "is_starting": true,
                    "weight": 0.0568,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-05-09",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0483,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-05-03",
                    "opponent": "Real Oviedo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0411,
                    "rating": 8.6
                  },
                  {
                    "match_date": "2026-04-24",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0349,
                    "rating": 8.1
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "expectedGoals": 0.2783,
                  "totalOppositionHalfPasses": 19.3168,
                  "accurateOppositionHalfPasses": 15.9976,
                  "accuratePass": 23.0503,
                  "totalShots": 1.9718
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.3091944456100464,
                    "model_output": 0.3092,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.282
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0894
                      },
                      {
                        "name": "goals",
                        "importance": 0.0352
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0258
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0248
                      }
                    ],
                    "decomposition": {
                      "base": 0.1978,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0708
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0509
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.031
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0284
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0141
                        }
                      ],
                      "others": -0.027,
                      "total": 0.3092,
                      "log_link": true,
                      "margin_base": -1.62027,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.306001
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.173471
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.092544
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.084587
                        },
                        {
                          "name": "goals",
                          "margin": 0.042712
                        }
                      ],
                      "others_margin": -0.083656
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.40675440430641174,
                    "model_output": 0.4068,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.121
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0861
                      },
                      {
                        "name": "goals",
                        "importance": 0.0516
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0267
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0267
                      }
                    ],
                    "decomposition": {
                      "base": 0.2032,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0816
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0617
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0395
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0394
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0326
                        }
                      ],
                      "others": 0.014,
                      "total": 0.4068,
                      "log_link": true,
                      "margin_base": -1.593696,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.337716
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.196091
                        },
                        {
                          "name": "goals",
                          "margin": 0.108051
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.097276
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.07968
                        }
                      ],
                      "others_margin": 0.034695
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.907063901424408,
                    "model_output": 0.9071,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2113
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0717
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0497
                      },
                      {
                        "name": "goals",
                        "importance": 0.0454
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.5367,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1959
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0843
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0832
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0419
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0359
                        }
                      ],
                      "others": 0.0956,
                      "total": 0.9071,
                      "log_link": true,
                      "margin_base": -0.622283,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.31117
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.108967
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.107417
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.055552
                        },
                        {
                          "name": "goals",
                          "margin": 0.04523
                        }
                      ],
                      "others_margin": 0.11124
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 2.2301647663116455,
                    "model_output": 2.2302,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2764
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0561
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.043
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0394
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0354
                      }
                    ],
                    "decomposition": {
                      "base": 1.3728,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.5578
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.1705
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.1039
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0832
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0681
                        }
                      ],
                      "others": 0.0403,
                      "total": 2.2302,
                      "log_link": false,
                      "margin_base": 1.372807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.557777
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.170456
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.103934
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.083233
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.068124
                        }
                      ],
                      "others_margin": 0.040299
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.2010865956544876,
                    "model_output": 0.2011,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1017
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0772
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0688
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0665
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0563
                      }
                    ],
                    "decomposition": {
                      "base": 0.0639,
                      "items": [
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0155
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.016
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0135
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0128
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0127
                        }
                      ],
                      "others": 0.0667,
                      "total": 0.2011,
                      "log_link": true,
                      "margin_base": -2.751197,
                      "item_margins": [
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.216741
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.183607
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.132596
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.111097
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.099282
                        }
                      ],
                      "others_margin": 0.403855
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 1.5636579990386963,
                    "model_output": 1.5637,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1626
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1193
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0628
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0553
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0328
                      }
                    ],
                    "decomposition": {
                      "base": 0.6728,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.228
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.1486
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.098
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0666
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0569
                        }
                      ],
                      "others": 0.2928,
                      "total": 1.5637,
                      "log_link": true,
                      "margin_base": -0.396376,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.291893
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.152699
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.089277
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.056405
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.045775
                        }
                      ],
                      "others_margin": 0.207355
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.254347801208496,
                    "model_output": 7.2543,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0639
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0556
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0431
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0431
                      },
                      {
                        "name": "rating",
                        "importance": 0.039
                      }
                    ],
                    "decomposition": {
                      "base": 6.7636,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0683
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.068
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0629
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0524
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0431
                        }
                      ],
                      "others": 0.196,
                      "total": 7.2543,
                      "log_link": false,
                      "margin_base": 6.763607,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.068318
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.067974
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.062935
                        },
                        {
                          "name": "rating",
                          "margin": 0.052436
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.043053
                        }
                      ],
                      "others_margin": 0.196026
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 33,
                  "role_matches": 29,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0115, quality 0.796)",
              "stats": {
                "expected_goals": 0.3128,
                "goals": 0.4114,
                "goal_rate": 0.4114,
                "shots_on_target": 0.9175,
                "total_shots": 2.2558,
                "expected_assists": 0.2034,
                "key_pass": 1.5816,
                "rating": 7.2543,
                "minutes": 81.35,
                "total_pass": 29.9412,
                "accurate_pass": 24.4504,
                "duels_won": 5.6462,
                "total_long_balls": 0.7731,
                "accurate_long_balls": 0.6154,
                "total_opp_half_passes": 20.5927,
                "accurate_opp_half_passes": 16.8169,
                "crosses_total": 1.8994,
                "crosses_accurate": 0.3678,
                "touches": 50.112,
                "possession_lost": 13.0932,
                "dispossessed": 1.7229,
                "duels_lost": 5.1538,
                "aerial_lost": 1.0356,
                "total_contest": 2.9433,
                "won_contest": 1.513,
                "ball_recovery": 3.0303,
                "challenges_lost": 0.4337,
                "fouls": 0.7786,
                "fouls_drawn": 1.9159,
                "assists": 0.1556,
                "assist_rate": 0.1556,
                "interceptions": 0.3522,
                "tackles_won": 0.9708,
                "tackles": 1.4499,
                "clearances": 0.6715,
                "blocks": 0.0417,
                "big_chances_created": 0.262,
                "big_chances_missed": 0.2394,
                "xgot": 0.4361,
                "offsides": 0.0536,
                "ball_carries": 17.5578,
                "total_progression": 105.3914,
                "progressive_carries": 4.5916,
                "shots_off_target": 1.3383
              },
              "params": {
                "market_value_eur": 43000000,
                "quality_factor": 0.7957,
                "boost_factor": 1.0115,
                "reference_quality": 0.505,
                "history_matches": 33,
                "history_shrink": 0.1316,
                "market_value_known": true
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.3128,
                "goals": 0.4114,
                "goal_rate": 0.4114,
                "shots_on_target": 0.9175,
                "total_shots": 2.2558,
                "expected_assists": 0.2034,
                "key_pass": 1.5816,
                "rating": 7.2543,
                "minutes": 81.35,
                "total_pass": 29.9412,
                "accurate_pass": 24.4504,
                "duels_won": 5.6462,
                "total_long_balls": 0.7731,
                "accurate_long_balls": 0.6154,
                "total_opp_half_passes": 20.5927,
                "accurate_opp_half_passes": 16.8169,
                "crosses_total": 1.8994,
                "crosses_accurate": 0.3678,
                "touches": 50.112,
                "possession_lost": 13.0932,
                "dispossessed": 1.7229,
                "duels_lost": 5.1538,
                "aerial_lost": 1.0356,
                "total_contest": 2.9433,
                "won_contest": 1.513,
                "ball_recovery": 3.0303,
                "challenges_lost": 0.4337,
                "fouls": 0.7786,
                "fouls_drawn": 1.9159,
                "assists": 0.1556,
                "assist_rate": 0.1556,
                "interceptions": 0.3522,
                "tackles_won": 0.9708,
                "tackles": 1.4499,
                "clearances": 0.6715,
                "blocks": 0.0417,
                "big_chances_created": 0.262,
                "big_chances_missed": 0.2394,
                "xgot": 0.4361,
                "offsides": 0.0536,
                "ball_carries": 17.5578,
                "total_progression": 105.3914,
                "progressive_carries": 4.5916,
                "shots_off_target": 1.3383
              },
              "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.3704,
                "goals": 0.4871,
                "goal_rate": 0.4871,
                "shots_on_target": 1.0864,
                "total_shots": 2.6711,
                "expected_assists": 0.2034,
                "key_pass": 1.5816,
                "rating": 7.2543,
                "minutes": 81.35,
                "total_pass": 29.9412,
                "accurate_pass": 24.4504,
                "duels_won": 5.6462,
                "total_long_balls": 0.7731,
                "accurate_long_balls": 0.6154,
                "total_opp_half_passes": 20.5927,
                "accurate_opp_half_passes": 16.8169,
                "crosses_total": 1.8994,
                "crosses_accurate": 0.3678,
                "touches": 50.112,
                "possession_lost": 13.0932,
                "dispossessed": 1.7229,
                "duels_lost": 5.1538,
                "aerial_lost": 1.0356,
                "total_contest": 2.9433,
                "won_contest": 1.513,
                "ball_recovery": 3.0303,
                "challenges_lost": 0.4337,
                "fouls": 0.7786,
                "fouls_drawn": 1.9159,
                "assists": 0.1556,
                "assist_rate": 0.1556,
                "interceptions": 0.3522,
                "tackles_won": 0.9708,
                "tackles": 1.4499,
                "clearances": 0.6715,
                "blocks": 0.0417,
                "big_chances_created": 0.262,
                "big_chances_missed": 0.2835,
                "xgot": 0.5164,
                "offsides": 0.0536,
                "ball_carries": 17.5578,
                "total_progression": 105.3914,
                "progressive_carries": 4.5916,
                "shots_off_target": 1.5847,
                "duel_xg_multiplier": 1.1841,
                "dribbles_attempted": 4.0,
                "dribbles_successful": 2.1,
                "aerial_won": 1.0,
                "crosses_attempted": 2.5,
                "duel_win_rate": 0.605,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Asier Osambela",
                "opponent_faced": "Asier Osambela",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Asier Osambela",
                  "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                  "duel_win_rate": 0.605,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 1.1841,
                  "skill_edge": 0.1612,
                  "height_edge": -0.036,
                  "attacker_skill": 0.7957,
                  "defender_skill": 0.4374,
                  "attacker_role": "LW",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Asier Osambela",
                      "market_value": 1000000,
                      "role": "RB",
                      "price_index": 0.7,
                      "adjusted_quality": 0.4374
                    }
                  ],
                  "xg_override": 0.3704
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 2.2558,
                  "after": 2.6711
                },
                {
                  "stat": "shotOffTarget",
                  "before": 1.3383,
                  "after": 1.5847
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.9175,
                  "after": 1.0864
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.4361,
                  "after": 0.5164
                },
                {
                  "stat": "goals",
                  "before": 0.4114,
                  "after": 0.4871
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.3128,
                  "after": 0.3704
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 0.2394,
                  "after": 0.2835
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.93 (squad xG sum 1.5037, xG scale 1.2862, xA scale 1.3318, team xA 1.26 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.4764,
                "goal_rate": 0.4871,
                "goals": 0,
                "shots_on_target": 1.0864,
                "total_shots": 2.6711,
                "expected_assists": 0.2709,
                "key_pass": 1.5816,
                "rating": 7.2543,
                "minutes": 81.35,
                "total_pass": 29.9412,
                "accurate_pass": 24.4504,
                "duels_won": 5.6462,
                "total_long_balls": 0.7731,
                "accurate_long_balls": 0.6154,
                "total_opp_half_passes": 20.5927,
                "accurate_opp_half_passes": 16.8169,
                "crosses_total": 1.8994,
                "crosses_accurate": 0.3678,
                "touches": 50.112,
                "possession_lost": 13.0932,
                "dispossessed": 1.7229,
                "duels_lost": 5.1538,
                "aerial_lost": 1.0356,
                "total_contest": 2.9433,
                "won_contest": 1.513,
                "ball_recovery": 3.0303,
                "challenges_lost": 0.4337,
                "fouls": 0.7786,
                "fouls_drawn": 1.9159,
                "assist_rate": 0.1556,
                "assists": 0,
                "interceptions": 0.3522,
                "tackles_won": 0.9708,
                "tackles": 1.4499,
                "clearances": 0.6715,
                "blocks": 0.0417,
                "big_chances_created": 0.262,
                "big_chances_missed": 0.2835,
                "xgot": 0.6642,
                "offsides": 0.0536,
                "ball_carries": 17.5578,
                "total_progression": 105.3914,
                "progressive_carries": 4.5916,
                "shots_off_target": 1.5847,
                "duel_xg_multiplier": 1.1841,
                "dribbles_attempted": 4.0,
                "dribbles_successful": 2.1,
                "aerial_won": 1.0,
                "crosses_attempted": 2.5,
                "duel_win_rate": 0.605,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Asier Osambela",
                "opponent_faced": "Asier Osambela",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 0.8114
              },
              "params": {
                "team_lambda": 1.934,
                "squad_xg_sum": 1.5037,
                "squad_xa_sum": 0.9439,
                "team_expected_assists": 1.2571,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2862,
                "xa_scale": 1.3318,
                "opponent_lambda": 0.835,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.3704,
                  "after": 0.4764
                },
                {
                  "stat": "expected_assists",
                  "before": 0.2034,
                  "after": 0.2709
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 1 by projected rating, fifa_overall 86.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.4764,
                "goal_rate": 0.4871,
                "goals": 0,
                "shots_on_target": 1.0864,
                "total_shots": 2.6711,
                "expected_assists": 0.2709,
                "key_pass": 1.5816,
                "rating": 7.2543,
                "minutes": 81.35,
                "total_pass": 29.9412,
                "accurate_pass": 24.4504,
                "duels_won": 5.6462,
                "total_long_balls": 0.7731,
                "accurate_long_balls": 0.6154,
                "total_opp_half_passes": 20.5927,
                "accurate_opp_half_passes": 16.8169,
                "crosses_total": 1.8994,
                "crosses_accurate": 0.3678,
                "touches": 50.112,
                "possession_lost": 13.0932,
                "dispossessed": 1.7229,
                "duels_lost": 5.1538,
                "aerial_lost": 1.0356,
                "total_contest": 2.9433,
                "won_contest": 1.513,
                "ball_recovery": 3.0303,
                "challenges_lost": 0.4337,
                "fouls": 0.7786,
                "fouls_drawn": 1.9159,
                "assist_rate": 0.1556,
                "assists": 0,
                "interceptions": 0.3522,
                "tackles_won": 0.9708,
                "tackles": 1.4499,
                "clearances": 0.6715,
                "blocks": 0.0417,
                "big_chances_created": 0.262,
                "big_chances_missed": 0.2835,
                "xgot": 0.6642,
                "offsides": 0.0536,
                "ball_carries": 17.5578,
                "total_progression": 105.3914,
                "progressive_carries": 4.5916,
                "shots_off_target": 1.5847,
                "duel_xg_multiplier": 1.1841,
                "dribbles_attempted": 4.0,
                "dribbles_successful": 2.1,
                "aerial_won": 1.0,
                "crosses_attempted": 2.5,
                "duel_win_rate": 0.605,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Asier Osambela",
                "opponent_faced": "Asier Osambela",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 0.8114,
                "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: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.4764,
                "goal_rate": 0.4871,
                "goals": 1,
                "shots_on_target": 1.0864,
                "total_shots": 2.6711,
                "expected_assists": 0.2709,
                "key_pass": 1.5816,
                "rating": 7.2543,
                "minutes": 81.35,
                "total_pass": 29.9412,
                "accurate_pass": 24.4504,
                "duels_won": 5.6462,
                "total_long_balls": 0.7731,
                "accurate_long_balls": 0.6154,
                "total_opp_half_passes": 20.5927,
                "accurate_opp_half_passes": 16.8169,
                "crosses_total": 1.8994,
                "crosses_accurate": 0.3678,
                "touches": 50.112,
                "possession_lost": 13.0932,
                "dispossessed": 1.7229,
                "duels_lost": 5.1538,
                "aerial_lost": 1.0356,
                "total_contest": 2.9433,
                "won_contest": 1.513,
                "ball_recovery": 3.0303,
                "challenges_lost": 0.4337,
                "fouls": 0.7786,
                "fouls_drawn": 1.9159,
                "assist_rate": 0.1556,
                "assists": 0,
                "interceptions": 0.3522,
                "tackles_won": 0.9708,
                "tackles": 1.4499,
                "clearances": 0.6715,
                "blocks": 0.0417,
                "big_chances_created": 0.262,
                "big_chances_missed": 0.2835,
                "xgot": 0.6642,
                "offsides": 0.0536,
                "ball_carries": 17.5578,
                "total_progression": 105.3914,
                "progressive_carries": 4.5916,
                "shots_off_target": 1.5847,
                "duel_xg_multiplier": 1.1841,
                "dribbles_attempted": 4.0,
                "dribbles_successful": 2.1,
                "aerial_won": 1.0,
                "crosses_attempted": 2.5,
                "duel_win_rate": 0.605,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Asier Osambela",
                "opponent_faced": "Asier Osambela",
                "antagonist_source": "attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.379,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 0.8114,
                "fifa_overall": 86.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 1,
                "goal_probability": 0.379,
                "scorer_weight": 0.5955,
                "squad_weight_total": 2.0478,
                "weight_share": 0.2908,
                "finishing_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 1,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Abdessamad Ezzalzouli",
                    "weight": 0.5955,
                    "already": 0,
                    "effective_weight": 0.5955,
                    "runner_up": "Cucho Hernández",
                    "runner_up_effective_weight": 0.4616
                  }
                ]
              }
            },
            {
              "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.4764,
                "goal_rate": 0.4871,
                "goals": 1,
                "shots_on_target": 1.0864,
                "total_shots": 2.6711,
                "expected_assists": 0.2709,
                "key_pass": 1.5816,
                "rating": 7.2543,
                "minutes": 81.35,
                "total_pass": 29.9412,
                "accurate_pass": 24.4504,
                "duels_won": 5.6462,
                "total_long_balls": 0.7731,
                "accurate_long_balls": 0.6154,
                "total_opp_half_passes": 20.5927,
                "accurate_opp_half_passes": 16.8169,
                "crosses_total": 1.8994,
                "crosses_accurate": 0.3678,
                "touches": 50.112,
                "possession_lost": 13.0932,
                "dispossessed": 1.7229,
                "duels_lost": 5.1538,
                "aerial_lost": 1.0356,
                "total_contest": 2.9433,
                "won_contest": 1.513,
                "ball_recovery": 3.0303,
                "challenges_lost": 0.4337,
                "fouls": 0.7786,
                "fouls_drawn": 1.9159,
                "assist_rate": 0.1556,
                "assists": 0,
                "interceptions": 0.3522,
                "tackles_won": 0.9708,
                "tackles": 1.4499,
                "clearances": 0.6715,
                "blocks": 0.0417,
                "big_chances_created": 0.262,
                "big_chances_missed": 0.2835,
                "xgot": 0.6642,
                "offsides": 0.0536,
                "ball_carries": 17.5578,
                "total_progression": 105.3914,
                "progressive_carries": 4.5916,
                "shots_off_target": 1.5847,
                "duel_xg_multiplier": 1.1841,
                "dribbles_attempted": 4.0,
                "dribbles_successful": 2.1,
                "aerial_won": 1.0,
                "crosses_attempted": 2.5,
                "duel_win_rate": 0.605,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Asier Osambela",
                "opponent_faced": "Asier Osambela",
                "antagonist_source": "attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.379,
                "projected_assists": 0,
                "assist_probability": 0.2373,
                "finishing_factor": 1.25,
                "creation_factor": 0.8114,
                "fifa_overall": 86.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.2373,
                "provider_weight": 0.2198,
                "squad_weight_total": 1.1393,
                "weight_share": 0.1929,
                "creation_factor": 0.8114,
                "appearance_weight": 1.0,
                "weight_rank": 1,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Isco",
                    "weight": 0.1722,
                    "already": 0,
                    "effective_weight": 0.1722,
                    "runner_up": "Pablo Fornals",
                    "runner_up_effective_weight": 0.1629,
                    "blocked_own_goal": [
                      "Abdessamad Ezzalzouli"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Cucho Hernández": {
          "player_id": 887055,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 9,
          "height": 175,
          "market_value": 16500000,
          "stats": {
            "expected_goals": 0.4157,
            "goal_rate": 0.3644,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 2,
            "expected_assists": 0.0762,
            "key_pass": 1,
            "rating": 6.774,
            "minutes": 80,
            "total_pass": 20,
            "accurate_pass": 14,
            "duels_won": 4,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "total_opp_half_passes": 14,
            "accurate_opp_half_passes": 9,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 35,
            "possession_lost": 11.4462,
            "dispossessed": 1.9589,
            "duels_lost": 6,
            "aerial_lost": 3,
            "total_contest": 1,
            "won_contest": 1,
            "ball_recovery": 3,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 1,
            "assist_rate": 0.0916,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 1,
            "clearances": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 1,
            "xgot": 0.6257,
            "offsides": 0,
            "ball_carries": 10,
            "total_progression": 16,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "duel_xg_multiplier": 1.0075,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.4,
            "aerial_won": 1,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.205,
            "pressing_faced": "LOW",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Abel Bretones, Alejandro Catena",
            "opponent_faced": "Abel Bretones, Alejandro Catena",
            "antagonist_source": "attacking_duel",
            "projected_goals": 0,
            "goal_probability": 0.3401,
            "projected_assists": 0,
            "assist_probability": 0.0734,
            "finishing_factor": 1.1104,
            "creation_factor": 1.25,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "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.0259,
                "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"
            },
            {
              "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.5,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.2401,
                "expected_assists": 0.0331,
                "total_shots": 5,
                "shots_on_target": 3,
                "shots_off_target": 2,
                "total_pass": 31,
                "accurate_pass": 22,
                "key_pass": 2,
                "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": 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": 78,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0833,
                "expected_assists": 0.2897,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 13,
                "accurate_pass": 11,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 1,
                "duels_won": 2,
                "ball_recovery": 4
              },
              "has_player_stats": true
            }
          ],
          "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": 12,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.774,
            "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": 39,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 39,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 1.0031,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (F_service) evaluated 39 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.3198,
                "goals": 0.3606,
                "goal_rate": 0.3606,
                "shots_on_target": 0.8652,
                "total_shots": 2.3026,
                "expected_assists": 0.0571,
                "key_pass": 0.7674,
                "rating": 6.774,
                "minutes": 80.3,
                "total_pass": 19.4417,
                "accurate_pass": 14.2853,
                "duels_won": 3.7327,
                "total_long_balls": 1.3431,
                "accurate_long_balls": 1.0232,
                "total_opp_half_passes": 13.6372,
                "accurate_opp_half_passes": 9.4607,
                "crosses_total": 0.6284,
                "crosses_accurate": 0.1538,
                "touches": 34.9846,
                "possession_lost": 11.4108,
                "dispossessed": 1.9528,
                "duels_lost": 5.9765,
                "aerial_lost": 2.5143,
                "total_contest": 1.3351,
                "won_contest": 0.6098,
                "ball_recovery": 2.7213,
                "challenges_lost": 0.2932,
                "fouls": 0.5109,
                "fouls_drawn": 1.0922,
                "assists": 0.0913,
                "assist_rate": 0.0913,
                "interceptions": 0.2362,
                "tackles_won": 0.2765,
                "tackles": 0.5539,
                "clearances": 0.6857,
                "blocks": 0.1579,
                "big_chances_created": 0.3007,
                "big_chances_missed": 0.5096,
                "xgot": 0.4814,
                "offsides": 0.3074,
                "ball_carries": 9.9982,
                "total_progression": 15.4704,
                "progressive_carries": 0.8538,
                "shots_off_target": 1.4374
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-11T10:27:16.278802+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 604,
                    "rows": 15537
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1503,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Getafe",
                    "minutes": 18.0,
                    "is_starting": false,
                    "weight": 0.1277,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-09-14",
                    "opponent": "Villarreal",
                    "minutes": 84.0,
                    "is_starting": true,
                    "weight": 0.1086,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-04",
                    "opponent": "Real Madrid",
                    "minutes": 68.0,
                    "is_starting": true,
                    "weight": 0.0923,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Levante UD",
                    "minutes": 33.0,
                    "is_starting": false,
                    "weight": 0.0784,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Valencia",
                    "minutes": 71.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Sociedad",
                    "minutes": 80.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-12",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-05-09",
                    "opponent": "Real Sociedad",
                    "minutes": 78.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.8
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "expectedGoals": 0.3711,
                  "totalOppositionHalfPasses": 13.1468,
                  "accurateOppositionHalfPasses": 9.1434,
                  "accuratePass": 13.4238,
                  "totalShots": 2.309
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.3198044002056122,
                    "model_output": 0.3198,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.282
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0894
                      },
                      {
                        "name": "goals",
                        "importance": 0.0352
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0258
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0248
                      }
                    ],
                    "decomposition": {
                      "base": 0.1978,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.066
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0338
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0108
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": 0.0078
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.0069
                        }
                      ],
                      "others": 0.0183,
                      "total": 0.3198,
                      "log_link": true,
                      "margin_base": -1.62027,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.287954
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.120505
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.036942
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": 0.026888
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.023154
                        }
                      ],
                      "others_margin": 0.058665
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.36057785153388977,
                    "model_output": 0.3606,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.121
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0861
                      },
                      {
                        "name": "goals",
                        "importance": 0.0516
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0267
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0267
                      }
                    ],
                    "decomposition": {
                      "base": 0.2032,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0717
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0557
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0307
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0179
                        },
                        {
                          "name": "dispossessed",
                          "contribution": 0.0131
                        }
                      ],
                      "others": 0.0041,
                      "total": 0.3606,
                      "log_link": true,
                      "margin_base": -1.593696,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.30211
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.18448
                        },
                        {
                          "name": "goals",
                          "margin": 0.088743
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.050745
                        },
                        {
                          "name": "dispossessed",
                          "margin": 0.037441
                        }
                      ],
                      "others_margin": 0.01162
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.8652482628822327,
                    "model_output": 0.8652,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2113
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0717
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0497
                      },
                      {
                        "name": "goals",
                        "importance": 0.0454
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.5367,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1708
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0607
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0558
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0414
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0383
                        }
                      ],
                      "others": -0.0385,
                      "total": 0.8652,
                      "log_link": true,
                      "margin_base": -0.622283,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.276227
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.082283
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.070067
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.049077
                        },
                        {
                          "name": "goals",
                          "margin": 0.043271
                        }
                      ],
                      "others_margin": -0.043381
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 2.3026347160339355,
                    "model_output": 2.3026,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2764
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0561
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.043
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0394
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0354
                      }
                    ],
                    "decomposition": {
                      "base": 1.3728,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.5622
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.1672
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.1094
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0632
                        },
                        {
                          "name": "shotOffTarget",
                          "contribution": 0.0458
                        }
                      ],
                      "others": -0.018,
                      "total": 2.3026,
                      "log_link": false,
                      "margin_base": 1.372807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.562221
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.167217
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.109361
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.063207
                        },
                        {
                          "name": "shotOffTarget",
                          "margin": 0.04576
                        }
                      ],
                      "others_margin": -0.017936
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.05707275867462158,
                    "model_output": 0.0571,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1017
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0772
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0688
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0665
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0563
                      }
                    ],
                    "decomposition": {
                      "base": 0.0639,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0117
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0076
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.005
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0039
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0034
                        }
                      ],
                      "others": -0.0138,
                      "total": 0.0571,
                      "log_link": true,
                      "margin_base": -2.751197,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.168076
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.096402
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.062001
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.05105
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.046569
                        }
                      ],
                      "others_margin": -0.21709
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.7674469947814941,
                    "model_output": 0.7674,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1626
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1193
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0628
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0553
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0328
                      }
                    ],
                    "decomposition": {
                      "base": 0.6728,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1443
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0478
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0342
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.023
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0188
                        }
                      ],
                      "others": -0.0215,
                      "total": 0.7674,
                      "log_link": true,
                      "margin_base": -0.396376,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.194326
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.056823
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.040341
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.028098
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.023568
                        }
                      ],
                      "others_margin": -0.027451
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.7740373611450195,
                    "model_output": 6.774,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0639
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0556
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0431
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0431
                      },
                      {
                        "name": "rating",
                        "importance": 0.039
                      }
                    ],
                    "decomposition": {
                      "base": 6.7636,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0514
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0212
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.0199
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.019
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0133
                        }
                      ],
                      "others": -0.0454,
                      "total": 6.774,
                      "log_link": false,
                      "margin_base": 6.763607,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.051422
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.021227
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.019899
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.019028
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.013308
                        }
                      ],
                      "others_margin": -0.045385
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 39,
                  "role_matches": 35,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0031, quality 0.595)",
              "stats": {
                "expected_goals": 0.3208,
                "goals": 0.3617,
                "goal_rate": 0.3617,
                "shots_on_target": 0.8679,
                "total_shots": 2.3098,
                "expected_assists": 0.0572,
                "key_pass": 0.7698,
                "rating": 6.774,
                "minutes": 80.3,
                "total_pass": 19.502,
                "accurate_pass": 14.3296,
                "duels_won": 3.7443,
                "total_long_balls": 1.3473,
                "accurate_long_balls": 1.0264,
                "total_opp_half_passes": 13.6795,
                "accurate_opp_half_passes": 9.49,
                "crosses_total": 0.6303,
                "crosses_accurate": 0.1543,
                "touches": 35.0931,
                "possession_lost": 11.4462,
                "dispossessed": 1.9589,
                "duels_lost": 5.995,
                "aerial_lost": 2.5221,
                "total_contest": 1.3392,
                "won_contest": 0.6117,
                "ball_recovery": 2.7297,
                "challenges_lost": 0.2941,
                "fouls": 0.5125,
                "fouls_drawn": 1.0956,
                "assists": 0.0916,
                "assist_rate": 0.0916,
                "interceptions": 0.2369,
                "tackles_won": 0.2774,
                "tackles": 0.5556,
                "clearances": 0.6878,
                "blocks": 0.1584,
                "big_chances_created": 0.3016,
                "big_chances_missed": 0.5112,
                "xgot": 0.4829,
                "offsides": 0.3084,
                "ball_carries": 10.0292,
                "total_progression": 15.5184,
                "progressive_carries": 0.8564,
                "shots_off_target": 1.4419
              },
              "params": {
                "market_value_eur": 16500000,
                "quality_factor": 0.5953,
                "boost_factor": 1.0031,
                "reference_quality": 0.505,
                "history_matches": 39,
                "history_shrink": 0.1136,
                "market_value_known": true
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.3208,
                "goals": 0.3617,
                "goal_rate": 0.3617,
                "shots_on_target": 0.8679,
                "total_shots": 2.3098,
                "expected_assists": 0.0572,
                "key_pass": 0.7698,
                "rating": 6.774,
                "minutes": 80.3,
                "total_pass": 19.502,
                "accurate_pass": 14.3296,
                "duels_won": 3.7443,
                "total_long_balls": 1.3473,
                "accurate_long_balls": 1.0264,
                "total_opp_half_passes": 13.6795,
                "accurate_opp_half_passes": 9.49,
                "crosses_total": 0.6303,
                "crosses_accurate": 0.1543,
                "touches": 35.0931,
                "possession_lost": 11.4462,
                "dispossessed": 1.9589,
                "duels_lost": 5.995,
                "aerial_lost": 2.5221,
                "total_contest": 1.3392,
                "won_contest": 0.6117,
                "ball_recovery": 2.7297,
                "challenges_lost": 0.2941,
                "fouls": 0.5125,
                "fouls_drawn": 1.0956,
                "assists": 0.0916,
                "assist_rate": 0.0916,
                "interceptions": 0.2369,
                "tackles_won": 0.2774,
                "tackles": 0.5556,
                "clearances": 0.6878,
                "blocks": 0.1584,
                "big_chances_created": 0.3016,
                "big_chances_missed": 0.5112,
                "xgot": 0.4829,
                "offsides": 0.3084,
                "ball_carries": 10.0292,
                "total_progression": 15.5184,
                "progressive_carries": 0.8564,
                "shots_off_target": 1.4419
              },
              "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.3232,
                "goals": 0.3644,
                "goal_rate": 0.3644,
                "shots_on_target": 0.8744,
                "total_shots": 2.3271,
                "expected_assists": 0.0572,
                "key_pass": 0.7698,
                "rating": 6.774,
                "minutes": 80.3,
                "total_pass": 19.502,
                "accurate_pass": 14.3296,
                "duels_won": 3.7443,
                "total_long_balls": 1.3473,
                "accurate_long_balls": 1.0264,
                "total_opp_half_passes": 13.6795,
                "accurate_opp_half_passes": 9.49,
                "crosses_total": 0.6303,
                "crosses_accurate": 0.1543,
                "touches": 35.0931,
                "possession_lost": 11.4462,
                "dispossessed": 1.9589,
                "duels_lost": 5.995,
                "aerial_lost": 2.5221,
                "total_contest": 1.3392,
                "won_contest": 0.6117,
                "ball_recovery": 2.7297,
                "challenges_lost": 0.2941,
                "fouls": 0.5125,
                "fouls_drawn": 1.0956,
                "assists": 0.0916,
                "assist_rate": 0.0916,
                "interceptions": 0.2369,
                "tackles_won": 0.2774,
                "tackles": 0.5556,
                "clearances": 0.6878,
                "blocks": 0.1584,
                "big_chances_created": 0.3016,
                "big_chances_missed": 0.515,
                "xgot": 0.4865,
                "offsides": 0.3084,
                "ball_carries": 10.0292,
                "total_progression": 15.5184,
                "progressive_carries": 0.8564,
                "shots_off_target": 1.4527,
                "duel_xg_multiplier": 1.0075,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.4,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.205,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Abel Bretones, Alejandro Catena",
                "opponent_faced": "Abel Bretones, Alejandro Catena",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Abel Bretones, Alejandro Catena",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.205,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v2",
                  "xg_multiplier": 1.0075,
                  "skill_edge": 0.0651,
                  "height_edge": -0.06,
                  "attacker_skill": 0.5953,
                  "defender_skill": 0.4507,
                  "attacker_role": "ST",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Abel Bretones",
                      "market_value": 3400000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.4564
                    },
                    {
                      "player": "Alejandro Catena",
                      "market_value": 2700000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.4449
                    }
                  ],
                  "xg_override": 0.3232
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 2.3098,
                  "after": 2.3271
                },
                {
                  "stat": "shotOffTarget",
                  "before": 1.4419,
                  "after": 1.4527
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.8679,
                  "after": 0.8744
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.93 (squad xG sum 1.5037, xG scale 1.2862, xA scale 1.3318, team xA 1.26 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.4157,
                "goal_rate": 0.3644,
                "goals": 0,
                "shots_on_target": 0.8744,
                "total_shots": 2.3271,
                "expected_assists": 0.0762,
                "key_pass": 0.7698,
                "rating": 6.774,
                "minutes": 80.3,
                "total_pass": 19.502,
                "accurate_pass": 14.3296,
                "duels_won": 3.7443,
                "total_long_balls": 1.3473,
                "accurate_long_balls": 1.0264,
                "total_opp_half_passes": 13.6795,
                "accurate_opp_half_passes": 9.49,
                "crosses_total": 0.6303,
                "crosses_accurate": 0.1543,
                "touches": 35.0931,
                "possession_lost": 11.4462,
                "dispossessed": 1.9589,
                "duels_lost": 5.995,
                "aerial_lost": 2.5221,
                "total_contest": 1.3392,
                "won_contest": 0.6117,
                "ball_recovery": 2.7297,
                "challenges_lost": 0.2941,
                "fouls": 0.5125,
                "fouls_drawn": 1.0956,
                "assist_rate": 0.0916,
                "assists": 0,
                "interceptions": 0.2369,
                "tackles_won": 0.2774,
                "tackles": 0.5556,
                "clearances": 0.6878,
                "blocks": 0.1584,
                "big_chances_created": 0.3016,
                "big_chances_missed": 0.515,
                "xgot": 0.6257,
                "offsides": 0.3084,
                "ball_carries": 10.0292,
                "total_progression": 15.5184,
                "progressive_carries": 0.8564,
                "shots_off_target": 1.4527,
                "duel_xg_multiplier": 1.0075,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.4,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.205,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Abel Bretones, Alejandro Catena",
                "opponent_faced": "Abel Bretones, Alejandro Catena",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1104,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 1.934,
                "squad_xg_sum": 1.5037,
                "squad_xa_sum": 0.9439,
                "team_expected_assists": 1.2571,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2862,
                "xa_scale": 1.3318,
                "opponent_lambda": 0.835,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.3232,
                  "after": 0.4157
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0572,
                  "after": 0.0762
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 12 by projected rating, fifa_overall 79.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.4157,
                "goal_rate": 0.3644,
                "goals": 0,
                "shots_on_target": 0.8744,
                "total_shots": 2.3271,
                "expected_assists": 0.0762,
                "key_pass": 0.7698,
                "rating": 6.774,
                "minutes": 80.3,
                "total_pass": 19.502,
                "accurate_pass": 14.3296,
                "duels_won": 3.7443,
                "total_long_balls": 1.3473,
                "accurate_long_balls": 1.0264,
                "total_opp_half_passes": 13.6795,
                "accurate_opp_half_passes": 9.49,
                "crosses_total": 0.6303,
                "crosses_accurate": 0.1543,
                "touches": 35.0931,
                "possession_lost": 11.4462,
                "dispossessed": 1.9589,
                "duels_lost": 5.995,
                "aerial_lost": 2.5221,
                "total_contest": 1.3392,
                "won_contest": 0.6117,
                "ball_recovery": 2.7297,
                "challenges_lost": 0.2941,
                "fouls": 0.5125,
                "fouls_drawn": 1.0956,
                "assist_rate": 0.0916,
                "assists": 0,
                "interceptions": 0.2369,
                "tackles_won": 0.2774,
                "tackles": 0.5556,
                "clearances": 0.6878,
                "blocks": 0.1584,
                "big_chances_created": 0.3016,
                "big_chances_missed": 0.515,
                "xgot": 0.6257,
                "offsides": 0.3084,
                "ball_carries": 10.0292,
                "total_progression": 15.5184,
                "progressive_carries": 0.8564,
                "shots_off_target": 1.4527,
                "duel_xg_multiplier": 1.0075,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.4,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.205,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Abel Bretones, Alejandro Catena",
                "opponent_faced": "Abel Bretones, Alejandro Catena",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1104,
                "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",
                "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: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.4157,
                "goal_rate": 0.3644,
                "goals": 0,
                "shots_on_target": 0.8744,
                "total_shots": 2.3271,
                "expected_assists": 0.0762,
                "key_pass": 0.7698,
                "rating": 6.774,
                "minutes": 80.3,
                "total_pass": 19.502,
                "accurate_pass": 14.3296,
                "duels_won": 3.7443,
                "total_long_balls": 1.3473,
                "accurate_long_balls": 1.0264,
                "total_opp_half_passes": 13.6795,
                "accurate_opp_half_passes": 9.49,
                "crosses_total": 0.6303,
                "crosses_accurate": 0.1543,
                "touches": 35.0931,
                "possession_lost": 11.4462,
                "dispossessed": 1.9589,
                "duels_lost": 5.995,
                "aerial_lost": 2.5221,
                "total_contest": 1.3392,
                "won_contest": 0.6117,
                "ball_recovery": 2.7297,
                "challenges_lost": 0.2941,
                "fouls": 0.5125,
                "fouls_drawn": 1.0956,
                "assist_rate": 0.0916,
                "assists": 0,
                "interceptions": 0.2369,
                "tackles_won": 0.2774,
                "tackles": 0.5556,
                "clearances": 0.6878,
                "blocks": 0.1584,
                "big_chances_created": 0.3016,
                "big_chances_missed": 0.515,
                "xgot": 0.6257,
                "offsides": 0.3084,
                "ball_carries": 10.0292,
                "total_progression": 15.5184,
                "progressive_carries": 0.8564,
                "shots_off_target": 1.4527,
                "duel_xg_multiplier": 1.0075,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.4,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.205,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Abel Bretones, Alejandro Catena",
                "opponent_faced": "Abel Bretones, Alejandro Catena",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.3401,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1104,
                "creation_factor": 1.25,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.3401,
                "scorer_weight": 0.4616,
                "squad_weight_total": 2.0478,
                "weight_share": 0.2254,
                "finishing_factor": 1.1104,
                "appearance_weight": 1.0,
                "weight_rank": 2,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Abdessamad Ezzalzouli",
                    "weight": 0.5955,
                    "already": 0,
                    "effective_weight": 0.5955,
                    "runner_up": "Cucho Hernández",
                    "runner_up_effective_weight": 0.4616
                  }
                ]
              }
            },
            {
              "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.4157,
                "goal_rate": 0.3644,
                "goals": 0,
                "shots_on_target": 0.8744,
                "total_shots": 2.3271,
                "expected_assists": 0.0762,
                "key_pass": 0.7698,
                "rating": 6.774,
                "minutes": 80.3,
                "total_pass": 19.502,
                "accurate_pass": 14.3296,
                "duels_won": 3.7443,
                "total_long_balls": 1.3473,
                "accurate_long_balls": 1.0264,
                "total_opp_half_passes": 13.6795,
                "accurate_opp_half_passes": 9.49,
                "crosses_total": 0.6303,
                "crosses_accurate": 0.1543,
                "touches": 35.0931,
                "possession_lost": 11.4462,
                "dispossessed": 1.9589,
                "duels_lost": 5.995,
                "aerial_lost": 2.5221,
                "total_contest": 1.3392,
                "won_contest": 0.6117,
                "ball_recovery": 2.7297,
                "challenges_lost": 0.2941,
                "fouls": 0.5125,
                "fouls_drawn": 1.0956,
                "assist_rate": 0.0916,
                "assists": 0,
                "interceptions": 0.2369,
                "tackles_won": 0.2774,
                "tackles": 0.5556,
                "clearances": 0.6878,
                "blocks": 0.1584,
                "big_chances_created": 0.3016,
                "big_chances_missed": 0.515,
                "xgot": 0.6257,
                "offsides": 0.3084,
                "ball_carries": 10.0292,
                "total_progression": 15.5184,
                "progressive_carries": 0.8564,
                "shots_off_target": 1.4527,
                "duel_xg_multiplier": 1.0075,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.4,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.205,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Abel Bretones, Alejandro Catena",
                "opponent_faced": "Abel Bretones, Alejandro Catena",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.3401,
                "projected_assists": 0,
                "assist_probability": 0.0734,
                "finishing_factor": 1.1104,
                "creation_factor": 1.25,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0734,
                "provider_weight": 0.0953,
                "squad_weight_total": 1.1393,
                "weight_share": 0.0836,
                "creation_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 6,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Isco",
                    "weight": 0.1722,
                    "already": 0,
                    "effective_weight": 0.1722,
                    "runner_up": "Pablo Fornals",
                    "runner_up_effective_weight": 0.1629,
                    "blocked_own_goal": [
                      "Abdessamad Ezzalzouli"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Antony": {
          "player_id": 958380,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 7,
          "height": 172,
          "market_value": 37000000,
          "stats": {
            "expected_goals": 0.3318,
            "goal_rate": 0.2349,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 5,
            "expected_assists": 0.1926,
            "key_pass": 2,
            "rating": 7.0425,
            "minutes": 80,
            "total_pass": 46,
            "accurate_pass": 38,
            "duels_won": 4,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_opp_half_passes": 33,
            "accurate_opp_half_passes": 27,
            "crosses_total": 2,
            "crosses_accurate": 0,
            "touches": 63,
            "possession_lost": 12.5545,
            "dispossessed": 0.6516,
            "duels_lost": 3,
            "aerial_lost": 0,
            "total_contest": 2,
            "won_contest": 1,
            "ball_recovery": 4,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 1,
            "assist_rate": 0.0524,
            "assists": 0,
            "interceptions": 1,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.4418,
            "offsides": 0,
            "ball_carries": 24,
            "total_progression": 114,
            "progressive_carries": 5,
            "shots_off_target": 3,
            "duel_xg_multiplier": 1.1691,
            "dribbles_attempted": 4,
            "dribbles_successful": 2.1,
            "aerial_won": 1,
            "crosses_attempted": 2.5,
            "duel_win_rate": 0.595,
            "pressing_faced": "LOW",
            "matchup_zone": "Right Wing vs Left Back — Flank Battle",
            "numerical_situation": "1v1",
            "opponent_defenders": "Unai Santos",
            "opponent_faced": "Unai Santos",
            "antagonist_source": "attacking_duel",
            "projected_goals": 0,
            "goal_probability": 0.2824,
            "projected_assists": 0,
            "assist_probability": 0.1752,
            "finishing_factor": 0.925,
            "creation_factor": 0.8,
            "fifa_overall": 81.0
          },
          "latest_10_games": [
            {
              "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.7122,
                "expected_assists": 0.19,
                "total_shots": 9,
                "shots_on_target": 4,
                "shots_off_target": 2,
                "total_pass": 75,
                "accurate_pass": 63,
                "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"
            },
            {
              "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": 85,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.069,
                "expected_assists": 0.1428,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 43,
                "accurate_pass": 34,
                "key_pass": 2,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 3,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 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": 8.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2101,
                "expected_assists": 0.2176,
                "total_shots": 3,
                "shots_off_target": 2,
                "total_pass": 46,
                "accurate_pass": 42,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 3,
                "duels_won": 9,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 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": 4,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.0425,
            "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": 39,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 39,
            "data_confidence": 0.78,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0088,
            "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 39 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.2188,
                "goals": 0.2021,
                "goal_rate": 0.2021,
                "shots_on_target": 0.9995,
                "total_shots": 3.8172,
                "expected_assists": 0.1433,
                "key_pass": 1.6891,
                "rating": 7.0425,
                "minutes": 79.66,
                "total_pass": 45.1048,
                "accurate_pass": 37.8339,
                "duels_won": 4.285,
                "total_long_balls": 2.2739,
                "accurate_long_balls": 1.4469,
                "total_opp_half_passes": 32.3083,
                "accurate_opp_half_passes": 26.7342,
                "crosses_total": 1.8614,
                "crosses_accurate": 0.382,
                "touches": 62.4636,
                "possession_lost": 12.445,
                "dispossessed": 0.6459,
                "duels_lost": 2.836,
                "aerial_lost": 0.2555,
                "total_contest": 2.0224,
                "won_contest": 1.2002,
                "ball_recovery": 3.6903,
                "challenges_lost": 0.3239,
                "fouls": 0.9792,
                "fouls_drawn": 1.3266,
                "assists": 0.0527,
                "assist_rate": 0.0527,
                "interceptions": 0.7204,
                "tackles_won": 0.6935,
                "tackles": 1.3182,
                "clearances": 0.2819,
                "blocks": 0.0026,
                "big_chances_created": 0.1197,
                "big_chances_missed": 0.4,
                "xgot": 0.2912,
                "offsides": 0.0513,
                "ball_carries": 23.6532,
                "total_progression": 113.1095,
                "progressive_carries": 4.5467,
                "shots_off_target": 2.8177
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-11T10:27:16.278802+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 604,
                    "rows": 15537
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.1503,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Getafe",
                    "minutes": 89.0,
                    "is_starting": true,
                    "weight": 0.1277,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-09-14",
                    "opponent": "Villarreal",
                    "minutes": 24.0,
                    "is_starting": false,
                    "weight": 0.1086,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-09-04",
                    "opponent": "Real Madrid",
                    "minutes": 77.0,
                    "is_starting": true,
                    "weight": 0.0923,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 8.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": 85.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-12",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 8.0
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "expectedGoals": 0.3016,
                  "totalOppositionHalfPasses": 29.8323,
                  "accurateOppositionHalfPasses": 24.8591,
                  "accuratePass": 35.1039,
                  "totalShots": 3.9115
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.2188095599412918,
                    "model_output": 0.2188,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.282
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0894
                      },
                      {
                        "name": "goals",
                        "importance": 0.0352
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0258
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0248
                      }
                    ],
                    "decomposition": {
                      "base": 0.1978,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0565
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0472
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0432
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0242
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0171
                        }
                      ],
                      "others": 0.0098,
                      "total": 0.2188,
                      "log_link": true,
                      "margin_base": -1.62027,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.251263
                        },
                        {
                          "name": "goals",
                          "margin": -0.20505
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.189192
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.10184
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.078552
                        }
                      ],
                      "others_margin": 0.045703
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.20213155448436737,
                    "model_output": 0.2021,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.121
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0861
                      },
                      {
                        "name": "goals",
                        "importance": 0.0516
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0267
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0267
                      }
                    ],
                    "decomposition": {
                      "base": 0.2032,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0689
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0544
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0382
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0238
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0162
                        }
                      ],
                      "others": -0.0138,
                      "total": 0.2021,
                      "log_link": true,
                      "margin_base": -1.593696,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.29211
                        },
                        {
                          "name": "goals",
                          "margin": -0.223226
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.161747
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.097609
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.072361
                        }
                      ],
                      "others_margin": -0.065801
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.9994986653327942,
                    "model_output": 0.9995,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2113
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0717
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0497
                      },
                      {
                        "name": "goals",
                        "importance": 0.0454
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.5367,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1531
                        },
                        {
                          "name": "goals",
                          "contribution": -0.1077
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.106
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.092
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0679
                        }
                      ],
                      "others": 0.2873,
                      "total": 0.9995,
                      "log_link": true,
                      "margin_base": -0.622283,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.250885
                        },
                        {
                          "name": "goals",
                          "margin": -0.169695
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.167238
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.125465
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.091121
                        }
                      ],
                      "others_margin": 0.339008
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 3.8171498775482178,
                    "model_output": 3.8171,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2764
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0561
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.043
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0394
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0354
                      }
                    ],
                    "decomposition": {
                      "base": 1.3728,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.7528
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.5534
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.4323
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.2312
                        },
                        {
                          "name": "goals",
                          "contribution": -0.2252
                        }
                      ],
                      "others": 0.6999,
                      "total": 3.8172,
                      "log_link": false,
                      "margin_base": 1.372807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.752835
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.553381
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.432277
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.231214
                        },
                        {
                          "name": "goals",
                          "margin": -0.225171
                        }
                      ],
                      "others_margin": 0.699807
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.14329089224338531,
                    "model_output": 0.1433,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1017
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0772
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0688
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0665
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0563
                      }
                    ],
                    "decomposition": {
                      "base": 0.0639,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0133
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.015
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0112
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": -0.0103
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0087
                        }
                      ],
                      "others": 0.0415,
                      "total": 0.1433,
                      "log_link": true,
                      "margin_base": -2.751197,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.189755
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.177122
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.114869
                        },
                        {
                          "name": "aerial_dominance",
                          "margin": -0.105249
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.08949
                        }
                      ],
                      "others_margin": 0.342331
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 1.6890639066696167,
                    "model_output": 1.6891,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1626
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1193
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0628
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0553
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0328
                      }
                    ],
                    "decomposition": {
                      "base": 0.6728,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2546
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.189
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.1585
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.1593
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0922
                        }
                      ],
                      "others": 0.1627,
                      "total": 1.6891,
                      "log_link": true,
                      "margin_base": -0.396376,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.320997
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.185477
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.132745
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.117737
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.062312
                        }
                      ],
                      "others_margin": 0.101283
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.042545795440674,
                    "model_output": 7.0425,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0639
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0556
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0431
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0431
                      },
                      {
                        "name": "rating",
                        "importance": 0.039
                      }
                    ],
                    "decomposition": {
                      "base": 6.7636,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0802
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0628
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0477
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0334
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0315
                        }
                      ],
                      "others": 0.0233,
                      "total": 7.0425,
                      "log_link": false,
                      "margin_base": 6.763607,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.080227
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.062833
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.047687
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.033359
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.03153
                        }
                      ],
                      "others_margin": 0.023303
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 39,
                  "role_matches": 36,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0088, quality 0.764)",
              "stats": {
                "expected_goals": 0.2207,
                "goals": 0.2039,
                "goal_rate": 0.2039,
                "shots_on_target": 1.0083,
                "total_shots": 3.8508,
                "expected_assists": 0.1446,
                "key_pass": 1.7039,
                "rating": 7.0425,
                "minutes": 79.66,
                "total_pass": 45.5017,
                "accurate_pass": 38.1668,
                "duels_won": 4.3227,
                "total_long_balls": 2.2939,
                "accurate_long_balls": 1.4596,
                "total_opp_half_passes": 32.5926,
                "accurate_opp_half_passes": 26.9695,
                "crosses_total": 1.8778,
                "crosses_accurate": 0.3854,
                "touches": 63.0133,
                "possession_lost": 12.5545,
                "dispossessed": 0.6516,
                "duels_lost": 2.861,
                "aerial_lost": 0.2577,
                "total_contest": 2.0402,
                "won_contest": 1.2108,
                "ball_recovery": 3.7228,
                "challenges_lost": 0.3268,
                "fouls": 0.9878,
                "fouls_drawn": 1.3383,
                "assists": 0.0532,
                "assist_rate": 0.0532,
                "interceptions": 0.7267,
                "tackles_won": 0.6996,
                "tackles": 1.3298,
                "clearances": 0.2844,
                "blocks": 0.0026,
                "big_chances_created": 0.1208,
                "big_chances_missed": 0.4035,
                "xgot": 0.2938,
                "offsides": 0.0518,
                "ball_carries": 23.8613,
                "total_progression": 114.1049,
                "progressive_carries": 4.5867,
                "shots_off_target": 2.8425
              },
              "params": {
                "market_value_eur": 37000000,
                "quality_factor": 0.7641,
                "boost_factor": 1.0088,
                "reference_quality": 0.505,
                "history_matches": 39,
                "history_shrink": 0.1136,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0148)",
              "stats": {
                "expected_goals": 0.2207,
                "goals": 0.2009,
                "goal_rate": 0.2009,
                "shots_on_target": 1.0152,
                "total_shots": 3.8593,
                "expected_assists": 0.1446,
                "key_pass": 1.7039,
                "rating": 7.0425,
                "minutes": 79.66,
                "total_pass": 45.5017,
                "accurate_pass": 38.1668,
                "duels_won": 4.3227,
                "total_long_balls": 2.2939,
                "accurate_long_balls": 1.4596,
                "total_opp_half_passes": 32.5926,
                "accurate_opp_half_passes": 26.9695,
                "crosses_total": 1.8893,
                "crosses_accurate": 0.3854,
                "touches": 63.0133,
                "possession_lost": 12.5545,
                "dispossessed": 0.6516,
                "duels_lost": 2.861,
                "aerial_lost": 0.2577,
                "total_contest": 2.0402,
                "won_contest": 1.2108,
                "ball_recovery": 3.7228,
                "challenges_lost": 0.3268,
                "fouls": 0.9863,
                "fouls_drawn": 1.3447,
                "assists": 0.0524,
                "assist_rate": 0.0524,
                "interceptions": 0.7247,
                "tackles_won": 0.698,
                "tackles": 1.3298,
                "clearances": 0.2844,
                "blocks": 0.0026,
                "big_chances_created": 0.1208,
                "big_chances_missed": 0.4035,
                "xgot": 0.2938,
                "offsides": 0.051,
                "ball_carries": 23.8613,
                "total_progression": 114.1049,
                "progressive_carries": 4.5867,
                "shots_off_target": 2.8425
              },
              "params": {
                "blend_weight": 0.0148,
                "history_matches": 39,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.8851,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Real Betis"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 1.8778,
                  "after": 1.8893
                },
                {
                  "stat": "totalShots",
                  "before": 3.8508,
                  "after": 3.8593
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 1.0083,
                  "after": 1.0152
                },
                {
                  "stat": "wasFouled",
                  "before": 1.3383,
                  "after": 1.3447
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.2207,
                "goals": 0.2009,
                "goal_rate": 0.2009,
                "shots_on_target": 1.0152,
                "total_shots": 3.8593,
                "expected_assists": 0.1446,
                "key_pass": 1.7039,
                "rating": 7.0425,
                "minutes": 79.66,
                "total_pass": 45.5017,
                "accurate_pass": 38.1668,
                "duels_won": 4.3227,
                "total_long_balls": 2.2939,
                "accurate_long_balls": 1.4596,
                "total_opp_half_passes": 32.5926,
                "accurate_opp_half_passes": 26.9695,
                "crosses_total": 1.8893,
                "crosses_accurate": 0.3854,
                "touches": 63.0133,
                "possession_lost": 12.5545,
                "dispossessed": 0.6516,
                "duels_lost": 2.861,
                "aerial_lost": 0.2577,
                "total_contest": 2.0402,
                "won_contest": 1.2108,
                "ball_recovery": 3.7228,
                "challenges_lost": 0.3268,
                "fouls": 0.9863,
                "fouls_drawn": 1.3447,
                "assists": 0.0524,
                "assist_rate": 0.0524,
                "interceptions": 0.7247,
                "tackles_won": 0.698,
                "tackles": 1.3298,
                "clearances": 0.2844,
                "blocks": 0.0026,
                "big_chances_created": 0.1208,
                "big_chances_missed": 0.4035,
                "xgot": 0.2938,
                "offsides": 0.051,
                "ball_carries": 23.8613,
                "total_progression": 114.1049,
                "progressive_carries": 4.5867,
                "shots_off_target": 2.8425
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "expected_goals": 0.258,
                "goals": 0.2349,
                "goal_rate": 0.2349,
                "shots_on_target": 1.1869,
                "total_shots": 4.5119,
                "expected_assists": 0.1446,
                "key_pass": 1.7039,
                "rating": 7.0425,
                "minutes": 79.66,
                "total_pass": 45.5017,
                "accurate_pass": 38.1668,
                "duels_won": 4.3227,
                "total_long_balls": 2.2939,
                "accurate_long_balls": 1.4596,
                "total_opp_half_passes": 32.5926,
                "accurate_opp_half_passes": 26.9695,
                "crosses_total": 1.8893,
                "crosses_accurate": 0.3854,
                "touches": 63.0133,
                "possession_lost": 12.5545,
                "dispossessed": 0.6516,
                "duels_lost": 2.861,
                "aerial_lost": 0.2577,
                "total_contest": 2.0402,
                "won_contest": 1.2108,
                "ball_recovery": 3.7228,
                "challenges_lost": 0.3268,
                "fouls": 0.9863,
                "fouls_drawn": 1.3447,
                "assists": 0.0524,
                "assist_rate": 0.0524,
                "interceptions": 0.7247,
                "tackles_won": 0.698,
                "tackles": 1.3298,
                "clearances": 0.2844,
                "blocks": 0.0026,
                "big_chances_created": 0.1208,
                "big_chances_missed": 0.4717,
                "xgot": 0.3435,
                "offsides": 0.051,
                "ball_carries": 23.8613,
                "total_progression": 114.1049,
                "progressive_carries": 4.5867,
                "shots_off_target": 3.3232,
                "duel_xg_multiplier": 1.1691,
                "dribbles_attempted": 4.0,
                "dribbles_successful": 2.1,
                "aerial_won": 0.8,
                "crosses_attempted": 2.5,
                "duel_win_rate": 0.595,
                "pressing_faced": "LOW",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Unai Santos",
                "opponent_faced": "Unai Santos",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Unai Santos",
                  "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                  "duel_win_rate": 0.595,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 1.1691,
                  "skill_edge": 0.147,
                  "height_edge": -0.032,
                  "attacker_skill": 0.7641,
                  "defender_skill": 0.4374,
                  "attacker_role": "RW",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Unai Santos",
                      "market_value": 105000,
                      "role": "LB",
                      "price_index": 0.7,
                      "adjusted_quality": 0.4374
                    }
                  ],
                  "xg_override": 0.258
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 3.8593,
                  "after": 4.5119
                },
                {
                  "stat": "shotOffTarget",
                  "before": 2.8425,
                  "after": 3.3232
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 1.0152,
                  "after": 1.1869
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 0.4035,
                  "after": 0.4717
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.2938,
                  "after": 0.3435
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.2207,
                  "after": 0.258
                },
                {
                  "stat": "goals",
                  "before": 0.2009,
                  "after": 0.2349
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.93 (squad xG sum 1.5037, xG scale 1.2862, xA scale 1.3318, team xA 1.26 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.3318,
                "goal_rate": 0.2349,
                "goals": 0,
                "shots_on_target": 1.1869,
                "total_shots": 4.5119,
                "expected_assists": 0.1926,
                "key_pass": 1.7039,
                "rating": 7.0425,
                "minutes": 79.66,
                "total_pass": 45.5017,
                "accurate_pass": 38.1668,
                "duels_won": 4.3227,
                "total_long_balls": 2.2939,
                "accurate_long_balls": 1.4596,
                "total_opp_half_passes": 32.5926,
                "accurate_opp_half_passes": 26.9695,
                "crosses_total": 1.8893,
                "crosses_accurate": 0.3854,
                "touches": 63.0133,
                "possession_lost": 12.5545,
                "dispossessed": 0.6516,
                "duels_lost": 2.861,
                "aerial_lost": 0.2577,
                "total_contest": 2.0402,
                "won_contest": 1.2108,
                "ball_recovery": 3.7228,
                "challenges_lost": 0.3268,
                "fouls": 0.9863,
                "fouls_drawn": 1.3447,
                "assist_rate": 0.0524,
                "assists": 0,
                "interceptions": 0.7247,
                "tackles_won": 0.698,
                "tackles": 1.3298,
                "clearances": 0.2844,
                "blocks": 0.0026,
                "big_chances_created": 0.1208,
                "big_chances_missed": 0.4717,
                "xgot": 0.4418,
                "offsides": 0.051,
                "ball_carries": 23.8613,
                "total_progression": 114.1049,
                "progressive_carries": 4.5867,
                "shots_off_target": 3.3232,
                "duel_xg_multiplier": 1.1691,
                "dribbles_attempted": 4.0,
                "dribbles_successful": 2.1,
                "aerial_won": 0.8,
                "crosses_attempted": 2.5,
                "duel_win_rate": 0.595,
                "pressing_faced": "LOW",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Unai Santos",
                "opponent_faced": "Unai Santos",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.925,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.934,
                "squad_xg_sum": 1.5037,
                "squad_xa_sum": 0.9439,
                "team_expected_assists": 1.2571,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2862,
                "xa_scale": 1.3318,
                "opponent_lambda": 0.835,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.258,
                  "after": 0.3318
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1446,
                  "after": 0.1926
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 4 by projected rating, fifa_overall 81.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.3318,
                "goal_rate": 0.2349,
                "goals": 0,
                "shots_on_target": 1.1869,
                "total_shots": 4.5119,
                "expected_assists": 0.1926,
                "key_pass": 1.7039,
                "rating": 7.0425,
                "minutes": 79.66,
                "total_pass": 45.5017,
                "accurate_pass": 38.1668,
                "duels_won": 4.3227,
                "total_long_balls": 2.2939,
                "accurate_long_balls": 1.4596,
                "total_opp_half_passes": 32.5926,
                "accurate_opp_half_passes": 26.9695,
                "crosses_total": 1.8893,
                "crosses_accurate": 0.3854,
                "touches": 63.0133,
                "possession_lost": 12.5545,
                "dispossessed": 0.6516,
                "duels_lost": 2.861,
                "aerial_lost": 0.2577,
                "total_contest": 2.0402,
                "won_contest": 1.2108,
                "ball_recovery": 3.7228,
                "challenges_lost": 0.3268,
                "fouls": 0.9863,
                "fouls_drawn": 1.3447,
                "assist_rate": 0.0524,
                "assists": 0,
                "interceptions": 0.7247,
                "tackles_won": 0.698,
                "tackles": 1.3298,
                "clearances": 0.2844,
                "blocks": 0.0026,
                "big_chances_created": 0.1208,
                "big_chances_missed": 0.4717,
                "xgot": 0.4418,
                "offsides": 0.051,
                "ball_carries": 23.8613,
                "total_progression": 114.1049,
                "progressive_carries": 4.5867,
                "shots_off_target": 3.3232,
                "duel_xg_multiplier": 1.1691,
                "dribbles_attempted": 4.0,
                "dribbles_successful": 2.1,
                "aerial_won": 0.8,
                "crosses_attempted": 2.5,
                "duel_win_rate": 0.595,
                "pressing_faced": "LOW",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Unai Santos",
                "opponent_faced": "Unai Santos",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.925,
                "creation_factor": 0.8,
                "fifa_overall": 81.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": 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: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.3318,
                "goal_rate": 0.2349,
                "goals": 0,
                "shots_on_target": 1.1869,
                "total_shots": 4.5119,
                "expected_assists": 0.1926,
                "key_pass": 1.7039,
                "rating": 7.0425,
                "minutes": 79.66,
                "total_pass": 45.5017,
                "accurate_pass": 38.1668,
                "duels_won": 4.3227,
                "total_long_balls": 2.2939,
                "accurate_long_balls": 1.4596,
                "total_opp_half_passes": 32.5926,
                "accurate_opp_half_passes": 26.9695,
                "crosses_total": 1.8893,
                "crosses_accurate": 0.3854,
                "touches": 63.0133,
                "possession_lost": 12.5545,
                "dispossessed": 0.6516,
                "duels_lost": 2.861,
                "aerial_lost": 0.2577,
                "total_contest": 2.0402,
                "won_contest": 1.2108,
                "ball_recovery": 3.7228,
                "challenges_lost": 0.3268,
                "fouls": 0.9863,
                "fouls_drawn": 1.3447,
                "assist_rate": 0.0524,
                "assists": 0,
                "interceptions": 0.7247,
                "tackles_won": 0.698,
                "tackles": 1.3298,
                "clearances": 0.2844,
                "blocks": 0.0026,
                "big_chances_created": 0.1208,
                "big_chances_missed": 0.4717,
                "xgot": 0.4418,
                "offsides": 0.051,
                "ball_carries": 23.8613,
                "total_progression": 114.1049,
                "progressive_carries": 4.5867,
                "shots_off_target": 3.3232,
                "duel_xg_multiplier": 1.1691,
                "dribbles_attempted": 4.0,
                "dribbles_successful": 2.1,
                "aerial_won": 0.8,
                "crosses_attempted": 2.5,
                "duel_win_rate": 0.595,
                "pressing_faced": "LOW",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Unai Santos",
                "opponent_faced": "Unai Santos",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.2824,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.925,
                "creation_factor": 0.8,
                "fifa_overall": 81.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.2824,
                "scorer_weight": 0.3069,
                "squad_weight_total": 2.0478,
                "weight_share": 0.1499,
                "finishing_factor": 0.925,
                "appearance_weight": 1.0,
                "weight_rank": 3,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Abdessamad Ezzalzouli",
                    "weight": 0.5955,
                    "already": 0,
                    "effective_weight": 0.5955,
                    "runner_up": "Cucho Hernández",
                    "runner_up_effective_weight": 0.4616
                  }
                ]
              }
            },
            {
              "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.3318,
                "goal_rate": 0.2349,
                "goals": 0,
                "shots_on_target": 1.1869,
                "total_shots": 4.5119,
                "expected_assists": 0.1926,
                "key_pass": 1.7039,
                "rating": 7.0425,
                "minutes": 79.66,
                "total_pass": 45.5017,
                "accurate_pass": 38.1668,
                "duels_won": 4.3227,
                "total_long_balls": 2.2939,
                "accurate_long_balls": 1.4596,
                "total_opp_half_passes": 32.5926,
                "accurate_opp_half_passes": 26.9695,
                "crosses_total": 1.8893,
                "crosses_accurate": 0.3854,
                "touches": 63.0133,
                "possession_lost": 12.5545,
                "dispossessed": 0.6516,
                "duels_lost": 2.861,
                "aerial_lost": 0.2577,
                "total_contest": 2.0402,
                "won_contest": 1.2108,
                "ball_recovery": 3.7228,
                "challenges_lost": 0.3268,
                "fouls": 0.9863,
                "fouls_drawn": 1.3447,
                "assist_rate": 0.0524,
                "assists": 0,
                "interceptions": 0.7247,
                "tackles_won": 0.698,
                "tackles": 1.3298,
                "clearances": 0.2844,
                "blocks": 0.0026,
                "big_chances_created": 0.1208,
                "big_chances_missed": 0.4717,
                "xgot": 0.4418,
                "offsides": 0.051,
                "ball_carries": 23.8613,
                "total_progression": 114.1049,
                "progressive_carries": 4.5867,
                "shots_off_target": 3.3232,
                "duel_xg_multiplier": 1.1691,
                "dribbles_attempted": 4.0,
                "dribbles_successful": 2.1,
                "aerial_won": 0.8,
                "crosses_attempted": 2.5,
                "duel_win_rate": 0.595,
                "pressing_faced": "LOW",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Unai Santos",
                "opponent_faced": "Unai Santos",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.2824,
                "projected_assists": 0,
                "assist_probability": 0.1752,
                "finishing_factor": 0.925,
                "creation_factor": 0.8,
                "fifa_overall": 81.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1752,
                "provider_weight": 0.1541,
                "squad_weight_total": 1.1393,
                "weight_share": 0.1352,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 4,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Isco",
                    "weight": 0.1722,
                    "already": 0,
                    "effective_weight": 0.1722,
                    "runner_up": "Pablo Fornals",
                    "runner_up_effective_weight": 0.1629,
                    "blocked_own_goal": [
                      "Abdessamad Ezzalzouli"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "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.1645,
            "assist_rate": 0.1316,
            "assists": 1,
            "expected_goals": 0.157,
            "goal_rate": 0.0815,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.9373,
            "minutes": 66,
            "total_pass": 37,
            "accurate_pass": 34,
            "duels_won": 2,
            "total_long_balls": 2,
            "accurate_long_balls": 2,
            "total_own_half_passes": 12,
            "accurate_own_half_passes": 11,
            "total_opp_half_passes": 26,
            "accurate_opp_half_passes": 23,
            "crosses_total": 2,
            "crosses_accurate": 1,
            "touches": 47,
            "possession_lost": 6.1741,
            "dispossessed": 0.1402,
            "duels_lost": 2,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 1,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 1,
            "won_contest": 0,
            "challenges_lost": 1,
            "fouls": 0,
            "fouls_drawn": 2,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0095,
            "ball_carries": 15,
            "total_progression": 48,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.9906,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.8,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.444,
            "pressing_faced": "LOW",
            "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
            "numerical_situation": "1v1",
            "opponent_defenders": "Iker Muñoz",
            "opponent_faced": "Iker Muñoz",
            "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.1453,
            "projected_assists": 1,
            "assist_probability": 0.1517,
            "finishing_factor": 0.8,
            "creation_factor": 1.0467,
            "fifa_overall": 83.0
          },
          "latest_10_games": [
            {
              "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.366,
                "expected_assists": 0.0673,
                "total_shots": 4,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 40,
                "accurate_pass": 37,
                "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"
            },
            {
              "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": 45,
                "rating": 7.4,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.7884,
                "expected_assists": 0.1013,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 32,
                "accurate_pass": 29,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 2,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 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": 27,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0367,
                "expected_assists": 0.0333,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 20,
                "accurate_pass": 20,
                "key_pass": 2,
                "tackles": 2,
                "tackles_won": 1,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "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": 6,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9373,
            "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": 15,
          "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": 15,
            "data_confidence": 0.763,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9955,
            "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 15 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": 1.8288,
                "expected_assists": 0.1241,
                "assists": 0.1341,
                "assist_rate": 0.1341,
                "expected_goals": 0.1238,
                "goals": 0.0838,
                "goal_rate": 0.0838,
                "shots_on_target": 0.3956,
                "total_shots": 1.3827,
                "rating": 6.9373,
                "minutes": 66.17,
                "total_pass": 37.487,
                "accurate_pass": 34.555,
                "duels_won": 2.1422,
                "total_long_balls": 2.3835,
                "accurate_long_balls": 1.848,
                "total_own_half_passes": 11.7839,
                "accurate_own_half_passes": 11.3891,
                "total_opp_half_passes": 25.7032,
                "accurate_opp_half_passes": 23.166,
                "crosses_total": 2.252,
                "crosses_accurate": 0.8916,
                "touches": 47.4385,
                "possession_lost": 6.202,
                "dispossessed": 0.1408,
                "duels_lost": 1.8232,
                "aerial_won": 0.0,
                "aerial_lost": 0.0,
                "interceptions": 0.6052,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.1408,
                "total_contest": 0.6532,
                "won_contest": 0.2292,
                "challenges_lost": 1.1177,
                "fouls": 0.1408,
                "fouls_drawn": 1.913,
                "blocks": 0.2696,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2696,
                "xgot": 0.0075,
                "ball_carries": 14.6984,
                "total_progression": 47.7852,
                "progressive_carries": 1.3792,
                "shots_off_target": 0.9871
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-11T10:26:42.530573+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 894,
                    "rows": 23497
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 29.0,
                    "is_starting": false,
                    "weight": 0.1644,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Getafe",
                    "minutes": 61.0,
                    "is_starting": true,
                    "weight": 0.1397,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-09-14",
                    "opponent": "Villarreal",
                    "minutes": 57.0,
                    "is_starting": true,
                    "weight": 0.1187,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-04",
                    "opponent": "Real Madrid",
                    "minutes": 60.0,
                    "is_starting": true,
                    "weight": 0.1009,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Levante UD",
                    "minutes": 57.0,
                    "is_starting": true,
                    "weight": 0.0858,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Valencia",
                    "minutes": 31.0,
                    "is_starting": false,
                    "weight": 0.0729,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Sociedad",
                    "minutes": 32.0,
                    "is_starting": false,
                    "weight": 0.062,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Levante UD",
                    "minutes": 54.0,
                    "is_starting": true,
                    "weight": 0.0527,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "FC Barcelona",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.0448,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-05-12",
                    "opponent": "Elche",
                    "minutes": 27.0,
                    "is_starting": false,
                    "weight": 0.0381,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 15.0,
                  "is_starting_11": 1.0,
                  "totalShots": 1.4673,
                  "creative_index": 0.783,
                  "expectedGoals": 0.1353,
                  "expectedAssists": 0.0967,
                  "onTargetScoringAttempt": 0.3814
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.828813076019287,
                    "model_output": 1.8288,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1648
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1344
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0672
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0573
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0281
                      }
                    ],
                    "decomposition": {
                      "base": 0.8857,
                      "items": [
                        {
                          "name": "creative_index",
                          "contribution": 0.1544
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1409
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.1207
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0836
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0701
                        }
                      ],
                      "others": 0.3734,
                      "total": 1.8288,
                      "log_link": true,
                      "margin_base": -0.121432,
                      "item_margins": [
                        {
                          "name": "creative_index",
                          "margin": 0.16073
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.127086
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.097326
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.062259
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.049341
                        }
                      ],
                      "others_margin": 0.228357
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.12409228086471558,
                    "model_output": 0.1241,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1094
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1055
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.099
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0603
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0557
                      }
                    ],
                    "decomposition": {
                      "base": 0.0855,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0102
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0077
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0071
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0054
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0039
                        }
                      ],
                      "others": 0.0185,
                      "total": 0.1241,
                      "log_link": true,
                      "margin_base": -2.458929,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.11292
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.077259
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.071007
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.05434
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.037714
                        }
                      ],
                      "others_margin": 0.160974
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.13412083685398102,
                    "model_output": 0.1341,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0515
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0436
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0436
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0319
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.03
                      }
                    ],
                    "decomposition": {
                      "base": 0.0858,
                      "items": [
                        {
                          "name": "keyPass",
                          "contribution": 0.0179
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0136
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0082
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0075
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0065
                        }
                      ],
                      "others": 0.0076,
                      "total": 0.1341,
                      "log_link": true,
                      "margin_base": -2.456317,
                      "item_margins": [
                        {
                          "name": "keyPass",
                          "margin": 0.189343
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.123489
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.067879
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.05811
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.050101
                        }
                      ],
                      "others_margin": 0.058583
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.12384864687919617,
                    "model_output": 0.1238,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1335
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.086
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0661
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0433
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.0936,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0212
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0112
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0116
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.006
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0054
                        }
                      ],
                      "others": -0.0024,
                      "total": 0.1238,
                      "log_link": true,
                      "margin_base": -2.368441,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": 0.203739
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.092829
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.087767
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.044757
                        },
                        {
                          "name": "duelLost",
                          "margin": -0.041955
                        }
                      ],
                      "others_margin": -0.017878
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.08384939283132553,
                    "model_output": 0.0838,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0863
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0517
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0485
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0373
                      },
                      {
                        "name": "goals",
                        "importance": 0.0275
                      }
                    ],
                    "decomposition": {
                      "base": 0.0966,
                      "items": [
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0133
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.012
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0119
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0107
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0092
                        }
                      ],
                      "others": -0.0195,
                      "total": 0.0838,
                      "log_link": true,
                      "margin_base": -2.337105,
                      "item_margins": [
                        {
                          "name": "pass_accuracy",
                          "margin": -0.147952
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.134561
                        },
                        {
                          "name": "duelLost",
                          "margin": -0.133583
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.121175
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.093028
                        }
                      ],
                      "others_margin": -0.208857
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.39559319615364075,
                    "model_output": 0.3956,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.108
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0886
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0725
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0371
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.324,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.08
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0494
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0512
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.043
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0359
                        }
                      ],
                      "others": -0.0301,
                      "total": 0.3956,
                      "log_link": true,
                      "margin_base": -1.126872,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.220571
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.115374
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.106995
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.089144
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.081009
                        }
                      ],
                      "others_margin": -0.073284
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.3826693296432495,
                    "model_output": 1.3827,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1275
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1232
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0542
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0485
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0257
                      }
                    ],
                    "decomposition": {
                      "base": 0.99,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.2864
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1475
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0475
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0383
                        },
                        {
                          "name": "wonTackle",
                          "contribution": 0.0237
                        }
                      ],
                      "others": -0.0557,
                      "total": 1.3827,
                      "log_link": false,
                      "margin_base": 0.989981,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.2864
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.147518
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.047513
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.038258
                        },
                        {
                          "name": "wonTackle",
                          "margin": 0.023697
                        }
                      ],
                      "others_margin": -0.055673
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.937310218811035,
                    "model_output": 6.9373,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0898
                      },
                      {
                        "name": "rating",
                        "importance": 0.0801
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0397
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0337
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0318
                      }
                    ],
                    "decomposition": {
                      "base": 6.8504,
                      "items": [
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0382
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0376
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0221
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0219
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0104
                        }
                      ],
                      "others": 0.0217,
                      "total": 6.9373,
                      "log_link": false,
                      "margin_base": 6.850356,
                      "item_margins": [
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.038237
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.03765
                        },
                        {
                          "name": "rating",
                          "margin": -0.022139
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.021908
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.010392
                        }
                      ],
                      "others_margin": 0.021691
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 15,
                  "role_matches": 5,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9955, quality 0.445)",
              "stats": {
                "key_pass": 1.8206,
                "expected_assists": 0.1235,
                "assists": 0.1335,
                "assist_rate": 0.1335,
                "expected_goals": 0.1233,
                "goals": 0.0835,
                "goal_rate": 0.0835,
                "shots_on_target": 0.3938,
                "total_shots": 1.3765,
                "rating": 6.9373,
                "minutes": 66.17,
                "total_pass": 37.3183,
                "accurate_pass": 34.3995,
                "duels_won": 2.1326,
                "total_long_balls": 2.3728,
                "accurate_long_balls": 1.8397,
                "total_own_half_passes": 11.7309,
                "accurate_own_half_passes": 11.3378,
                "total_opp_half_passes": 25.5875,
                "accurate_opp_half_passes": 23.0618,
                "crosses_total": 2.2419,
                "crosses_accurate": 0.8876,
                "touches": 47.225,
                "possession_lost": 6.1741,
                "dispossessed": 0.1402,
                "duels_lost": 1.815,
                "aerial_won": 0.0,
                "aerial_lost": 0.0,
                "interceptions": 0.6025,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.1402,
                "total_contest": 0.6503,
                "won_contest": 0.2282,
                "challenges_lost": 1.1127,
                "fouls": 0.1402,
                "fouls_drawn": 1.9044,
                "blocks": 0.2684,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2684,
                "xgot": 0.0075,
                "ball_carries": 14.6323,
                "total_progression": 47.5702,
                "progressive_carries": 1.373,
                "shots_off_target": 0.9827
              },
              "params": {
                "market_value_eur": 3600000,
                "quality_factor": 0.4449,
                "boost_factor": 0.9955,
                "reference_quality": 0.505,
                "history_matches": 15,
                "history_shrink": 0.25,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0141)",
              "stats": {
                "key_pass": 1.8206,
                "expected_assists": 0.1235,
                "assists": 0.1316,
                "assist_rate": 0.1316,
                "expected_goals": 0.1233,
                "goals": 0.0823,
                "goal_rate": 0.0823,
                "shots_on_target": 0.4114,
                "total_shots": 1.3802,
                "rating": 6.9373,
                "minutes": 66.17,
                "total_pass": 37.3183,
                "accurate_pass": 34.3995,
                "duels_won": 2.1326,
                "total_long_balls": 2.3728,
                "accurate_long_balls": 1.8397,
                "total_own_half_passes": 11.7309,
                "accurate_own_half_passes": 11.3378,
                "total_opp_half_passes": 25.5875,
                "accurate_opp_half_passes": 23.0618,
                "crosses_total": 2.2661,
                "crosses_accurate": 0.8876,
                "touches": 47.225,
                "possession_lost": 6.1741,
                "dispossessed": 0.1402,
                "duels_lost": 1.815,
                "aerial_won": 0.0,
                "aerial_lost": 0.0,
                "interceptions": 0.602,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.1402,
                "total_contest": 0.6503,
                "won_contest": 0.2282,
                "challenges_lost": 1.1127,
                "fouls": 0.1701,
                "fouls_drawn": 1.9015,
                "blocks": 0.2684,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2684,
                "xgot": 0.0075,
                "ball_carries": 14.6323,
                "total_progression": 47.5702,
                "progressive_carries": 1.373,
                "shots_off_target": 0.9827
              },
              "params": {
                "blend_weight": 0.0141,
                "history_matches": 15,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.7352,
                "prior_reliability": 0.0867,
                "competition": "La Liga",
                "squad": "Real Betis"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 0.1402,
                  "after": 0.1701
                },
                {
                  "stat": "totalCross",
                  "before": 2.2419,
                  "after": 2.2661
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.3938,
                  "after": 0.4114
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1.8206,
                "expected_assists": 0.1235,
                "assists": 0.1316,
                "assist_rate": 0.1316,
                "expected_goals": 0.1233,
                "goals": 0.0823,
                "goal_rate": 0.0823,
                "shots_on_target": 0.4114,
                "total_shots": 1.3941,
                "rating": 6.9373,
                "minutes": 66.17,
                "total_pass": 37.3183,
                "accurate_pass": 34.3995,
                "duels_won": 2.1326,
                "total_long_balls": 2.3728,
                "accurate_long_balls": 1.8397,
                "total_own_half_passes": 11.7309,
                "accurate_own_half_passes": 11.3378,
                "total_opp_half_passes": 25.5875,
                "accurate_opp_half_passes": 23.0618,
                "crosses_total": 2.2661,
                "crosses_accurate": 0.8876,
                "touches": 47.225,
                "possession_lost": 6.1741,
                "dispossessed": 0.1402,
                "duels_lost": 1.815,
                "aerial_won": 0.0,
                "aerial_lost": 0.0,
                "interceptions": 0.602,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.1402,
                "total_contest": 0.6503,
                "won_contest": 0.2282,
                "challenges_lost": 1.1127,
                "fouls": 0.1701,
                "fouls_drawn": 1.9015,
                "blocks": 0.2684,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2684,
                "xgot": 0.0075,
                "ball_carries": 14.6323,
                "total_progression": 47.5702,
                "progressive_carries": 1.373,
                "shots_off_target": 0.9827
              },
              "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.8206,
                "expected_assists": 0.1235,
                "assists": 0.1316,
                "assist_rate": 0.1316,
                "expected_goals": 0.1221,
                "goals": 0.0815,
                "goal_rate": 0.0815,
                "shots_on_target": 0.4075,
                "total_shots": 1.381,
                "rating": 6.9373,
                "minutes": 66.17,
                "total_pass": 37.3183,
                "accurate_pass": 34.3995,
                "duels_won": 2.1326,
                "total_long_balls": 2.3728,
                "accurate_long_balls": 1.8397,
                "total_own_half_passes": 11.7309,
                "accurate_own_half_passes": 11.3378,
                "total_opp_half_passes": 25.5875,
                "accurate_opp_half_passes": 23.0618,
                "crosses_total": 2.2661,
                "crosses_accurate": 0.8876,
                "touches": 47.225,
                "possession_lost": 6.1741,
                "dispossessed": 0.1402,
                "duels_lost": 1.815,
                "aerial_won": 0.9,
                "aerial_lost": 0.0,
                "interceptions": 0.602,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.1402,
                "total_contest": 0.6503,
                "won_contest": 0.2282,
                "challenges_lost": 1.1127,
                "fouls": 0.1701,
                "fouls_drawn": 1.9015,
                "blocks": 0.2684,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2659,
                "xgot": 0.0074,
                "ball_carries": 14.6323,
                "total_progression": 47.5702,
                "progressive_carries": 1.373,
                "shots_off_target": 0.9735,
                "duel_xg_multiplier": 0.9906,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.444,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iker Muñoz",
                "opponent_faced": "Iker Muñoz",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Iker Muñoz",
                  "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                  "duel_win_rate": 0.444,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 0.9906,
                  "skill_edge": 0.0056,
                  "height_edge": -0.012,
                  "attacker_skill": 0.4498,
                  "defender_skill": 0.4374,
                  "attacker_role": "CM",
                  "attacker_mv_price_index": 0.9,
                  "defender_adjusted_parts": [
                    {
                      "player": "Iker Muñoz",
                      "market_value": 1800000,
                      "role": "CDM",
                      "price_index": 0.85,
                      "adjusted_quality": 0.4374
                    }
                  ],
                  "xg_override": 0.1221
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.0,
                  "after": 0.9
                },
                {
                  "stat": "totalShots",
                  "before": 1.3941,
                  "after": 1.381
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.9827,
                  "after": 0.9735
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.93 (squad xG sum 1.5037, xG scale 1.2862, xA scale 1.3318, team xA 1.26 = 0.65 x lambda)",
              "stats": {
                "key_pass": 1.8206,
                "expected_assists": 0.1645,
                "assist_rate": 0.1316,
                "assists": 0,
                "expected_goals": 0.157,
                "goal_rate": 0.0815,
                "goals": 0,
                "shots_on_target": 0.4075,
                "total_shots": 1.381,
                "rating": 6.9373,
                "minutes": 66.17,
                "total_pass": 37.3183,
                "accurate_pass": 34.3995,
                "duels_won": 2.1326,
                "total_long_balls": 2.3728,
                "accurate_long_balls": 1.8397,
                "total_own_half_passes": 11.7309,
                "accurate_own_half_passes": 11.3378,
                "total_opp_half_passes": 25.5875,
                "accurate_opp_half_passes": 23.0618,
                "crosses_total": 2.2661,
                "crosses_accurate": 0.8876,
                "touches": 47.225,
                "possession_lost": 6.1741,
                "dispossessed": 0.1402,
                "duels_lost": 1.815,
                "aerial_won": 0.9,
                "aerial_lost": 0.0,
                "interceptions": 0.602,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.1402,
                "total_contest": 0.6503,
                "won_contest": 0.2282,
                "challenges_lost": 1.1127,
                "fouls": 0.1701,
                "fouls_drawn": 1.9015,
                "blocks": 0.2684,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2659,
                "xgot": 0.0095,
                "ball_carries": 14.6323,
                "total_progression": 47.5702,
                "progressive_carries": 1.373,
                "shots_off_target": 0.9735,
                "duel_xg_multiplier": 0.9906,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.444,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iker Muñoz",
                "opponent_faced": "Iker Muñoz",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 1.0467
              },
              "params": {
                "team_lambda": 1.934,
                "squad_xg_sum": 1.5037,
                "squad_xa_sum": 0.9439,
                "team_expected_assists": 1.2571,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2862,
                "xa_scale": 1.3318,
                "opponent_lambda": 0.835,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1221,
                  "after": 0.157
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1235,
                  "after": 0.1645
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 6 by projected rating, fifa_overall 83.0; not used by the projection)",
              "stats": {
                "key_pass": 1.8206,
                "expected_assists": 0.1645,
                "assist_rate": 0.1316,
                "assists": 0,
                "expected_goals": 0.157,
                "goal_rate": 0.0815,
                "goals": 0,
                "shots_on_target": 0.4075,
                "total_shots": 1.381,
                "rating": 6.9373,
                "minutes": 66.17,
                "total_pass": 37.3183,
                "accurate_pass": 34.3995,
                "duels_won": 2.1326,
                "total_long_balls": 2.3728,
                "accurate_long_balls": 1.8397,
                "total_own_half_passes": 11.7309,
                "accurate_own_half_passes": 11.3378,
                "total_opp_half_passes": 25.5875,
                "accurate_opp_half_passes": 23.0618,
                "crosses_total": 2.2661,
                "crosses_accurate": 0.8876,
                "touches": 47.225,
                "possession_lost": 6.1741,
                "dispossessed": 0.1402,
                "duels_lost": 1.815,
                "aerial_won": 0.9,
                "aerial_lost": 0.0,
                "interceptions": 0.602,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.1402,
                "total_contest": 0.6503,
                "won_contest": 0.2282,
                "challenges_lost": 1.1127,
                "fouls": 0.1701,
                "fouls_drawn": 1.9015,
                "blocks": 0.2684,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2659,
                "xgot": 0.0095,
                "ball_carries": 14.6323,
                "total_progression": 47.5702,
                "progressive_carries": 1.373,
                "shots_off_target": 0.9735,
                "duel_xg_multiplier": 0.9906,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.444,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iker Muñoz",
                "opponent_faced": "Iker Muñoz",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 1.0467,
                "fifa_overall": 83.0
              },
              "params": {
                "match_squad_rank": 6,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 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: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 1.8206,
                "expected_assists": 0.1645,
                "assist_rate": 0.1316,
                "assists": 0,
                "expected_goals": 0.157,
                "goal_rate": 0.0815,
                "goals": 0,
                "shots_on_target": 0.4075,
                "total_shots": 1.381,
                "rating": 6.9373,
                "minutes": 66.17,
                "total_pass": 37.3183,
                "accurate_pass": 34.3995,
                "duels_won": 2.1326,
                "total_long_balls": 2.3728,
                "accurate_long_balls": 1.8397,
                "total_own_half_passes": 11.7309,
                "accurate_own_half_passes": 11.3378,
                "total_opp_half_passes": 25.5875,
                "accurate_opp_half_passes": 23.0618,
                "crosses_total": 2.2661,
                "crosses_accurate": 0.8876,
                "touches": 47.225,
                "possession_lost": 6.1741,
                "dispossessed": 0.1402,
                "duels_lost": 1.815,
                "aerial_won": 0.9,
                "aerial_lost": 0.0,
                "interceptions": 0.602,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.1402,
                "total_contest": 0.6503,
                "won_contest": 0.2282,
                "challenges_lost": 1.1127,
                "fouls": 0.1701,
                "fouls_drawn": 1.9015,
                "blocks": 0.2684,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2659,
                "xgot": 0.0095,
                "ball_carries": 14.6323,
                "total_progression": 47.5702,
                "progressive_carries": 1.373,
                "shots_off_target": 0.9735,
                "duel_xg_multiplier": 0.9906,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.444,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iker Muñoz",
                "opponent_faced": "Iker Muñoz",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1453,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 1.0467,
                "fifa_overall": 83.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.1453,
                "scorer_weight": 0.1256,
                "squad_weight_total": 2.0478,
                "weight_share": 0.0613,
                "finishing_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 5,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Abdessamad Ezzalzouli",
                    "weight": 0.5955,
                    "already": 0,
                    "effective_weight": 0.5955,
                    "runner_up": "Cucho Hernández",
                    "runner_up_effective_weight": 0.4616
                  }
                ]
              }
            },
            {
              "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.8206,
                "expected_assists": 0.1645,
                "assist_rate": 0.1316,
                "assists": 1,
                "expected_goals": 0.157,
                "goal_rate": 0.0815,
                "goals": 0,
                "shots_on_target": 0.4075,
                "total_shots": 1.381,
                "rating": 6.9373,
                "minutes": 66.17,
                "total_pass": 37.3183,
                "accurate_pass": 34.3995,
                "duels_won": 2.1326,
                "total_long_balls": 2.3728,
                "accurate_long_balls": 1.8397,
                "total_own_half_passes": 11.7309,
                "accurate_own_half_passes": 11.3378,
                "total_opp_half_passes": 25.5875,
                "accurate_opp_half_passes": 23.0618,
                "crosses_total": 2.2661,
                "crosses_accurate": 0.8876,
                "touches": 47.225,
                "possession_lost": 6.1741,
                "dispossessed": 0.1402,
                "duels_lost": 1.815,
                "aerial_won": 0.9,
                "aerial_lost": 0.0,
                "interceptions": 0.602,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.1402,
                "total_contest": 0.6503,
                "won_contest": 0.2282,
                "challenges_lost": 1.1127,
                "fouls": 0.1701,
                "fouls_drawn": 1.9015,
                "blocks": 0.2684,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2659,
                "xgot": 0.0095,
                "ball_carries": 14.6323,
                "total_progression": 47.5702,
                "progressive_carries": 1.373,
                "shots_off_target": 0.9735,
                "duel_xg_multiplier": 0.9906,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.444,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iker Muñoz",
                "opponent_faced": "Iker Muñoz",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1453,
                "projected_assists": 1,
                "assist_probability": 0.1517,
                "finishing_factor": 0.8,
                "creation_factor": 1.0467,
                "fifa_overall": 83.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 1,
                "assist_probability": 0.1517,
                "provider_weight": 0.1722,
                "squad_weight_total": 1.1393,
                "weight_share": 0.1511,
                "creation_factor": 1.0467,
                "appearance_weight": 1.0,
                "weight_rank": 2,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Isco",
                    "weight": 0.1722,
                    "already": 0,
                    "effective_weight": 0.1722,
                    "runner_up": "Pablo Fornals",
                    "runner_up_effective_weight": 0.1629,
                    "blocked_own_goal": [
                      "Abdessamad Ezzalzouli"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "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.0747,
            "assist_rate": 0.0599,
            "assists": 0,
            "expected_goals": 0.0512,
            "goal_rate": 0.0443,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 7.0283,
            "minutes": 84,
            "total_pass": 51,
            "accurate_pass": 46,
            "duels_won": 4,
            "total_long_balls": 4,
            "accurate_long_balls": 3,
            "total_own_half_passes": 25,
            "accurate_own_half_passes": 24,
            "total_opp_half_passes": 25,
            "accurate_opp_half_passes": 23,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 62,
            "possession_lost": 5.7369,
            "dispossessed": 0.4087,
            "duels_lost": 3,
            "aerial_won": 1,
            "aerial_lost": 1,
            "interceptions": 1,
            "tackles_won": 1,
            "tackles": 2,
            "clearances": 1,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0329,
            "ball_carries": 19,
            "total_progression": 37,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "duel_xg_multiplier": 1.0453,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.8,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.451,
            "pressing_faced": "LOW",
            "matchup_zone": "CDM vs CDM",
            "numerical_situation": "1v1",
            "opponent_defenders": "Iker Muñoz",
            "opponent_faced": "Iker Muñoz",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0499,
            "projected_assists": 0,
            "assist_probability": 0.072,
            "finishing_factor": 1.0501,
            "creation_factor": 1.0358,
            "fifa_overall": 78.0
          },
          "latest_10_games": [
            {
              "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
            },
            {
              "match_id": 14083381,
              "match_date": "2026-05-03",
              "home_team": "Real Betis",
              "away_team": "Real Oviedo",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Real Oviedo",
              "stats": {
                "minutes": 28,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.012,
                "total_shots": 0,
                "total_pass": 26,
                "accurate_pass": 24,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 2,
                "ball_recovery": 5
              },
              "has_player_stats": true
            },
            {
              "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": 45,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0702,
                "expected_assists": 0.0137,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 37,
                "accurate_pass": 33,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 4
              },
              "has_player_stats": true
            }
          ],
          "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": 5,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.0283,
            "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": 34,
          "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": 34,
            "data_confidence": 0.767,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.998,
            "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 34 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.7172,
                "expected_assists": 0.0562,
                "assists": 0.0553,
                "assist_rate": 0.0553,
                "expected_goals": 0.0381,
                "goals": 0.0429,
                "goal_rate": 0.0429,
                "shots_on_target": 0.1285,
                "total_shots": 0.5761,
                "rating": 7.0283,
                "minutes": 83.97,
                "total_pass": 50.7919,
                "accurate_pass": 46.5237,
                "duels_won": 3.8108,
                "total_long_balls": 4.2678,
                "accurate_long_balls": 2.8838,
                "total_own_half_passes": 25.5443,
                "accurate_own_half_passes": 23.9608,
                "total_opp_half_passes": 25.2476,
                "accurate_opp_half_passes": 22.5629,
                "crosses_total": 0.1891,
                "crosses_accurate": 0.0835,
                "touches": 62.0258,
                "possession_lost": 5.7484,
                "dispossessed": 0.4095,
                "duels_lost": 3.168,
                "aerial_won": 0.469,
                "aerial_lost": 0.5035,
                "interceptions": 1.1713,
                "tackles_won": 1.0463,
                "tackles": 2.0507,
                "clearances": 1.348,
                "total_contest": 0.2815,
                "won_contest": 0.2444,
                "challenges_lost": 1.0036,
                "fouls": 1.221,
                "fouls_drawn": 1.0468,
                "blocks": 0.2711,
                "big_chances_created": 0.2275,
                "big_chances_missed": 0.0191,
                "xgot": 0.0245,
                "ball_carries": 18.8128,
                "total_progression": 37.1387,
                "progressive_carries": 0.0758,
                "shots_off_target": 0.4476
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-11T10:26:42.530573+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 894,
                    "rows": 23497
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 79.0,
                    "is_starting": true,
                    "weight": 0.1506,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-14",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.128,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-09-04",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1088,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Levante UD",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.0925,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0786,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0668,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "FC Barcelona",
                    "minutes": 10.0,
                    "is_starting": false,
                    "weight": 0.0568,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-09",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0483,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-03",
                    "opponent": "Real Oviedo",
                    "minutes": 28.0,
                    "is_starting": false,
                    "weight": 0.041,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-04-24",
                    "opponent": "Real Madrid",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.0349,
                    "rating": 6.5
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.6161,
                  "creative_index": 0.3757,
                  "expectedGoals": 0.0252,
                  "expectedAssists": 0.0874,
                  "onTargetScoringAttempt": 0.1856
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.7171512246131897,
                    "model_output": 0.7172,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1648
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1344
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0672
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0573
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0281
                      }
                    ],
                    "decomposition": {
                      "base": 0.8857,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": -0.1151
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1063
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0526
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0461
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0342
                        }
                      ],
                      "others": -0.119,
                      "total": 0.7172,
                      "log_link": true,
                      "margin_base": -0.121432,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": -0.139202
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.129218
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.061863
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.054467
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": -0.040133
                        }
                      ],
                      "others_margin": -0.153525
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.056169912219047546,
                    "model_output": 0.0562,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1094
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1055
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.099
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0603
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0557
                      }
                    ],
                    "decomposition": {
                      "base": 0.0855,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": -0.0175
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0102
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0086
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0051
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0047
                        }
                      ],
                      "others": -0.013,
                      "total": 0.0562,
                      "log_link": true,
                      "margin_base": -2.458929,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": -0.228276
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.139761
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.115851
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.075515
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.069765
                        }
                      ],
                      "others_margin": -0.210329
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.05531240999698639,
                    "model_output": 0.0553,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0515
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0436
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0436
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0319
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.03
                      }
                    ],
                    "decomposition": {
                      "base": 0.0858,
                      "items": [
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0101
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0082
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0055
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": -0.0051
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0042
                        }
                      ],
                      "others": -0.0084,
                      "total": 0.0553,
                      "log_link": true,
                      "margin_base": -2.456317,
                      "item_margins": [
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.125916
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.114727
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.078309
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": -0.072015
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.064316
                        }
                      ],
                      "others_margin": -0.139778
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.03814747557044029,
                    "model_output": 0.0381,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1335
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.086
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0661
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0433
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.0936,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.028
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.009
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.007
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0065
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0044
                        }
                      ],
                      "others": -0.0146,
                      "total": 0.0381,
                      "log_link": true,
                      "margin_base": -2.368441,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.355382
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.147102
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.115736
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.108421
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.079809
                        }
                      ],
                      "others_margin": -0.322877
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.042851224541664124,
                    "model_output": 0.0429,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0863
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0517
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0485
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0373
                      },
                      {
                        "name": "goals",
                        "importance": 0.0275
                      }
                    ],
                    "decomposition": {
                      "base": 0.0966,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.015
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0106
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0086
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0055
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0042
                        }
                      ],
                      "others": -0.0098,
                      "total": 0.0429,
                      "log_link": true,
                      "margin_base": -2.337105,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.168791
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.139676
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.128716
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.091994
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.077257
                        }
                      ],
                      "others_margin": -0.20648
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.1284785121679306,
                    "model_output": 0.1285,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.108
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0886
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0725
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0371
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.324,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0727
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0436
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0245
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0234
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0232
                        }
                      ],
                      "others": -0.0549,
                      "total": 0.1285,
                      "log_link": true,
                      "margin_base": -1.126872,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.254058
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.190656
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.125564
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.120257
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.119246
                        }
                      ],
                      "others_margin": -0.355855
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.576042652130127,
                    "model_output": 0.576,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1275
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1232
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0542
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0485
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0257
                      }
                    ],
                    "decomposition": {
                      "base": 0.99,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.2352
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1148
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0507
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0485
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0407
                        }
                      ],
                      "others": -0.1537,
                      "total": 0.576,
                      "log_link": false,
                      "margin_base": 0.989981,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.235196
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.11482
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.050746
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.048492
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.040658
                        }
                      ],
                      "others_margin": -0.153667
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.0283331871032715,
                    "model_output": 7.0283,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0898
                      },
                      {
                        "name": "rating",
                        "importance": 0.0801
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0397
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0337
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0318
                      }
                    ],
                    "decomposition": {
                      "base": 6.8504,
                      "items": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.1119
                        },
                        {
                          "name": "rating",
                          "contribution": 0.047
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0306
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0296
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0156
                        }
                      ],
                      "others": 0.0356,
                      "total": 7.0283,
                      "log_link": false,
                      "margin_base": 6.850356,
                      "item_margins": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.111931
                        },
                        {
                          "name": "rating",
                          "margin": 0.047047
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.03063
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.029556
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.015588
                        }
                      ],
                      "others_margin": 0.035659
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 34,
                  "role_matches": 28,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9980, quality 0.452)",
              "stats": {
                "key_pass": 0.7157,
                "expected_assists": 0.0561,
                "assists": 0.0552,
                "assist_rate": 0.0552,
                "expected_goals": 0.0381,
                "goals": 0.0428,
                "goal_rate": 0.0428,
                "shots_on_target": 0.1282,
                "total_shots": 0.5749,
                "rating": 7.0283,
                "minutes": 83.97,
                "total_pass": 50.6903,
                "accurate_pass": 46.4307,
                "duels_won": 3.8032,
                "total_long_balls": 4.2593,
                "accurate_long_balls": 2.878,
                "total_own_half_passes": 25.4932,
                "accurate_own_half_passes": 23.9129,
                "total_opp_half_passes": 25.1971,
                "accurate_opp_half_passes": 22.5178,
                "crosses_total": 0.1887,
                "crosses_accurate": 0.0833,
                "touches": 61.9017,
                "possession_lost": 5.7369,
                "dispossessed": 0.4087,
                "duels_lost": 3.1617,
                "aerial_won": 0.4681,
                "aerial_lost": 0.5025,
                "interceptions": 1.169,
                "tackles_won": 1.0442,
                "tackles": 2.0466,
                "clearances": 1.3453,
                "total_contest": 0.2809,
                "won_contest": 0.2439,
                "challenges_lost": 1.0016,
                "fouls": 1.2186,
                "fouls_drawn": 1.0447,
                "blocks": 0.2706,
                "big_chances_created": 0.227,
                "big_chances_missed": 0.0191,
                "xgot": 0.0245,
                "ball_carries": 18.7752,
                "total_progression": 37.0644,
                "progressive_carries": 0.0756,
                "shots_off_target": 0.4467
              },
              "params": {
                "market_value_eur": 4200000,
                "quality_factor": 0.4523,
                "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.0094)",
              "stats": {
                "key_pass": 0.7157,
                "expected_assists": 0.0561,
                "assists": 0.0599,
                "assist_rate": 0.0599,
                "expected_goals": 0.0381,
                "goals": 0.0424,
                "goal_rate": 0.0424,
                "shots_on_target": 0.127,
                "total_shots": 0.5847,
                "rating": 7.0283,
                "minutes": 83.97,
                "total_pass": 50.6903,
                "accurate_pass": 46.4307,
                "duels_won": 3.8032,
                "total_long_balls": 4.2593,
                "accurate_long_balls": 2.878,
                "total_own_half_passes": 25.4932,
                "accurate_own_half_passes": 23.9129,
                "total_opp_half_passes": 25.1971,
                "accurate_opp_half_passes": 22.5178,
                "crosses_total": 0.1869,
                "crosses_accurate": 0.0833,
                "touches": 61.9017,
                "possession_lost": 5.7369,
                "dispossessed": 0.4087,
                "duels_lost": 3.1617,
                "aerial_won": 0.4681,
                "aerial_lost": 0.5025,
                "interceptions": 1.1683,
                "tackles_won": 1.0499,
                "tackles": 2.0466,
                "clearances": 1.3453,
                "total_contest": 0.2809,
                "won_contest": 0.2439,
                "challenges_lost": 1.0016,
                "fouls": 1.2175,
                "fouls_drawn": 1.0452,
                "blocks": 0.2706,
                "big_chances_created": 0.227,
                "big_chances_missed": 0.0191,
                "xgot": 0.0245,
                "ball_carries": 18.7752,
                "total_progression": 37.0644,
                "progressive_carries": 0.0756,
                "shots_off_target": 0.4467
              },
              "params": {
                "blend_weight": 0.0094,
                "history_matches": 34,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.933,
                "prior_reliability": 0.1133,
                "competition": "La Liga",
                "squad": "Real Betis"
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 0.5749,
                  "after": 0.5847
                },
                {
                  "stat": "wonTackle",
                  "before": 1.0442,
                  "after": 1.0499
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.7157,
                "expected_assists": 0.0561,
                "assists": 0.0599,
                "assist_rate": 0.0599,
                "expected_goals": 0.0381,
                "goals": 0.0424,
                "goal_rate": 0.0424,
                "shots_on_target": 0.127,
                "total_shots": 0.5847,
                "rating": 7.0283,
                "minutes": 83.97,
                "total_pass": 50.6903,
                "accurate_pass": 46.4307,
                "duels_won": 3.8032,
                "total_long_balls": 4.2593,
                "accurate_long_balls": 2.878,
                "total_own_half_passes": 25.4932,
                "accurate_own_half_passes": 23.9129,
                "total_opp_half_passes": 25.1971,
                "accurate_opp_half_passes": 22.5178,
                "crosses_total": 0.1869,
                "crosses_accurate": 0.0833,
                "touches": 61.9017,
                "possession_lost": 5.7369,
                "dispossessed": 0.4087,
                "duels_lost": 3.1617,
                "aerial_won": 0.4681,
                "aerial_lost": 0.5025,
                "interceptions": 1.1683,
                "tackles_won": 1.0499,
                "tackles": 2.0466,
                "clearances": 1.3453,
                "total_contest": 0.2809,
                "won_contest": 0.2439,
                "challenges_lost": 1.0016,
                "fouls": 1.2175,
                "fouls_drawn": 1.0452,
                "blocks": 0.2706,
                "big_chances_created": 0.227,
                "big_chances_missed": 0.0191,
                "xgot": 0.0245,
                "ball_carries": 18.7752,
                "total_progression": 37.0644,
                "progressive_carries": 0.0756,
                "shots_off_target": 0.4467
              },
              "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.7157,
                "expected_assists": 0.0561,
                "assists": 0.0599,
                "assist_rate": 0.0599,
                "expected_goals": 0.0398,
                "goals": 0.0443,
                "goal_rate": 0.0443,
                "shots_on_target": 0.1328,
                "total_shots": 0.6112,
                "rating": 7.0283,
                "minutes": 83.97,
                "total_pass": 50.6903,
                "accurate_pass": 46.4307,
                "duels_won": 3.8032,
                "total_long_balls": 4.2593,
                "accurate_long_balls": 2.878,
                "total_own_half_passes": 25.4932,
                "accurate_own_half_passes": 23.9129,
                "total_opp_half_passes": 25.1971,
                "accurate_opp_half_passes": 22.5178,
                "crosses_total": 0.1869,
                "crosses_accurate": 0.0833,
                "touches": 61.9017,
                "possession_lost": 5.7369,
                "dispossessed": 0.4087,
                "duels_lost": 3.1617,
                "aerial_won": 1.1,
                "aerial_lost": 0.5025,
                "interceptions": 1.1683,
                "tackles_won": 1.0499,
                "tackles": 2.0466,
                "clearances": 1.3453,
                "total_contest": 0.2809,
                "won_contest": 0.2439,
                "challenges_lost": 1.0016,
                "fouls": 1.2175,
                "fouls_drawn": 1.0452,
                "blocks": 0.2706,
                "big_chances_created": 0.227,
                "big_chances_missed": 0.02,
                "xgot": 0.0256,
                "ball_carries": 18.7752,
                "total_progression": 37.0644,
                "progressive_carries": 0.0756,
                "shots_off_target": 0.4669,
                "duel_xg_multiplier": 1.0453,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.451,
                "pressing_faced": "LOW",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iker Muñoz",
                "opponent_faced": "Iker Muñoz",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Iker Muñoz",
                  "matchup_zone": "CDM vs CDM",
                  "duel_win_rate": 0.451,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 1.0453,
                  "skill_edge": 0.0108,
                  "height_edge": 0.02,
                  "attacker_skill": 0.4615,
                  "defender_skill": 0.4374,
                  "attacker_role": "CDM",
                  "attacker_mv_price_index": 0.85,
                  "defender_adjusted_parts": [
                    {
                      "player": "Iker Muñoz",
                      "market_value": 1800000,
                      "role": "CDM",
                      "price_index": 0.85,
                      "adjusted_quality": 0.4374
                    }
                  ],
                  "xg_override": 0.0398
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.4681,
                  "after": 1.1
                },
                {
                  "stat": "totalShots",
                  "before": 0.5847,
                  "after": 0.6112
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.4467,
                  "after": 0.4669
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.127,
                  "after": 0.1328
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.93 (squad xG sum 1.5037, xG scale 1.2862, xA scale 1.3318, team xA 1.26 = 0.65 x lambda)",
              "stats": {
                "key_pass": 0.7157,
                "expected_assists": 0.0747,
                "assist_rate": 0.0599,
                "assists": 0,
                "expected_goals": 0.0512,
                "goal_rate": 0.0443,
                "goals": 0,
                "shots_on_target": 0.1328,
                "total_shots": 0.6112,
                "rating": 7.0283,
                "minutes": 83.97,
                "total_pass": 50.6903,
                "accurate_pass": 46.4307,
                "duels_won": 3.8032,
                "total_long_balls": 4.2593,
                "accurate_long_balls": 2.878,
                "total_own_half_passes": 25.4932,
                "accurate_own_half_passes": 23.9129,
                "total_opp_half_passes": 25.1971,
                "accurate_opp_half_passes": 22.5178,
                "crosses_total": 0.1869,
                "crosses_accurate": 0.0833,
                "touches": 61.9017,
                "possession_lost": 5.7369,
                "dispossessed": 0.4087,
                "duels_lost": 3.1617,
                "aerial_won": 1.1,
                "aerial_lost": 0.5025,
                "interceptions": 1.1683,
                "tackles_won": 1.0499,
                "tackles": 2.0466,
                "clearances": 1.3453,
                "total_contest": 0.2809,
                "won_contest": 0.2439,
                "challenges_lost": 1.0016,
                "fouls": 1.2175,
                "fouls_drawn": 1.0452,
                "blocks": 0.2706,
                "big_chances_created": 0.227,
                "big_chances_missed": 0.02,
                "xgot": 0.0329,
                "ball_carries": 18.7752,
                "total_progression": 37.0644,
                "progressive_carries": 0.0756,
                "shots_off_target": 0.4669,
                "duel_xg_multiplier": 1.0453,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.451,
                "pressing_faced": "LOW",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iker Muñoz",
                "opponent_faced": "Iker Muñoz",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0501,
                "creation_factor": 1.0358
              },
              "params": {
                "team_lambda": 1.934,
                "squad_xg_sum": 1.5037,
                "squad_xa_sum": 0.9439,
                "team_expected_assists": 1.2571,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2862,
                "xa_scale": 1.3318,
                "opponent_lambda": 0.835,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0398,
                  "after": 0.0512
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0561,
                  "after": 0.0747
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 5 by projected rating, fifa_overall 78.0; not used by the projection)",
              "stats": {
                "key_pass": 0.7157,
                "expected_assists": 0.0747,
                "assist_rate": 0.0599,
                "assists": 0,
                "expected_goals": 0.0512,
                "goal_rate": 0.0443,
                "goals": 0,
                "shots_on_target": 0.1328,
                "total_shots": 0.6112,
                "rating": 7.0283,
                "minutes": 83.97,
                "total_pass": 50.6903,
                "accurate_pass": 46.4307,
                "duels_won": 3.8032,
                "total_long_balls": 4.2593,
                "accurate_long_balls": 2.878,
                "total_own_half_passes": 25.4932,
                "accurate_own_half_passes": 23.9129,
                "total_opp_half_passes": 25.1971,
                "accurate_opp_half_passes": 22.5178,
                "crosses_total": 0.1869,
                "crosses_accurate": 0.0833,
                "touches": 61.9017,
                "possession_lost": 5.7369,
                "dispossessed": 0.4087,
                "duels_lost": 3.1617,
                "aerial_won": 1.1,
                "aerial_lost": 0.5025,
                "interceptions": 1.1683,
                "tackles_won": 1.0499,
                "tackles": 2.0466,
                "clearances": 1.3453,
                "total_contest": 0.2809,
                "won_contest": 0.2439,
                "challenges_lost": 1.0016,
                "fouls": 1.2175,
                "fouls_drawn": 1.0452,
                "blocks": 0.2706,
                "big_chances_created": 0.227,
                "big_chances_missed": 0.02,
                "xgot": 0.0329,
                "ball_carries": 18.7752,
                "total_progression": 37.0644,
                "progressive_carries": 0.0756,
                "shots_off_target": 0.4669,
                "duel_xg_multiplier": 1.0453,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.451,
                "pressing_faced": "LOW",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iker Muñoz",
                "opponent_faced": "Iker Muñoz",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0501,
                "creation_factor": 1.0358,
                "fifa_overall": 78.0
              },
              "params": {
                "match_squad_rank": 5,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 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: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 0.7157,
                "expected_assists": 0.0747,
                "assist_rate": 0.0599,
                "assists": 0,
                "expected_goals": 0.0512,
                "goal_rate": 0.0443,
                "goals": 0,
                "shots_on_target": 0.1328,
                "total_shots": 0.6112,
                "rating": 7.0283,
                "minutes": 83.97,
                "total_pass": 50.6903,
                "accurate_pass": 46.4307,
                "duels_won": 3.8032,
                "total_long_balls": 4.2593,
                "accurate_long_balls": 2.878,
                "total_own_half_passes": 25.4932,
                "accurate_own_half_passes": 23.9129,
                "total_opp_half_passes": 25.1971,
                "accurate_opp_half_passes": 22.5178,
                "crosses_total": 0.1869,
                "crosses_accurate": 0.0833,
                "touches": 61.9017,
                "possession_lost": 5.7369,
                "dispossessed": 0.4087,
                "duels_lost": 3.1617,
                "aerial_won": 1.1,
                "aerial_lost": 0.5025,
                "interceptions": 1.1683,
                "tackles_won": 1.0499,
                "tackles": 2.0466,
                "clearances": 1.3453,
                "total_contest": 0.2809,
                "won_contest": 0.2439,
                "challenges_lost": 1.0016,
                "fouls": 1.2175,
                "fouls_drawn": 1.0452,
                "blocks": 0.2706,
                "big_chances_created": 0.227,
                "big_chances_missed": 0.02,
                "xgot": 0.0329,
                "ball_carries": 18.7752,
                "total_progression": 37.0644,
                "progressive_carries": 0.0756,
                "shots_off_target": 0.4669,
                "duel_xg_multiplier": 1.0453,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.451,
                "pressing_faced": "LOW",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iker Muñoz",
                "opponent_faced": "Iker Muñoz",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0499,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0501,
                "creation_factor": 1.0358,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0499,
                "scorer_weight": 0.0538,
                "squad_weight_total": 2.0478,
                "weight_share": 0.0263,
                "finishing_factor": 1.0501,
                "appearance_weight": 1.0,
                "weight_rank": 10,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Abdessamad Ezzalzouli",
                    "weight": 0.5955,
                    "already": 0,
                    "effective_weight": 0.5955,
                    "runner_up": "Cucho Hernández",
                    "runner_up_effective_weight": 0.4616
                  }
                ]
              }
            },
            {
              "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.7157,
                "expected_assists": 0.0747,
                "assist_rate": 0.0599,
                "assists": 0,
                "expected_goals": 0.0512,
                "goal_rate": 0.0443,
                "goals": 0,
                "shots_on_target": 0.1328,
                "total_shots": 0.6112,
                "rating": 7.0283,
                "minutes": 83.97,
                "total_pass": 50.6903,
                "accurate_pass": 46.4307,
                "duels_won": 3.8032,
                "total_long_balls": 4.2593,
                "accurate_long_balls": 2.878,
                "total_own_half_passes": 25.4932,
                "accurate_own_half_passes": 23.9129,
                "total_opp_half_passes": 25.1971,
                "accurate_opp_half_passes": 22.5178,
                "crosses_total": 0.1869,
                "crosses_accurate": 0.0833,
                "touches": 61.9017,
                "possession_lost": 5.7369,
                "dispossessed": 0.4087,
                "duels_lost": 3.1617,
                "aerial_won": 1.1,
                "aerial_lost": 0.5025,
                "interceptions": 1.1683,
                "tackles_won": 1.0499,
                "tackles": 2.0466,
                "clearances": 1.3453,
                "total_contest": 0.2809,
                "won_contest": 0.2439,
                "challenges_lost": 1.0016,
                "fouls": 1.2175,
                "fouls_drawn": 1.0452,
                "blocks": 0.2706,
                "big_chances_created": 0.227,
                "big_chances_missed": 0.02,
                "xgot": 0.0329,
                "ball_carries": 18.7752,
                "total_progression": 37.0644,
                "progressive_carries": 0.0756,
                "shots_off_target": 0.4669,
                "duel_xg_multiplier": 1.0453,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.451,
                "pressing_faced": "LOW",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iker Muñoz",
                "opponent_faced": "Iker Muñoz",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0499,
                "projected_assists": 0,
                "assist_probability": 0.072,
                "finishing_factor": 1.0501,
                "creation_factor": 1.0358,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.072,
                "provider_weight": 0.0774,
                "squad_weight_total": 1.1393,
                "weight_share": 0.0679,
                "creation_factor": 1.0358,
                "appearance_weight": 1.0,
                "weight_rank": 7,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Isco",
                    "weight": 0.1722,
                    "already": 0,
                    "effective_weight": 0.1722,
                    "runner_up": "Pablo Fornals",
                    "runner_up_effective_weight": 0.1629,
                    "blocked_own_goal": [
                      "Abdessamad Ezzalzouli"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "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": 1,
            "clearances": 2,
            "aerial_won": 1,
            "total_shots": 0,
            "rating": 6.7676,
            "minutes": 88,
            "total_pass": 44,
            "accurate_pass": 38,
            "duels_won": 4,
            "total_long_balls": 3,
            "accurate_long_balls": 2,
            "total_own_half_passes": 19,
            "accurate_own_half_passes": 17,
            "total_opp_half_passes": 25,
            "accurate_opp_half_passes": 21,
            "crosses_total": 3,
            "crosses_accurate": 0,
            "touches": 65,
            "possession_lost": 10.9965,
            "dispossessed": 0.4586,
            "duels_lost": 3,
            "aerial_lost": 1,
            "total_contest": 1,
            "won_contest": 0,
            "ball_recovery": 4,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0461,
            "assists": 0,
            "expected_goals": 0.0162,
            "expected_assists": 0.0641,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0158,
            "ball_carries": 18,
            "total_progression": 88,
            "progressive_carries": 2,
            "key_pass": 1,
            "shots_off_target": 0,
            "opponent_faced": "Ante Budimir",
            "matchup_zone": "Shape fallback",
            "antagonist_source": "formation_fallback",
            "projected_goals": 0,
            "goal_probability": 0.0161,
            "projected_assists": 0,
            "assist_probability": 0.0621,
            "finishing_factor": 0.8,
            "creation_factor": 0.9796,
            "fifa_overall": 77.0
          },
          "latest_10_games": [
            {
              "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
            },
            {
              "match_id": 14083422,
              "match_date": "2026-05-03",
              "home_team": "Espanyol",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Madrid",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 76,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1275,
                "total_shots": 0,
                "total_pass": 24,
                "accurate_pass": 20,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 3,
                "interceptions": 1,
                "clearances": 4,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083191,
              "match_date": "2026-04-10",
              "home_team": "Real Madrid",
              "away_team": "Girona FC",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 79,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1276,
                "total_shots": 0,
                "total_pass": 56,
                "accurate_pass": 53,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 6
              },
              "has_player_stats": true
            }
          ],
          "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": 13,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7676,
            "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": 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.774,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9988,
            "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 19 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": 0.9755,
                "tackles": 2.0879,
                "tackles_won": 1.4383,
                "clearances": 2.2642,
                "aerial_won": 0.6734,
                "total_shots": 0.3862,
                "rating": 6.7676,
                "minutes": 88.26,
                "total_pass": 44.2116,
                "accurate_pass": 38.489,
                "duels_won": 4.2893,
                "total_long_balls": 3.3537,
                "accurate_long_balls": 1.586,
                "total_own_half_passes": 19.4713,
                "accurate_own_half_passes": 17.274,
                "total_opp_half_passes": 24.7403,
                "accurate_opp_half_passes": 21.215,
                "crosses_total": 2.6139,
                "crosses_accurate": 0.2992,
                "touches": 65.0641,
                "possession_lost": 11.0097,
                "dispossessed": 0.4592,
                "duels_lost": 2.622,
                "aerial_lost": 0.6799,
                "total_contest": 0.5612,
                "won_contest": 0.3731,
                "ball_recovery": 3.9118,
                "challenges_lost": 0.713,
                "fouls": 0.6092,
                "fouls_drawn": 1.1477,
                "blocks": 0.3572,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0381,
                "assist_rate": 0.0381,
                "expected_goals": 0.0126,
                "expected_assists": 0.0482,
                "shots_on_target": 0.0324,
                "big_chances_created": 0.0,
                "xgot": 0.0123,
                "ball_carries": 17.5307,
                "total_progression": 87.6736,
                "progressive_carries": 2.4398,
                "key_pass": 0.5937,
                "shots_off_target": 0.3538
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-11T10:25:50.810190+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 623,
                    "rows": 20487
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1572,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-09-14",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1336,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-04",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1136,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0965,
                    "rating": 5.8
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Valencia",
                    "minutes": 31.0,
                    "is_starting": false,
                    "weight": 0.082,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0697,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0593,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0504,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-05-03",
                    "opponent": "Espanyol",
                    "minutes": 76.0,
                    "is_starting": false,
                    "weight": 0.0428,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-04-10",
                    "opponent": "Girona FC",
                    "minutes": 79.0,
                    "is_starting": true,
                    "weight": 0.0364,
                    "rating": 7.1
                  }
                ],
                "feature_row": {
                  "history_matches": 19.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 1.9425,
                  "aerialWon": 0.5296,
                  "totalClearance_p90": 1.9846,
                  "totalTackle": 2.2409,
                  "totalPass": 39.6635
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.975497305393219,
                    "model_output": 0.9755,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3015
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0387
                      },
                      {
                        "name": "touches",
                        "importance": 0.0279
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0248
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0238
                      }
                    ],
                    "decomposition": {
                      "base": 0.859,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1147
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0538
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0351
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0324
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0213
                        }
                      ],
                      "others": -0.0058,
                      "total": 0.9755,
                      "log_link": true,
                      "margin_base": -0.152032,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.12539
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.053732
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.034753
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.033195
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.021963
                        }
                      ],
                      "others_margin": -0.005914
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 2.0879456996917725,
                    "model_output": 2.0879,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2671
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0621
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0475
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0423
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 1.3957,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1963
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.1114
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0825
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0774
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0639
                        }
                      ],
                      "others": 0.1607,
                      "total": 2.0879,
                      "log_link": true,
                      "margin_base": 0.333417,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.131575
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.067624
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.047323
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.0424
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.033721
                        }
                      ],
                      "others_margin": 0.080119
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 1.438307285308838,
                    "model_output": 1.4383,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2228
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0652
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0462
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0412
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.8578,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1148
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.066
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0659
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0698
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0504
                        }
                      ],
                      "others": 0.2136,
                      "total": 1.4383,
                      "log_link": true,
                      "margin_base": -0.153422,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.125558
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.065642
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.061538
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.061301
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.042052
                        }
                      ],
                      "others_margin": 0.160798
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.264247179031372,
                    "model_output": 2.2642,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2968
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1597
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0817
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0344
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0202
                      }
                    ],
                    "decomposition": {
                      "base": 3.4412,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": -0.5476
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.383
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.3173
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.2121
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.1174
                        }
                      ],
                      "others": -0.3656,
                      "total": 2.2642,
                      "log_link": true,
                      "margin_base": 1.235809,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": -0.173322
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.124295
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.101871
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.074381
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": -0.043678
                        }
                      ],
                      "others_margin": -0.149609
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.673406183719635,
                    "model_output": 0.6734,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1612
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1495
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.087
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0431
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0315
                      }
                    ],
                    "decomposition": {
                      "base": 1.3784,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": -0.4451
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.1269
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1044
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0729
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.057
                        }
                      ],
                      "others": -0.1075,
                      "total": 0.6734,
                      "log_link": true,
                      "margin_base": 0.320928,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": -0.389955
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.146141
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.121704
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.083412
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": -0.070438
                        }
                      ],
                      "others_margin": -0.148093
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.3861503303050995,
                    "model_output": 0.3862,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.109
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0656
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0378
                      },
                      {
                        "name": "rating",
                        "importance": 0.0315
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0302
                      }
                    ],
                    "decomposition": {
                      "base": 0.4723,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.137
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0507
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0231
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0191
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0078
                        }
                      ],
                      "others": -0.0342,
                      "total": 0.3862,
                      "log_link": false,
                      "margin_base": 0.47232,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.137043
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.050651
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.023095
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.019136
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.007756
                        }
                      ],
                      "others_margin": -0.034252
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.767583847045898,
                    "model_output": 6.7676,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0729
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0624
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.059
                      },
                      {
                        "name": "touches",
                        "importance": 0.0384
                      },
                      {
                        "name": "rating",
                        "importance": 0.037
                      }
                    ],
                    "decomposition": {
                      "base": 6.786,
                      "items": [
                        {
                          "name": "touches",
                          "contribution": 0.0172
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.012
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0119
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0101
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0066
                        }
                      ],
                      "others": 0.005,
                      "total": 6.7676,
                      "log_link": false,
                      "margin_base": 6.785968,
                      "item_margins": [
                        {
                          "name": "touches",
                          "margin": 0.017249
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.012046
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.011872
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.010114
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.006621
                        }
                      ],
                      "others_margin": 0.005018
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 19,
                  "role_matches": 15,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9988, quality 0.485)",
              "stats": {
                "interceptions": 0.9743,
                "tackles": 2.0854,
                "tackles_won": 1.4366,
                "clearances": 2.2615,
                "aerial_won": 0.6726,
                "total_shots": 0.3858,
                "rating": 6.7676,
                "minutes": 88.26,
                "total_pass": 44.1585,
                "accurate_pass": 38.4428,
                "duels_won": 4.2842,
                "total_long_balls": 3.3497,
                "accurate_long_balls": 1.5841,
                "total_own_half_passes": 19.4479,
                "accurate_own_half_passes": 17.2533,
                "total_opp_half_passes": 24.7106,
                "accurate_opp_half_passes": 21.1895,
                "crosses_total": 2.6108,
                "crosses_accurate": 0.2988,
                "touches": 64.986,
                "possession_lost": 10.9965,
                "dispossessed": 0.4586,
                "duels_lost": 2.6189,
                "aerial_lost": 0.6791,
                "total_contest": 0.5605,
                "won_contest": 0.3727,
                "ball_recovery": 3.9071,
                "challenges_lost": 0.7121,
                "fouls": 0.6085,
                "fouls_drawn": 1.1463,
                "blocks": 0.3568,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0381,
                "assist_rate": 0.0381,
                "expected_goals": 0.0126,
                "expected_assists": 0.0481,
                "shots_on_target": 0.0324,
                "big_chances_created": 0.0,
                "xgot": 0.0123,
                "ball_carries": 17.5097,
                "total_progression": 87.5684,
                "progressive_carries": 2.4369,
                "key_pass": 0.593,
                "shots_off_target": 0.3534
              },
              "params": {
                "market_value_eur": 6900000,
                "quality_factor": 0.4854,
                "boost_factor": 0.9988,
                "reference_quality": 0.505,
                "history_matches": 19,
                "history_shrink": 0.2083,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0217)",
              "stats": {
                "interceptions": 0.9797,
                "tackles": 2.0854,
                "tackles_won": 1.432,
                "clearances": 2.2615,
                "aerial_won": 0.6726,
                "total_shots": 0.3774,
                "rating": 6.7676,
                "minutes": 88.26,
                "total_pass": 44.1585,
                "accurate_pass": 38.4428,
                "duels_won": 4.2842,
                "total_long_balls": 3.3497,
                "accurate_long_balls": 1.5841,
                "total_own_half_passes": 19.4479,
                "accurate_own_half_passes": 17.2533,
                "total_opp_half_passes": 24.7106,
                "accurate_opp_half_passes": 21.1895,
                "crosses_total": 2.6516,
                "crosses_accurate": 0.2988,
                "touches": 64.986,
                "possession_lost": 10.9965,
                "dispossessed": 0.4586,
                "duels_lost": 2.6189,
                "aerial_lost": 0.6791,
                "total_contest": 0.5605,
                "won_contest": 0.3727,
                "ball_recovery": 3.9071,
                "challenges_lost": 0.7121,
                "fouls": 0.613,
                "fouls_drawn": 1.1392,
                "blocks": 0.3568,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0461,
                "assist_rate": 0.0461,
                "expected_goals": 0.0126,
                "expected_assists": 0.0481,
                "shots_on_target": 0.0317,
                "big_chances_created": 0.0,
                "xgot": 0.0123,
                "ball_carries": 17.5097,
                "total_progression": 87.5684,
                "progressive_carries": 2.4369,
                "key_pass": 0.593,
                "shots_off_target": 0.3534
              },
              "params": {
                "blend_weight": 0.0217,
                "history_matches": 19,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9807,
                "prior_reliability": 0.16,
                "competition": "La Liga",
                "squad": "Real Betis"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 2.6108,
                  "after": 2.6516
                },
                {
                  "stat": "totalShots",
                  "before": 0.3858,
                  "after": 0.3774
                },
                {
                  "stat": "goalAssist",
                  "before": 0.0381,
                  "after": 0.0461
                },
                {
                  "stat": "wasFouled",
                  "before": 1.1463,
                  "after": 1.1392
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.9743,
                  "after": 0.9797
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.9797,
                "tackles": 2.0854,
                "tackles_won": 1.432,
                "clearances": 2.2615,
                "aerial_won": 0.6726,
                "total_shots": 0.3851,
                "rating": 6.7676,
                "minutes": 88.26,
                "total_pass": 44.1585,
                "accurate_pass": 38.4428,
                "duels_won": 4.2842,
                "total_long_balls": 3.3497,
                "accurate_long_balls": 1.5841,
                "total_own_half_passes": 19.4479,
                "accurate_own_half_passes": 17.2533,
                "total_opp_half_passes": 24.7106,
                "accurate_opp_half_passes": 21.1895,
                "crosses_total": 2.6516,
                "crosses_accurate": 0.2988,
                "touches": 64.986,
                "possession_lost": 10.9965,
                "dispossessed": 0.4586,
                "duels_lost": 2.6189,
                "aerial_lost": 0.6791,
                "total_contest": 0.5605,
                "won_contest": 0.3727,
                "ball_recovery": 3.9071,
                "challenges_lost": 0.7121,
                "fouls": 0.613,
                "fouls_drawn": 1.1392,
                "blocks": 0.3568,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0461,
                "assist_rate": 0.0461,
                "expected_goals": 0.0126,
                "expected_assists": 0.0481,
                "shots_on_target": 0.0317,
                "big_chances_created": 0.0,
                "xgot": 0.0123,
                "ball_carries": 17.5097,
                "total_progression": 87.5684,
                "progressive_carries": 2.4369,
                "key_pass": 0.593,
                "shots_off_target": 0.3534
              },
              "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.9797,
                "tackles": 2.0854,
                "tackles_won": 1.432,
                "clearances": 2.2615,
                "aerial_won": 0.6726,
                "total_shots": 0.3851,
                "rating": 6.7676,
                "minutes": 88.26,
                "total_pass": 44.1585,
                "accurate_pass": 38.4428,
                "duels_won": 4.2842,
                "total_long_balls": 3.3497,
                "accurate_long_balls": 1.5841,
                "total_own_half_passes": 19.4479,
                "accurate_own_half_passes": 17.2533,
                "total_opp_half_passes": 24.7106,
                "accurate_opp_half_passes": 21.1895,
                "crosses_total": 2.6516,
                "crosses_accurate": 0.2988,
                "touches": 64.986,
                "possession_lost": 10.9965,
                "dispossessed": 0.4586,
                "duels_lost": 2.6189,
                "aerial_lost": 0.6791,
                "total_contest": 0.5605,
                "won_contest": 0.3727,
                "ball_recovery": 3.9071,
                "challenges_lost": 0.7121,
                "fouls": 0.613,
                "fouls_drawn": 1.1392,
                "blocks": 0.3568,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0461,
                "assist_rate": 0.0461,
                "expected_goals": 0.0126,
                "expected_assists": 0.0481,
                "shots_on_target": 0.0317,
                "big_chances_created": 0.0,
                "xgot": 0.0123,
                "ball_carries": 17.5097,
                "total_progression": 87.5684,
                "progressive_carries": 2.4369,
                "key_pass": 0.593,
                "shots_off_target": 0.3534,
                "opponent_faced": "Ante Budimir",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Ante Budimir",
                  "matchup_zone": "Shape fallback"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.93 (squad xG sum 1.5037, xG scale 1.2862, xA scale 1.3318, team xA 1.26 = 0.65 x lambda)",
              "stats": {
                "interceptions": 0.9797,
                "tackles": 2.0854,
                "tackles_won": 1.432,
                "clearances": 2.2615,
                "aerial_won": 0.6726,
                "total_shots": 0.3851,
                "rating": 6.7676,
                "minutes": 88.26,
                "total_pass": 44.1585,
                "accurate_pass": 38.4428,
                "duels_won": 4.2842,
                "total_long_balls": 3.3497,
                "accurate_long_balls": 1.5841,
                "total_own_half_passes": 19.4479,
                "accurate_own_half_passes": 17.2533,
                "total_opp_half_passes": 24.7106,
                "accurate_opp_half_passes": 21.1895,
                "crosses_total": 2.6516,
                "crosses_accurate": 0.2988,
                "touches": 64.986,
                "possession_lost": 10.9965,
                "dispossessed": 0.4586,
                "duels_lost": 2.6189,
                "aerial_lost": 0.6791,
                "total_contest": 0.5605,
                "won_contest": 0.3727,
                "ball_recovery": 3.9071,
                "challenges_lost": 0.7121,
                "fouls": 0.613,
                "fouls_drawn": 1.1392,
                "blocks": 0.3568,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0461,
                "assists": 0,
                "expected_goals": 0.0162,
                "expected_assists": 0.0641,
                "shots_on_target": 0.0317,
                "big_chances_created": 0.0,
                "xgot": 0.0158,
                "ball_carries": 17.5097,
                "total_progression": 87.5684,
                "progressive_carries": 2.4369,
                "key_pass": 0.593,
                "shots_off_target": 0.3534,
                "opponent_faced": "Ante Budimir",
                "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.9796
              },
              "params": {
                "team_lambda": 1.934,
                "squad_xg_sum": 1.5037,
                "squad_xa_sum": 0.9439,
                "team_expected_assists": 1.2571,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2862,
                "xa_scale": 1.3318,
                "opponent_lambda": 0.835,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.0481,
                  "after": 0.0641
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 13 by projected rating, fifa_overall 77.0; not used by the projection)",
              "stats": {
                "interceptions": 0.9797,
                "tackles": 2.0854,
                "tackles_won": 1.432,
                "clearances": 2.2615,
                "aerial_won": 0.6726,
                "total_shots": 0.3851,
                "rating": 6.7676,
                "minutes": 88.26,
                "total_pass": 44.1585,
                "accurate_pass": 38.4428,
                "duels_won": 4.2842,
                "total_long_balls": 3.3497,
                "accurate_long_balls": 1.5841,
                "total_own_half_passes": 19.4479,
                "accurate_own_half_passes": 17.2533,
                "total_opp_half_passes": 24.7106,
                "accurate_opp_half_passes": 21.1895,
                "crosses_total": 2.6516,
                "crosses_accurate": 0.2988,
                "touches": 64.986,
                "possession_lost": 10.9965,
                "dispossessed": 0.4586,
                "duels_lost": 2.6189,
                "aerial_lost": 0.6791,
                "total_contest": 0.5605,
                "won_contest": 0.3727,
                "ball_recovery": 3.9071,
                "challenges_lost": 0.7121,
                "fouls": 0.613,
                "fouls_drawn": 1.1392,
                "blocks": 0.3568,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0461,
                "assists": 0,
                "expected_goals": 0.0162,
                "expected_assists": 0.0641,
                "shots_on_target": 0.0317,
                "big_chances_created": 0.0,
                "xgot": 0.0158,
                "ball_carries": 17.5097,
                "total_progression": 87.5684,
                "progressive_carries": 2.4369,
                "key_pass": 0.593,
                "shots_off_target": 0.3534,
                "opponent_faced": "Ante Budimir",
                "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.9796,
                "fifa_overall": 77.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": 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: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "interceptions": 0.9797,
                "tackles": 2.0854,
                "tackles_won": 1.432,
                "clearances": 2.2615,
                "aerial_won": 0.6726,
                "total_shots": 0.3851,
                "rating": 6.7676,
                "minutes": 88.26,
                "total_pass": 44.1585,
                "accurate_pass": 38.4428,
                "duels_won": 4.2842,
                "total_long_balls": 3.3497,
                "accurate_long_balls": 1.5841,
                "total_own_half_passes": 19.4479,
                "accurate_own_half_passes": 17.2533,
                "total_opp_half_passes": 24.7106,
                "accurate_opp_half_passes": 21.1895,
                "crosses_total": 2.6516,
                "crosses_accurate": 0.2988,
                "touches": 64.986,
                "possession_lost": 10.9965,
                "dispossessed": 0.4586,
                "duels_lost": 2.6189,
                "aerial_lost": 0.6791,
                "total_contest": 0.5605,
                "won_contest": 0.3727,
                "ball_recovery": 3.9071,
                "challenges_lost": 0.7121,
                "fouls": 0.613,
                "fouls_drawn": 1.1392,
                "blocks": 0.3568,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0461,
                "assists": 0,
                "expected_goals": 0.0162,
                "expected_assists": 0.0641,
                "shots_on_target": 0.0317,
                "big_chances_created": 0.0,
                "xgot": 0.0158,
                "ball_carries": 17.5097,
                "total_progression": 87.5684,
                "progressive_carries": 2.4369,
                "key_pass": 0.593,
                "shots_off_target": 0.3534,
                "opponent_faced": "Ante Budimir",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0161,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.9796,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0161,
                "scorer_weight": 0.013,
                "squad_weight_total": 2.0478,
                "weight_share": 0.0063,
                "finishing_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 12,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Abdessamad Ezzalzouli",
                    "weight": 0.5955,
                    "already": 0,
                    "effective_weight": 0.5955,
                    "runner_up": "Cucho Hernández",
                    "runner_up_effective_weight": 0.4616
                  }
                ]
              }
            },
            {
              "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.9797,
                "tackles": 2.0854,
                "tackles_won": 1.432,
                "clearances": 2.2615,
                "aerial_won": 0.6726,
                "total_shots": 0.3851,
                "rating": 6.7676,
                "minutes": 88.26,
                "total_pass": 44.1585,
                "accurate_pass": 38.4428,
                "duels_won": 4.2842,
                "total_long_balls": 3.3497,
                "accurate_long_balls": 1.5841,
                "total_own_half_passes": 19.4479,
                "accurate_own_half_passes": 17.2533,
                "total_opp_half_passes": 24.7106,
                "accurate_opp_half_passes": 21.1895,
                "crosses_total": 2.6516,
                "crosses_accurate": 0.2988,
                "touches": 64.986,
                "possession_lost": 10.9965,
                "dispossessed": 0.4586,
                "duels_lost": 2.6189,
                "aerial_lost": 0.6791,
                "total_contest": 0.5605,
                "won_contest": 0.3727,
                "ball_recovery": 3.9071,
                "challenges_lost": 0.7121,
                "fouls": 0.613,
                "fouls_drawn": 1.1392,
                "blocks": 0.3568,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0461,
                "assists": 0,
                "expected_goals": 0.0162,
                "expected_assists": 0.0641,
                "shots_on_target": 0.0317,
                "big_chances_created": 0.0,
                "xgot": 0.0158,
                "ball_carries": 17.5097,
                "total_progression": 87.5684,
                "progressive_carries": 2.4369,
                "key_pass": 0.593,
                "shots_off_target": 0.3534,
                "opponent_faced": "Ante Budimir",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0161,
                "projected_assists": 0,
                "assist_probability": 0.0621,
                "finishing_factor": 0.8,
                "creation_factor": 0.9796,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0621,
                "provider_weight": 0.0628,
                "squad_weight_total": 1.1393,
                "weight_share": 0.0551,
                "creation_factor": 0.9796,
                "appearance_weight": 1.0,
                "weight_rank": 8,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Isco",
                    "weight": 0.1722,
                    "already": 0,
                    "effective_weight": 0.1722,
                    "runner_up": "Pablo Fornals",
                    "runner_up_effective_weight": 0.1629,
                    "blocked_own_goal": [
                      "Abdessamad Ezzalzouli"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Natan": {
          "player_id": 1015287,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 4,
          "height": 188,
          "market_value": 26000000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 5,
            "aerial_won": 2,
            "total_shots": 0,
            "rating": 6.8738,
            "minutes": 89,
            "total_pass": 54,
            "accurate_pass": 50,
            "duels_won": 4,
            "total_long_balls": 4,
            "accurate_long_balls": 2,
            "total_own_half_passes": 37,
            "accurate_own_half_passes": 35,
            "total_opp_half_passes": 17,
            "accurate_opp_half_passes": 15,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 67,
            "possession_lost": 4.8508,
            "dispossessed": 0.0788,
            "duels_lost": 2,
            "aerial_lost": 1,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 3,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 0,
            "blocks": 1,
            "goal_rate": 0.1087,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0614,
            "expected_assists": 0.0164,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0813,
            "ball_carries": 19,
            "total_progression": 61,
            "progressive_carries": 1,
            "key_pass": 0,
            "shots_off_target": 0,
            "tackles_in_zone": 1.1,
            "tackles_won_in_zone": 1.0,
            "interceptions_in_zone": 1.1,
            "clearances_in_zone": 1.0,
            "aerial_duels_won": 0.5,
            "defensive_success_rate": 0.82,
            "opponent_faced": "Ante Budimir",
            "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.0596,
            "projected_assists": 0,
            "assist_probability": 0.0163,
            "finishing_factor": 1.25,
            "creation_factor": 0.8026,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "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.01,
                "total_shots": 0,
                "total_pass": 90,
                "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"
            },
            {
              "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": 24,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0382,
                "total_shots": 0,
                "total_pass": 14,
                "accurate_pass": 11,
                "key_pass": 1,
                "clearances": 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": 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.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0067,
                "total_shots": 0,
                "total_pass": 47,
                "accurate_pass": 44,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 9,
                "duels_won": 2,
                "ball_recovery": 4
              },
              "has_player_stats": true
            }
          ],
          "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.8738,
            "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": 39,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "totalTackle",
              "totalShots",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 39,
            "data_confidence": 0.77,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0062,
            "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 39 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.8689,
                "tackles": 1.2958,
                "tackles_won": 0.7659,
                "clearances": 5.4583,
                "aerial_won": 2.1396,
                "total_shots": 0.4868,
                "rating": 6.8738,
                "minutes": 88.97,
                "total_pass": 53.9642,
                "accurate_pass": 49.4523,
                "duels_won": 3.9054,
                "total_long_balls": 3.9378,
                "accurate_long_balls": 1.5203,
                "total_own_half_passes": 36.7118,
                "accurate_own_half_passes": 34.8883,
                "total_opp_half_passes": 17.2524,
                "accurate_opp_half_passes": 14.5639,
                "crosses_total": 0.0007,
                "crosses_accurate": 0.0,
                "touches": 66.6829,
                "possession_lost": 4.8209,
                "dispossessed": 0.0783,
                "duels_lost": 1.6071,
                "aerial_lost": 0.7775,
                "total_contest": 0.281,
                "won_contest": 0.2315,
                "ball_recovery": 3.3501,
                "challenges_lost": 0.1741,
                "fouls": 0.5276,
                "fouls_drawn": 0.3149,
                "blocks": 1.1331,
                "goals": 0.1091,
                "goal_rate": 0.1091,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0474,
                "expected_assists": 0.0122,
                "shots_on_target": 0.1094,
                "big_chances_created": 0.0,
                "xgot": 0.0628,
                "ball_carries": 19.3615,
                "total_progression": 60.3773,
                "progressive_carries": 0.6197,
                "key_pass": 0.3952,
                "shots_off_target": 0.3774
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-11T10:25:50.810190+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 623,
                    "rows": 20487
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1503,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1277,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-09-14",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1086,
                    "rating": 8.1
                  },
                  {
                    "match_date": "2026-09-04",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0923,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Levante UD",
                    "minutes": 79.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-05-12",
                    "opponent": "Elche",
                    "minutes": 24.0,
                    "is_starting": false,
                    "weight": 0.0409,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-03",
                    "opponent": "Real Oviedo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 7.1
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 7.1136,
                  "aerialWon": 1.6349,
                  "totalClearance_p90": 7.7605,
                  "totalTackle": 1.6239,
                  "totalPass": 52.6741
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.868893027305603,
                    "model_output": 0.8689,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3015
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0387
                      },
                      {
                        "name": "touches",
                        "importance": 0.0279
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0248
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0238
                      }
                    ],
                    "decomposition": {
                      "base": 0.859,
                      "items": [
                        {
                          "name": "interceptionWon",
                          "contribution": -0.09
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0895
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0296
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": -0.0239
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0147
                        }
                      ],
                      "others": -0.01,
                      "total": 0.8689,
                      "log_link": true,
                      "margin_base": -0.152032,
                      "item_margins": [
                        {
                          "name": "interceptionWon",
                          "margin": -0.110632
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.110144
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.033887
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": -0.027275
                        },
                        {
                          "name": "touches",
                          "margin": 0.016913
                        }
                      ],
                      "others_margin": -0.01154
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.2957955598831177,
                    "model_output": 1.2958,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2671
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0621
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0475
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0423
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 1.3957,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1601
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0839
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0568
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0539
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0398
                        }
                      ],
                      "others": -0.213,
                      "total": 1.2958,
                      "log_link": true,
                      "margin_base": 0.333417,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.1086
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.055445
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.039337
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.037379
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.026704
                        }
                      ],
                      "others_margin": -0.152194
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.7659270167350769,
                    "model_output": 0.7659,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2228
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0652
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0462
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0412
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.8578,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0974
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0484
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0416
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0395
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0334
                        }
                      ],
                      "others": -0.1054,
                      "total": 0.7659,
                      "log_link": true,
                      "margin_base": -0.153422,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.10757
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.052037
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.04698
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.044695
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.037668
                        }
                      ],
                      "others_margin": -0.128826
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 5.458302974700928,
                    "model_output": 5.4583,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2968
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1597
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0817
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0344
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0202
                      }
                    ],
                    "decomposition": {
                      "base": 3.4412,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": 0.7763
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4976
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.3899
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.3666
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.1258
                        }
                      ],
                      "others": -0.1391,
                      "total": 5.4583,
                      "log_link": true,
                      "margin_base": 1.235809,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": 0.203413
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.111535
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.07945
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.069357
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.022723
                        }
                      ],
                      "others_margin": -0.025149
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 2.139631509780884,
                    "model_output": 2.1396,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1612
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1495
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.087
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0431
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0315
                      }
                    ],
                    "decomposition": {
                      "base": 1.3784,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1562
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.1694
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.1558
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.157
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.102
                        }
                      ],
                      "others": 0.2248,
                      "total": 2.1396,
                      "log_link": true,
                      "margin_base": 0.320928,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.10737
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.104679
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.087501
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.081047
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.051901
                        }
                      ],
                      "others_margin": 0.11101
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.486764520406723,
                    "model_output": 0.4868,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.109
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0656
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0378
                      },
                      {
                        "name": "rating",
                        "importance": 0.0315
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0302
                      }
                    ],
                    "decomposition": {
                      "base": 0.4723,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0621
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0267
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0254
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.017
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.01
                        }
                      ],
                      "others": -0.0533,
                      "total": 0.4868,
                      "log_link": false,
                      "margin_base": 0.47232,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.062051
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.026693
                        },
                        {
                          "name": "rating",
                          "margin": 0.025434
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.01704
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.009996
                        }
                      ],
                      "others_margin": -0.05339
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.8738226890563965,
                    "model_output": 6.8738,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0729
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0624
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.059
                      },
                      {
                        "name": "touches",
                        "importance": 0.0384
                      },
                      {
                        "name": "rating",
                        "importance": 0.037
                      }
                    ],
                    "decomposition": {
                      "base": 6.786,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": 0.0372
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0243
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0151
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0144
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0125
                        }
                      ],
                      "others": 0.0131,
                      "total": 6.8738,
                      "log_link": false,
                      "margin_base": 6.785968,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": 0.037202
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.024332
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.015065
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.014424
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.012521
                        }
                      ],
                      "others_margin": 0.013156
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 39,
                  "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.0062, quality 0.686)",
              "stats": {
                "interceptions": 0.8743,
                "tackles": 1.3038,
                "tackles_won": 0.7707,
                "clearances": 5.4921,
                "aerial_won": 2.1529,
                "total_shots": 0.4898,
                "rating": 6.8738,
                "minutes": 88.97,
                "total_pass": 54.2988,
                "accurate_pass": 49.7589,
                "duels_won": 3.9296,
                "total_long_balls": 3.9622,
                "accurate_long_balls": 1.5297,
                "total_own_half_passes": 36.9394,
                "accurate_own_half_passes": 35.1046,
                "total_opp_half_passes": 17.3594,
                "accurate_opp_half_passes": 14.6542,
                "crosses_total": 0.0007,
                "crosses_accurate": 0.0,
                "touches": 67.0963,
                "possession_lost": 4.8508,
                "dispossessed": 0.0788,
                "duels_lost": 1.6171,
                "aerial_lost": 0.7823,
                "total_contest": 0.2827,
                "won_contest": 0.2329,
                "ball_recovery": 3.3709,
                "challenges_lost": 0.1752,
                "fouls": 0.5309,
                "fouls_drawn": 0.3169,
                "blocks": 1.1401,
                "goals": 0.1098,
                "goal_rate": 0.1098,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0477,
                "expected_assists": 0.0123,
                "shots_on_target": 0.1101,
                "big_chances_created": 0.0,
                "xgot": 0.0632,
                "ball_carries": 19.4815,
                "total_progression": 60.7516,
                "progressive_carries": 0.6235,
                "key_pass": 0.3977,
                "shots_off_target": 0.3797
              },
              "params": {
                "market_value_eur": 26000000,
                "quality_factor": 0.6858,
                "boost_factor": 1.0062,
                "reference_quality": 0.505,
                "history_matches": 39,
                "history_shrink": 0.1136,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0098)",
              "stats": {
                "interceptions": 0.8657,
                "tackles": 1.3038,
                "tackles_won": 0.7826,
                "clearances": 5.4921,
                "aerial_won": 2.1529,
                "total_shots": 0.4898,
                "rating": 6.8738,
                "minutes": 88.97,
                "total_pass": 54.2988,
                "accurate_pass": 49.7589,
                "duels_won": 3.9296,
                "total_long_balls": 3.9622,
                "accurate_long_balls": 1.5297,
                "total_own_half_passes": 36.9394,
                "accurate_own_half_passes": 35.1046,
                "total_opp_half_passes": 17.3594,
                "accurate_opp_half_passes": 14.6542,
                "crosses_total": 0.0007,
                "crosses_accurate": 0.0,
                "touches": 67.0963,
                "possession_lost": 4.8508,
                "dispossessed": 0.0788,
                "duels_lost": 1.6171,
                "aerial_lost": 0.7823,
                "total_contest": 0.2827,
                "won_contest": 0.2329,
                "ball_recovery": 3.3709,
                "challenges_lost": 0.1752,
                "fouls": 0.5305,
                "fouls_drawn": 0.3138,
                "blocks": 1.1401,
                "goals": 0.1087,
                "goal_rate": 0.1087,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0477,
                "expected_assists": 0.0123,
                "shots_on_target": 0.109,
                "big_chances_created": 0.0,
                "xgot": 0.0632,
                "ball_carries": 19.4815,
                "total_progression": 60.7516,
                "progressive_carries": 0.6235,
                "key_pass": 0.3977,
                "shots_off_target": 0.3797
              },
              "params": {
                "blend_weight": 0.0098,
                "history_matches": 39,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9886,
                "prior_reliability": 0.1333,
                "competition": "La Liga",
                "squad": "Real Betis"
              },
              "changes": [
                {
                  "stat": "wonTackle",
                  "before": 0.7707,
                  "after": 0.7826
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.8743,
                  "after": 0.8657
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.8657,
                "tackles": 1.3038,
                "tackles_won": 0.7826,
                "clearances": 5.4921,
                "aerial_won": 2.1529,
                "total_shots": 0.4898,
                "rating": 6.8738,
                "minutes": 88.97,
                "total_pass": 54.2988,
                "accurate_pass": 49.7589,
                "duels_won": 3.9296,
                "total_long_balls": 3.9622,
                "accurate_long_balls": 1.5297,
                "total_own_half_passes": 36.9394,
                "accurate_own_half_passes": 35.1046,
                "total_opp_half_passes": 17.3594,
                "accurate_opp_half_passes": 14.6542,
                "crosses_total": 0.0007,
                "crosses_accurate": 0.0,
                "touches": 67.0963,
                "possession_lost": 4.8508,
                "dispossessed": 0.0788,
                "duels_lost": 1.6171,
                "aerial_lost": 0.7823,
                "total_contest": 0.2827,
                "won_contest": 0.2329,
                "ball_recovery": 3.3709,
                "challenges_lost": 0.1752,
                "fouls": 0.5305,
                "fouls_drawn": 0.3138,
                "blocks": 1.1401,
                "goals": 0.1087,
                "goal_rate": 0.1087,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0477,
                "expected_assists": 0.0123,
                "shots_on_target": 0.109,
                "big_chances_created": 0.0,
                "xgot": 0.0632,
                "ball_carries": 19.4815,
                "total_progression": 60.7516,
                "progressive_carries": 0.6235,
                "key_pass": 0.3977,
                "shots_off_target": 0.3797
              },
              "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.8657,
                "tackles": 1.3038,
                "tackles_won": 0.7826,
                "clearances": 5.4921,
                "aerial_won": 2.1529,
                "total_shots": 0.4898,
                "rating": 6.8738,
                "minutes": 88.97,
                "total_pass": 54.2988,
                "accurate_pass": 49.7589,
                "duels_won": 3.9296,
                "total_long_balls": 3.9622,
                "accurate_long_balls": 1.5297,
                "total_own_half_passes": 36.9394,
                "accurate_own_half_passes": 35.1046,
                "total_opp_half_passes": 17.3594,
                "accurate_opp_half_passes": 14.6542,
                "crosses_total": 0.0007,
                "crosses_accurate": 0.0,
                "touches": 67.0963,
                "possession_lost": 4.8508,
                "dispossessed": 0.0788,
                "duels_lost": 1.6171,
                "aerial_lost": 0.7823,
                "total_contest": 0.2827,
                "won_contest": 0.2329,
                "ball_recovery": 3.3709,
                "challenges_lost": 0.1752,
                "fouls": 0.5305,
                "fouls_drawn": 0.3138,
                "blocks": 1.1401,
                "goals": 0.1087,
                "goal_rate": 0.1087,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0477,
                "expected_assists": 0.0123,
                "shots_on_target": 0.109,
                "big_chances_created": 0.0,
                "xgot": 0.0632,
                "ball_carries": 19.4815,
                "total_progression": 60.7516,
                "progressive_carries": 0.6235,
                "key_pass": 0.3977,
                "shots_off_target": 0.3797,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.1,
                "clearances_in_zone": 1.0,
                "aerial_duels_won": 0.5,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Ante Budimir",
                "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": "Ante Budimir",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.93 (squad xG sum 1.5037, xG scale 1.2862, xA scale 1.3318, team xA 1.26 = 0.65 x lambda)",
              "stats": {
                "interceptions": 0.8657,
                "tackles": 1.3038,
                "tackles_won": 0.7826,
                "clearances": 5.4921,
                "aerial_won": 2.1529,
                "total_shots": 0.4898,
                "rating": 6.8738,
                "minutes": 88.97,
                "total_pass": 54.2988,
                "accurate_pass": 49.7589,
                "duels_won": 3.9296,
                "total_long_balls": 3.9622,
                "accurate_long_balls": 1.5297,
                "total_own_half_passes": 36.9394,
                "accurate_own_half_passes": 35.1046,
                "total_opp_half_passes": 17.3594,
                "accurate_opp_half_passes": 14.6542,
                "crosses_total": 0.0007,
                "crosses_accurate": 0.0,
                "touches": 67.0963,
                "possession_lost": 4.8508,
                "dispossessed": 0.0788,
                "duels_lost": 1.6171,
                "aerial_lost": 0.7823,
                "total_contest": 0.2827,
                "won_contest": 0.2329,
                "ball_recovery": 3.3709,
                "challenges_lost": 0.1752,
                "fouls": 0.5305,
                "fouls_drawn": 0.3138,
                "blocks": 1.1401,
                "goal_rate": 0.1087,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0614,
                "expected_assists": 0.0164,
                "shots_on_target": 0.109,
                "big_chances_created": 0.0,
                "xgot": 0.0813,
                "ball_carries": 19.4815,
                "total_progression": 60.7516,
                "progressive_carries": 0.6235,
                "key_pass": 0.3977,
                "shots_off_target": 0.3797,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.1,
                "clearances_in_zone": 1.0,
                "aerial_duels_won": 0.5,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Ante Budimir",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 0.8026
              },
              "params": {
                "team_lambda": 1.934,
                "squad_xg_sum": 1.5037,
                "squad_xa_sum": 0.9439,
                "team_expected_assists": 1.2571,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2862,
                "xa_scale": 1.3318,
                "opponent_lambda": 0.835,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0477,
                  "after": 0.0614
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 7 by projected rating, fifa_overall 79.0; not used by the projection)",
              "stats": {
                "interceptions": 0.8657,
                "tackles": 1.3038,
                "tackles_won": 0.7826,
                "clearances": 5.4921,
                "aerial_won": 2.1529,
                "total_shots": 0.4898,
                "rating": 6.8738,
                "minutes": 88.97,
                "total_pass": 54.2988,
                "accurate_pass": 49.7589,
                "duels_won": 3.9296,
                "total_long_balls": 3.9622,
                "accurate_long_balls": 1.5297,
                "total_own_half_passes": 36.9394,
                "accurate_own_half_passes": 35.1046,
                "total_opp_half_passes": 17.3594,
                "accurate_opp_half_passes": 14.6542,
                "crosses_total": 0.0007,
                "crosses_accurate": 0.0,
                "touches": 67.0963,
                "possession_lost": 4.8508,
                "dispossessed": 0.0788,
                "duels_lost": 1.6171,
                "aerial_lost": 0.7823,
                "total_contest": 0.2827,
                "won_contest": 0.2329,
                "ball_recovery": 3.3709,
                "challenges_lost": 0.1752,
                "fouls": 0.5305,
                "fouls_drawn": 0.3138,
                "blocks": 1.1401,
                "goal_rate": 0.1087,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0614,
                "expected_assists": 0.0164,
                "shots_on_target": 0.109,
                "big_chances_created": 0.0,
                "xgot": 0.0813,
                "ball_carries": 19.4815,
                "total_progression": 60.7516,
                "progressive_carries": 0.6235,
                "key_pass": 0.3977,
                "shots_off_target": 0.3797,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.1,
                "clearances_in_zone": 1.0,
                "aerial_duels_won": 0.5,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Ante Budimir",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 0.8026,
                "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: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "interceptions": 0.8657,
                "tackles": 1.3038,
                "tackles_won": 0.7826,
                "clearances": 5.4921,
                "aerial_won": 2.1529,
                "total_shots": 0.4898,
                "rating": 6.8738,
                "minutes": 88.97,
                "total_pass": 54.2988,
                "accurate_pass": 49.7589,
                "duels_won": 3.9296,
                "total_long_balls": 3.9622,
                "accurate_long_balls": 1.5297,
                "total_own_half_passes": 36.9394,
                "accurate_own_half_passes": 35.1046,
                "total_opp_half_passes": 17.3594,
                "accurate_opp_half_passes": 14.6542,
                "crosses_total": 0.0007,
                "crosses_accurate": 0.0,
                "touches": 67.0963,
                "possession_lost": 4.8508,
                "dispossessed": 0.0788,
                "duels_lost": 1.6171,
                "aerial_lost": 0.7823,
                "total_contest": 0.2827,
                "won_contest": 0.2329,
                "ball_recovery": 3.3709,
                "challenges_lost": 0.1752,
                "fouls": 0.5305,
                "fouls_drawn": 0.3138,
                "blocks": 1.1401,
                "goal_rate": 0.1087,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0614,
                "expected_assists": 0.0164,
                "shots_on_target": 0.109,
                "big_chances_created": 0.0,
                "xgot": 0.0813,
                "ball_carries": 19.4815,
                "total_progression": 60.7516,
                "progressive_carries": 0.6235,
                "key_pass": 0.3977,
                "shots_off_target": 0.3797,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.1,
                "clearances_in_zone": 1.0,
                "aerial_duels_won": 0.5,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Ante Budimir",
                "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.0596,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 0.8026,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0596,
                "scorer_weight": 0.0767,
                "squad_weight_total": 2.0478,
                "weight_share": 0.0375,
                "finishing_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 8,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Abdessamad Ezzalzouli",
                    "weight": 0.5955,
                    "already": 0,
                    "effective_weight": 0.5955,
                    "runner_up": "Cucho Hernández",
                    "runner_up_effective_weight": 0.4616
                  }
                ]
              }
            },
            {
              "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.8657,
                "tackles": 1.3038,
                "tackles_won": 0.7826,
                "clearances": 5.4921,
                "aerial_won": 2.1529,
                "total_shots": 0.4898,
                "rating": 6.8738,
                "minutes": 88.97,
                "total_pass": 54.2988,
                "accurate_pass": 49.7589,
                "duels_won": 3.9296,
                "total_long_balls": 3.9622,
                "accurate_long_balls": 1.5297,
                "total_own_half_passes": 36.9394,
                "accurate_own_half_passes": 35.1046,
                "total_opp_half_passes": 17.3594,
                "accurate_opp_half_passes": 14.6542,
                "crosses_total": 0.0007,
                "crosses_accurate": 0.0,
                "touches": 67.0963,
                "possession_lost": 4.8508,
                "dispossessed": 0.0788,
                "duels_lost": 1.6171,
                "aerial_lost": 0.7823,
                "total_contest": 0.2827,
                "won_contest": 0.2329,
                "ball_recovery": 3.3709,
                "challenges_lost": 0.1752,
                "fouls": 0.5305,
                "fouls_drawn": 0.3138,
                "blocks": 1.1401,
                "goal_rate": 0.1087,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0614,
                "expected_assists": 0.0164,
                "shots_on_target": 0.109,
                "big_chances_created": 0.0,
                "xgot": 0.0813,
                "ball_carries": 19.4815,
                "total_progression": 60.7516,
                "progressive_carries": 0.6235,
                "key_pass": 0.3977,
                "shots_off_target": 0.3797,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.1,
                "clearances_in_zone": 1.0,
                "aerial_duels_won": 0.5,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Ante Budimir",
                "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.0596,
                "projected_assists": 0,
                "assist_probability": 0.0163,
                "finishing_factor": 1.25,
                "creation_factor": 0.8026,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0163,
                "provider_weight": 0.0132,
                "squad_weight_total": 1.1393,
                "weight_share": 0.0116,
                "creation_factor": 0.8026,
                "appearance_weight": 1.0,
                "weight_rank": 11,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Isco",
                    "weight": 0.1722,
                    "already": 0,
                    "effective_weight": 0.1722,
                    "runner_up": "Pablo Fornals",
                    "runner_up_effective_weight": 0.1629,
                    "blocked_own_goal": [
                      "Abdessamad Ezzalzouli"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "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": 6,
            "aerial_won": 2,
            "total_shots": 0,
            "rating": 6.8409,
            "minutes": 80,
            "total_pass": 44,
            "accurate_pass": 40,
            "duels_won": 4,
            "total_long_balls": 4,
            "accurate_long_balls": 2,
            "total_own_half_passes": 32,
            "accurate_own_half_passes": 31,
            "total_opp_half_passes": 12,
            "accurate_opp_half_passes": 9,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 58,
            "possession_lost": 4.4547,
            "dispossessed": 0.0569,
            "duels_lost": 2,
            "aerial_lost": 1,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 3,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 0,
            "blocks": 1,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0226,
            "expected_assists": 0.0051,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0682,
            "ball_carries": 14,
            "total_progression": 50,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "tackles_in_zone": 1.0,
            "tackles_won_in_zone": 0.9,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 0.5,
            "defensive_success_rate": 0.82,
            "opponent_faced": "Ante Budimir",
            "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.0223,
            "projected_assists": 0,
            "assist_probability": 0.0051,
            "finishing_factor": 0.8,
            "creation_factor": 0.9294,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "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
            },
            {
              "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
            },
            {
              "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
            },
            {
              "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": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0035,
                "total_shots": 0,
                "total_pass": 52,
                "accurate_pass": 43,
                "interceptions": 6,
                "clearances": 8,
                "aerial_won": 2,
                "duels_won": 2,
                "ball_recovery": 4
              },
              "has_player_stats": true
            },
            {
              "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": 7.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0392,
                "expected_assists": 0.0241,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 89,
                "accurate_pass": 84,
                "tackles": 3,
                "tackles_won": 1,
                "interceptions": 3,
                "clearances": 12,
                "aerial_won": 4,
                "duels_won": 7,
                "ball_recovery": 6
              },
              "has_player_stats": true
            },
            {
              "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": 90,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0072,
                "total_shots": 0,
                "total_pass": 94,
                "accurate_pass": 85,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 5,
                "aerial_won": 3,
                "duels_won": 6,
                "ball_recovery": 7
              },
              "has_player_stats": true
            }
          ],
          "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.8409,
            "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": 20,
          "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": 20,
            "data_confidence": 0.76,
            "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": 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 20 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.1401,
                "tackles": 1.3387,
                "tackles_won": 0.7963,
                "clearances": 5.9578,
                "aerial_won": 2.0677,
                "total_shots": 0.3202,
                "rating": 6.8409,
                "minutes": 79.76,
                "total_pass": 44.1192,
                "accurate_pass": 40.2697,
                "duels_won": 3.9665,
                "total_long_balls": 4.0489,
                "accurate_long_balls": 2.0494,
                "total_own_half_passes": 32.4404,
                "accurate_own_half_passes": 31.1304,
                "total_opp_half_passes": 11.6788,
                "accurate_opp_half_passes": 9.1393,
                "crosses_total": 0.0995,
                "crosses_accurate": 0.0,
                "touches": 58.6534,
                "possession_lost": 4.473,
                "dispossessed": 0.0571,
                "duels_lost": 2.401,
                "aerial_lost": 1.2639,
                "total_contest": 0.1367,
                "won_contest": 0.1171,
                "ball_recovery": 2.5702,
                "challenges_lost": 0.3773,
                "fouls": 0.909,
                "fouls_drawn": 0.4857,
                "blocks": 0.9483,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0177,
                "expected_assists": 0.0038,
                "shots_on_target": 0.169,
                "big_chances_created": 0.0,
                "xgot": 0.0532,
                "ball_carries": 14.5557,
                "total_progression": 49.8429,
                "progressive_carries": 0.3851,
                "key_pass": 0.0,
                "shots_off_target": 0.1512
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-11T10:25:50.810190+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 623,
                    "rows": 20487
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-04",
                    "opponent": "Real Madrid",
                    "minutes": 39.0,
                    "is_starting": true,
                    "weight": 0.156,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1326,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1127,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-05-12",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0958,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-05-09",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0815,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-05-03",
                    "opponent": "Real Oviedo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0692,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-04-24",
                    "opponent": "Real Madrid",
                    "minutes": 58.0,
                    "is_starting": false,
                    "weight": 0.0589,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-04-12",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.05,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-04-04",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0425,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-03-22",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0361,
                    "rating": 7.2
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 5.8449,
                  "aerialWon": 1.8352,
                  "totalClearance_p90": 6.7828,
                  "totalTackle": 1.4792,
                  "totalPass": 42.0352
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 1.1401257514953613,
                    "model_output": 1.1401,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3015
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0387
                      },
                      {
                        "name": "touches",
                        "importance": 0.0279
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0248
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0238
                      }
                    ],
                    "decomposition": {
                      "base": 0.859,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1061
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0891
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0366
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.036
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0174
                        }
                      ],
                      "others": -0.0041,
                      "total": 1.1401,
                      "log_link": true,
                      "margin_base": -0.152032,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.116434
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.08833
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.034155
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.03247
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.015339
                        }
                      ],
                      "others_margin": -0.003558
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.3386646509170532,
                    "model_output": 1.3387,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2671
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0621
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0475
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0423
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 1.3957,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.178
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0788
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0584
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0454
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0417
                        }
                      ],
                      "others": -0.0941,
                      "total": 1.3387,
                      "log_link": true,
                      "margin_base": 0.333417,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.119999
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.051357
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.039871
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.032108
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.029538
                        }
                      ],
                      "others_margin": -0.067945
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.7963383197784424,
                    "model_output": 0.7963,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2228
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0652
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0462
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0412
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.8578,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.112
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0548
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0404
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0387
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.034
                        }
                      ],
                      "others": -0.083,
                      "total": 0.7963,
                      "log_link": true,
                      "margin_base": -0.153422,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.122751
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.058175
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.045193
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.04332
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.037915
                        }
                      ],
                      "others_margin": -0.099097
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 5.957826614379883,
                    "model_output": 5.9578,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2968
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1597
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0817
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0344
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0202
                      }
                    ],
                    "decomposition": {
                      "base": 3.4412,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": 0.7617
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.5403
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.3865
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.3883
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.1817
                        }
                      ],
                      "others": 0.2581,
                      "total": 5.9578,
                      "log_link": true,
                      "margin_base": 1.235809,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": 0.199953
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.120946
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.078332
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.07296
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.032401
                        }
                      ],
                      "others_margin": 0.044305
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 2.0677499771118164,
                    "model_output": 2.0677,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1612
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1495
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.087
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0431
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0315
                      }
                    ],
                    "decomposition": {
                      "base": 1.3784,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": 0.2151
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1881
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.1339
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0855
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0727
                        }
                      ],
                      "others": -0.0059,
                      "total": 2.0678,
                      "log_link": true,
                      "margin_base": 0.320928,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": 0.145006
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.111554
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.072466
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.043692
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.035709
                        }
                      ],
                      "others_margin": -0.002894
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.3201957941055298,
                    "model_output": 0.3202,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.109
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0656
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0378
                      },
                      {
                        "name": "rating",
                        "importance": 0.0315
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0302
                      }
                    ],
                    "decomposition": {
                      "base": 0.4723,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.1228
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0523
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.029
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0097
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0096
                        }
                      ],
                      "others": -0.0719,
                      "total": 0.3202,
                      "log_link": false,
                      "margin_base": 0.47232,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.122812
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.052313
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.028971
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.009712
                        },
                        {
                          "name": "rating",
                          "margin": 0.009622
                        }
                      ],
                      "others_margin": -0.071988
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.840895652770996,
                    "model_output": 6.8409,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0729
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0624
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.059
                      },
                      {
                        "name": "touches",
                        "importance": 0.0384
                      },
                      {
                        "name": "rating",
                        "importance": 0.037
                      }
                    ],
                    "decomposition": {
                      "base": 6.786,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": 0.031
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0144
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0121
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0092
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0089
                        }
                      ],
                      "others": 0.0081,
                      "total": 6.8409,
                      "log_link": false,
                      "margin_base": 6.785968,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": 0.031044
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.014368
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.012145
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.009155
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.008912
                        }
                      ],
                      "others_margin": 0.008038
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 20,
                  "role_matches": 16,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9959, quality 0.437)",
              "stats": {
                "interceptions": 1.1355,
                "tackles": 1.3332,
                "tackles_won": 0.7931,
                "clearances": 5.9334,
                "aerial_won": 2.0593,
                "total_shots": 0.3189,
                "rating": 6.8409,
                "minutes": 79.76,
                "total_pass": 43.9383,
                "accurate_pass": 40.1046,
                "duels_won": 3.9502,
                "total_long_balls": 4.0323,
                "accurate_long_balls": 2.041,
                "total_own_half_passes": 32.3074,
                "accurate_own_half_passes": 31.0028,
                "total_opp_half_passes": 11.6309,
                "accurate_opp_half_passes": 9.1018,
                "crosses_total": 0.0991,
                "crosses_accurate": 0.0,
                "touches": 58.4129,
                "possession_lost": 4.4547,
                "dispossessed": 0.0569,
                "duels_lost": 2.3912,
                "aerial_lost": 1.2587,
                "total_contest": 0.1361,
                "won_contest": 0.1166,
                "ball_recovery": 2.5597,
                "challenges_lost": 0.3758,
                "fouls": 0.9053,
                "fouls_drawn": 0.4837,
                "blocks": 0.9444,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0176,
                "expected_assists": 0.0038,
                "shots_on_target": 0.1683,
                "big_chances_created": 0.0,
                "xgot": 0.053,
                "ball_carries": 14.496,
                "total_progression": 49.6385,
                "progressive_carries": 0.3835,
                "key_pass": 0.0,
                "shots_off_target": 0.1506
              },
              "params": {
                "market_value_eur": 2600000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9959,
                "reference_quality": 0.505,
                "history_matches": 20,
                "history_shrink": 0.2,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0087)",
              "stats": {
                "interceptions": 1.1641,
                "tackles": 1.3332,
                "tackles_won": 0.7862,
                "clearances": 5.9334,
                "aerial_won": 2.0593,
                "total_shots": 0.3161,
                "rating": 6.8409,
                "minutes": 79.76,
                "total_pass": 43.9383,
                "accurate_pass": 40.1046,
                "duels_won": 3.9502,
                "total_long_balls": 4.0323,
                "accurate_long_balls": 2.041,
                "total_own_half_passes": 32.3074,
                "accurate_own_half_passes": 31.0028,
                "total_opp_half_passes": 11.6309,
                "accurate_opp_half_passes": 9.1018,
                "crosses_total": 0.0982,
                "crosses_accurate": 0.0,
                "touches": 58.4129,
                "possession_lost": 4.4547,
                "dispossessed": 0.0569,
                "duels_lost": 2.3912,
                "aerial_lost": 1.2587,
                "total_contest": 0.1361,
                "won_contest": 0.1166,
                "ball_recovery": 2.5597,
                "challenges_lost": 0.3758,
                "fouls": 0.9051,
                "fouls_drawn": 0.4795,
                "blocks": 0.9444,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0176,
                "expected_assists": 0.0038,
                "shots_on_target": 0.1668,
                "big_chances_created": 0.0,
                "xgot": 0.053,
                "ball_carries": 14.496,
                "total_progression": 49.6385,
                "progressive_carries": 0.3835,
                "key_pass": 0.0,
                "shots_off_target": 0.1506
              },
              "params": {
                "blend_weight": 0.0087,
                "history_matches": 20,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.8862,
                "prior_reliability": 0.0667,
                "competition": "La Liga",
                "squad": "Real Betis"
              },
              "changes": [
                {
                  "stat": "interceptionWon",
                  "before": 1.1355,
                  "after": 1.1641
                },
                {
                  "stat": "wonTackle",
                  "before": 0.7931,
                  "after": 0.7862
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1.1641,
                "tackles": 1.3332,
                "tackles_won": 0.7862,
                "clearances": 5.9334,
                "aerial_won": 2.0593,
                "total_shots": 0.3174,
                "rating": 6.8409,
                "minutes": 79.76,
                "total_pass": 43.9383,
                "accurate_pass": 40.1046,
                "duels_won": 3.9502,
                "total_long_balls": 4.0323,
                "accurate_long_balls": 2.041,
                "total_own_half_passes": 32.3074,
                "accurate_own_half_passes": 31.0028,
                "total_opp_half_passes": 11.6309,
                "accurate_opp_half_passes": 9.1018,
                "crosses_total": 0.0982,
                "crosses_accurate": 0.0,
                "touches": 58.4129,
                "possession_lost": 4.4547,
                "dispossessed": 0.0569,
                "duels_lost": 2.3912,
                "aerial_lost": 1.2587,
                "total_contest": 0.1361,
                "won_contest": 0.1166,
                "ball_recovery": 2.5597,
                "challenges_lost": 0.3758,
                "fouls": 0.9051,
                "fouls_drawn": 0.4795,
                "blocks": 0.9444,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0176,
                "expected_assists": 0.0038,
                "shots_on_target": 0.1668,
                "big_chances_created": 0.0,
                "xgot": 0.053,
                "ball_carries": 14.496,
                "total_progression": 49.6385,
                "progressive_carries": 0.3835,
                "key_pass": 0.0,
                "shots_off_target": 0.1506
              },
              "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.1641,
                "tackles": 1.3332,
                "tackles_won": 0.7862,
                "clearances": 5.9334,
                "aerial_won": 2.0593,
                "total_shots": 0.3174,
                "rating": 6.8409,
                "minutes": 79.76,
                "total_pass": 43.9383,
                "accurate_pass": 40.1046,
                "duels_won": 3.9502,
                "total_long_balls": 4.0323,
                "accurate_long_balls": 2.041,
                "total_own_half_passes": 32.3074,
                "accurate_own_half_passes": 31.0028,
                "total_opp_half_passes": 11.6309,
                "accurate_opp_half_passes": 9.1018,
                "crosses_total": 0.0982,
                "crosses_accurate": 0.0,
                "touches": 58.4129,
                "possession_lost": 4.4547,
                "dispossessed": 0.0569,
                "duels_lost": 2.3912,
                "aerial_lost": 1.2587,
                "total_contest": 0.1361,
                "won_contest": 0.1166,
                "ball_recovery": 2.5597,
                "challenges_lost": 0.3758,
                "fouls": 0.9051,
                "fouls_drawn": 0.4795,
                "blocks": 0.9444,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0176,
                "expected_assists": 0.0038,
                "shots_on_target": 0.1668,
                "big_chances_created": 0.0,
                "xgot": 0.053,
                "ball_carries": 14.496,
                "total_progression": 49.6385,
                "progressive_carries": 0.3835,
                "key_pass": 0.0,
                "shots_off_target": 0.1506,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.5,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Ante Budimir",
                "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": "Ante Budimir",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.93 (squad xG sum 1.5037, xG scale 1.2862, xA scale 1.3318, team xA 1.26 = 0.65 x lambda)",
              "stats": {
                "interceptions": 1.1641,
                "tackles": 1.3332,
                "tackles_won": 0.7862,
                "clearances": 5.9334,
                "aerial_won": 2.0593,
                "total_shots": 0.3174,
                "rating": 6.8409,
                "minutes": 79.76,
                "total_pass": 43.9383,
                "accurate_pass": 40.1046,
                "duels_won": 3.9502,
                "total_long_balls": 4.0323,
                "accurate_long_balls": 2.041,
                "total_own_half_passes": 32.3074,
                "accurate_own_half_passes": 31.0028,
                "total_opp_half_passes": 11.6309,
                "accurate_opp_half_passes": 9.1018,
                "crosses_total": 0.0982,
                "crosses_accurate": 0.0,
                "touches": 58.4129,
                "possession_lost": 4.4547,
                "dispossessed": 0.0569,
                "duels_lost": 2.3912,
                "aerial_lost": 1.2587,
                "total_contest": 0.1361,
                "won_contest": 0.1166,
                "ball_recovery": 2.5597,
                "challenges_lost": 0.3758,
                "fouls": 0.9051,
                "fouls_drawn": 0.4795,
                "blocks": 0.9444,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0226,
                "expected_assists": 0.0051,
                "shots_on_target": 0.1668,
                "big_chances_created": 0.0,
                "xgot": 0.0682,
                "ball_carries": 14.496,
                "total_progression": 49.6385,
                "progressive_carries": 0.3835,
                "key_pass": 0.0,
                "shots_off_target": 0.1506,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.5,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Ante Budimir",
                "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.9294
              },
              "params": {
                "team_lambda": 1.934,
                "squad_xg_sum": 1.5037,
                "squad_xa_sum": 0.9439,
                "team_expected_assists": 1.2571,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2862,
                "xa_scale": 1.3318,
                "opponent_lambda": 0.835,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 8 by projected rating, fifa_overall 79.0; not used by the projection)",
              "stats": {
                "interceptions": 1.1641,
                "tackles": 1.3332,
                "tackles_won": 0.7862,
                "clearances": 5.9334,
                "aerial_won": 2.0593,
                "total_shots": 0.3174,
                "rating": 6.8409,
                "minutes": 79.76,
                "total_pass": 43.9383,
                "accurate_pass": 40.1046,
                "duels_won": 3.9502,
                "total_long_balls": 4.0323,
                "accurate_long_balls": 2.041,
                "total_own_half_passes": 32.3074,
                "accurate_own_half_passes": 31.0028,
                "total_opp_half_passes": 11.6309,
                "accurate_opp_half_passes": 9.1018,
                "crosses_total": 0.0982,
                "crosses_accurate": 0.0,
                "touches": 58.4129,
                "possession_lost": 4.4547,
                "dispossessed": 0.0569,
                "duels_lost": 2.3912,
                "aerial_lost": 1.2587,
                "total_contest": 0.1361,
                "won_contest": 0.1166,
                "ball_recovery": 2.5597,
                "challenges_lost": 0.3758,
                "fouls": 0.9051,
                "fouls_drawn": 0.4795,
                "blocks": 0.9444,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0226,
                "expected_assists": 0.0051,
                "shots_on_target": 0.1668,
                "big_chances_created": 0.0,
                "xgot": 0.0682,
                "ball_carries": 14.496,
                "total_progression": 49.6385,
                "progressive_carries": 0.3835,
                "key_pass": 0.0,
                "shots_off_target": 0.1506,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.5,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Ante Budimir",
                "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.9294,
                "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: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "interceptions": 1.1641,
                "tackles": 1.3332,
                "tackles_won": 0.7862,
                "clearances": 5.9334,
                "aerial_won": 2.0593,
                "total_shots": 0.3174,
                "rating": 6.8409,
                "minutes": 79.76,
                "total_pass": 43.9383,
                "accurate_pass": 40.1046,
                "duels_won": 3.9502,
                "total_long_balls": 4.0323,
                "accurate_long_balls": 2.041,
                "total_own_half_passes": 32.3074,
                "accurate_own_half_passes": 31.0028,
                "total_opp_half_passes": 11.6309,
                "accurate_opp_half_passes": 9.1018,
                "crosses_total": 0.0982,
                "crosses_accurate": 0.0,
                "touches": 58.4129,
                "possession_lost": 4.4547,
                "dispossessed": 0.0569,
                "duels_lost": 2.3912,
                "aerial_lost": 1.2587,
                "total_contest": 0.1361,
                "won_contest": 0.1166,
                "ball_recovery": 2.5597,
                "challenges_lost": 0.3758,
                "fouls": 0.9051,
                "fouls_drawn": 0.4795,
                "blocks": 0.9444,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0226,
                "expected_assists": 0.0051,
                "shots_on_target": 0.1668,
                "big_chances_created": 0.0,
                "xgot": 0.0682,
                "ball_carries": 14.496,
                "total_progression": 49.6385,
                "progressive_carries": 0.3835,
                "key_pass": 0.0,
                "shots_off_target": 0.1506,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.5,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Ante Budimir",
                "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.0223,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.9294,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0223,
                "scorer_weight": 0.0181,
                "squad_weight_total": 2.0478,
                "weight_share": 0.0088,
                "finishing_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 11,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Abdessamad Ezzalzouli",
                    "weight": 0.5955,
                    "already": 0,
                    "effective_weight": 0.5955,
                    "runner_up": "Cucho Hernández",
                    "runner_up_effective_weight": 0.4616
                  }
                ]
              }
            },
            {
              "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.1641,
                "tackles": 1.3332,
                "tackles_won": 0.7862,
                "clearances": 5.9334,
                "aerial_won": 2.0593,
                "total_shots": 0.3174,
                "rating": 6.8409,
                "minutes": 79.76,
                "total_pass": 43.9383,
                "accurate_pass": 40.1046,
                "duels_won": 3.9502,
                "total_long_balls": 4.0323,
                "accurate_long_balls": 2.041,
                "total_own_half_passes": 32.3074,
                "accurate_own_half_passes": 31.0028,
                "total_opp_half_passes": 11.6309,
                "accurate_opp_half_passes": 9.1018,
                "crosses_total": 0.0982,
                "crosses_accurate": 0.0,
                "touches": 58.4129,
                "possession_lost": 4.4547,
                "dispossessed": 0.0569,
                "duels_lost": 2.3912,
                "aerial_lost": 1.2587,
                "total_contest": 0.1361,
                "won_contest": 0.1166,
                "ball_recovery": 2.5597,
                "challenges_lost": 0.3758,
                "fouls": 0.9051,
                "fouls_drawn": 0.4795,
                "blocks": 0.9444,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0226,
                "expected_assists": 0.0051,
                "shots_on_target": 0.1668,
                "big_chances_created": 0.0,
                "xgot": 0.0682,
                "ball_carries": 14.496,
                "total_progression": 49.6385,
                "progressive_carries": 0.3835,
                "key_pass": 0.0,
                "shots_off_target": 0.1506,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.5,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Ante Budimir",
                "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.0223,
                "projected_assists": 0,
                "assist_probability": 0.0051,
                "finishing_factor": 0.8,
                "creation_factor": 0.9294,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0051,
                "provider_weight": 0.0047,
                "squad_weight_total": 1.1393,
                "weight_share": 0.0042,
                "creation_factor": 0.9294,
                "appearance_weight": 1.0,
                "weight_rank": 12,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Isco",
                    "weight": 0.1722,
                    "already": 0,
                    "effective_weight": 0.1722,
                    "runner_up": "Pablo Fornals",
                    "runner_up_effective_weight": 0.1629,
                    "blocked_own_goal": [
                      "Abdessamad Ezzalzouli"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Héctor Bellerín": {
          "player_id": 188365,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 2,
          "height": 178,
          "market_value": 2500000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 1,
            "clearances": 2,
            "aerial_won": 1,
            "total_shots": 1,
            "rating": 6.7144,
            "minutes": 87,
            "total_pass": 46,
            "accurate_pass": 40,
            "duels_won": 3,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_own_half_passes": 24,
            "accurate_own_half_passes": 21,
            "total_opp_half_passes": 22,
            "accurate_opp_half_passes": 20,
            "crosses_total": 2,
            "crosses_accurate": 0,
            "touches": 66,
            "possession_lost": 10.452,
            "dispossessed": 0.2619,
            "duels_lost": 3,
            "aerial_lost": 0,
            "total_contest": 1,
            "won_contest": 0,
            "ball_recovery": 3,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0577,
            "goals": 0,
            "assist_rate": 0.0486,
            "assists": 0,
            "expected_goals": 0.0948,
            "expected_assists": 0.1318,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.1462,
            "ball_carries": 13,
            "total_progression": 61,
            "progressive_carries": 2,
            "key_pass": 1,
            "shots_off_target": 0,
            "tackles_in_zone": 1.9,
            "tackles_won_in_zone": 1.5,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 1.1,
            "defensive_success_rate": 0.539,
            "opponent_faced": "Moi Gómez",
            "pressing_zone": "Left Wing vs Right Back — Flank Battle",
            "matchup_zone": "Left Wing vs Right Back — Flank Battle",
            "antagonist_source": "defensive_duel",
            "projected_goals": 0,
            "goal_probability": 0.0904,
            "projected_assists": 0,
            "assist_probability": 0.1235,
            "finishing_factor": 0.8707,
            "creation_factor": 0.8,
            "fifa_overall": 76.0
          },
          "latest_10_games": [
            {
              "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": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0125,
                "total_shots": 0,
                "total_pass": 53,
                "accurate_pass": 46,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 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": 45,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.3612,
                "total_shots": 0,
                "total_pass": 44,
                "accurate_pass": 40,
                "key_pass": 3,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "duels_won": 1,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "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.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.4954,
                "expected_assists": 0.2704,
                "total_shots": 3,
                "shots_on_target": 2,
                "total_pass": 26,
                "accurate_pass": 22,
                "key_pass": 2,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 2,
                "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": 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.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0228,
                "total_shots": 0,
                "total_pass": 43,
                "accurate_pass": 37,
                "key_pass": 1,
                "tackles": 7,
                "tackles_won": 6,
                "interceptions": 2,
                "clearances": 2,
                "duels_won": 8,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 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.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0761,
                "total_shots": 0,
                "total_pass": 49,
                "accurate_pass": 38,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 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.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0013,
                "total_shots": 0,
                "total_pass": 7,
                "accurate_pass": 7,
                "key_pass": 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": 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": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0091,
                "total_shots": 0,
                "total_pass": 50,
                "accurate_pass": 43,
                "clearances": 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": 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.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0101,
                "total_shots": 0,
                "total_pass": 72,
                "accurate_pass": 70,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 2,
                "duels_won": 2,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "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.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0404,
                "expected_assists": 0.0632,
                "total_shots": 1,
                "total_pass": 38,
                "accurate_pass": 34,
                "tackles": 3,
                "tackles_won": 3,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 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.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.2789,
                "total_shots": 0,
                "total_pass": 55,
                "accurate_pass": 47,
                "key_pass": 2,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 7,
                "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"
            }
          ],
          "ranking": {
            "global_player_rank": 3356,
            "combined_rank_score": 1306.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 663.0,
            "sofascore_rating": 6.7296,
            "sofascore_appearances": 27.0,
            "fifa_rank": 1949.0,
            "fifa_overall": 76.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 16,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7144,
            "source_file": "data/player_rankings.csv",
            "player_name": "Héctor Bellerín",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Morato",
                  "ranking": 3351
                },
                {
                  "player_name": "Javi Rodríguez",
                  "ranking": 3352
                },
                {
                  "player_name": "Kristian Thorstvedt",
                  "ranking": 3353
                },
                {
                  "player_name": "Danilo Santos",
                  "ranking": 3354
                },
                {
                  "player_name": "Soufiane Rahimi",
                  "ranking": 3355
                }
              ],
              "lower": [
                {
                  "player_name": "Lucas Perri",
                  "ranking": 3357
                },
                {
                  "player_name": "Billy Gilmour",
                  "ranking": 3358
                },
                {
                  "player_name": "Bernardo",
                  "ranking": 3359
                },
                {
                  "player_name": "Lucas Torró",
                  "ranking": 3360
                },
                {
                  "player_name": "Kyle Walker",
                  "ranking": 3361
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.772,
          "history_matches": 34,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "totalTackle",
              "totalShots",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 34,
            "data_confidence": 0.772,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9974,
            "fbref_prior_metrics": {
              "squad": "Real Betis",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 2.0,
              "minutes": 200.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.1467
            },
            "rationale": "XGBoost regressor (D_service) evaluated 34 historical appearances across 7 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 D_service raw output over 7 target models",
              "stats": {
                "interceptions": 0.9367,
                "tackles": 1.9271,
                "tackles_won": 1.2285,
                "clearances": 2.1638,
                "aerial_won": 0.7245,
                "total_shots": 0.5247,
                "rating": 6.7144,
                "minutes": 87.29,
                "total_pass": 46.2498,
                "accurate_pass": 40.3693,
                "duels_won": 3.0775,
                "total_long_balls": 2.1998,
                "accurate_long_balls": 0.9685,
                "total_own_half_passes": 23.7702,
                "accurate_own_half_passes": 20.8098,
                "total_opp_half_passes": 22.4796,
                "accurate_opp_half_passes": 19.5595,
                "crosses_total": 1.8043,
                "crosses_accurate": 0.2941,
                "touches": 66.4501,
                "possession_lost": 10.4792,
                "dispossessed": 0.2626,
                "duels_lost": 3.2395,
                "aerial_lost": 0.4708,
                "total_contest": 0.5233,
                "won_contest": 0.2389,
                "ball_recovery": 3.1447,
                "challenges_lost": 1.3527,
                "fouls": 0.869,
                "fouls_drawn": 0.176,
                "blocks": 0.1648,
                "goals": 0.0586,
                "goal_rate": 0.0586,
                "assists": 0.0493,
                "assist_rate": 0.0493,
                "expected_goals": 0.0739,
                "expected_assists": 0.0993,
                "shots_on_target": 0.3283,
                "big_chances_created": 0.0499,
                "xgot": 0.114,
                "ball_carries": 13.457,
                "total_progression": 61.6494,
                "progressive_carries": 1.8546,
                "key_pass": 0.9161,
                "shots_off_target": 0.1964
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-11T10:25:50.810190+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 623,
                    "rows": 20487
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1506,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Getafe",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.128,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-09-14",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1088,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-09-04",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0925,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0786,
                    "rating": 5.0
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Valencia",
                    "minutes": 19.0,
                    "is_starting": false,
                    "weight": 0.0668,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0568,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0483,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.041,
                    "rating": 5.6
                  },
                  {
                    "match_date": "2026-05-12",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0349,
                    "rating": 7.0
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 2.1019,
                  "aerialWon": 0.4598,
                  "totalClearance_p90": 2.4616,
                  "totalTackle": 1.7509,
                  "totalPass": 40.6741
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.9366636872291565,
                    "model_output": 0.9367,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3015
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0387
                      },
                      {
                        "name": "touches",
                        "importance": 0.0279
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0248
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0238
                      }
                    ],
                    "decomposition": {
                      "base": 0.859,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1147
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0312
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": -0.0259
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0204
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0202
                        }
                      ],
                      "others": 0.0203,
                      "total": 0.9367,
                      "log_link": true,
                      "margin_base": -0.152032,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.125294
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.032562
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": -0.027912
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.02249
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.022327
                        }
                      ],
                      "others_margin": 0.021943
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.9271445274353027,
                    "model_output": 1.9271,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2671
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0621
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0475
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0423
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 1.3957,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1896
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0776
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0757
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0741
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0738
                        }
                      ],
                      "others": 0.0406,
                      "total": 1.9271,
                      "log_link": true,
                      "margin_base": 0.333417,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.127383
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.047811
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.04452
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.04176
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.039881
                        }
                      ],
                      "others_margin": 0.021266
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 1.2285114526748657,
                    "model_output": 1.2285,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2228
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0652
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0462
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0412
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.8578,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1102
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0593
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0582
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0435
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0436
                        }
                      ],
                      "others": 0.0559,
                      "total": 1.2285,
                      "log_link": true,
                      "margin_base": -0.153422,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.120872
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.059475
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.055097
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.039287
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.037883
                        }
                      ],
                      "others_margin": 0.046612
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.163764715194702,
                    "model_output": 2.1638,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2968
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1597
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0817
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0344
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0202
                      }
                    ],
                    "decomposition": {
                      "base": 3.4412,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": -0.5659
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.3783
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.2761
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.2231
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.1931
                        }
                      ],
                      "others": -0.3975,
                      "total": 2.1638,
                      "log_link": true,
                      "margin_base": 1.235809,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": -0.17965
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.123615
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.088666
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.07789
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.07267
                        }
                      ],
                      "others_margin": -0.168697
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.7244879603385925,
                    "model_output": 0.7245,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1612
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1495
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.087
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0431
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0315
                      }
                    ],
                    "decomposition": {
                      "base": 1.3784,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": -0.4367
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1219
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0857
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0712
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0557
                        }
                      ],
                      "others": -0.1265,
                      "total": 0.7245,
                      "log_link": true,
                      "margin_base": 0.320928,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": -0.381005
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.121755
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.08403
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.075602
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.063374
                        }
                      ],
                      "others_margin": -0.160962
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5247446298599243,
                    "model_output": 0.5247,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.109
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0656
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0378
                      },
                      {
                        "name": "rating",
                        "importance": 0.0315
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0302
                      }
                    ],
                    "decomposition": {
                      "base": 0.4723,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0636
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0365
                        },
                        {
                          "name": "rating",
                          "contribution": -0.026
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": -0.0244
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0125
                        }
                      ],
                      "others": -0.0098,
                      "total": 0.5247,
                      "log_link": false,
                      "margin_base": 0.47232,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.063586
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.036458
                        },
                        {
                          "name": "rating",
                          "margin": -0.026038
                        },
                        {
                          "name": "duelWon_p90",
                          "margin": -0.024377
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.012539
                        }
                      ],
                      "others_margin": -0.009743
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.714415550231934,
                    "model_output": 6.7144,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0729
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0624
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.059
                      },
                      {
                        "name": "touches",
                        "importance": 0.0384
                      },
                      {
                        "name": "rating",
                        "importance": 0.037
                      }
                    ],
                    "decomposition": {
                      "base": 6.786,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": -0.0208
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0166
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0165
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0133
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0118
                        }
                      ],
                      "others": -0.0258,
                      "total": 6.7144,
                      "log_link": false,
                      "margin_base": 6.785968,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": -0.020807
                        },
                        {
                          "name": "touches",
                          "margin": 0.016639
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.0165
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.013326
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.011776
                        }
                      ],
                      "others_margin": -0.025785
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 34,
                  "role_matches": 25,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9974, quality 0.437)",
              "stats": {
                "interceptions": 0.9342,
                "tackles": 1.9221,
                "tackles_won": 1.2253,
                "clearances": 2.1581,
                "aerial_won": 0.7226,
                "total_shots": 0.5234,
                "rating": 6.7144,
                "minutes": 87.29,
                "total_pass": 46.1296,
                "accurate_pass": 40.2643,
                "duels_won": 3.0695,
                "total_long_balls": 2.1941,
                "accurate_long_balls": 0.966,
                "total_own_half_passes": 23.7084,
                "accurate_own_half_passes": 20.7557,
                "total_opp_half_passes": 22.4212,
                "accurate_opp_half_passes": 19.5086,
                "crosses_total": 1.7996,
                "crosses_accurate": 0.2933,
                "touches": 66.2773,
                "possession_lost": 10.452,
                "dispossessed": 0.2619,
                "duels_lost": 3.2311,
                "aerial_lost": 0.4696,
                "total_contest": 0.5219,
                "won_contest": 0.2383,
                "ball_recovery": 3.1365,
                "challenges_lost": 1.3492,
                "fouls": 0.8667,
                "fouls_drawn": 0.1755,
                "blocks": 0.1644,
                "goals": 0.0584,
                "goal_rate": 0.0584,
                "assists": 0.0492,
                "assist_rate": 0.0492,
                "expected_goals": 0.0737,
                "expected_assists": 0.099,
                "shots_on_target": 0.3274,
                "big_chances_created": 0.0498,
                "xgot": 0.1137,
                "ball_carries": 13.422,
                "total_progression": 61.4891,
                "progressive_carries": 1.8498,
                "key_pass": 0.9137,
                "shots_off_target": 0.1959
              },
              "params": {
                "market_value_eur": 2500000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9974,
                "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": {
                "interceptions": 0.9228,
                "tackles": 1.9221,
                "tackles_won": 1.2157,
                "clearances": 2.1581,
                "aerial_won": 0.7226,
                "total_shots": 0.517,
                "rating": 6.7144,
                "minutes": 87.29,
                "total_pass": 46.1296,
                "accurate_pass": 40.2643,
                "duels_won": 3.0695,
                "total_long_balls": 2.1941,
                "accurate_long_balls": 0.966,
                "total_own_half_passes": 23.7084,
                "accurate_own_half_passes": 20.7557,
                "total_opp_half_passes": 22.4212,
                "accurate_opp_half_passes": 19.5086,
                "crosses_total": 1.8099,
                "crosses_accurate": 0.2933,
                "touches": 66.2773,
                "possession_lost": 10.452,
                "dispossessed": 0.2619,
                "duels_lost": 3.2311,
                "aerial_lost": 0.4696,
                "total_contest": 0.5219,
                "won_contest": 0.2383,
                "ball_recovery": 3.1365,
                "challenges_lost": 1.3492,
                "fouls": 0.8561,
                "fouls_drawn": 0.1734,
                "blocks": 0.1644,
                "goals": 0.0577,
                "goal_rate": 0.0577,
                "assists": 0.0486,
                "assist_rate": 0.0486,
                "expected_goals": 0.0737,
                "expected_assists": 0.099,
                "shots_on_target": 0.3234,
                "big_chances_created": 0.0498,
                "xgot": 0.1137,
                "ball_carries": 13.422,
                "total_progression": 61.4891,
                "progressive_carries": 1.8498,
                "key_pass": 0.9137,
                "shots_off_target": 0.1959
              },
              "params": {
                "blend_weight": 0.0122,
                "history_matches": 34,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9699,
                "prior_reliability": 0.1467,
                "competition": "La Liga",
                "squad": "Real Betis"
              },
              "changes": [
                {
                  "stat": "interceptionWon",
                  "before": 0.9342,
                  "after": 0.9228
                },
                {
                  "stat": "fouls",
                  "before": 0.8667,
                  "after": 0.8561
                },
                {
                  "stat": "totalCross",
                  "before": 1.7996,
                  "after": 1.8099
                },
                {
                  "stat": "wonTackle",
                  "before": 1.2253,
                  "after": 1.2157
                },
                {
                  "stat": "totalShots",
                  "before": 0.5234,
                  "after": 0.517
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.9228,
                "tackles": 1.9221,
                "tackles_won": 1.2157,
                "clearances": 2.1581,
                "aerial_won": 0.7226,
                "total_shots": 0.5193,
                "rating": 6.7144,
                "minutes": 87.29,
                "total_pass": 46.1296,
                "accurate_pass": 40.2643,
                "duels_won": 3.0695,
                "total_long_balls": 2.1941,
                "accurate_long_balls": 0.966,
                "total_own_half_passes": 23.7084,
                "accurate_own_half_passes": 20.7557,
                "total_opp_half_passes": 22.4212,
                "accurate_opp_half_passes": 19.5086,
                "crosses_total": 1.8099,
                "crosses_accurate": 0.2933,
                "touches": 66.2773,
                "possession_lost": 10.452,
                "dispossessed": 0.2619,
                "duels_lost": 3.2311,
                "aerial_lost": 0.4696,
                "total_contest": 0.5219,
                "won_contest": 0.2383,
                "ball_recovery": 3.1365,
                "challenges_lost": 1.3492,
                "fouls": 0.8561,
                "fouls_drawn": 0.1734,
                "blocks": 0.1644,
                "goals": 0.0577,
                "goal_rate": 0.0577,
                "assists": 0.0486,
                "assist_rate": 0.0486,
                "expected_goals": 0.0737,
                "expected_assists": 0.099,
                "shots_on_target": 0.3234,
                "big_chances_created": 0.0498,
                "xgot": 0.1137,
                "ball_carries": 13.422,
                "total_progression": 61.4891,
                "progressive_carries": 1.8498,
                "key_pass": 0.9137,
                "shots_off_target": 0.1959
              },
              "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.9228,
                "tackles": 1.9221,
                "tackles_won": 1.2157,
                "clearances": 2.1581,
                "aerial_won": 0.7226,
                "total_shots": 0.5193,
                "rating": 6.7144,
                "minutes": 87.29,
                "total_pass": 46.1296,
                "accurate_pass": 40.2643,
                "duels_won": 3.0695,
                "total_long_balls": 2.1941,
                "accurate_long_balls": 0.966,
                "total_own_half_passes": 23.7084,
                "accurate_own_half_passes": 20.7557,
                "total_opp_half_passes": 22.4212,
                "accurate_opp_half_passes": 19.5086,
                "crosses_total": 1.8099,
                "crosses_accurate": 0.2933,
                "touches": 66.2773,
                "possession_lost": 10.452,
                "dispossessed": 0.2619,
                "duels_lost": 3.2311,
                "aerial_lost": 0.4696,
                "total_contest": 0.5219,
                "won_contest": 0.2383,
                "ball_recovery": 3.1365,
                "challenges_lost": 1.3492,
                "fouls": 0.8561,
                "fouls_drawn": 0.1734,
                "blocks": 0.1644,
                "goals": 0.0577,
                "goal_rate": 0.0577,
                "assists": 0.0486,
                "assist_rate": 0.0486,
                "expected_goals": 0.0737,
                "expected_assists": 0.099,
                "shots_on_target": 0.3234,
                "big_chances_created": 0.0498,
                "xgot": 0.1137,
                "ball_carries": 13.422,
                "total_progression": 61.4891,
                "progressive_carries": 1.8498,
                "key_pass": 0.9137,
                "shots_off_target": 0.1959,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.5,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.539,
                "opponent_faced": "Moi Gómez",
                "pressing_zone": "Left Wing vs Right Back — Flank Battle",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "antagonist_source": "defensive_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Moi Gómez",
                  "matchup_zone": "Left Wing vs Right Back — Flank Battle"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.93 (squad xG sum 1.5037, xG scale 1.2862, xA scale 1.3318, team xA 1.26 = 0.65 x lambda)",
              "stats": {
                "interceptions": 0.9228,
                "tackles": 1.9221,
                "tackles_won": 1.2157,
                "clearances": 2.1581,
                "aerial_won": 0.7226,
                "total_shots": 0.5193,
                "rating": 6.7144,
                "minutes": 87.29,
                "total_pass": 46.1296,
                "accurate_pass": 40.2643,
                "duels_won": 3.0695,
                "total_long_balls": 2.1941,
                "accurate_long_balls": 0.966,
                "total_own_half_passes": 23.7084,
                "accurate_own_half_passes": 20.7557,
                "total_opp_half_passes": 22.4212,
                "accurate_opp_half_passes": 19.5086,
                "crosses_total": 1.8099,
                "crosses_accurate": 0.2933,
                "touches": 66.2773,
                "possession_lost": 10.452,
                "dispossessed": 0.2619,
                "duels_lost": 3.2311,
                "aerial_lost": 0.4696,
                "total_contest": 0.5219,
                "won_contest": 0.2383,
                "ball_recovery": 3.1365,
                "challenges_lost": 1.3492,
                "fouls": 0.8561,
                "fouls_drawn": 0.1734,
                "blocks": 0.1644,
                "goal_rate": 0.0577,
                "goals": 0,
                "assist_rate": 0.0486,
                "assists": 0,
                "expected_goals": 0.0948,
                "expected_assists": 0.1318,
                "shots_on_target": 0.3234,
                "big_chances_created": 0.0498,
                "xgot": 0.1462,
                "ball_carries": 13.422,
                "total_progression": 61.4891,
                "progressive_carries": 1.8498,
                "key_pass": 0.9137,
                "shots_off_target": 0.1959,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.5,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.539,
                "opponent_faced": "Moi Gómez",
                "pressing_zone": "Left Wing vs Right Back — Flank Battle",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8707,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.934,
                "squad_xg_sum": 1.5037,
                "squad_xa_sum": 0.9439,
                "team_expected_assists": 1.2571,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2862,
                "xa_scale": 1.3318,
                "opponent_lambda": 0.835,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0737,
                  "after": 0.0948
                },
                {
                  "stat": "expected_assists",
                  "before": 0.099,
                  "after": 0.1318
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 16 by projected rating, fifa_overall 76.0; not used by the projection)",
              "stats": {
                "interceptions": 0.9228,
                "tackles": 1.9221,
                "tackles_won": 1.2157,
                "clearances": 2.1581,
                "aerial_won": 0.7226,
                "total_shots": 0.5193,
                "rating": 6.7144,
                "minutes": 87.29,
                "total_pass": 46.1296,
                "accurate_pass": 40.2643,
                "duels_won": 3.0695,
                "total_long_balls": 2.1941,
                "accurate_long_balls": 0.966,
                "total_own_half_passes": 23.7084,
                "accurate_own_half_passes": 20.7557,
                "total_opp_half_passes": 22.4212,
                "accurate_opp_half_passes": 19.5086,
                "crosses_total": 1.8099,
                "crosses_accurate": 0.2933,
                "touches": 66.2773,
                "possession_lost": 10.452,
                "dispossessed": 0.2619,
                "duels_lost": 3.2311,
                "aerial_lost": 0.4696,
                "total_contest": 0.5219,
                "won_contest": 0.2383,
                "ball_recovery": 3.1365,
                "challenges_lost": 1.3492,
                "fouls": 0.8561,
                "fouls_drawn": 0.1734,
                "blocks": 0.1644,
                "goal_rate": 0.0577,
                "goals": 0,
                "assist_rate": 0.0486,
                "assists": 0,
                "expected_goals": 0.0948,
                "expected_assists": 0.1318,
                "shots_on_target": 0.3234,
                "big_chances_created": 0.0498,
                "xgot": 0.1462,
                "ball_carries": 13.422,
                "total_progression": 61.4891,
                "progressive_carries": 1.8498,
                "key_pass": 0.9137,
                "shots_off_target": 0.1959,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.5,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.539,
                "opponent_faced": "Moi Gómez",
                "pressing_zone": "Left Wing vs Right Back — Flank Battle",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8707,
                "creation_factor": 0.8,
                "fifa_overall": 76.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": 3356,
                "fifa_rank": 1949.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 76.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "interceptions": 0.9228,
                "tackles": 1.9221,
                "tackles_won": 1.2157,
                "clearances": 2.1581,
                "aerial_won": 0.7226,
                "total_shots": 0.5193,
                "rating": 6.7144,
                "minutes": 87.29,
                "total_pass": 46.1296,
                "accurate_pass": 40.2643,
                "duels_won": 3.0695,
                "total_long_balls": 2.1941,
                "accurate_long_balls": 0.966,
                "total_own_half_passes": 23.7084,
                "accurate_own_half_passes": 20.7557,
                "total_opp_half_passes": 22.4212,
                "accurate_opp_half_passes": 19.5086,
                "crosses_total": 1.8099,
                "crosses_accurate": 0.2933,
                "touches": 66.2773,
                "possession_lost": 10.452,
                "dispossessed": 0.2619,
                "duels_lost": 3.2311,
                "aerial_lost": 0.4696,
                "total_contest": 0.5219,
                "won_contest": 0.2383,
                "ball_recovery": 3.1365,
                "challenges_lost": 1.3492,
                "fouls": 0.8561,
                "fouls_drawn": 0.1734,
                "blocks": 0.1644,
                "goal_rate": 0.0577,
                "goals": 0,
                "assist_rate": 0.0486,
                "assists": 0,
                "expected_goals": 0.0948,
                "expected_assists": 0.1318,
                "shots_on_target": 0.3234,
                "big_chances_created": 0.0498,
                "xgot": 0.1462,
                "ball_carries": 13.422,
                "total_progression": 61.4891,
                "progressive_carries": 1.8498,
                "key_pass": 0.9137,
                "shots_off_target": 0.1959,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.5,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.539,
                "opponent_faced": "Moi Gómez",
                "pressing_zone": "Left Wing vs Right Back — Flank Battle",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0904,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8707,
                "creation_factor": 0.8,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0904,
                "scorer_weight": 0.0825,
                "squad_weight_total": 2.0478,
                "weight_share": 0.0403,
                "finishing_factor": 0.8707,
                "appearance_weight": 1.0,
                "weight_rank": 7,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Abdessamad Ezzalzouli",
                    "weight": 0.5955,
                    "already": 0,
                    "effective_weight": 0.5955,
                    "runner_up": "Cucho Hernández",
                    "runner_up_effective_weight": 0.4616
                  }
                ]
              }
            },
            {
              "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.9228,
                "tackles": 1.9221,
                "tackles_won": 1.2157,
                "clearances": 2.1581,
                "aerial_won": 0.7226,
                "total_shots": 0.5193,
                "rating": 6.7144,
                "minutes": 87.29,
                "total_pass": 46.1296,
                "accurate_pass": 40.2643,
                "duels_won": 3.0695,
                "total_long_balls": 2.1941,
                "accurate_long_balls": 0.966,
                "total_own_half_passes": 23.7084,
                "accurate_own_half_passes": 20.7557,
                "total_opp_half_passes": 22.4212,
                "accurate_opp_half_passes": 19.5086,
                "crosses_total": 1.8099,
                "crosses_accurate": 0.2933,
                "touches": 66.2773,
                "possession_lost": 10.452,
                "dispossessed": 0.2619,
                "duels_lost": 3.2311,
                "aerial_lost": 0.4696,
                "total_contest": 0.5219,
                "won_contest": 0.2383,
                "ball_recovery": 3.1365,
                "challenges_lost": 1.3492,
                "fouls": 0.8561,
                "fouls_drawn": 0.1734,
                "blocks": 0.1644,
                "goal_rate": 0.0577,
                "goals": 0,
                "assist_rate": 0.0486,
                "assists": 0,
                "expected_goals": 0.0948,
                "expected_assists": 0.1318,
                "shots_on_target": 0.3234,
                "big_chances_created": 0.0498,
                "xgot": 0.1462,
                "ball_carries": 13.422,
                "total_progression": 61.4891,
                "progressive_carries": 1.8498,
                "key_pass": 0.9137,
                "shots_off_target": 0.1959,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.5,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.539,
                "opponent_faced": "Moi Gómez",
                "pressing_zone": "Left Wing vs Right Back — Flank Battle",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0904,
                "projected_assists": 0,
                "assist_probability": 0.1235,
                "finishing_factor": 0.8707,
                "creation_factor": 0.8,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1235,
                "provider_weight": 0.1054,
                "squad_weight_total": 1.1393,
                "weight_share": 0.0925,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 5,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Isco",
                    "weight": 0.1722,
                    "already": 0,
                    "effective_weight": 0.1722,
                    "runner_up": "Pablo Fornals",
                    "runner_up_effective_weight": 0.1629,
                    "blocked_own_goal": [
                      "Abdessamad Ezzalzouli"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Álvaro Valles": {
          "player_id": 964983,
          "position": "G",
          "position_depth": "G",
          "is_starter": true,
          "shirt_number": 1,
          "height": 192,
          "market_value": 6500000,
          "stats": {
            "saves": 3,
            "goals_prevented": 0.0231,
            "rating": 7.2144,
            "minutes": 90,
            "total_pass": 27,
            "accurate_pass": 20,
            "total_long_balls": 13,
            "accurate_long_balls": 5,
            "touches": 40,
            "clearances": 1,
            "ball_recovery": 8,
            "high_claims": 1,
            "punches": 0.3719,
            "aerial_won": 1,
            "sweeper_actions": 2,
            "sweeper_accurate": 1,
            "saves_inside_box": 3,
            "possession_lost": 7.5348,
            "duels_won": 1,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 18,
            "accurate_own_half_passes": 17,
            "gk_engine_opponent_lambda": 0.925,
            "shots_faced": 7.9,
            "expected_saves": 1.93,
            "high_pressure_saves": 0.67,
            "opponent_faced": "Ante Budimir, Rubén García",
            "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": 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.0006,
                "total_shots": 0,
                "total_pass": 29,
                "accurate_pass": 27,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 5,
                "saves": 2,
                "goals_prevented": 0.3324
              },
              "has_player_stats": true,
              "league_name": "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"
            },
            {
              "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.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0003,
                "total_shots": 0,
                "total_pass": 29,
                "accurate_pass": 17,
                "clearances": 2,
                "ball_recovery": 5,
                "saves": 6,
                "goals_prevented": -1.0184
              },
              "has_player_stats": true,
              "league_name": "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_assists": 0.0005,
                "total_shots": 0,
                "total_pass": 21,
                "accurate_pass": 16,
                "clearances": 1,
                "ball_recovery": 2,
                "saves": 1,
                "goals_prevented": 0.0838
              },
              "has_player_stats": true,
              "league_name": "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.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0007,
                "total_shots": 0,
                "total_pass": 28,
                "accurate_pass": 15,
                "interceptions": 1,
                "clearances": 3,
                "ball_recovery": 8,
                "saves": 4,
                "goals_prevented": 0.2999
              },
              "has_player_stats": true
            }
          ],
          "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": 2,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.2144,
            "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": 35,
          "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": 35,
            "data_confidence": 0.78,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9991,
            "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 35 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.238,
                "goals_prevented": 0.0231,
                "rating": 7.2144,
                "minutes": 90.0,
                "total_pass": 27.4351,
                "accurate_pass": 20.0044,
                "total_long_balls": 12.5603,
                "accurate_long_balls": 5.3189,
                "touches": 39.7069,
                "clearances": 1.4509,
                "ball_recovery": 8.1038,
                "high_claims": 1.1237,
                "punches": 0.3722,
                "aerial_won": 0.6026,
                "sweeper_actions": 1.5387,
                "sweeper_accurate": 1.4688,
                "saves_inside_box": 3.386,
                "possession_lost": 7.5416,
                "duels_won": 0.7751,
                "duels_lost": 0.0913,
                "total_contest": 0.1285,
                "won_contest": 0.1285,
                "fouls": 0.0,
                "fouls_drawn": 0.0431,
                "total_own_half_passes": 18.48,
                "accurate_own_half_passes": 17.1877
              },
              "trace": {
                "model": {
                  "position_service": "G",
                  "schema_version": 5,
                  "trained_at": "2026-10-11T10:25:02.791090+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 199,
                    "rows": 6859
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1505,
                    "rating": 8.5
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1279,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-09-14",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1087,
                    "rating": 9.9
                  },
                  {
                    "match_date": "2026-09-04",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0924,
                    "rating": 10.0
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0786,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0668,
                    "rating": 8.3
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0568,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-05-12",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.041,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-09",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0349,
                    "rating": 7.3
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "sweeper_actions_p90": 1.2494,
                  "accurateOwnHalfPasses": 17.1877,
                  "accurateLongBalls": 5.3188,
                  "aerialWon": 0.6026,
                  "accurateKeeperSweeper": 1.4688,
                  "sweeper_accuracy": 0.7383
                },
                "per_target": [
                  {
                    "target": "saves",
                    "predicted": 3.2379512786865234,
                    "model_output": 3.238,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "saves",
                        "importance": 0.0396
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0382
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0378
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0364
                      },
                      {
                        "name": "goalsPrevented",
                        "importance": 0.0361
                      }
                    ],
                    "decomposition": {
                      "base": 2.9355,
                      "items": [
                        {
                          "name": "savedShotsFromInsideTheBox",
                          "contribution": 0.0946
                        },
                        {
                          "name": "goalsPrevented",
                          "contribution": 0.0434
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0414
                        },
                        {
                          "name": "saves",
                          "contribution": 0.0395
                        },
                        {
                          "name": "accurateLongBalls",
                          "contribution": 0.0285
                        }
                      ],
                      "others": 0.0551,
                      "total": 3.238,
                      "log_link": true,
                      "margin_base": 1.07688,
                      "item_margins": [
                        {
                          "name": "savedShotsFromInsideTheBox",
                          "margin": 0.031724
                        },
                        {
                          "name": "goalsPrevented",
                          "margin": 0.014223
                        },
                        {
                          "name": "rating",
                          "margin": 0.013386
                        },
                        {
                          "name": "saves",
                          "margin": 0.012587
                        },
                        {
                          "name": "accurateLongBalls",
                          "margin": 0.008991
                        }
                      ],
                      "others_margin": 0.01715
                    }
                  },
                  {
                    "target": "goalsPrevented",
                    "predicted": 0.02312578074634075,
                    "model_output": 0.0231,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "aerialWon",
                        "importance": 0.0412
                      },
                      {
                        "name": "goalkeeperValueNormalized",
                        "importance": 0.0404
                      },
                      {
                        "name": "punches",
                        "importance": 0.0397
                      },
                      {
                        "name": "accurateLongBalls",
                        "importance": 0.0375
                      },
                      {
                        "name": "sweeper_actions_p90",
                        "importance": 0.0375
                      }
                    ],
                    "decomposition": {
                      "base": -0.0216,
                      "items": [
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.043
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.03
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.015
                        },
                        {
                          "name": "accurateLongBalls",
                          "contribution": 0.0135
                        },
                        {
                          "name": "savedShotsFromInsideTheBox",
                          "contribution": 0.0121
                        }
                      ],
                      "others": 0.0471,
                      "total": 0.0231,
                      "log_link": false,
                      "margin_base": -0.021558,
                      "item_margins": [
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.043006
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.029951
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.015027
                        },
                        {
                          "name": "accurateLongBalls",
                          "margin": 0.013502
                        },
                        {
                          "name": "savedShotsFromInsideTheBox",
                          "margin": 0.012148
                        }
                      ],
                      "others_margin": 0.047116
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.214428901672363,
                    "model_output": 7.2144,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "sweeper_actions_p90",
                        "importance": 0.0396
                      },
                      {
                        "name": "accurateKeeperSweeper",
                        "importance": 0.0389
                      },
                      {
                        "name": "accurateOwnHalfPasses",
                        "importance": 0.038
                      },
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.0369
                      },
                      {
                        "name": "touches",
                        "importance": 0.0361
                      }
                    ],
                    "decomposition": {
                      "base": 7.0028,
                      "items": [
                        {
                          "name": "goalkeeperValueNormalized",
                          "contribution": 0.0705
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0327
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": 0.0267
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0239
                        },
                        {
                          "name": "accurateKeeperSweeper",
                          "contribution": 0.022
                        }
                      ],
                      "others": 0.0836,
                      "total": 7.2144,
                      "log_link": false,
                      "margin_base": 7.00281,
                      "item_margins": [
                        {
                          "name": "goalkeeperValueNormalized",
                          "margin": 0.07046
                        },
                        {
                          "name": "rating",
                          "margin": 0.032739
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": 0.026708
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.023928
                        },
                        {
                          "name": "accurateKeeperSweeper",
                          "margin": 0.02204
                        }
                      ],
                      "others_margin": 0.083601
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 35,
                  "role_matches": 35,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9991, quality 0.481)",
              "stats": {
                "saves": 3.235,
                "goals_prevented": 0.0231,
                "rating": 7.2144,
                "minutes": 90.0,
                "total_pass": 27.4104,
                "accurate_pass": 19.9864,
                "total_long_balls": 12.549,
                "accurate_long_balls": 5.3141,
                "touches": 39.6712,
                "clearances": 1.4496,
                "ball_recovery": 8.0965,
                "high_claims": 1.1227,
                "punches": 0.3719,
                "aerial_won": 0.6021,
                "sweeper_actions": 1.5373,
                "sweeper_accurate": 1.4675,
                "saves_inside_box": 3.383,
                "possession_lost": 7.5348,
                "duels_won": 0.7744,
                "duels_lost": 0.0912,
                "total_contest": 0.1284,
                "won_contest": 0.1284,
                "fouls": 0.0,
                "fouls_drawn": 0.0431,
                "total_own_half_passes": 18.4634,
                "accurate_own_half_passes": 17.1722
              },
              "params": {
                "market_value_eur": 6500000,
                "quality_factor": 0.4805,
                "boost_factor": 0.9991,
                "reference_quality": 0.505,
                "history_matches": 35,
                "history_shrink": 0.125,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0163)",
              "stats": {
                "saves": 3.2366,
                "goals_prevented": 0.0231,
                "rating": 7.2144,
                "minutes": 90.0,
                "total_pass": 27.4104,
                "accurate_pass": 19.9864,
                "total_long_balls": 12.549,
                "accurate_long_balls": 5.3141,
                "touches": 39.6712,
                "clearances": 1.4496,
                "ball_recovery": 8.0965,
                "high_claims": 1.1227,
                "punches": 0.3719,
                "aerial_won": 0.6021,
                "sweeper_actions": 1.5373,
                "sweeper_accurate": 1.4675,
                "saves_inside_box": 3.383,
                "possession_lost": 7.5348,
                "duels_won": 0.7744,
                "duels_lost": 0.0912,
                "total_contest": 0.1284,
                "won_contest": 0.1284,
                "fouls": 0.0,
                "fouls_drawn": 0.0424,
                "total_own_half_passes": 18.4634,
                "accurate_own_half_passes": 17.1722
              },
              "params": {
                "blend_weight": 0.0163,
                "history_matches": 35,
                "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.2366,
                "goals_prevented": 0.0231,
                "rating": 7.2144,
                "minutes": 90.0,
                "total_pass": 27.4104,
                "accurate_pass": 19.9864,
                "total_long_balls": 12.549,
                "accurate_long_balls": 5.3141,
                "touches": 39.6712,
                "clearances": 1.4496,
                "ball_recovery": 8.0965,
                "high_claims": 1.1227,
                "punches": 0.3719,
                "aerial_won": 0.6021,
                "sweeper_actions": 1.5373,
                "sweeper_accurate": 1.4675,
                "saves_inside_box": 3.383,
                "possession_lost": 7.5348,
                "duels_won": 0.7744,
                "duels_lost": 0.0912,
                "total_contest": 0.1284,
                "won_contest": 0.1284,
                "fouls": 0.0,
                "fouls_drawn": 0.0424,
                "total_own_half_passes": 18.4634,
                "accurate_own_half_passes": 17.1722
              },
              "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.2366,
                "goals_prevented": 0.0231,
                "rating": 7.2144,
                "minutes": 90.0,
                "total_pass": 27.4104,
                "accurate_pass": 19.9864,
                "total_long_balls": 12.549,
                "accurate_long_balls": 5.3141,
                "touches": 39.6712,
                "clearances": 1.4496,
                "ball_recovery": 8.0965,
                "high_claims": 1.1227,
                "punches": 0.3719,
                "aerial_won": 0.6021,
                "sweeper_actions": 1.5373,
                "sweeper_accurate": 1.4675,
                "saves_inside_box": 3.383,
                "possession_lost": 7.5348,
                "duels_won": 0.7744,
                "duels_lost": 0.0912,
                "total_contest": 0.1284,
                "won_contest": 0.1284,
                "fouls": 0.0,
                "fouls_drawn": 0.0424,
                "total_own_half_passes": 18.4634,
                "accurate_own_half_passes": 17.1722,
                "gk_engine_opponent_lambda": 0.925,
                "shots_faced": 8.8,
                "expected_saves": 2.16,
                "high_pressure_saves": 0.74,
                "opponent_faced": "Ante Budimir, Rubén García",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Ante Budimir, Rubén García",
                  "matchup_zone": "Goalkeeper shot-stopping context",
                  "opponent_lambda": 0.925
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.93 (squad xG sum 1.5037, xG scale 1.2862, xA scale 1.3318, team xA 1.26 = 0.65 x lambda)",
              "stats": {
                "saves": 3.2366,
                "goals_prevented": 0.0231,
                "rating": 7.2144,
                "minutes": 90.0,
                "total_pass": 27.4104,
                "accurate_pass": 19.9864,
                "total_long_balls": 12.549,
                "accurate_long_balls": 5.3141,
                "touches": 39.6712,
                "clearances": 1.4496,
                "ball_recovery": 8.0965,
                "high_claims": 1.1227,
                "punches": 0.3719,
                "aerial_won": 0.6021,
                "sweeper_actions": 1.5373,
                "sweeper_accurate": 1.4675,
                "saves_inside_box": 3.383,
                "possession_lost": 7.5348,
                "duels_won": 0.7744,
                "duels_lost": 0.0912,
                "total_contest": 0.1284,
                "won_contest": 0.1284,
                "fouls": 0.0,
                "fouls_drawn": 0.0424,
                "total_own_half_passes": 18.4634,
                "accurate_own_half_passes": 17.1722,
                "gk_engine_opponent_lambda": 0.925,
                "shots_faced": 7.9,
                "expected_saves": 1.93,
                "high_pressure_saves": 0.67,
                "opponent_faced": "Ante Budimir, Rubén García",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0
              },
              "params": {
                "team_lambda": 1.934,
                "squad_xg_sum": 1.5037,
                "squad_xa_sum": 0.9439,
                "team_expected_assists": 1.2571,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2862,
                "xa_scale": 1.3318,
                "opponent_lambda": 0.835,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "shots_faced",
                  "before": 8.8,
                  "after": 7.9
                },
                {
                  "stat": "expected_saves",
                  "before": 2.16,
                  "after": 1.93
                },
                {
                  "stat": "high_pressure_saves",
                  "before": 0.74,
                  "after": 0.67
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 2 by projected rating, fifa_overall 77.0; not used by the projection)",
              "stats": {
                "saves": 3.2366,
                "goals_prevented": 0.0231,
                "rating": 7.2144,
                "minutes": 90.0,
                "total_pass": 27.4104,
                "accurate_pass": 19.9864,
                "total_long_balls": 12.549,
                "accurate_long_balls": 5.3141,
                "touches": 39.6712,
                "clearances": 1.4496,
                "ball_recovery": 8.0965,
                "high_claims": 1.1227,
                "punches": 0.3719,
                "aerial_won": 0.6021,
                "sweeper_actions": 1.5373,
                "sweeper_accurate": 1.4675,
                "saves_inside_box": 3.383,
                "possession_lost": 7.5348,
                "duels_won": 0.7744,
                "duels_lost": 0.0912,
                "total_contest": 0.1284,
                "won_contest": 0.1284,
                "fouls": 0.0,
                "fouls_drawn": 0.0424,
                "total_own_half_passes": 18.4634,
                "accurate_own_half_passes": 17.1722,
                "gk_engine_opponent_lambda": 0.925,
                "shots_faced": 7.9,
                "expected_saves": 1.93,
                "high_pressure_saves": 0.67,
                "opponent_faced": "Ante Budimir, Rubén García",
                "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": 2,
                "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: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "saves": 3.2366,
                "goals_prevented": 0.0231,
                "rating": 7.2144,
                "minutes": 90.0,
                "total_pass": 27.4104,
                "accurate_pass": 19.9864,
                "total_long_balls": 12.549,
                "accurate_long_balls": 5.3141,
                "touches": 39.6712,
                "clearances": 1.4496,
                "ball_recovery": 8.0965,
                "high_claims": 1.1227,
                "punches": 0.3719,
                "aerial_won": 0.6021,
                "sweeper_actions": 1.5373,
                "sweeper_accurate": 1.4675,
                "saves_inside_box": 3.383,
                "possession_lost": 7.5348,
                "duels_won": 0.7744,
                "duels_lost": 0.0912,
                "total_contest": 0.1284,
                "won_contest": 0.1284,
                "fouls": 0.0,
                "fouls_drawn": 0.0424,
                "total_own_half_passes": 18.4634,
                "accurate_own_half_passes": 17.1722,
                "gk_engine_opponent_lambda": 0.925,
                "shots_faced": 7.9,
                "expected_saves": 1.93,
                "high_pressure_saves": 0.67,
                "opponent_faced": "Ante Budimir, Rubén García",
                "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": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.0,
                "squad_weight_total": 2.0478,
                "weight_share": 0.0,
                "finishing_factor": 1.0,
                "appearance_weight": 1.0,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Abdessamad Ezzalzouli",
                    "weight": 0.5955,
                    "already": 0,
                    "effective_weight": 0.5955,
                    "runner_up": "Cucho Hernández",
                    "runner_up_effective_weight": 0.4616
                  }
                ]
              }
            },
            {
              "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.2366,
                "goals_prevented": 0.0231,
                "rating": 7.2144,
                "minutes": 90.0,
                "total_pass": 27.4104,
                "accurate_pass": 19.9864,
                "total_long_balls": 12.549,
                "accurate_long_balls": 5.3141,
                "touches": 39.6712,
                "clearances": 1.4496,
                "ball_recovery": 8.0965,
                "high_claims": 1.1227,
                "punches": 0.3719,
                "aerial_won": 0.6021,
                "sweeper_actions": 1.5373,
                "sweeper_accurate": 1.4675,
                "saves_inside_box": 3.383,
                "possession_lost": 7.5348,
                "duels_won": 0.7744,
                "duels_lost": 0.0912,
                "total_contest": 0.1284,
                "won_contest": 0.1284,
                "fouls": 0.0,
                "fouls_drawn": 0.0424,
                "total_own_half_passes": 18.4634,
                "accurate_own_half_passes": 17.1722,
                "gk_engine_opponent_lambda": 0.925,
                "shots_faced": 7.9,
                "expected_saves": 1.93,
                "high_pressure_saves": 0.67,
                "opponent_faced": "Ante Budimir, Rubén García",
                "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.1393,
                "weight_share": 0.0,
                "creation_factor": 1.0,
                "appearance_weight": 1.0,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Isco",
                    "weight": 0.1722,
                    "already": 0,
                    "effective_weight": 0.1722,
                    "runner_up": "Pablo Fornals",
                    "runner_up_effective_weight": 0.1629,
                    "blocked_own_goal": [
                      "Abdessamad Ezzalzouli"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "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.2036,
            "assist_rate": 0.1072,
            "assists": 0,
            "expected_goals": 0.1035,
            "goal_rate": 0.0927,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 7.0711,
            "minutes": 81,
            "total_pass": 55,
            "accurate_pass": 48,
            "duels_won": 2,
            "total_long_balls": 4,
            "accurate_long_balls": 2,
            "total_own_half_passes": 20,
            "accurate_own_half_passes": 18,
            "total_opp_half_passes": 35,
            "accurate_opp_half_passes": 30,
            "crosses_total": 3,
            "crosses_accurate": 1,
            "touches": 68,
            "possession_lost": 12.2912,
            "dispossessed": 0.4157,
            "duels_lost": 3,
            "aerial_won": 1,
            "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.0986,
            "ball_carries": 22,
            "total_progression": 54,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "duel_xg_multiplier": 1.0452,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.8,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.481,
            "pressing_faced": "LOW",
            "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
            "numerical_situation": "1v1",
            "opponent_defenders": "Iker Muñoz",
            "opponent_faced": "Iker Muñoz",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0983,
            "projected_assists": 0,
            "assist_probability": 0.1842,
            "finishing_factor": 1.0935,
            "creation_factor": 0.8,
            "fifa_overall": 85.0
          },
          "latest_10_games": [
            {
              "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"
            },
            {
              "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": 8.1,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.0236,
                "expected_assists": 0.0367,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 46,
                "accurate_pass": 42,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "duels_won": 3,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 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": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0536,
                "expected_assists": 0.0166,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 37,
                "accurate_pass": 29,
                "key_pass": 2,
                "interceptions": 2,
                "duels_won": 3,
                "ball_recovery": 9
              },
              "has_player_stats": true
            },
            {
              "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": 63,
                "rating": 6.4,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.0285,
                "total_shots": 0,
                "total_pass": 43,
                "accurate_pass": 34,
                "key_pass": 2,
                "tackles": 1,
                "clearances": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true
            }
          ],
          "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.0711,
            "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": 43,
          "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": 43,
            "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 43 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.8431,
                "expected_assists": 0.1529,
                "assists": 0.1083,
                "assist_rate": 0.1083,
                "expected_goals": 0.077,
                "goals": 0.0896,
                "goal_rate": 0.0896,
                "shots_on_target": 0.3541,
                "total_shots": 1.2291,
                "rating": 7.0711,
                "minutes": 81.11,
                "total_pass": 55.0461,
                "accurate_pass": 47.5614,
                "duels_won": 2.4875,
                "total_long_balls": 4.0772,
                "accurate_long_balls": 2.181,
                "total_own_half_passes": 19.6453,
                "accurate_own_half_passes": 17.6467,
                "total_opp_half_passes": 35.4008,
                "accurate_opp_half_passes": 29.9147,
                "crosses_total": 3.4418,
                "crosses_accurate": 0.9549,
                "touches": 68.4316,
                "possession_lost": 12.2912,
                "dispossessed": 0.4157,
                "duels_lost": 2.9542,
                "aerial_won": 0.2559,
                "aerial_lost": 0.6483,
                "interceptions": 0.7654,
                "tackles_won": 0.2473,
                "tackles": 0.5414,
                "clearances": 0.1205,
                "total_contest": 1.2244,
                "won_contest": 0.7599,
                "challenges_lost": 0.7935,
                "fouls": 0.8976,
                "fouls_drawn": 0.9362,
                "blocks": 0.0223,
                "big_chances_created": 0.1703,
                "big_chances_missed": 0.018,
                "xgot": 0.0734,
                "ball_carries": 22.0879,
                "total_progression": 54.2112,
                "progressive_carries": 0.6622,
                "shots_off_target": 0.875
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-11T10:26:42.530573+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 894,
                    "rows": 23497
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 79.0,
                    "is_starting": true,
                    "weight": 0.1501,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-09-14",
                    "opponent": "Villarreal",
                    "minutes": 84.0,
                    "is_starting": true,
                    "weight": 0.1276,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-04",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1085,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Levante UD",
                    "minutes": 33.0,
                    "is_starting": false,
                    "weight": 0.0922,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Valencia",
                    "minutes": 79.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0666,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Levante UD",
                    "minutes": 80.0,
                    "is_starting": true,
                    "weight": 0.0566,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-05-12",
                    "opponent": "Elche",
                    "minutes": 83.0,
                    "is_starting": true,
                    "weight": 0.0481,
                    "rating": 8.1
                  },
                  {
                    "match_date": "2026-05-09",
                    "opponent": "Real Sociedad",
                    "minutes": 69.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-03",
                    "opponent": "Real Oviedo",
                    "minutes": 63.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalShots": 1.2441,
                  "creative_index": 0.8732,
                  "expectedGoals": 0.0647,
                  "expectedAssists": 0.097,
                  "onTargetScoringAttempt": 0.2156
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.8430684804916382,
                    "model_output": 1.8431,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1648
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1344
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0672
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0573
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0281
                      }
                    ],
                    "decomposition": {
                      "base": 0.8857,
                      "items": [
                        {
                          "name": "creative_index",
                          "contribution": 0.2034
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1662
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0999
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.1048
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0854
                        }
                      ],
                      "others": 0.2977,
                      "total": 1.8431,
                      "log_link": true,
                      "margin_base": -0.121432,
                      "item_margins": [
                        {
                          "name": "creative_index",
                          "margin": 0.20672
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.142036
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.076588
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.074506
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.056822
                        }
                      ],
                      "others_margin": 0.176193
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.15294277667999268,
                    "model_output": 0.1529,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1094
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1055
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.099
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0603
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0557
                      }
                    ],
                    "decomposition": {
                      "base": 0.0855,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": 0.012
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0128
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0065
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0047
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0045
                        }
                      ],
                      "others": 0.0269,
                      "total": 0.1529,
                      "log_link": true,
                      "margin_base": -2.458929,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": 0.130855
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.12355
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.057048
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.039837
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.036192
                        }
                      ],
                      "others_margin": 0.193757
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.10830894112586975,
                    "model_output": 0.1083,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0515
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0436
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0436
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0319
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.03
                      }
                    ],
                    "decomposition": {
                      "base": 0.0858,
                      "items": [
                        {
                          "name": "keyPass",
                          "contribution": 0.0105
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0105
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0099
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0096
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0062
                        }
                      ],
                      "others": -0.005,
                      "total": 0.1083,
                      "log_link": true,
                      "margin_base": -2.456317,
                      "item_margins": [
                        {
                          "name": "keyPass",
                          "margin": 0.11549
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.103663
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.088983
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.086104
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.056171
                        }
                      ],
                      "others_margin": -0.044652
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.07703244686126709,
                    "model_output": 0.077,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1335
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.086
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0661
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0433
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.0936,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.011
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0104
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0059
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0046
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.004
                        }
                      ],
                      "others": -0.0133,
                      "total": 0.077,
                      "log_link": true,
                      "margin_base": -2.368441,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.125535
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.118567
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.061799
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.04772
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.043434
                        }
                      ],
                      "others_margin": -0.158764
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.08964146673679352,
                    "model_output": 0.0896,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0863
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0517
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0485
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0373
                      },
                      {
                        "name": "goals",
                        "importance": 0.0275
                      }
                    ],
                    "decomposition": {
                      "base": 0.0966,
                      "items": [
                        {
                          "name": "duelLost",
                          "contribution": -0.0097
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0076
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0076
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0069
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0057
                        }
                      ],
                      "others": 0.0015,
                      "total": 0.0896,
                      "log_link": true,
                      "margin_base": -2.337105,
                      "item_margins": [
                        {
                          "name": "duelLost",
                          "margin": -0.105843
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.084197
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.083849
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.076502
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.062915
                        }
                      ],
                      "others_margin": 0.017075
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.3540503680706024,
                    "model_output": 0.3541,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.108
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0886
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0725
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0371
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.324,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0663
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0473
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0391
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0245
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0195
                        }
                      ],
                      "others": -0.0494,
                      "total": 0.3541,
                      "log_link": true,
                      "margin_base": -1.126872,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.186193
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.114465
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.093468
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.059578
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.047095
                        }
                      ],
                      "others_margin": -0.131118
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.229049563407898,
                    "model_output": 1.229,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1275
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1232
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0542
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0485
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0257
                      }
                    ],
                    "decomposition": {
                      "base": 0.99,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.1734
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1407
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0468
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0401
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0268
                        }
                      ],
                      "others": -0.0416,
                      "total": 1.229,
                      "log_link": false,
                      "margin_base": 0.989981,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.173404
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.140724
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.046799
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.040055
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.026839
                        }
                      ],
                      "others_margin": -0.041476
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.071091175079346,
                    "model_output": 7.0711,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0898
                      },
                      {
                        "name": "rating",
                        "importance": 0.0801
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0397
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0337
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0318
                      }
                    ],
                    "decomposition": {
                      "base": 6.8504,
                      "items": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.1424
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0371
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0292
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0264
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0167
                        }
                      ],
                      "others": 0.0431,
                      "total": 7.0711,
                      "log_link": false,
                      "margin_base": 6.850356,
                      "item_margins": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.142421
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.037062
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.029224
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.026353
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.016723
                        }
                      ],
                      "others_margin": 0.043077
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 43,
                  "role_matches": 39,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0000, quality 0.503)",
              "stats": {
                "key_pass": 1.8431,
                "expected_assists": 0.1529,
                "assists": 0.1083,
                "assist_rate": 0.1083,
                "expected_goals": 0.077,
                "goals": 0.0896,
                "goal_rate": 0.0896,
                "shots_on_target": 0.3541,
                "total_shots": 1.2291,
                "rating": 7.0711,
                "minutes": 81.11,
                "total_pass": 55.0461,
                "accurate_pass": 47.5614,
                "duels_won": 2.4875,
                "total_long_balls": 4.0772,
                "accurate_long_balls": 2.181,
                "total_own_half_passes": 19.6453,
                "accurate_own_half_passes": 17.6467,
                "total_opp_half_passes": 35.4008,
                "accurate_opp_half_passes": 29.9147,
                "crosses_total": 3.4418,
                "crosses_accurate": 0.9549,
                "touches": 68.4316,
                "possession_lost": 12.2912,
                "dispossessed": 0.4157,
                "duels_lost": 2.9542,
                "aerial_won": 0.2559,
                "aerial_lost": 0.6483,
                "interceptions": 0.7654,
                "tackles_won": 0.2473,
                "tackles": 0.5414,
                "clearances": 0.1205,
                "total_contest": 1.2244,
                "won_contest": 0.7599,
                "challenges_lost": 0.7935,
                "fouls": 0.8976,
                "fouls_drawn": 0.9362,
                "blocks": 0.0223,
                "big_chances_created": 0.1703,
                "big_chances_missed": 0.018,
                "xgot": 0.0734,
                "ball_carries": 22.0879,
                "total_progression": 54.2112,
                "progressive_carries": 0.6622,
                "shots_off_target": 0.875
              },
              "params": {
                "market_value_eur": 8400000,
                "quality_factor": 0.5035,
                "boost_factor": 1.0,
                "reference_quality": 0.505,
                "history_matches": 43,
                "history_shrink": 0.1042,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0099)",
              "stats": {
                "key_pass": 1.8431,
                "expected_assists": 0.1529,
                "assists": 0.1072,
                "assist_rate": 0.1072,
                "expected_goals": 0.077,
                "goals": 0.0887,
                "goal_rate": 0.0887,
                "shots_on_target": 0.3506,
                "total_shots": 1.2408,
                "rating": 7.0711,
                "minutes": 81.11,
                "total_pass": 55.0461,
                "accurate_pass": 47.5614,
                "duels_won": 2.4875,
                "total_long_balls": 4.0772,
                "accurate_long_balls": 2.181,
                "total_own_half_passes": 19.6453,
                "accurate_own_half_passes": 17.6467,
                "total_opp_half_passes": 35.4008,
                "accurate_opp_half_passes": 29.9147,
                "crosses_total": 3.4483,
                "crosses_accurate": 0.9549,
                "touches": 68.4316,
                "possession_lost": 12.2912,
                "dispossessed": 0.4157,
                "duels_lost": 2.9542,
                "aerial_won": 0.2559,
                "aerial_lost": 0.6483,
                "interceptions": 0.7741,
                "tackles_won": 0.253,
                "tackles": 0.5414,
                "clearances": 0.1205,
                "total_contest": 1.2244,
                "won_contest": 0.7599,
                "challenges_lost": 0.7935,
                "fouls": 0.8928,
                "fouls_drawn": 0.9269,
                "blocks": 0.0223,
                "big_chances_created": 0.1703,
                "big_chances_missed": 0.018,
                "xgot": 0.0734,
                "ball_carries": 22.0879,
                "total_progression": 54.2112,
                "progressive_carries": 0.6622,
                "shots_off_target": 0.875
              },
              "params": {
                "blend_weight": 0.0099,
                "history_matches": 43,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9012,
                "prior_reliability": 0.1467,
                "competition": "La Liga",
                "squad": "Real Betis"
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.2291,
                  "after": 1.2408
                },
                {
                  "stat": "wasFouled",
                  "before": 0.9362,
                  "after": 0.9269
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.7654,
                  "after": 0.7741
                },
                {
                  "stat": "totalCross",
                  "before": 3.4418,
                  "after": 3.4483
                },
                {
                  "stat": "wonTackle",
                  "before": 0.2473,
                  "after": 0.253
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1.8431,
                "expected_assists": 0.1529,
                "assists": 0.1072,
                "assist_rate": 0.1072,
                "expected_goals": 0.077,
                "goals": 0.0887,
                "goal_rate": 0.0887,
                "shots_on_target": 0.3506,
                "total_shots": 1.2408,
                "rating": 7.0711,
                "minutes": 81.11,
                "total_pass": 55.0461,
                "accurate_pass": 47.5614,
                "duels_won": 2.4875,
                "total_long_balls": 4.0772,
                "accurate_long_balls": 2.181,
                "total_own_half_passes": 19.6453,
                "accurate_own_half_passes": 17.6467,
                "total_opp_half_passes": 35.4008,
                "accurate_opp_half_passes": 29.9147,
                "crosses_total": 3.4483,
                "crosses_accurate": 0.9549,
                "touches": 68.4316,
                "possession_lost": 12.2912,
                "dispossessed": 0.4157,
                "duels_lost": 2.9542,
                "aerial_won": 0.2559,
                "aerial_lost": 0.6483,
                "interceptions": 0.7741,
                "tackles_won": 0.253,
                "tackles": 0.5414,
                "clearances": 0.1205,
                "total_contest": 1.2244,
                "won_contest": 0.7599,
                "challenges_lost": 0.7935,
                "fouls": 0.8928,
                "fouls_drawn": 0.9269,
                "blocks": 0.0223,
                "big_chances_created": 0.1703,
                "big_chances_missed": 0.018,
                "xgot": 0.0734,
                "ball_carries": 22.0879,
                "total_progression": 54.2112,
                "progressive_carries": 0.6622,
                "shots_off_target": 0.875
              },
              "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.8431,
                "expected_assists": 0.1529,
                "assists": 0.1072,
                "assist_rate": 0.1072,
                "expected_goals": 0.0805,
                "goals": 0.0927,
                "goal_rate": 0.0927,
                "shots_on_target": 0.3664,
                "total_shots": 1.2969,
                "rating": 7.0711,
                "minutes": 81.11,
                "total_pass": 55.0461,
                "accurate_pass": 47.5614,
                "duels_won": 2.4875,
                "total_long_balls": 4.0772,
                "accurate_long_balls": 2.181,
                "total_own_half_passes": 19.6453,
                "accurate_own_half_passes": 17.6467,
                "total_opp_half_passes": 35.4008,
                "accurate_opp_half_passes": 29.9147,
                "crosses_total": 3.4483,
                "crosses_accurate": 0.9549,
                "touches": 68.4316,
                "possession_lost": 12.2912,
                "dispossessed": 0.4157,
                "duels_lost": 2.9542,
                "aerial_won": 1.0,
                "aerial_lost": 0.6483,
                "interceptions": 0.7741,
                "tackles_won": 0.253,
                "tackles": 0.5414,
                "clearances": 0.1205,
                "total_contest": 1.2244,
                "won_contest": 0.7599,
                "challenges_lost": 0.7935,
                "fouls": 0.8928,
                "fouls_drawn": 0.9269,
                "blocks": 0.0223,
                "big_chances_created": 0.1703,
                "big_chances_missed": 0.0188,
                "xgot": 0.0767,
                "ball_carries": 22.0879,
                "total_progression": 54.2112,
                "progressive_carries": 0.6622,
                "shots_off_target": 0.9145,
                "duel_xg_multiplier": 1.0452,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.481,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iker Muñoz",
                "opponent_faced": "Iker Muñoz",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Iker Muñoz",
                  "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                  "duel_win_rate": 0.481,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 1.0452,
                  "skill_edge": 0.0347,
                  "height_edge": -0.004,
                  "attacker_skill": 0.5146,
                  "defender_skill": 0.4374,
                  "attacker_role": "CM",
                  "attacker_mv_price_index": 0.9,
                  "defender_adjusted_parts": [
                    {
                      "player": "Iker Muñoz",
                      "market_value": 1800000,
                      "role": "CDM",
                      "price_index": 0.85,
                      "adjusted_quality": 0.4374
                    }
                  ],
                  "xg_override": 0.0805
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.2559,
                  "after": 1.0
                },
                {
                  "stat": "totalShots",
                  "before": 1.2408,
                  "after": 1.2969
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.875,
                  "after": 0.9145
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.3506,
                  "after": 0.3664
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.93 (squad xG sum 1.5037, xG scale 1.2862, xA scale 1.3318, team xA 1.26 = 0.65 x lambda)",
              "stats": {
                "key_pass": 1.8431,
                "expected_assists": 0.2036,
                "assist_rate": 0.1072,
                "assists": 0,
                "expected_goals": 0.1035,
                "goal_rate": 0.0927,
                "goals": 0,
                "shots_on_target": 0.3664,
                "total_shots": 1.2969,
                "rating": 7.0711,
                "minutes": 81.11,
                "total_pass": 55.0461,
                "accurate_pass": 47.5614,
                "duels_won": 2.4875,
                "total_long_balls": 4.0772,
                "accurate_long_balls": 2.181,
                "total_own_half_passes": 19.6453,
                "accurate_own_half_passes": 17.6467,
                "total_opp_half_passes": 35.4008,
                "accurate_opp_half_passes": 29.9147,
                "crosses_total": 3.4483,
                "crosses_accurate": 0.9549,
                "touches": 68.4316,
                "possession_lost": 12.2912,
                "dispossessed": 0.4157,
                "duels_lost": 2.9542,
                "aerial_won": 1.0,
                "aerial_lost": 0.6483,
                "interceptions": 0.7741,
                "tackles_won": 0.253,
                "tackles": 0.5414,
                "clearances": 0.1205,
                "total_contest": 1.2244,
                "won_contest": 0.7599,
                "challenges_lost": 0.7935,
                "fouls": 0.8928,
                "fouls_drawn": 0.9269,
                "blocks": 0.0223,
                "big_chances_created": 0.1703,
                "big_chances_missed": 0.0188,
                "xgot": 0.0986,
                "ball_carries": 22.0879,
                "total_progression": 54.2112,
                "progressive_carries": 0.6622,
                "shots_off_target": 0.9145,
                "duel_xg_multiplier": 1.0452,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.481,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iker Muñoz",
                "opponent_faced": "Iker Muñoz",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0935,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.934,
                "squad_xg_sum": 1.5037,
                "squad_xa_sum": 0.9439,
                "team_expected_assists": 1.2571,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2862,
                "xa_scale": 1.3318,
                "opponent_lambda": 0.835,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0805,
                  "after": 0.1035
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1529,
                  "after": 0.2036
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 3 by projected rating, fifa_overall 85.0; not used by the projection)",
              "stats": {
                "key_pass": 1.8431,
                "expected_assists": 0.2036,
                "assist_rate": 0.1072,
                "assists": 0,
                "expected_goals": 0.1035,
                "goal_rate": 0.0927,
                "goals": 0,
                "shots_on_target": 0.3664,
                "total_shots": 1.2969,
                "rating": 7.0711,
                "minutes": 81.11,
                "total_pass": 55.0461,
                "accurate_pass": 47.5614,
                "duels_won": 2.4875,
                "total_long_balls": 4.0772,
                "accurate_long_balls": 2.181,
                "total_own_half_passes": 19.6453,
                "accurate_own_half_passes": 17.6467,
                "total_opp_half_passes": 35.4008,
                "accurate_opp_half_passes": 29.9147,
                "crosses_total": 3.4483,
                "crosses_accurate": 0.9549,
                "touches": 68.4316,
                "possession_lost": 12.2912,
                "dispossessed": 0.4157,
                "duels_lost": 2.9542,
                "aerial_won": 1.0,
                "aerial_lost": 0.6483,
                "interceptions": 0.7741,
                "tackles_won": 0.253,
                "tackles": 0.5414,
                "clearances": 0.1205,
                "total_contest": 1.2244,
                "won_contest": 0.7599,
                "challenges_lost": 0.7935,
                "fouls": 0.8928,
                "fouls_drawn": 0.9269,
                "blocks": 0.0223,
                "big_chances_created": 0.1703,
                "big_chances_missed": 0.0188,
                "xgot": 0.0986,
                "ball_carries": 22.0879,
                "total_progression": 54.2112,
                "progressive_carries": 0.6622,
                "shots_off_target": 0.9145,
                "duel_xg_multiplier": 1.0452,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.481,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iker Muñoz",
                "opponent_faced": "Iker Muñoz",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0935,
                "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: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 1.8431,
                "expected_assists": 0.2036,
                "assist_rate": 0.1072,
                "assists": 0,
                "expected_goals": 0.1035,
                "goal_rate": 0.0927,
                "goals": 0,
                "shots_on_target": 0.3664,
                "total_shots": 1.2969,
                "rating": 7.0711,
                "minutes": 81.11,
                "total_pass": 55.0461,
                "accurate_pass": 47.5614,
                "duels_won": 2.4875,
                "total_long_balls": 4.0772,
                "accurate_long_balls": 2.181,
                "total_own_half_passes": 19.6453,
                "accurate_own_half_passes": 17.6467,
                "total_opp_half_passes": 35.4008,
                "accurate_opp_half_passes": 29.9147,
                "crosses_total": 3.4483,
                "crosses_accurate": 0.9549,
                "touches": 68.4316,
                "possession_lost": 12.2912,
                "dispossessed": 0.4157,
                "duels_lost": 2.9542,
                "aerial_won": 1.0,
                "aerial_lost": 0.6483,
                "interceptions": 0.7741,
                "tackles_won": 0.253,
                "tackles": 0.5414,
                "clearances": 0.1205,
                "total_contest": 1.2244,
                "won_contest": 0.7599,
                "challenges_lost": 0.7935,
                "fouls": 0.8928,
                "fouls_drawn": 0.9269,
                "blocks": 0.0223,
                "big_chances_created": 0.1703,
                "big_chances_missed": 0.0188,
                "xgot": 0.0986,
                "ball_carries": 22.0879,
                "total_progression": 54.2112,
                "progressive_carries": 0.6622,
                "shots_off_target": 0.9145,
                "duel_xg_multiplier": 1.0452,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.481,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iker Muñoz",
                "opponent_faced": "Iker Muñoz",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0983,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0935,
                "creation_factor": 0.8,
                "fifa_overall": 85.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0983,
                "scorer_weight": 0.1132,
                "squad_weight_total": 2.0478,
                "weight_share": 0.0553,
                "finishing_factor": 1.0935,
                "appearance_weight": 1.0,
                "weight_rank": 6,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Abdessamad Ezzalzouli",
                    "weight": 0.5955,
                    "already": 0,
                    "effective_weight": 0.5955,
                    "runner_up": "Cucho Hernández",
                    "runner_up_effective_weight": 0.4616
                  }
                ]
              }
            },
            {
              "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.8431,
                "expected_assists": 0.2036,
                "assist_rate": 0.1072,
                "assists": 0,
                "expected_goals": 0.1035,
                "goal_rate": 0.0927,
                "goals": 0,
                "shots_on_target": 0.3664,
                "total_shots": 1.2969,
                "rating": 7.0711,
                "minutes": 81.11,
                "total_pass": 55.0461,
                "accurate_pass": 47.5614,
                "duels_won": 2.4875,
                "total_long_balls": 4.0772,
                "accurate_long_balls": 2.181,
                "total_own_half_passes": 19.6453,
                "accurate_own_half_passes": 17.6467,
                "total_opp_half_passes": 35.4008,
                "accurate_opp_half_passes": 29.9147,
                "crosses_total": 3.4483,
                "crosses_accurate": 0.9549,
                "touches": 68.4316,
                "possession_lost": 12.2912,
                "dispossessed": 0.4157,
                "duels_lost": 2.9542,
                "aerial_won": 1.0,
                "aerial_lost": 0.6483,
                "interceptions": 0.7741,
                "tackles_won": 0.253,
                "tackles": 0.5414,
                "clearances": 0.1205,
                "total_contest": 1.2244,
                "won_contest": 0.7599,
                "challenges_lost": 0.7935,
                "fouls": 0.8928,
                "fouls_drawn": 0.9269,
                "blocks": 0.0223,
                "big_chances_created": 0.1703,
                "big_chances_missed": 0.0188,
                "xgot": 0.0986,
                "ball_carries": 22.0879,
                "total_progression": 54.2112,
                "progressive_carries": 0.6622,
                "shots_off_target": 0.9145,
                "duel_xg_multiplier": 1.0452,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.481,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Iker Muñoz",
                "opponent_faced": "Iker Muñoz",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0983,
                "projected_assists": 0,
                "assist_probability": 0.1842,
                "finishing_factor": 1.0935,
                "creation_factor": 0.8,
                "fifa_overall": 85.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1842,
                "provider_weight": 0.1629,
                "squad_weight_total": 1.1393,
                "weight_share": 0.143,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 3,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Isco",
                    "weight": 0.1722,
                    "already": 0,
                    "effective_weight": 0.1722,
                    "runner_up": "Pablo Fornals",
                    "runner_up_effective_weight": 0.1629,
                    "blocked_own_goal": [
                      "Abdessamad Ezzalzouli"
                    ]
                  }
                ]
              }
            }
          ]
        }
      },
      "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.206,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "available_bench_not_projected_used",
            "goals": 0,
            "projected_goals": 0,
            "goal_probability": 0.0,
            "assists": 0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 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.206,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "appearance_probability": 0.109,
                "projected_substitutes": 2,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 10 by projected rating, fifa_overall 76.0; not used by the projection)",
              "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.206,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 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.8202,
            "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.5012,
            "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.206,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "available_bench_not_projected_used",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 76.0
          },
          "latest_10_games": [
            {
              "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.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0157,
                "total_shots": 0,
                "total_pass": 89,
                "accurate_pass": 85,
                "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
            },
            {
              "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
            },
            {
              "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": 90,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0029,
                "total_shots": 0,
                "total_pass": 21,
                "accurate_pass": 15,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 7,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "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": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0238,
                "expected_assists": 0.0102,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 53,
                "accurate_pass": 46,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 5,
                "aerial_won": 1,
                "duels_won": 7,
                "ball_recovery": 1
              },
              "has_player_stats": true
            }
          ],
          "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.8202,
            "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": 31,
          "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": 31,
            "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.0013,
            "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 (31 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.2885,
                "tackles": 0.5085,
                "tackles_won": 0.3183,
                "clearances": 2.2685,
                "aerial_won": 0.7407,
                "total_shots": 0.1245,
                "rating": 6.8202,
                "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.1245
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-11T10:25:50.810190+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 623,
                    "rows": 20487
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 78.0,
                    "is_starting": false,
                    "weight": 0.151,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1283,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1091,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Levante UD",
                    "minutes": 11.0,
                    "is_starting": false,
                    "weight": 0.0927,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0788,
                    "rating": 5.8
                  },
                  {
                    "match_date": "2026-05-12",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.067,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-09",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0569,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-04-21",
                    "opponent": "Girona FC",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0484,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-04-12",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0411,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-04-04",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.035,
                    "rating": 7.1
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalClearance": 5.4833,
                  "aerialWon": 1.3643,
                  "totalClearance_p90": 7.2259,
                  "totalTackle": 1.152,
                  "totalPass": 45.563
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.2885209023952484,
                    "model_output": 0.2885,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3015
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0387
                      },
                      {
                        "name": "touches",
                        "importance": 0.0279
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0248
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0238
                      }
                    ],
                    "decomposition": {
                      "base": 0.859,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4936
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0362
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0131
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0106
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0093
                        }
                      ],
                      "others": -0.0525,
                      "total": 0.2885,
                      "log_link": true,
                      "margin_base": -0.152032,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.854841
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.104204
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.039129
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.031543
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.027753
                        }
                      ],
                      "others_margin": -0.16725
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 0.5084830522537231,
                    "model_output": 0.5085,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2671
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0621
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0475
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0423
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 1.3957,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.7596
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0188
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0164
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0139
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0131
                        }
                      ],
                      "others": -0.0654,
                      "total": 0.5085,
                      "log_link": true,
                      "margin_base": 0.333417,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.785812
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.029934
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.026869
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.023334
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.022608
                        }
                      ],
                      "others_margin": -0.121185
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.31825199723243713,
                    "model_output": 0.3183,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2228
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0652
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0462
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0412
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.8578,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4365
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0251
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0154
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0127
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.011
                        }
                      ],
                      "others": -0.0608,
                      "total": 0.3183,
                      "log_link": true,
                      "margin_base": -0.153422,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.711027
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.061393
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.039587
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.033974
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.029391
                        }
                      ],
                      "others_margin": -0.174901
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.2684812545776367,
                    "model_output": 2.2685,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2968
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1597
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0817
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0344
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0202
                      }
                    ],
                    "decomposition": {
                      "base": 3.4412,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -2.0962
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.3551
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.1287
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.1076
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.1108
                        }
                      ],
                      "others": 0.2213,
                      "total": 2.2685,
                      "log_link": true,
                      "margin_base": 1.235809,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.939451
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.234303
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.072989
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.057168
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.05564
                        }
                      ],
                      "others_margin": 0.102651
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.7406976819038391,
                    "model_output": 0.7407,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1612
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1495
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.087
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0431
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0315
                      }
                    ],
                    "decomposition": {
                      "base": 1.3784,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.7948
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0443
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0445
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0421
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0307
                        }
                      ],
                      "others": -0.0045,
                      "total": 0.7407,
                      "log_link": true,
                      "margin_base": 0.320928,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.85939
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.073122
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.068534
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.06073
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.042014
                        }
                      ],
                      "others_margin": -0.0061
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.12446794658899307,
                    "model_output": 0.1245,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.109
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0656
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0378
                      },
                      {
                        "name": "rating",
                        "importance": 0.0315
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0302
                      }
                    ],
                    "decomposition": {
                      "base": 0.4723,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.213
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0794
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0211
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0173
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0099
                        }
                      ],
                      "others": -0.0417,
                      "total": 0.1245,
                      "log_link": false,
                      "margin_base": 0.47232,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.213045
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.079446
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.02107
                        },
                        {
                          "name": "rating",
                          "margin": 0.01731
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.009934
                        }
                      ],
                      "others_margin": -0.041667
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.82023811340332,
                    "model_output": 6.8202,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0729
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0624
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.059
                      },
                      {
                        "name": "touches",
                        "importance": 0.0384
                      },
                      {
                        "name": "rating",
                        "importance": 0.037
                      }
                    ],
                    "decomposition": {
                      "base": 6.786,
                      "items": [
                        {
                          "name": "accuratePass",
                          "contribution": 0.0274
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0157
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0153
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.012
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0086
                        }
                      ],
                      "others": 0.0278,
                      "total": 6.8202,
                      "log_link": false,
                      "margin_base": 6.785968,
                      "item_margins": [
                        {
                          "name": "accuratePass",
                          "margin": 0.027376
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.015671
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.015315
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.011975
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.008609
                        }
                      ],
                      "others_margin": 0.027832
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 31,
                  "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.0013, quality 0.536)",
              "stats": {
                "interceptions": 0.2889,
                "tackles": 0.5091,
                "tackles_won": 0.3187,
                "clearances": 2.2714,
                "aerial_won": 0.7417,
                "total_shots": 0.1247,
                "rating": 6.8202,
                "minutes": 27.53,
                "total_pass": 18.6014,
                "accurate_pass": 16.4942,
                "duels_won": 1.5222,
                "total_long_balls": 2.048,
                "accurate_long_balls": 1.4161,
                "total_own_half_passes": 11.4842,
                "accurate_own_half_passes": 10.6106,
                "total_opp_half_passes": 7.1171,
                "accurate_opp_half_passes": 5.8835,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 24.8161,
                "possession_lost": 2.9595,
                "dispossessed": 0.0705,
                "duels_lost": 1.5177,
                "aerial_lost": 0.6761,
                "total_contest": 0.2011,
                "won_contest": 0.1305,
                "ball_recovery": 1.2621,
                "challenges_lost": 0.1411,
                "fouls": 0.5594,
                "fouls_drawn": 0.0,
                "blocks": 0.9124,
                "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.9455,
                "total_progression": 4.2406,
                "progressive_carries": 0.0718,
                "key_pass": 0.3821,
                "shots_off_target": 0.1247
              },
              "params": {
                "market_value_eur": 11200000,
                "quality_factor": 0.5365,
                "boost_factor": 1.0013,
                "reference_quality": 0.505,
                "history_matches": 31,
                "history_shrink": 0.1389,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0060)",
              "stats": {
                "interceptions": 0.2908,
                "tackles": 0.5091,
                "tackles_won": 0.3223,
                "clearances": 2.2714,
                "aerial_won": 0.7417,
                "total_shots": 0.1239,
                "rating": 6.8202,
                "minutes": 27.53,
                "total_pass": 18.6014,
                "accurate_pass": 16.4942,
                "duels_won": 1.5222,
                "total_long_balls": 2.048,
                "accurate_long_balls": 1.4161,
                "total_own_half_passes": 11.4842,
                "accurate_own_half_passes": 10.6106,
                "total_opp_half_passes": 7.1171,
                "accurate_opp_half_passes": 5.8835,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 24.8161,
                "possession_lost": 2.9595,
                "dispossessed": 0.0705,
                "duels_lost": 1.5177,
                "aerial_lost": 0.6761,
                "total_contest": 0.2011,
                "won_contest": 0.1305,
                "ball_recovery": 1.2621,
                "challenges_lost": 0.1411,
                "fouls": 0.5579,
                "fouls_drawn": 0.0,
                "blocks": 0.9124,
                "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.9455,
                "total_progression": 4.2406,
                "progressive_carries": 0.0718,
                "key_pass": 0.3821,
                "shots_off_target": 0.1247
              },
              "params": {
                "blend_weight": 0.006,
                "history_matches": 31,
                "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.1475,
                "tackles": 0.2582,
                "tackles_won": 0.1635,
                "clearances": 1.1521,
                "aerial_won": 0.3762,
                "total_shots": 0.0633,
                "rating": 6.8202,
                "minutes": 13.96,
                "total_pass": 9.4354,
                "accurate_pass": 8.3665,
                "duels_won": 0.7721,
                "total_long_balls": 1.0388,
                "accurate_long_balls": 0.7183,
                "total_own_half_passes": 5.8253,
                "accurate_own_half_passes": 5.3821,
                "total_opp_half_passes": 3.6101,
                "accurate_opp_half_passes": 2.9844,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 12.5877,
                "possession_lost": 1.5012,
                "dispossessed": 0.0705,
                "duels_lost": 0.7698,
                "aerial_lost": 0.6761,
                "total_contest": 0.102,
                "won_contest": 0.0662,
                "ball_recovery": 0.6402,
                "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.5086,
                "total_progression": 2.151,
                "progressive_carries": 0.0364,
                "key_pass": 0.1938,
                "shots_off_target": 0.0633,
                "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.1475,
                "tackles": 0.2582,
                "tackles_won": 0.1635,
                "clearances": 1.1521,
                "aerial_won": 0.3762,
                "total_shots": 0.0633,
                "rating": 6.8202,
                "minutes": 13.96,
                "total_pass": 9.4354,
                "accurate_pass": 8.3665,
                "duels_won": 0.7721,
                "total_long_balls": 1.0388,
                "accurate_long_balls": 0.7183,
                "total_own_half_passes": 5.8253,
                "accurate_own_half_passes": 5.3821,
                "total_opp_half_passes": 3.6101,
                "accurate_opp_half_passes": 2.9844,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 12.5877,
                "possession_lost": 1.5012,
                "dispossessed": 0.0705,
                "duels_lost": 0.7698,
                "aerial_lost": 0.6761,
                "total_contest": 0.102,
                "won_contest": 0.0662,
                "ball_recovery": 0.6402,
                "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.5086,
                "total_progression": 2.151,
                "progressive_carries": 0.0364,
                "key_pass": 0.1938,
                "shots_off_target": 0.0633,
                "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.1475,
                "tackles": 0.2582,
                "tackles_won": 0.1635,
                "clearances": 1.1521,
                "aerial_won": 0.3762,
                "total_shots": 0.0633,
                "rating": 6.8202,
                "minutes": 13.96,
                "total_pass": 9.4354,
                "accurate_pass": 8.3665,
                "duels_won": 0.7721,
                "total_long_balls": 1.0388,
                "accurate_long_balls": 0.7183,
                "total_own_half_passes": 5.8253,
                "accurate_own_half_passes": 5.3821,
                "total_opp_half_passes": 3.6101,
                "accurate_opp_half_passes": 2.9844,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 12.5877,
                "possession_lost": 1.5012,
                "dispossessed": 0.0705,
                "duels_lost": 0.7698,
                "aerial_lost": 0.6761,
                "total_contest": 0.102,
                "won_contest": 0.0662,
                "ball_recovery": 0.6402,
                "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.5086,
                "total_progression": 2.151,
                "progressive_carries": 0.0364,
                "key_pass": 0.1938,
                "shots_off_target": 0.0633,
                "bench_appearance_probability": 0.225,
                "bench_expected_minutes": 13.96,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.206,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "appearance_probability": 0.225,
                "projected_substitutes": 2,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 9 by projected rating, fifa_overall 76.0; not used by the projection)",
              "stats": {
                "interceptions": 0.1475,
                "tackles": 0.2582,
                "tackles_won": 0.1635,
                "clearances": 1.1521,
                "aerial_won": 0.3762,
                "total_shots": 0.0633,
                "rating": 6.8202,
                "minutes": 13.96,
                "total_pass": 9.4354,
                "accurate_pass": 8.3665,
                "duels_won": 0.7721,
                "total_long_balls": 1.0388,
                "accurate_long_balls": 0.7183,
                "total_own_half_passes": 5.8253,
                "accurate_own_half_passes": 5.3821,
                "total_opp_half_passes": 3.6101,
                "accurate_opp_half_passes": 2.9844,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 12.5877,
                "possession_lost": 1.5012,
                "dispossessed": 0.0705,
                "duels_lost": 0.7698,
                "aerial_lost": 0.6761,
                "total_contest": 0.102,
                "won_contest": 0.0662,
                "ball_recovery": 0.6402,
                "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.5086,
                "total_progression": 2.151,
                "progressive_carries": 0.0364,
                "key_pass": 0.1938,
                "shots_off_target": 0.0633,
                "bench_appearance_probability": 0.225,
                "bench_expected_minutes": 13.96,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.206,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 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
              }
            }
          ]
        },
        "Angel Ortiz": {
          "player_id": 1152139,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 12,
          "height": 167,
          "market_value": 6600000,
          "stats": {
            "interceptions": 0,
            "tackles": 1,
            "tackles_won": 0,
            "clearances": 1,
            "aerial_won": 0,
            "total_shots": 0,
            "rating": 6.744,
            "minutes": 14,
            "total_pass": 6,
            "accurate_pass": 5,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 3,
            "accurate_own_half_passes": 2,
            "total_opp_half_passes": 4,
            "accurate_opp_half_passes": 3,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 12,
            "possession_lost": 2.5942,
            "dispossessed": 0.3659,
            "duels_lost": 1,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.0413,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 4,
            "total_progression": 24,
            "progressive_carries": 1,
            "key_pass": 1,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.221,
            "bench_expected_minutes": 13.75,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.206,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "available_bench_not_projected_used",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 70.0
          },
          "latest_10_games": [
            {
              "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.0273,
                "total_shots": 0,
                "total_pass": 33,
                "accurate_pass": 33,
                "key_pass": 2,
                "tackles": 3,
                "tackles_won": 3,
                "interceptions": 1,
                "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
            },
            {
              "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
            },
            {
              "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
            },
            {
              "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
            },
            {
              "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
            },
            {
              "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
            },
            {
              "match_id": 14083224,
              "match_date": "2026-01-17",
              "home_team": "Real Betis",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0108,
                "total_shots": 0,
                "total_pass": 2,
                "accurate_pass": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083218,
              "match_date": "2026-01-10",
              "home_team": "Real Oviedo",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Real Oviedo",
              "stats": {
                "minutes": 61,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0129,
                "total_shots": 0,
                "total_pass": 18,
                "accurate_pass": 14,
                "tackles": 4,
                "tackles_won": 3,
                "clearances": 1,
                "duels_won": 6,
                "ball_recovery": 3
              },
              "has_player_stats": true
            }
          ],
          "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": 15,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.744,
            "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": 15,
          "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": 15,
            "data_confidence": 0.758,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 13.74776713229367,
            "bench_appearance_prob": 0.221,
            "market_value_adjustment": 0.9983,
            "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.0533
            },
            "rationale": "Bench projection scaled from XGBoost D_service (15 historical appearances) to 13.7 expected mins (appearance prob 0.22); FBref playing time empirical prior: 0.0 sub appearances, 0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 0.3274,
                "tackles": 0.7667,
                "tackles_won": 0.5056,
                "clearances": 0.7291,
                "aerial_won": 0.2673,
                "total_shots": 0.153,
                "rating": 6.744,
                "minutes": 14.8,
                "total_pass": 6.709,
                "accurate_pass": 5.7679,
                "duels_won": 0.9672,
                "total_long_balls": 0.4817,
                "accurate_long_balls": 0.4817,
                "total_own_half_passes": 2.9318,
                "accurate_own_half_passes": 2.3384,
                "total_opp_half_passes": 3.7772,
                "accurate_opp_half_passes": 3.4295,
                "crosses_total": 0.8604,
                "crosses_accurate": 0.2408,
                "touches": 12.6452,
                "possession_lost": 2.7976,
                "dispossessed": 0.3665,
                "duels_lost": 0.5712,
                "aerial_lost": 0.0,
                "total_contest": 0.174,
                "won_contest": 0.174,
                "ball_recovery": 0.9378,
                "challenges_lost": 0.0,
                "fouls": 0.2047,
                "fouls_drawn": 0.0,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0446,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.7444,
                "total_progression": 25.7159,
                "progressive_carries": 1.2037,
                "key_pass": 0.6195,
                "shots_off_target": 0.153
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-11T10:25:50.810190+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 623,
                    "rows": 20487
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Getafe",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.1644,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Valencia",
                    "minutes": 71.0,
                    "is_starting": true,
                    "weight": 0.1397,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-03-22",
                    "opponent": "Athletic Club",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.1187,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-03-08",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1009,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-02-21",
                    "opponent": "Rayo Vallecano",
                    "minutes": 21.0,
                    "is_starting": false,
                    "weight": 0.0858,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-02-15",
                    "opponent": "Mallorca",
                    "minutes": 23.0,
                    "is_starting": false,
                    "weight": 0.0729,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-02-01",
                    "opponent": "Valencia",
                    "minutes": 1.0,
                    "is_starting": false,
                    "weight": 0.062,
                    "rating": 0.0
                  },
                  {
                    "match_date": "2026-01-25",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0527,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-01-17",
                    "opponent": "Villarreal",
                    "minutes": 1.0,
                    "is_starting": false,
                    "weight": 0.0448,
                    "rating": 0.0
                  },
                  {
                    "match_date": "2026-01-10",
                    "opponent": "Real Oviedo",
                    "minutes": 61.0,
                    "is_starting": true,
                    "weight": 0.0381,
                    "rating": 7.3
                  }
                ],
                "feature_row": {
                  "history_matches": 15.0,
                  "is_starting_11": 0.0,
                  "totalClearance": 1.3546,
                  "aerialWon": 0.1009,
                  "totalClearance_p90": 2.6286,
                  "totalTackle": 2.8397,
                  "totalPass": 25.0265
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.327440470457077,
                    "model_output": 0.3274,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3015
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0387
                      },
                      {
                        "name": "touches",
                        "importance": 0.0279
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0248
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0238
                      }
                    ],
                    "decomposition": {
                      "base": 0.859,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.472
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0435
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.014
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0112
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.011
                        }
                      ],
                      "others": -0.0243,
                      "total": 0.3274,
                      "log_link": true,
                      "margin_base": -0.152032,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.797375
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.119231
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.041688
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.033438
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.031814
                        }
                      ],
                      "others_margin": -0.071376
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 0.7667253017425537,
                    "model_output": 0.7667,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2671
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0621
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0475
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0423
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 1.3957,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.8018
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0338
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0329
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0328
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0292
                        }
                      ],
                      "others": 0.1099,
                      "total": 0.7667,
                      "log_link": true,
                      "margin_base": 0.333417,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.854426
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.055394
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.053914
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.05367
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.045409
                        }
                      ],
                      "others_margin": 0.154823
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.5056377053260803,
                    "model_output": 0.5056,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2228
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0652
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0462
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0412
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.8578,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4679
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0227
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0177
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0171
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0175
                        }
                      ],
                      "others": 0.0761,
                      "total": 0.5056,
                      "log_link": true,
                      "margin_base": -0.153422,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.788455
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.05653
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.043896
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.042402
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.041562
                        }
                      ],
                      "others_margin": 0.163344
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 0.7290847301483154,
                    "model_output": 0.7291,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2968
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1597
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0817
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0344
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0202
                      }
                    ],
                    "decomposition": {
                      "base": 3.4412,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -2.0648
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.3023
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0981
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0807
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0503
                        }
                      ],
                      "others": -0.1159,
                      "total": 0.7291,
                      "log_link": true,
                      "margin_base": 1.235809,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.916335
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.247959
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.095793
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.086276
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.057867
                        }
                      ],
                      "others_margin": -0.147543
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.26729580760002136,
                    "model_output": 0.2673,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1612
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1495
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.087
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0431
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0315
                      }
                    ],
                    "decomposition": {
                      "base": 1.3784,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.7924
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.2287
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0305
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.0183
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0159
                        }
                      ],
                      "others": -0.0571,
                      "total": 0.2673,
                      "log_link": true,
                      "margin_base": 0.320928,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.85534
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.494819
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.089125
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": -0.057686
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": 0.050119
                        }
                      ],
                      "others_margin": -0.193476
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.15302129089832306,
                    "model_output": 0.153,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.109
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0656
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0378
                      },
                      {
                        "name": "rating",
                        "importance": 0.0315
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0302
                      }
                    ],
                    "decomposition": {
                      "base": 0.4723,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2193
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0993
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0503
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0116
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": 0.0112
                        }
                      ],
                      "others": -0.0506,
                      "total": 0.153,
                      "log_link": false,
                      "margin_base": 0.47232,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.219329
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.099253
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.050304
                        },
                        {
                          "name": "rating",
                          "margin": -0.011584
                        },
                        {
                          "name": "duelWon_p90",
                          "margin": 0.011151
                        }
                      ],
                      "others_margin": -0.050587
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.74398136138916,
                    "model_output": 6.744,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0729
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0624
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.059
                      },
                      {
                        "name": "touches",
                        "importance": 0.0384
                      },
                      {
                        "name": "rating",
                        "importance": 0.037
                      }
                    ],
                    "decomposition": {
                      "base": 6.786,
                      "items": [
                        {
                          "name": "touches_p90",
                          "contribution": 0.0465
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0227
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0186
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.009
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0088
                        }
                      ],
                      "others": -0.0294,
                      "total": 6.744,
                      "log_link": false,
                      "margin_base": 6.785968,
                      "item_margins": [
                        {
                          "name": "touches_p90",
                          "margin": 0.046508
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.02266
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.018551
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.00902
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.008846
                        }
                      ],
                      "others_margin": -0.029417
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 15,
                  "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.9983, quality 0.482)",
              "stats": {
                "interceptions": 0.3269,
                "tackles": 0.7654,
                "tackles_won": 0.5048,
                "clearances": 0.7278,
                "aerial_won": 0.2668,
                "total_shots": 0.1528,
                "rating": 6.744,
                "minutes": 14.8,
                "total_pass": 6.6976,
                "accurate_pass": 5.7581,
                "duels_won": 0.9656,
                "total_long_balls": 0.4809,
                "accurate_long_balls": 0.4809,
                "total_own_half_passes": 2.9268,
                "accurate_own_half_passes": 2.3344,
                "total_opp_half_passes": 3.7708,
                "accurate_opp_half_passes": 3.4237,
                "crosses_total": 0.8589,
                "crosses_accurate": 0.2404,
                "touches": 12.6237,
                "possession_lost": 2.7928,
                "dispossessed": 0.3659,
                "duels_lost": 0.5702,
                "aerial_lost": 0.0,
                "total_contest": 0.1737,
                "won_contest": 0.1737,
                "ball_recovery": 0.9362,
                "challenges_lost": 0.0,
                "fouls": 0.2044,
                "fouls_drawn": 0.0,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0445,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.7363,
                "total_progression": 25.6722,
                "progressive_carries": 1.2017,
                "key_pass": 0.6184,
                "shots_off_target": 0.1527
              },
              "params": {
                "market_value_eur": 6600000,
                "quality_factor": 0.4818,
                "boost_factor": 0.9983,
                "reference_quality": 0.505,
                "history_matches": 15,
                "history_shrink": 0.25,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0087)",
              "stats": {
                "interceptions": 0.3241,
                "tackles": 0.7654,
                "tackles_won": 0.504,
                "clearances": 0.7278,
                "aerial_won": 0.2668,
                "total_shots": 0.1533,
                "rating": 6.744,
                "minutes": 14.8,
                "total_pass": 6.6976,
                "accurate_pass": 5.7581,
                "duels_won": 0.9656,
                "total_long_balls": 0.4809,
                "accurate_long_balls": 0.4809,
                "total_own_half_passes": 2.9268,
                "accurate_own_half_passes": 2.3344,
                "total_opp_half_passes": 3.7708,
                "accurate_opp_half_passes": 3.4237,
                "crosses_total": 0.8515,
                "crosses_accurate": 0.2404,
                "touches": 12.6237,
                "possession_lost": 2.7928,
                "dispossessed": 0.3659,
                "duels_lost": 0.5702,
                "aerial_lost": 0.0,
                "total_contest": 0.1737,
                "won_contest": 0.1737,
                "ball_recovery": 0.9362,
                "challenges_lost": 0.0,
                "fouls": 0.2044,
                "fouls_drawn": 0.0,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0445,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.7363,
                "total_progression": 25.6722,
                "progressive_carries": 1.2017,
                "key_pass": 0.6184,
                "shots_off_target": 0.1527
              },
              "params": {
                "blend_weight": 0.0087,
                "history_matches": 15,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.1644,
                "prior_reliability": 0.0533,
                "competition": "La Liga",
                "squad": "Real Betis"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 0.8589,
                  "after": 0.8515
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 14.8 to 13.7 expected minutes (appearance prob 0.22)",
              "stats": {
                "interceptions": 0.3011,
                "tackles": 0.711,
                "tackles_won": 0.4682,
                "clearances": 0.6761,
                "aerial_won": 0.2478,
                "total_shots": 0.1424,
                "rating": 6.744,
                "minutes": 13.75,
                "total_pass": 6.2214,
                "accurate_pass": 5.3487,
                "duels_won": 0.8969,
                "total_long_balls": 0.4467,
                "accurate_long_balls": 0.4467,
                "total_own_half_passes": 2.7187,
                "accurate_own_half_passes": 2.1684,
                "total_opp_half_passes": 3.5027,
                "accurate_opp_half_passes": 3.1803,
                "crosses_total": 0.791,
                "crosses_accurate": 0.2233,
                "touches": 11.7262,
                "possession_lost": 2.5942,
                "dispossessed": 0.3659,
                "duels_lost": 0.5297,
                "aerial_lost": 0.0,
                "total_contest": 0.1614,
                "won_contest": 0.1614,
                "ball_recovery": 0.8696,
                "challenges_lost": 0.0,
                "fouls": 0.1899,
                "fouls_drawn": 0.0,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0413,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.3996,
                "total_progression": 23.847,
                "progressive_carries": 1.1163,
                "key_pass": 0.5744,
                "shots_off_target": 0.1418,
                "bench_appearance_probability": 0.221,
                "bench_expected_minutes": 13.75
              },
              "params": {
                "expected_minutes": 13.75,
                "projection_minutes": 14.8,
                "minutes_scale": 0.9289,
                "appearance_probability": 0.221
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.3011,
                "tackles": 0.711,
                "tackles_won": 0.4682,
                "clearances": 0.6761,
                "aerial_won": 0.2478,
                "total_shots": 0.1424,
                "rating": 6.744,
                "minutes": 13.75,
                "total_pass": 6.2214,
                "accurate_pass": 5.3487,
                "duels_won": 0.8969,
                "total_long_balls": 0.4467,
                "accurate_long_balls": 0.4467,
                "total_own_half_passes": 2.7187,
                "accurate_own_half_passes": 2.1684,
                "total_opp_half_passes": 3.5027,
                "accurate_opp_half_passes": 3.1803,
                "crosses_total": 0.791,
                "crosses_accurate": 0.2233,
                "touches": 11.7262,
                "possession_lost": 2.5942,
                "dispossessed": 0.3659,
                "duels_lost": 0.5297,
                "aerial_lost": 0.0,
                "total_contest": 0.1614,
                "won_contest": 0.1614,
                "ball_recovery": 0.8696,
                "challenges_lost": 0.0,
                "fouls": 0.1899,
                "fouls_drawn": 0.0,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0413,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.3996,
                "total_progression": 23.847,
                "progressive_carries": 1.1163,
                "key_pass": 0.5744,
                "shots_off_target": 0.1418,
                "bench_appearance_probability": 0.221,
                "bench_expected_minutes": 13.75
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "not_projected_to_play",
              "description": "Not among the projected substitutes: no share of the team's goals or assists",
              "stats": {
                "interceptions": 0.3011,
                "tackles": 0.711,
                "tackles_won": 0.4682,
                "clearances": 0.6761,
                "aerial_won": 0.2478,
                "total_shots": 0.1424,
                "rating": 6.744,
                "minutes": 13.75,
                "total_pass": 6.2214,
                "accurate_pass": 5.3487,
                "duels_won": 0.8969,
                "total_long_balls": 0.4467,
                "accurate_long_balls": 0.4467,
                "total_own_half_passes": 2.7187,
                "accurate_own_half_passes": 2.1684,
                "total_opp_half_passes": 3.5027,
                "accurate_opp_half_passes": 3.1803,
                "crosses_total": 0.791,
                "crosses_accurate": 0.2233,
                "touches": 11.7262,
                "possession_lost": 2.5942,
                "dispossessed": 0.3659,
                "duels_lost": 0.5297,
                "aerial_lost": 0.0,
                "total_contest": 0.1614,
                "won_contest": 0.1614,
                "ball_recovery": 0.8696,
                "challenges_lost": 0.0,
                "fouls": 0.1899,
                "fouls_drawn": 0.0,
                "blocks": 0.0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0413,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.3996,
                "total_progression": 23.847,
                "progressive_carries": 1.1163,
                "key_pass": 0.5744,
                "shots_off_target": 0.1418,
                "bench_appearance_probability": 0.221,
                "bench_expected_minutes": 13.75,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.206,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "appearance_probability": 0.221,
                "projected_substitutes": 2,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 15 by projected rating, fifa_overall 70.0; not used by the projection)",
              "stats": {
                "interceptions": 0.3011,
                "tackles": 0.711,
                "tackles_won": 0.4682,
                "clearances": 0.6761,
                "aerial_won": 0.2478,
                "total_shots": 0.1424,
                "rating": 6.744,
                "minutes": 13.75,
                "total_pass": 6.2214,
                "accurate_pass": 5.3487,
                "duels_won": 0.8969,
                "total_long_balls": 0.4467,
                "accurate_long_balls": 0.4467,
                "total_own_half_passes": 2.7187,
                "accurate_own_half_passes": 2.1684,
                "total_opp_half_passes": 3.5027,
                "accurate_opp_half_passes": 3.1803,
                "crosses_total": 0.791,
                "crosses_accurate": 0.2233,
                "touches": 11.7262,
                "possession_lost": 2.5942,
                "dispossessed": 0.3659,
                "duels_lost": 0.5297,
                "aerial_lost": 0.0,
                "total_contest": 0.1614,
                "won_contest": 0.1614,
                "ball_recovery": 0.8696,
                "challenges_lost": 0.0,
                "fouls": 0.1899,
                "fouls_drawn": 0.0,
                "blocks": 0.0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0413,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.3996,
                "total_progression": 23.847,
                "progressive_carries": 1.1163,
                "key_pass": 0.5744,
                "shots_off_target": 0.1418,
                "bench_appearance_probability": 0.221,
                "bench_expected_minutes": 13.75,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.206,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 70.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": 4946,
                "fifa_rank": 5918.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 70.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.0205,
            "assist_rate": 0.0375,
            "assists": 0,
            "expected_goals": 0.0219,
            "goal_rate": 0.0287,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.7468,
            "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.206,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "available_bench_not_projected_used",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 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
            },
            {
              "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
            },
            {
              "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
            },
            {
              "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
            },
            {
              "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
            },
            {
              "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
            },
            {
              "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
            },
            {
              "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
            },
            {
              "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
            }
          ],
          "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.7468,
            "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.2454,
                "expected_assists": 0.0195,
                "assists": 0.0356,
                "assist_rate": 0.0356,
                "expected_goals": 0.0208,
                "goals": 0.0273,
                "goal_rate": 0.0273,
                "shots_on_target": 0.0709,
                "total_shots": 0.2675,
                "rating": 6.7468,
                "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.1966
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-11T10:26:42.530573+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 894,
                    "rows": 23497
                  }
                },
                "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,
                  "creative_index": 0.1658,
                  "expectedGoals": 0.0163,
                  "expectedAssists": 0.0247,
                  "onTargetScoringAttempt": 0.2355
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.24537141621112823,
                    "model_output": 0.2454,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1648
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1344
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0672
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0573
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0281
                      }
                    ],
                    "decomposition": {
                      "base": 0.8857,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3858
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0551
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0487
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0374
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0251
                        }
                      ],
                      "others": -0.0882,
                      "total": 0.2454,
                      "log_link": true,
                      "margin_base": -0.121432,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.57205
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.116829
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.116008
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.099195
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.072429
                        }
                      ],
                      "others_margin": -0.30704
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.01947379857301712,
                    "model_output": 0.0195,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1094
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1055
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.099
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0603
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0557
                      }
                    ],
                    "decomposition": {
                      "base": 0.0855,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0343
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0109
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0061
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0044
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0018
                        }
                      ],
                      "others": -0.0085,
                      "total": 0.0195,
                      "log_link": true,
                      "margin_base": -2.458929,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.513335
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.238882
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.165517
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.137392
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": -0.062221
                        }
                      ],
                      "others_margin": -0.362409
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.035573944449424744,
                    "model_output": 0.0356,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0515
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0436
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0436
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0319
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.03
                      }
                    ],
                    "decomposition": {
                      "base": 0.0858,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.019
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0078
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0053
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": -0.0039
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0035
                        }
                      ],
                      "others": -0.0107,
                      "total": 0.0356,
                      "log_link": true,
                      "margin_base": -2.456317,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.250673
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.123642
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.093492
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": -0.075566
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.072967
                        }
                      ],
                      "others_margin": -0.263485
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.0207521952688694,
                    "model_output": 0.0208,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1335
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.086
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0661
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0433
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.0936,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0365
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0206
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.006
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0021
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0019
                        }
                      ],
                      "others": -0.0057,
                      "total": 0.0208,
                      "log_link": true,
                      "margin_base": -2.368441,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.494514
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.448392
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.178253
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.072223
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.069724
                        }
                      ],
                      "others_margin": -0.243556
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.027280451729893684,
                    "model_output": 0.0273,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0863
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0517
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0485
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0373
                      },
                      {
                        "name": "goals",
                        "importance": 0.0275
                      }
                    ],
                    "decomposition": {
                      "base": 0.0966,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0304
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0153
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0072
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0035
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0022
                        }
                      ],
                      "others": -0.0107,
                      "total": 0.0273,
                      "log_link": true,
                      "margin_base": -2.337105,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.377231
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.262469
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.153061
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.083351
                        },
                        {
                          "name": "totalProgression",
                          "margin": -0.056967
                        }
                      ],
                      "others_margin": -0.331402
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.0708879828453064,
                    "model_output": 0.0709,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.108
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0886
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0725
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0371
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.324,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1429
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.043
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0204
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0164
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0048
                        }
                      ],
                      "others": -0.0256,
                      "total": 0.0709,
                      "log_link": true,
                      "margin_base": -1.126872,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.581421
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.270717
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.159353
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.149984
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.048192
                        }
                      ],
                      "others_margin": -0.310115
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.2674679160118103,
                    "model_output": 0.2675,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1275
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1232
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0542
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0485
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0257
                      }
                    ],
                    "decomposition": {
                      "base": 0.99,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3285
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1808
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0341
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0322
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0277
                        }
                      ],
                      "others": -0.1192,
                      "total": 0.2675,
                      "log_link": false,
                      "margin_base": 0.989981,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.328523
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.18084
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.034087
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.032172
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.027659
                        }
                      ],
                      "others_margin": -0.119233
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.74675178527832,
                    "model_output": 6.7468,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0898
                      },
                      {
                        "name": "rating",
                        "importance": 0.0801
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0397
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0337
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0318
                      }
                    ],
                    "decomposition": {
                      "base": 6.8504,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1028
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0093
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0079
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0078
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0077
                        }
                      ],
                      "others": -0.0021,
                      "total": 6.7468,
                      "log_link": false,
                      "margin_base": 6.850356,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.102804
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.00928
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.007911
                        },
                        {
                          "name": "rating",
                          "margin": -0.007767
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.007718
                        }
                      ],
                      "others_margin": -0.002121
                    }
                  }
                ],
                "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.2469,
                "expected_assists": 0.0196,
                "assists": 0.0358,
                "assist_rate": 0.0358,
                "expected_goals": 0.0209,
                "goals": 0.0274,
                "goal_rate": 0.0274,
                "shots_on_target": 0.0713,
                "total_shots": 0.2691,
                "rating": 6.7468,
                "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.1978
              },
              "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.2585,
                "expected_assists": 0.0205,
                "assists": 0.0375,
                "assist_rate": 0.0375,
                "expected_goals": 0.0219,
                "goals": 0.0287,
                "goal_rate": 0.0287,
                "shots_on_target": 0.0747,
                "total_shots": 0.2818,
                "rating": 6.7468,
                "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.2071,
                "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.2585,
                "expected_assists": 0.0205,
                "assists": 0.0375,
                "assist_rate": 0.0375,
                "expected_goals": 0.0219,
                "goals": 0.0287,
                "goal_rate": 0.0287,
                "shots_on_target": 0.0747,
                "total_shots": 0.2818,
                "rating": 6.7468,
                "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.2071,
                "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.2585,
                "expected_assists": 0.0205,
                "assist_rate": 0.0375,
                "assists": 0,
                "expected_goals": 0.0219,
                "goal_rate": 0.0287,
                "goals": 0,
                "shots_on_target": 0.0747,
                "total_shots": 0.2818,
                "rating": 6.7468,
                "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.2071,
                "bench_appearance_probability": 0.532,
                "bench_expected_minutes": 22.71,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.206,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "appearance_probability": 0.532,
                "projected_substitutes": 2,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 14 by projected rating, fifa_overall 80.0; not used by the projection)",
              "stats": {
                "key_pass": 0.2585,
                "expected_assists": 0.0205,
                "assist_rate": 0.0375,
                "assists": 0,
                "expected_goals": 0.0219,
                "goal_rate": 0.0287,
                "goals": 0,
                "shots_on_target": 0.0747,
                "total_shots": 0.2818,
                "rating": 6.7468,
                "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.2071,
                "bench_appearance_probability": 0.532,
                "bench_expected_minutes": 22.71,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.206,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 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": 1,
            "expected_assists": 0.0526,
            "assist_rate": 0.0679,
            "assists": 0,
            "expected_goals": 0.0995,
            "goal_rate": 0.0874,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.7748,
            "minutes": 20,
            "total_pass": 12,
            "accurate_pass": 10,
            "duels_won": 3,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 3,
            "accurate_own_half_passes": 3,
            "total_opp_half_passes": 9,
            "accurate_opp_half_passes": 7,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 18,
            "possession_lost": 3.735,
            "dispossessed": 0.4723,
            "duels_lost": 2,
            "aerial_won": 1,
            "aerial_lost": 1,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 1,
            "won_contest": 1,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.1619,
            "ball_carries": 6,
            "total_progression": 33,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.57,
            "bench_expected_minutes": 19.93,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.206,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.054,
            "projected_assists": 0,
            "assist_probability": 0.0292,
            "finishing_factor": 1.0785,
            "creation_factor": 1.25,
            "fifa_overall": 75.0
          },
          "latest_10_games": [
            {
              "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.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0253,
                "expected_assists": 0.0447,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 65,
                "accurate_pass": 52,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 2,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 10,
                "ball_recovery": 10
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 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"
            },
            {
              "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_goals": 0.0116,
                "expected_assists": 0.0201,
                "total_shots": 1,
                "total_pass": 41,
                "accurate_pass": 30,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "aerial_won": 2,
                "duels_won": 5,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "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": 0,
              "team": "Real Betis",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 12,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0115,
                "total_shots": 0,
                "total_pass": 6,
                "accurate_pass": 5,
                "key_pass": 1,
                "aerial_won": 1,
                "duels_won": 2
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083381,
              "match_date": "2026-05-03",
              "home_team": "Real Betis",
              "away_team": "Real Oviedo",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Real Oviedo",
              "stats": {
                "minutes": 20,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0062,
                "total_shots": 0,
                "total_pass": 12,
                "accurate_pass": 11,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 1
              },
              "has_player_stats": true
            }
          ],
          "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": 11,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7748,
            "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": 27,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 27,
            "data_confidence": 0.764,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 19.93,
            "bench_appearance_prob": 0.57,
            "market_value_adjustment": 1.0007,
            "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 (27 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.555,
                "expected_assists": 0.0355,
                "assists": 0.0618,
                "assist_rate": 0.0618,
                "expected_goals": 0.0698,
                "goals": 0.0795,
                "goal_rate": 0.0795,
                "shots_on_target": 0.2137,
                "total_shots": 0.8025,
                "rating": 6.7748,
                "minutes": 17.97,
                "total_pass": 10.6795,
                "accurate_pass": 8.6696,
                "duels_won": 2.7341,
                "total_long_balls": 0.4078,
                "accurate_long_balls": 0.3848,
                "total_own_half_passes": 2.7557,
                "accurate_own_half_passes": 2.3838,
                "total_opp_half_passes": 7.9238,
                "accurate_opp_half_passes": 6.2858,
                "crosses_total": 0.1024,
                "crosses_accurate": 0.0,
                "touches": 16.1022,
                "possession_lost": 3.3653,
                "dispossessed": 0.472,
                "duels_lost": 2.0373,
                "aerial_won": 1.2364,
                "aerial_lost": 0.5954,
                "interceptions": 0.0519,
                "tackles_won": 0.338,
                "tackles": 0.338,
                "clearances": 0.2983,
                "total_contest": 1.1354,
                "won_contest": 0.8367,
                "challenges_lost": 0.1519,
                "fouls": 0.5359,
                "fouls_drawn": 0.3229,
                "blocks": 0.0,
                "big_chances_created": 0.2125,
                "big_chances_missed": 0.1726,
                "xgot": 0.1134,
                "ball_carries": 5.6297,
                "total_progression": 30.1273,
                "progressive_carries": 0.8376,
                "shots_off_target": 0.5888
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-11T10:26:42.530573+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 894,
                    "rows": 23497
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 61.0,
                    "is_starting": true,
                    "weight": 0.1519,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1291,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-09-14",
                    "opponent": "Villarreal",
                    "minutes": 23.0,
                    "is_starting": false,
                    "weight": 0.1097,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-09-04",
                    "opponent": "Real Madrid",
                    "minutes": 22.0,
                    "is_starting": false,
                    "weight": 0.0933,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Levante UD",
                    "minutes": 23.0,
                    "is_starting": false,
                    "weight": 0.0793,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0674,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Sociedad",
                    "minutes": 10.0,
                    "is_starting": false,
                    "weight": 0.0573,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0487,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-05-09",
                    "opponent": "Real Sociedad",
                    "minutes": 12.0,
                    "is_starting": false,
                    "weight": 0.0414,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-03",
                    "opponent": "Real Oviedo",
                    "minutes": 20.0,
                    "is_starting": false,
                    "weight": 0.0352,
                    "rating": 6.8
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalShots": 1.5725,
                  "creative_index": 0.32,
                  "expectedGoals": 0.0643,
                  "expectedAssists": 0.0398,
                  "onTargetScoringAttempt": 0.4633
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.5550058484077454,
                    "model_output": 0.555,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1648
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1344
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0672
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0573
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0281
                      }
                    ],
                    "decomposition": {
                      "base": 0.8857,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3618
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0362
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.033
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0301
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0208
                        }
                      ],
                      "others": 0.1096,
                      "total": 0.555,
                      "log_link": true,
                      "margin_base": -0.121432,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.525087
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.071582
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.070133
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.068391
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.047755
                        }
                      ],
                      "others_margin": 0.220094
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.03552982583642006,
                    "model_output": 0.0355,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1094
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1055
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.099
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0603
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0557
                      }
                    ],
                    "decomposition": {
                      "base": 0.0855,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0349
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0099
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0049
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0021
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0018
                        }
                      ],
                      "others": -0.0,
                      "total": 0.0355,
                      "log_link": true,
                      "margin_base": -2.458929,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.524956
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.216971
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.127571
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": -0.059237
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.050702
                        }
                      ],
                      "others_margin": -0.00042
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.06179693713784218,
                    "model_output": 0.0618,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0515
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0436
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0436
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0319
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.03
                      }
                    ],
                    "decomposition": {
                      "base": 0.0858,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0205
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0095
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0048
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0049
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0039
                        }
                      ],
                      "others": 0.0002,
                      "total": 0.0618,
                      "log_link": true,
                      "margin_base": -2.456317,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.27253
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.156724
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.083009
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.077899
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.061394
                        }
                      ],
                      "others_margin": 0.002158
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.06975729018449783,
                    "model_output": 0.0698,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1335
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.086
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0661
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0433
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.0936,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0361
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0074
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0075
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0069
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0062
                        }
                      ],
                      "others": -0.0019,
                      "total": 0.0698,
                      "log_link": true,
                      "margin_base": -2.368441,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.487465
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.12123
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.109023
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.100851
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.091014
                        }
                      ],
                      "others_margin": -0.027244
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.07951851189136505,
                    "model_output": 0.0795,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0863
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0517
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0485
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0373
                      },
                      {
                        "name": "goals",
                        "importance": 0.0275
                      }
                    ],
                    "decomposition": {
                      "base": 0.0966,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0313
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0138
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0089
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.008
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0064
                        }
                      ],
                      "others": -0.0101,
                      "total": 0.0795,
                      "log_link": true,
                      "margin_base": -2.337105,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.391688
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.192292
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.10633
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.086495
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.06894
                        }
                      ],
                      "others_margin": -0.119149
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.21372203528881073,
                    "model_output": 0.2137,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.108
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0886
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0725
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0371
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.324,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1513
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0356
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0186
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0135
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0118
                        }
                      ],
                      "others": -0.0149,
                      "total": 0.2137,
                      "log_link": true,
                      "margin_base": -1.126872,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.629076
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.187167
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.085709
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.057801
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.050428
                        }
                      ],
                      "others_margin": -0.067379
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.80253666639328,
                    "model_output": 0.8025,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1275
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1232
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0542
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0485
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0257
                      }
                    ],
                    "decomposition": {
                      "base": 0.99,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.5103
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.2443
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0488
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0407
                        },
                        {
                          "name": "dispossessed",
                          "contribution": 0.0246
                        }
                      ],
                      "others": -0.0356,
                      "total": 0.8025,
                      "log_link": false,
                      "margin_base": 0.989981,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.510294
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.244326
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.048762
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.040692
                        },
                        {
                          "name": "dispossessed",
                          "margin": 0.024581
                        }
                      ],
                      "others_margin": -0.035512
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.774750232696533,
                    "model_output": 6.7748,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0898
                      },
                      {
                        "name": "rating",
                        "importance": 0.0801
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0397
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0337
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0318
                      }
                    ],
                    "decomposition": {
                      "base": 6.8504,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.103
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0397
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0202
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0126
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0071
                        }
                      ],
                      "others": 0.0023,
                      "total": 6.7747,
                      "log_link": false,
                      "margin_base": 6.850356,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.102973
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.039676
                        },
                        {
                          "name": "rating",
                          "margin": -0.020164
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.012571
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.007117
                        }
                      ],
                      "others_margin": 0.002402
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 27,
                  "role_matches": 16,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0007, quality 0.520)",
              "stats": {
                "key_pass": 0.5554,
                "expected_assists": 0.0356,
                "assists": 0.0618,
                "assist_rate": 0.0618,
                "expected_goals": 0.0698,
                "goals": 0.0796,
                "goal_rate": 0.0796,
                "shots_on_target": 0.2139,
                "total_shots": 0.8031,
                "rating": 6.7748,
                "minutes": 17.97,
                "total_pass": 10.687,
                "accurate_pass": 8.6757,
                "duels_won": 2.736,
                "total_long_balls": 0.4081,
                "accurate_long_balls": 0.3851,
                "total_own_half_passes": 2.7576,
                "accurate_own_half_passes": 2.3855,
                "total_opp_half_passes": 7.9293,
                "accurate_opp_half_passes": 6.2902,
                "crosses_total": 0.1025,
                "crosses_accurate": 0.0,
                "touches": 16.1135,
                "possession_lost": 3.3677,
                "dispossessed": 0.4723,
                "duels_lost": 2.0387,
                "aerial_won": 1.2373,
                "aerial_lost": 0.5958,
                "interceptions": 0.0519,
                "tackles_won": 0.3382,
                "tackles": 0.3382,
                "clearances": 0.2985,
                "total_contest": 1.1362,
                "won_contest": 0.8373,
                "challenges_lost": 0.152,
                "fouls": 0.5363,
                "fouls_drawn": 0.3231,
                "blocks": 0.0,
                "big_chances_created": 0.2126,
                "big_chances_missed": 0.1727,
                "xgot": 0.1135,
                "ball_carries": 5.6336,
                "total_progression": 30.1484,
                "progressive_carries": 0.8382,
                "shots_off_target": 0.5892
              },
              "params": {
                "market_value_eur": 9800000,
                "quality_factor": 0.5201,
                "boost_factor": 1.0007,
                "reference_quality": 0.505,
                "history_matches": 27,
                "history_shrink": 0.1562,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0095)",
              "stats": {
                "key_pass": 0.5554,
                "expected_assists": 0.0356,
                "assists": 0.0612,
                "assist_rate": 0.0612,
                "expected_goals": 0.0698,
                "goals": 0.0788,
                "goal_rate": 0.0788,
                "shots_on_target": 0.2132,
                "total_shots": 0.8037,
                "rating": 6.7748,
                "minutes": 17.97,
                "total_pass": 10.687,
                "accurate_pass": 8.6757,
                "duels_won": 2.736,
                "total_long_balls": 0.4081,
                "accurate_long_balls": 0.3851,
                "total_own_half_passes": 2.7576,
                "accurate_own_half_passes": 2.3855,
                "total_opp_half_passes": 7.9293,
                "accurate_opp_half_passes": 6.2902,
                "crosses_total": 0.1015,
                "crosses_accurate": 0.0,
                "touches": 16.1135,
                "possession_lost": 3.3677,
                "dispossessed": 0.4723,
                "duels_lost": 2.0387,
                "aerial_won": 1.2373,
                "aerial_lost": 0.5958,
                "interceptions": 0.0528,
                "tackles_won": 0.3377,
                "tackles": 0.3382,
                "clearances": 0.2985,
                "total_contest": 1.1362,
                "won_contest": 0.8373,
                "challenges_lost": 0.152,
                "fouls": 0.5339,
                "fouls_drawn": 0.3214,
                "blocks": 0.0,
                "big_chances_created": 0.2126,
                "big_chances_missed": 0.1727,
                "xgot": 0.1135,
                "ball_carries": 5.6336,
                "total_progression": 30.1484,
                "progressive_carries": 0.8382,
                "shots_off_target": 0.5892
              },
              "params": {
                "blend_weight": 0.0095,
                "history_matches": 27,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.1997,
                "prior_reliability": 0.0933,
                "competition": "La Liga",
                "squad": "Real Betis"
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 18.0 to 19.9 expected minutes (appearance prob 0.57)",
              "stats": {
                "key_pass": 0.616,
                "expected_assists": 0.0395,
                "assists": 0.0679,
                "assist_rate": 0.0679,
                "expected_goals": 0.0774,
                "goals": 0.0874,
                "goal_rate": 0.0874,
                "shots_on_target": 0.2365,
                "total_shots": 0.8914,
                "rating": 6.7748,
                "minutes": 19.93,
                "total_pass": 11.8526,
                "accurate_pass": 9.622,
                "duels_won": 3.0344,
                "total_long_balls": 0.4526,
                "accurate_long_balls": 0.4271,
                "total_own_half_passes": 3.0584,
                "accurate_own_half_passes": 2.6457,
                "total_opp_half_passes": 8.7942,
                "accurate_opp_half_passes": 6.9763,
                "crosses_total": 0.1126,
                "crosses_accurate": 0.0,
                "touches": 17.871,
                "possession_lost": 3.735,
                "dispossessed": 0.4723,
                "duels_lost": 2.2611,
                "aerial_won": 1.3723,
                "aerial_lost": 0.5958,
                "interceptions": 0.0586,
                "tackles_won": 0.3745,
                "tackles": 0.3751,
                "clearances": 0.3311,
                "total_contest": 1.2601,
                "won_contest": 0.9286,
                "challenges_lost": 0.152,
                "fouls": 0.5921,
                "fouls_drawn": 0.3565,
                "blocks": 0.0,
                "big_chances_created": 0.2358,
                "big_chances_missed": 0.1915,
                "xgot": 0.1259,
                "ball_carries": 6.2481,
                "total_progression": 33.4367,
                "progressive_carries": 0.9296,
                "shots_off_target": 0.6535,
                "bench_appearance_probability": 0.57,
                "bench_expected_minutes": 19.93
              },
              "params": {
                "expected_minutes": 19.93,
                "projection_minutes": 17.97,
                "minutes_scale": 1.1091,
                "appearance_probability": 0.57
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.616,
                "expected_assists": 0.0395,
                "assists": 0.0679,
                "assist_rate": 0.0679,
                "expected_goals": 0.0774,
                "goals": 0.0874,
                "goal_rate": 0.0874,
                "shots_on_target": 0.2365,
                "total_shots": 0.8914,
                "rating": 6.7748,
                "minutes": 19.93,
                "total_pass": 11.8526,
                "accurate_pass": 9.622,
                "duels_won": 3.0344,
                "total_long_balls": 0.4526,
                "accurate_long_balls": 0.4271,
                "total_own_half_passes": 3.0584,
                "accurate_own_half_passes": 2.6457,
                "total_opp_half_passes": 8.7942,
                "accurate_opp_half_passes": 6.9763,
                "crosses_total": 0.1126,
                "crosses_accurate": 0.0,
                "touches": 17.871,
                "possession_lost": 3.735,
                "dispossessed": 0.4723,
                "duels_lost": 2.2611,
                "aerial_won": 1.3723,
                "aerial_lost": 0.5958,
                "interceptions": 0.0586,
                "tackles_won": 0.3745,
                "tackles": 0.3751,
                "clearances": 0.3311,
                "total_contest": 1.2601,
                "won_contest": 0.9286,
                "challenges_lost": 0.152,
                "fouls": 0.5921,
                "fouls_drawn": 0.3565,
                "blocks": 0.0,
                "big_chances_created": 0.2358,
                "big_chances_missed": 0.1915,
                "xgot": 0.1259,
                "ball_carries": 6.2481,
                "total_progression": 33.4367,
                "progressive_carries": 0.9296,
                "shots_off_target": 0.6535,
                "bench_appearance_probability": 0.57,
                "bench_expected_minutes": 19.93
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.93 (squad xG sum 1.5037, xG scale 1.2862, xA scale 1.3318, team xA 1.26 = 0.65 x lambda)",
              "stats": {
                "key_pass": 0.616,
                "expected_assists": 0.0526,
                "assist_rate": 0.0679,
                "assists": 0,
                "expected_goals": 0.0995,
                "goal_rate": 0.0874,
                "goals": 0,
                "shots_on_target": 0.2365,
                "total_shots": 0.8914,
                "rating": 6.7748,
                "minutes": 19.93,
                "total_pass": 11.8526,
                "accurate_pass": 9.622,
                "duels_won": 3.0344,
                "total_long_balls": 0.4526,
                "accurate_long_balls": 0.4271,
                "total_own_half_passes": 3.0584,
                "accurate_own_half_passes": 2.6457,
                "total_opp_half_passes": 8.7942,
                "accurate_opp_half_passes": 6.9763,
                "crosses_total": 0.1126,
                "crosses_accurate": 0.0,
                "touches": 17.871,
                "possession_lost": 3.735,
                "dispossessed": 0.4723,
                "duels_lost": 2.2611,
                "aerial_won": 1.3723,
                "aerial_lost": 0.5958,
                "interceptions": 0.0586,
                "tackles_won": 0.3745,
                "tackles": 0.3751,
                "clearances": 0.3311,
                "total_contest": 1.2601,
                "won_contest": 0.9286,
                "challenges_lost": 0.152,
                "fouls": 0.5921,
                "fouls_drawn": 0.3565,
                "blocks": 0.0,
                "big_chances_created": 0.2358,
                "big_chances_missed": 0.1915,
                "xgot": 0.1619,
                "ball_carries": 6.2481,
                "total_progression": 33.4367,
                "progressive_carries": 0.9296,
                "shots_off_target": 0.6535,
                "bench_appearance_probability": 0.57,
                "bench_expected_minutes": 19.93,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.206,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0785,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 1.934,
                "squad_xg_sum": 1.5037,
                "squad_xa_sum": 0.9439,
                "team_expected_assists": 1.2571,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2862,
                "xa_scale": 1.3318,
                "opponent_lambda": 0.835,
                "scoreline_reset": true,
                "appearance_weight": 0.57
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0774,
                  "after": 0.0995
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0395,
                  "after": 0.0526
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 11 by projected rating, fifa_overall 75.0; not used by the projection)",
              "stats": {
                "key_pass": 0.616,
                "expected_assists": 0.0526,
                "assist_rate": 0.0679,
                "assists": 0,
                "expected_goals": 0.0995,
                "goal_rate": 0.0874,
                "goals": 0,
                "shots_on_target": 0.2365,
                "total_shots": 0.8914,
                "rating": 6.7748,
                "minutes": 19.93,
                "total_pass": 11.8526,
                "accurate_pass": 9.622,
                "duels_won": 3.0344,
                "total_long_balls": 0.4526,
                "accurate_long_balls": 0.4271,
                "total_own_half_passes": 3.0584,
                "accurate_own_half_passes": 2.6457,
                "total_opp_half_passes": 8.7942,
                "accurate_opp_half_passes": 6.9763,
                "crosses_total": 0.1126,
                "crosses_accurate": 0.0,
                "touches": 17.871,
                "possession_lost": 3.735,
                "dispossessed": 0.4723,
                "duels_lost": 2.2611,
                "aerial_won": 1.3723,
                "aerial_lost": 0.5958,
                "interceptions": 0.0586,
                "tackles_won": 0.3745,
                "tackles": 0.3751,
                "clearances": 0.3311,
                "total_contest": 1.2601,
                "won_contest": 0.9286,
                "challenges_lost": 0.152,
                "fouls": 0.5921,
                "fouls_drawn": 0.3565,
                "blocks": 0.0,
                "big_chances_created": 0.2358,
                "big_chances_missed": 0.1915,
                "xgot": 0.1619,
                "ball_carries": 6.2481,
                "total_progression": 33.4367,
                "progressive_carries": 0.9296,
                "shots_off_target": 0.6535,
                "bench_appearance_probability": 0.57,
                "bench_expected_minutes": 19.93,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.206,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0785,
                "creation_factor": 1.25,
                "fifa_overall": 75.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": 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: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 0.616,
                "expected_assists": 0.0526,
                "assist_rate": 0.0679,
                "assists": 0,
                "expected_goals": 0.0995,
                "goal_rate": 0.0874,
                "goals": 0,
                "shots_on_target": 0.2365,
                "total_shots": 0.8914,
                "rating": 6.7748,
                "minutes": 19.93,
                "total_pass": 11.8526,
                "accurate_pass": 9.622,
                "duels_won": 3.0344,
                "total_long_balls": 0.4526,
                "accurate_long_balls": 0.4271,
                "total_own_half_passes": 3.0584,
                "accurate_own_half_passes": 2.6457,
                "total_opp_half_passes": 8.7942,
                "accurate_opp_half_passes": 6.9763,
                "crosses_total": 0.1126,
                "crosses_accurate": 0.0,
                "touches": 17.871,
                "possession_lost": 3.735,
                "dispossessed": 0.4723,
                "duels_lost": 2.2611,
                "aerial_won": 1.3723,
                "aerial_lost": 0.5958,
                "interceptions": 0.0586,
                "tackles_won": 0.3745,
                "tackles": 0.3751,
                "clearances": 0.3311,
                "total_contest": 1.2601,
                "won_contest": 0.9286,
                "challenges_lost": 0.152,
                "fouls": 0.5921,
                "fouls_drawn": 0.3565,
                "blocks": 0.0,
                "big_chances_created": 0.2358,
                "big_chances_missed": 0.1915,
                "xgot": 0.1619,
                "ball_carries": 6.2481,
                "total_progression": 33.4367,
                "progressive_carries": 0.9296,
                "shots_off_target": 0.6535,
                "bench_appearance_probability": 0.57,
                "bench_expected_minutes": 19.93,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.206,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.054,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0785,
                "creation_factor": 1.25,
                "fifa_overall": 75.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.054,
                "scorer_weight": 0.0612,
                "squad_weight_total": 2.0478,
                "weight_share": 0.0299,
                "finishing_factor": 1.0785,
                "appearance_weight": 0.57,
                "weight_rank": 9,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Abdessamad Ezzalzouli",
                    "weight": 0.5955,
                    "already": 0,
                    "effective_weight": 0.5955,
                    "runner_up": "Cucho Hernández",
                    "runner_up_effective_weight": 0.4616
                  }
                ]
              }
            },
            {
              "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.616,
                "expected_assists": 0.0526,
                "assist_rate": 0.0679,
                "assists": 0,
                "expected_goals": 0.0995,
                "goal_rate": 0.0874,
                "goals": 0,
                "shots_on_target": 0.2365,
                "total_shots": 0.8914,
                "rating": 6.7748,
                "minutes": 19.93,
                "total_pass": 11.8526,
                "accurate_pass": 9.622,
                "duels_won": 3.0344,
                "total_long_balls": 0.4526,
                "accurate_long_balls": 0.4271,
                "total_own_half_passes": 3.0584,
                "accurate_own_half_passes": 2.6457,
                "total_opp_half_passes": 8.7942,
                "accurate_opp_half_passes": 6.9763,
                "crosses_total": 0.1126,
                "crosses_accurate": 0.0,
                "touches": 17.871,
                "possession_lost": 3.735,
                "dispossessed": 0.4723,
                "duels_lost": 2.2611,
                "aerial_won": 1.3723,
                "aerial_lost": 0.5958,
                "interceptions": 0.0586,
                "tackles_won": 0.3745,
                "tackles": 0.3751,
                "clearances": 0.3311,
                "total_contest": 1.2601,
                "won_contest": 0.9286,
                "challenges_lost": 0.152,
                "fouls": 0.5921,
                "fouls_drawn": 0.3565,
                "blocks": 0.0,
                "big_chances_created": 0.2358,
                "big_chances_missed": 0.1915,
                "xgot": 0.1619,
                "ball_carries": 6.2481,
                "total_progression": 33.4367,
                "progressive_carries": 0.9296,
                "shots_off_target": 0.6535,
                "bench_appearance_probability": 0.57,
                "bench_expected_minutes": 19.93,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.206,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.054,
                "projected_assists": 0,
                "assist_probability": 0.0292,
                "finishing_factor": 1.0785,
                "creation_factor": 1.25,
                "fifa_overall": 75.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0292,
                "provider_weight": 0.0375,
                "squad_weight_total": 1.1393,
                "weight_share": 0.0329,
                "creation_factor": 1.25,
                "appearance_weight": 0.57,
                "weight_rank": 9,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Isco",
                    "weight": 0.1722,
                    "already": 0,
                    "effective_weight": 0.1722,
                    "runner_up": "Pablo Fornals",
                    "runner_up_effective_weight": 0.1629,
                    "blocked_own_goal": [
                      "Abdessamad Ezzalzouli"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Troy Parrott": {
          "player_id": 966555,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 19,
          "height": 185,
          "market_value": 23000000,
          "stats": {
            "expected_goals": 0.2695,
            "goal_rate": 0.1973,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0502,
            "key_pass": 0,
            "rating": 6.6536,
            "minutes": 23,
            "total_pass": 9,
            "accurate_pass": 7,
            "duels_won": 2,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 8,
            "accurate_opp_half_passes": 6,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 18,
            "possession_lost": 5.178,
            "dispossessed": 0.6977,
            "duels_lost": 3,
            "aerial_lost": 1,
            "total_contest": 1,
            "won_contest": 0,
            "ball_recovery": 2,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 1,
            "assist_rate": 0.3541,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.3239,
            "offsides": 0,
            "ball_carries": 4,
            "total_progression": 12,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.544,
            "bench_expected_minutes": 22.78,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.206,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.1285,
            "projected_assists": 0,
            "assist_probability": 0.0266,
            "finishing_factor": 0.953,
            "creation_factor": 1.25,
            "fifa_overall": 78.0
          },
          "latest_10_games": [
            {
              "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.0249,
                "expected_assists": 0.2476,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 11,
                "accurate_pass": 8,
                "key_pass": 2,
                "clearances": 1,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 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": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6536,
            "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.508,
          "history_matches": 4,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.508,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 22.78,
            "bench_appearance_prob": 0.544,
            "market_value_adjustment": 1.0258,
            "fbref_prior_metrics": {
              "squad": "Real Betis",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 1.0,
              "sub_appearances": 1.0,
              "minutes_per_sub": 20.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.0533
            },
            "rationale": "Bench projection scaled from XGBoost F_service (4 historical appearances) to 22.8 expected mins (appearance prob 0.54); FBref playing time empirical prior: 1.0 sub appearances, 20.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.1822,
                "goals": 0.1748,
                "goal_rate": 0.1748,
                "shots_on_target": 0.4253,
                "total_shots": 0.8543,
                "expected_assists": 0.0328,
                "key_pass": 0.3383,
                "rating": 6.6536,
                "minutes": 20.31,
                "total_pass": 7.9365,
                "accurate_pass": 6.0821,
                "duels_won": 1.8073,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 6.6698,
                "accurate_opp_half_passes": 4.8154,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 15.7438,
                "possession_lost": 4.5005,
                "dispossessed": 0.6802,
                "duels_lost": 2.3018,
                "aerial_lost": 1.0811,
                "total_contest": 0.6276,
                "won_contest": 0.3138,
                "ball_recovery": 1.8544,
                "challenges_lost": 0.0,
                "fouls": 0.2267,
                "fouls_drawn": 0.5806,
                "assists": 0.3138,
                "assist_rate": 0.3138,
                "interceptions": 0.0,
                "tackles_won": 0.6462,
                "tackles": 0.9129,
                "clearances": 0.966,
                "blocks": 0.0,
                "big_chances_created": 0.3138,
                "big_chances_missed": 0.4194,
                "xgot": 0.2189,
                "offsides": 0.2267,
                "ball_carries": 3.482,
                "total_progression": 10.3594,
                "progressive_carries": 0.4194,
                "shots_off_target": 0.429
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-11T10:27:16.278802+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 604,
                    "rows": 15537
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Getafe",
                    "minutes": 72.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-04",
                    "opponent": "Real Madrid",
                    "minutes": 22.0,
                    "is_starting": false,
                    "weight": 0.2667,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Levante UD",
                    "minutes": 57.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 5.9
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Valencia",
                    "minutes": 19.0,
                    "is_starting": false,
                    "weight": 0.1927,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 0.0,
                  "expectedGoals": 0.3155,
                  "totalOppositionHalfPasses": 6.6698,
                  "accurateOppositionHalfPasses": 4.8154,
                  "accuratePass": 6.0821,
                  "totalShots": 1.2267
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.1821502447128296,
                    "model_output": 0.1822,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.282
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0894
                      },
                      {
                        "name": "goals",
                        "importance": 0.0352
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0258
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0248
                      }
                    ],
                    "decomposition": {
                      "base": 0.1978,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0785
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.027
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0103
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.0064
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": 0.005
                        }
                      ],
                      "others": 0.0142,
                      "total": 0.1822,
                      "log_link": true,
                      "margin_base": -1.62027,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.505839
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.204149
                        },
                        {
                          "name": "goals",
                          "margin": 0.068269
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.039829
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": 0.029958
                        }
                      ],
                      "others_margin": 0.08098
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.17484797537326813,
                    "model_output": 0.1748,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.121
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0861
                      },
                      {
                        "name": "goals",
                        "importance": 0.0516
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0267
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0267
                      }
                    ],
                    "decomposition": {
                      "base": 0.2032,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0763
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0301
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.0145
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0093
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0078
                        }
                      ],
                      "others": -0.0138,
                      "total": 0.1748,
                      "log_link": true,
                      "margin_base": -1.593696,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.470664
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.212977
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.088358
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.052846
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.042335
                        }
                      ],
                      "others_margin": -0.075994
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.42528578639030457,
                    "model_output": 0.4253,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2113
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0717
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0497
                      },
                      {
                        "name": "goals",
                        "importance": 0.0454
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.5367,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1809
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0201
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0192
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0126
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0129
                        }
                      ],
                      "others": 0.0431,
                      "total": 0.4253,
                      "log_link": true,
                      "margin_base": -0.622283,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.410955
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.054982
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.052359
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.034662
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": 0.034315
                        }
                      ],
                      "others_margin": 0.106645
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.8543252944946289,
                    "model_output": 0.8543,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2764
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0561
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.043
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0394
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0354
                      }
                    ],
                    "decomposition": {
                      "base": 1.3728,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.5235
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.084
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.0242
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.024
                        },
                        {
                          "name": "shotOffTarget",
                          "contribution": 0.0237
                        }
                      ],
                      "others": 0.0655,
                      "total": 0.8543,
                      "log_link": false,
                      "margin_base": 1.372807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.523497
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.084013
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": -0.024229
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.023984
                        },
                        {
                          "name": "shotOffTarget",
                          "margin": 0.023677
                        }
                      ],
                      "others_margin": 0.065598
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.032776862382888794,
                    "model_output": 0.0328,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1017
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0772
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0688
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0665
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0563
                      }
                    ],
                    "decomposition": {
                      "base": 0.0639,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0199
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0067
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0053
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0038
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0029
                        }
                      ],
                      "others": -0.0059,
                      "total": 0.0328,
                      "log_link": true,
                      "margin_base": -2.751197,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.372965
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.141873
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.109439
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.086848
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.073247
                        }
                      ],
                      "others_margin": -0.166209
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.33830663561820984,
                    "model_output": 0.3383,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1626
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1193
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0628
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0553
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0328
                      }
                    ],
                    "decomposition": {
                      "base": 0.6728,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2808
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0301
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0212
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0197
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0153
                        }
                      ],
                      "others": 0.0326,
                      "total": 0.3383,
                      "log_link": true,
                      "margin_base": -0.396376,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.540113
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.07998
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.060353
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.059518
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.048688
                        }
                      ],
                      "others_margin": 0.101227
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.653594493865967,
                    "model_output": 6.6536,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0639
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0556
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0431
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0431
                      },
                      {
                        "name": "rating",
                        "importance": 0.039
                      }
                    ],
                    "decomposition": {
                      "base": 6.7636,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0588
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.0155
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0114
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0105
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0104
                        }
                      ],
                      "others": -0.0554,
                      "total": 6.6536,
                      "log_link": false,
                      "margin_base": 6.763607,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.058843
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.015469
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.011354
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.010471
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.010399
                        }
                      ],
                      "others_margin": -0.055357
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 4,
                  "role_matches": 2,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "all_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0258, quality 0.660)",
              "stats": {
                "expected_goals": 0.1868,
                "goals": 0.1794,
                "goal_rate": 0.1794,
                "shots_on_target": 0.4363,
                "total_shots": 0.8764,
                "expected_assists": 0.0336,
                "key_pass": 0.347,
                "rating": 6.6536,
                "minutes": 20.31,
                "total_pass": 8.1413,
                "accurate_pass": 6.239,
                "duels_won": 1.8539,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 6.8419,
                "accurate_opp_half_passes": 4.9396,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 16.15,
                "possession_lost": 4.6166,
                "dispossessed": 0.6977,
                "duels_lost": 2.3612,
                "aerial_lost": 1.109,
                "total_contest": 0.6438,
                "won_contest": 0.3219,
                "ball_recovery": 1.9022,
                "challenges_lost": 0.0,
                "fouls": 0.2325,
                "fouls_drawn": 0.5956,
                "assists": 0.3219,
                "assist_rate": 0.3219,
                "interceptions": 0.0,
                "tackles_won": 0.6629,
                "tackles": 0.9365,
                "clearances": 0.9909,
                "blocks": 0.0,
                "big_chances_created": 0.3219,
                "big_chances_missed": 0.4302,
                "xgot": 0.2245,
                "offsides": 0.2325,
                "ball_carries": 3.5718,
                "total_progression": 10.6267,
                "progressive_carries": 0.4302,
                "shots_off_target": 0.4401
              },
              "params": {
                "market_value_eur": 23000000,
                "quality_factor": 0.6595,
                "boost_factor": 1.0258,
                "reference_quality": 0.505,
                "history_matches": 4,
                "history_shrink": 0.5556,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0192)",
              "stats": {
                "expected_goals": 0.1868,
                "goals": 0.1759,
                "goal_rate": 0.1759,
                "shots_on_target": 0.4279,
                "total_shots": 0.875,
                "expected_assists": 0.0336,
                "key_pass": 0.347,
                "rating": 6.6536,
                "minutes": 20.31,
                "total_pass": 8.1413,
                "accurate_pass": 6.239,
                "duels_won": 1.8539,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 6.8419,
                "accurate_opp_half_passes": 4.9396,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 16.15,
                "possession_lost": 4.6166,
                "dispossessed": 0.6977,
                "duels_lost": 2.3612,
                "aerial_lost": 1.109,
                "total_contest": 0.6438,
                "won_contest": 0.3219,
                "ball_recovery": 1.9022,
                "challenges_lost": 0.0,
                "fouls": 0.2335,
                "fouls_drawn": 0.5841,
                "assists": 0.3157,
                "assist_rate": 0.3157,
                "interceptions": 0.0,
                "tackles_won": 0.6664,
                "tackles": 0.9365,
                "clearances": 0.9909,
                "blocks": 0.0,
                "big_chances_created": 0.3219,
                "big_chances_missed": 0.4302,
                "xgot": 0.2245,
                "offsides": 0.2335,
                "ball_carries": 3.5718,
                "total_progression": 10.6267,
                "progressive_carries": 0.4302,
                "shots_off_target": 0.4401
              },
              "params": {
                "blend_weight": 0.0192,
                "history_matches": 4,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.2257,
                "prior_reliability": 0.0533,
                "competition": "La Liga",
                "squad": "Real Betis"
              },
              "changes": [
                {
                  "stat": "wasFouled",
                  "before": 0.5956,
                  "after": 0.5841
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.4363,
                  "after": 0.4279
                },
                {
                  "stat": "goalAssist",
                  "before": 0.3219,
                  "after": 0.3157
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 20.3 to 22.8 expected minutes (appearance prob 0.54)",
              "stats": {
                "expected_goals": 0.2095,
                "goals": 0.1973,
                "goal_rate": 0.1973,
                "shots_on_target": 0.4799,
                "total_shots": 0.9814,
                "expected_assists": 0.0377,
                "key_pass": 0.3892,
                "rating": 6.6536,
                "minutes": 22.78,
                "total_pass": 9.1314,
                "accurate_pass": 6.9978,
                "duels_won": 2.0794,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 7.674,
                "accurate_opp_half_passes": 5.5403,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 18.1141,
                "possession_lost": 5.178,
                "dispossessed": 0.6977,
                "duels_lost": 2.6484,
                "aerial_lost": 1.109,
                "total_contest": 0.7221,
                "won_contest": 0.361,
                "ball_recovery": 2.1335,
                "challenges_lost": 0.0,
                "fouls": 0.2619,
                "fouls_drawn": 0.6551,
                "assists": 0.3541,
                "assist_rate": 0.3541,
                "interceptions": 0.0,
                "tackles_won": 0.7474,
                "tackles": 1.0504,
                "clearances": 1.1114,
                "blocks": 0.0,
                "big_chances_created": 0.361,
                "big_chances_missed": 0.4825,
                "xgot": 0.2518,
                "offsides": 0.2335,
                "ball_carries": 4.0062,
                "total_progression": 11.9191,
                "progressive_carries": 0.4825,
                "shots_off_target": 0.4936,
                "bench_appearance_probability": 0.544,
                "bench_expected_minutes": 22.78
              },
              "params": {
                "expected_minutes": 22.78,
                "projection_minutes": 20.31,
                "minutes_scale": 1.1216,
                "appearance_probability": 0.544
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.2095,
                "goals": 0.1973,
                "goal_rate": 0.1973,
                "shots_on_target": 0.4799,
                "total_shots": 0.9814,
                "expected_assists": 0.0377,
                "key_pass": 0.3892,
                "rating": 6.6536,
                "minutes": 22.78,
                "total_pass": 9.1314,
                "accurate_pass": 6.9978,
                "duels_won": 2.0794,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 7.674,
                "accurate_opp_half_passes": 5.5403,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 18.1141,
                "possession_lost": 5.178,
                "dispossessed": 0.6977,
                "duels_lost": 2.6484,
                "aerial_lost": 1.109,
                "total_contest": 0.7221,
                "won_contest": 0.361,
                "ball_recovery": 2.1335,
                "challenges_lost": 0.0,
                "fouls": 0.2619,
                "fouls_drawn": 0.6551,
                "assists": 0.3541,
                "assist_rate": 0.3541,
                "interceptions": 0.0,
                "tackles_won": 0.7474,
                "tackles": 1.0504,
                "clearances": 1.1114,
                "blocks": 0.0,
                "big_chances_created": 0.361,
                "big_chances_missed": 0.4825,
                "xgot": 0.2518,
                "offsides": 0.2335,
                "ball_carries": 4.0062,
                "total_progression": 11.9191,
                "progressive_carries": 0.4825,
                "shots_off_target": 0.4936,
                "bench_appearance_probability": 0.544,
                "bench_expected_minutes": 22.78
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.93 (squad xG sum 1.5037, xG scale 1.2862, xA scale 1.3318, team xA 1.26 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.2695,
                "goal_rate": 0.1973,
                "goals": 0,
                "shots_on_target": 0.4799,
                "total_shots": 0.9814,
                "expected_assists": 0.0502,
                "key_pass": 0.3892,
                "rating": 6.6536,
                "minutes": 22.78,
                "total_pass": 9.1314,
                "accurate_pass": 6.9978,
                "duels_won": 2.0794,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 7.674,
                "accurate_opp_half_passes": 5.5403,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 18.1141,
                "possession_lost": 5.178,
                "dispossessed": 0.6977,
                "duels_lost": 2.6484,
                "aerial_lost": 1.109,
                "total_contest": 0.7221,
                "won_contest": 0.361,
                "ball_recovery": 2.1335,
                "challenges_lost": 0.0,
                "fouls": 0.2619,
                "fouls_drawn": 0.6551,
                "assist_rate": 0.3541,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.7474,
                "tackles": 1.0504,
                "clearances": 1.1114,
                "blocks": 0.0,
                "big_chances_created": 0.361,
                "big_chances_missed": 0.4825,
                "xgot": 0.3239,
                "offsides": 0.2335,
                "ball_carries": 4.0062,
                "total_progression": 11.9191,
                "progressive_carries": 0.4825,
                "shots_off_target": 0.4936,
                "bench_appearance_probability": 0.544,
                "bench_expected_minutes": 22.78,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.206,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.953,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 1.934,
                "squad_xg_sum": 1.5037,
                "squad_xa_sum": 0.9439,
                "team_expected_assists": 1.2571,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2862,
                "xa_scale": 1.3318,
                "opponent_lambda": 0.835,
                "scoreline_reset": true,
                "appearance_weight": 0.544
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.2095,
                  "after": 0.2695
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0377,
                  "after": 0.0502
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 17 by projected rating, fifa_overall 78.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.2695,
                "goal_rate": 0.1973,
                "goals": 0,
                "shots_on_target": 0.4799,
                "total_shots": 0.9814,
                "expected_assists": 0.0502,
                "key_pass": 0.3892,
                "rating": 6.6536,
                "minutes": 22.78,
                "total_pass": 9.1314,
                "accurate_pass": 6.9978,
                "duels_won": 2.0794,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 7.674,
                "accurate_opp_half_passes": 5.5403,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 18.1141,
                "possession_lost": 5.178,
                "dispossessed": 0.6977,
                "duels_lost": 2.6484,
                "aerial_lost": 1.109,
                "total_contest": 0.7221,
                "won_contest": 0.361,
                "ball_recovery": 2.1335,
                "challenges_lost": 0.0,
                "fouls": 0.2619,
                "fouls_drawn": 0.6551,
                "assist_rate": 0.3541,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.7474,
                "tackles": 1.0504,
                "clearances": 1.1114,
                "blocks": 0.0,
                "big_chances_created": 0.361,
                "big_chances_missed": 0.4825,
                "xgot": 0.3239,
                "offsides": 0.2335,
                "ball_carries": 4.0062,
                "total_progression": 11.9191,
                "progressive_carries": 0.4825,
                "shots_off_target": 0.4936,
                "bench_appearance_probability": 0.544,
                "bench_expected_minutes": 22.78,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.206,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.953,
                "creation_factor": 1.25,
                "fifa_overall": 78.0
              },
              "params": {
                "match_squad_rank": 17,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 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: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.2695,
                "goal_rate": 0.1973,
                "goals": 0,
                "shots_on_target": 0.4799,
                "total_shots": 0.9814,
                "expected_assists": 0.0502,
                "key_pass": 0.3892,
                "rating": 6.6536,
                "minutes": 22.78,
                "total_pass": 9.1314,
                "accurate_pass": 6.9978,
                "duels_won": 2.0794,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 7.674,
                "accurate_opp_half_passes": 5.5403,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 18.1141,
                "possession_lost": 5.178,
                "dispossessed": 0.6977,
                "duels_lost": 2.6484,
                "aerial_lost": 1.109,
                "total_contest": 0.7221,
                "won_contest": 0.361,
                "ball_recovery": 2.1335,
                "challenges_lost": 0.0,
                "fouls": 0.2619,
                "fouls_drawn": 0.6551,
                "assist_rate": 0.3541,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.7474,
                "tackles": 1.0504,
                "clearances": 1.1114,
                "blocks": 0.0,
                "big_chances_created": 0.361,
                "big_chances_missed": 0.4825,
                "xgot": 0.3239,
                "offsides": 0.2335,
                "ball_carries": 4.0062,
                "total_progression": 11.9191,
                "progressive_carries": 0.4825,
                "shots_off_target": 0.4936,
                "bench_appearance_probability": 0.544,
                "bench_expected_minutes": 22.78,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.206,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.1285,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.953,
                "creation_factor": 1.25,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.1285,
                "scorer_weight": 0.1397,
                "squad_weight_total": 2.0478,
                "weight_share": 0.0682,
                "finishing_factor": 0.953,
                "appearance_weight": 0.544,
                "weight_rank": 4,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Abdessamad Ezzalzouli",
                    "weight": 0.5955,
                    "already": 0,
                    "effective_weight": 0.5955,
                    "runner_up": "Cucho Hernández",
                    "runner_up_effective_weight": 0.4616
                  }
                ]
              }
            },
            {
              "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.2695,
                "goal_rate": 0.1973,
                "goals": 0,
                "shots_on_target": 0.4799,
                "total_shots": 0.9814,
                "expected_assists": 0.0502,
                "key_pass": 0.3892,
                "rating": 6.6536,
                "minutes": 22.78,
                "total_pass": 9.1314,
                "accurate_pass": 6.9978,
                "duels_won": 2.0794,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 7.674,
                "accurate_opp_half_passes": 5.5403,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 18.1141,
                "possession_lost": 5.178,
                "dispossessed": 0.6977,
                "duels_lost": 2.6484,
                "aerial_lost": 1.109,
                "total_contest": 0.7221,
                "won_contest": 0.361,
                "ball_recovery": 2.1335,
                "challenges_lost": 0.0,
                "fouls": 0.2619,
                "fouls_drawn": 0.6551,
                "assist_rate": 0.3541,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.7474,
                "tackles": 1.0504,
                "clearances": 1.1114,
                "blocks": 0.0,
                "big_chances_created": 0.361,
                "big_chances_missed": 0.4825,
                "xgot": 0.3239,
                "offsides": 0.2335,
                "ball_carries": 4.0062,
                "total_progression": 11.9191,
                "progressive_carries": 0.4825,
                "shots_off_target": 0.4936,
                "bench_appearance_probability": 0.544,
                "bench_expected_minutes": 22.78,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.206,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.1285,
                "projected_assists": 0,
                "assist_probability": 0.0266,
                "finishing_factor": 0.953,
                "creation_factor": 1.25,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0266,
                "provider_weight": 0.0341,
                "squad_weight_total": 1.1393,
                "weight_share": 0.03,
                "creation_factor": 1.25,
                "appearance_weight": 0.544,
                "weight_rank": 10,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Isco",
                    "weight": 0.1722,
                    "already": 0,
                    "effective_weight": 0.1722,
                    "runner_up": "Pablo Fornals",
                    "runner_up_effective_weight": 0.1629,
                    "blocked_own_goal": [
                      "Abdessamad Ezzalzouli"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "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.0837,
            "goal_rate": 0.0733,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0449,
            "key_pass": 0,
            "rating": 6.6408,
            "minutes": 25,
            "total_pass": 9,
            "accurate_pass": 7,
            "duels_won": 2,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 5,
            "accurate_opp_half_passes": 4,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 15,
            "possession_lost": 3.7927,
            "dispossessed": 0.6178,
            "duels_lost": 3,
            "aerial_lost": 0,
            "total_contest": 1,
            "won_contest": 0,
            "ball_recovery": 1,
            "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.1217,
            "offsides": 0,
            "ball_carries": 4,
            "total_progression": 22,
            "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.206,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "available_bench_not_projected_used",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 83.0
          },
          "latest_10_games": [
            {
              "match_id": 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.1649,
                "expected_assists": 0.0354,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 9,
                "accurate_pass": 8,
                "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"
            },
            {
              "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.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0007,
                "total_shots": 0,
                "total_pass": 2,
                "accurate_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "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": 0,
              "team": "Real Betis",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 31,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1206,
                "expected_assists": 0.0011,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 5,
                "accurate_pass": 5,
                "duels_won": 1
              },
              "has_player_stats": true
            }
          ],
          "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.6408,
            "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": 32,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 32,
            "data_confidence": 0.772,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 25.356033856478426,
            "bench_appearance_prob": 0.335,
            "market_value_adjustment": 0.9979,
            "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.9090909090909092,
              "assists_per90": 0.0,
              "prior_reliability": 0.1467
            },
            "rationale": "Bench projection scaled from XGBoost F_service (32 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.0648,
                "goals": 0.055,
                "goal_rate": 0.055,
                "shots_on_target": 0.2868,
                "total_shots": 0.6537,
                "expected_assists": 0.0347,
                "key_pass": 0.3844,
                "rating": 6.6408,
                "minutes": 19.61,
                "total_pass": 6.7732,
                "accurate_pass": 5.6194,
                "duels_won": 1.2202,
                "total_long_balls": 0.244,
                "accurate_long_balls": 0.151,
                "total_opp_half_passes": 4.2543,
                "accurate_opp_half_passes": 3.2898,
                "crosses_total": 0.2491,
                "crosses_accurate": 0.1162,
                "touches": 11.5813,
                "possession_lost": 2.9394,
                "dispossessed": 0.6191,
                "duels_lost": 2.0279,
                "aerial_lost": 0.4012,
                "total_contest": 1.0533,
                "won_contest": 0.3543,
                "ball_recovery": 1.1118,
                "challenges_lost": 0.2443,
                "fouls": 0.1238,
                "fouls_drawn": 0.2991,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.1008,
                "tackles_won": 0.3091,
                "tackles": 0.5469,
                "clearances": 0.1566,
                "blocks": 0.0,
                "big_chances_created": 0.1393,
                "big_chances_missed": 0.0496,
                "xgot": 0.0943,
                "offsides": 0.081,
                "ball_carries": 3.3962,
                "total_progression": 17.3503,
                "progressive_carries": 0.7855,
                "shots_off_target": 0.3669
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-11T10:27:16.278802+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 604,
                    "rows": 15537
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 11.0,
                    "is_starting": false,
                    "weight": 0.1508,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Getafe",
                    "minutes": 18.0,
                    "is_starting": false,
                    "weight": 0.1282,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-14",
                    "opponent": "Villarreal",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.109,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-04",
                    "opponent": "Real Madrid",
                    "minutes": 13.0,
                    "is_starting": false,
                    "weight": 0.0926,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Levante UD",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.0787,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Valencia",
                    "minutes": 59.0,
                    "is_starting": true,
                    "weight": 0.0669,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Sociedad",
                    "minutes": 73.0,
                    "is_starting": true,
                    "weight": 0.0569,
                    "rating": 8.0
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "FC Barcelona",
                    "minutes": 11.0,
                    "is_starting": false,
                    "weight": 0.0484,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-12",
                    "opponent": "Elche",
                    "minutes": 16.0,
                    "is_starting": false,
                    "weight": 0.0411,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-09",
                    "opponent": "Real Sociedad",
                    "minutes": 31.0,
                    "is_starting": false,
                    "weight": 0.0349,
                    "rating": 6.3
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "expectedGoals": 0.1194,
                  "totalOppositionHalfPasses": 8.0272,
                  "accurateOppositionHalfPasses": 6.5479,
                  "accuratePass": 10.0536,
                  "totalShots": 0.9138
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.06479170173406601,
                    "model_output": 0.0648,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.282
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0894
                      },
                      {
                        "name": "goals",
                        "importance": 0.0352
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0258
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0248
                      }
                    ],
                    "decomposition": {
                      "base": 0.1978,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0898
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0162
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0065
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0047
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": -0.003
                        }
                      ],
                      "others": -0.0128,
                      "total": 0.0648,
                      "log_link": true,
                      "margin_base": -1.62027,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.604759
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.162173
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.07305
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.05625
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": -0.037919
                        }
                      ],
                      "others_margin": -0.182157
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.055021509528160095,
                    "model_output": 0.055,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.121
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0861
                      },
                      {
                        "name": "goals",
                        "importance": 0.0516
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0267
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0267
                      }
                    ],
                    "decomposition": {
                      "base": 0.2032,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0993
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0182
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0111
                        },
                        {
                          "name": "shot_waste_rate",
                          "contribution": -0.0037
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0026
                        }
                      ],
                      "others": -0.0133,
                      "total": 0.055,
                      "log_link": true,
                      "margin_base": -1.593696,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.671304
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.192707
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.138802
                        },
                        {
                          "name": "shot_waste_rate",
                          "margin": -0.051429
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": -0.037308
                        }
                      ],
                      "others_margin": -0.214783
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.2867969870567322,
                    "model_output": 0.2868,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2113
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0717
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0497
                      },
                      {
                        "name": "goals",
                        "importance": 0.0454
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.5367,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1959
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0259
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0133
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0124
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0115
                        }
                      ],
                      "others": -0.0157,
                      "total": 0.2868,
                      "log_link": true,
                      "margin_base": -0.622283,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.454044
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.078974
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.043188
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.04032
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.037405
                        }
                      ],
                      "others_margin": -0.053406
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.653663694858551,
                    "model_output": 0.6537,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2764
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0561
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.043
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0394
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0354
                      }
                    ],
                    "decomposition": {
                      "base": 1.3728,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.483
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1081
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.027
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0213
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.021
                        }
                      ],
                      "others": -0.1007,
                      "total": 0.6537,
                      "log_link": false,
                      "margin_base": 1.372807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.482986
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.108069
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.02703
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.021274
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": 0.020973
                        }
                      ],
                      "others_margin": -0.100757
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.034733258187770844,
                    "model_output": 0.0347,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1017
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0772
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0688
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0665
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0563
                      }
                    ],
                    "decomposition": {
                      "base": 0.0639,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0201
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0029
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0026
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0025
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.002
                        }
                      ],
                      "others": -0.0043,
                      "total": 0.0347,
                      "log_link": true,
                      "margin_base": -2.751197,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.376943
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.067666
                        },
                        {
                          "name": "rating",
                          "margin": 0.062717
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.059925
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.049474
                        }
                      ],
                      "others_margin": -0.11757
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.3844276964664459,
                    "model_output": 0.3844,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1626
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1193
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0628
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0553
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0328
                      }
                    ],
                    "decomposition": {
                      "base": 0.6728,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.26
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0271
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.024
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.017
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0121
                        }
                      ],
                      "others": 0.0178,
                      "total": 0.3844,
                      "log_link": true,
                      "margin_base": -0.396376,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.48855
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.06786
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.06414
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.046024
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.03243
                        }
                      ],
                      "others_margin": 0.047332
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.640841007232666,
                    "model_output": 6.6408,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0639
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0556
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0431
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0431
                      },
                      {
                        "name": "rating",
                        "importance": 0.039
                      }
                    ],
                    "decomposition": {
                      "base": 6.7636,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0537
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0114
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": -0.0098
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0084
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": -0.0079
                        }
                      ],
                      "others": -0.0316,
                      "total": 6.6408,
                      "log_link": false,
                      "margin_base": 6.763607,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.053656
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.011377
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": -0.009838
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.008362
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": -0.00788
                        }
                      ],
                      "others_margin": -0.031651
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 32,
                  "role_matches": 21,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9979, quality 0.454)",
              "stats": {
                "expected_goals": 0.0647,
                "goals": 0.0549,
                "goal_rate": 0.0549,
                "shots_on_target": 0.2862,
                "total_shots": 0.6523,
                "expected_assists": 0.0347,
                "key_pass": 0.3836,
                "rating": 6.6408,
                "minutes": 19.61,
                "total_pass": 6.759,
                "accurate_pass": 5.6076,
                "duels_won": 1.2176,
                "total_long_balls": 0.2435,
                "accurate_long_balls": 0.1507,
                "total_opp_half_passes": 4.2454,
                "accurate_opp_half_passes": 3.2829,
                "crosses_total": 0.2486,
                "crosses_accurate": 0.116,
                "touches": 11.557,
                "possession_lost": 2.9332,
                "dispossessed": 0.6178,
                "duels_lost": 2.0236,
                "aerial_lost": 0.4004,
                "total_contest": 1.0511,
                "won_contest": 0.3536,
                "ball_recovery": 1.1095,
                "challenges_lost": 0.2438,
                "fouls": 0.1235,
                "fouls_drawn": 0.2985,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.1006,
                "tackles_won": 0.3085,
                "tackles": 0.5458,
                "clearances": 0.1563,
                "blocks": 0.0,
                "big_chances_created": 0.139,
                "big_chances_missed": 0.0495,
                "xgot": 0.0941,
                "offsides": 0.0808,
                "ball_carries": 3.3891,
                "total_progression": 17.3139,
                "progressive_carries": 0.7839,
                "shots_off_target": 0.3661
              },
              "params": {
                "market_value_eur": 4300000,
                "quality_factor": 0.4535,
                "boost_factor": 0.9979,
                "reference_quality": 0.505,
                "history_matches": 32,
                "history_shrink": 0.1351,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0129)",
              "stats": {
                "expected_goals": 0.0647,
                "goals": 0.0567,
                "goal_rate": 0.0567,
                "shots_on_target": 0.2864,
                "total_shots": 0.6491,
                "expected_assists": 0.0347,
                "key_pass": 0.3836,
                "rating": 6.6408,
                "minutes": 19.61,
                "total_pass": 6.759,
                "accurate_pass": 5.6076,
                "duels_won": 1.2176,
                "total_long_balls": 0.2435,
                "accurate_long_balls": 0.1507,
                "total_opp_half_passes": 4.2454,
                "accurate_opp_half_passes": 3.2829,
                "crosses_total": 0.2569,
                "crosses_accurate": 0.116,
                "touches": 11.557,
                "possession_lost": 2.9332,
                "dispossessed": 0.6178,
                "duels_lost": 2.0236,
                "aerial_lost": 0.4004,
                "total_contest": 1.0511,
                "won_contest": 0.3536,
                "ball_recovery": 1.1095,
                "challenges_lost": 0.2438,
                "fouls": 0.1245,
                "fouls_drawn": 0.3023,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.1057,
                "tackles_won": 0.3058,
                "tackles": 0.5458,
                "clearances": 0.1563,
                "blocks": 0.0,
                "big_chances_created": 0.139,
                "big_chances_missed": 0.0495,
                "xgot": 0.0941,
                "offsides": 0.0798,
                "ball_carries": 3.3891,
                "total_progression": 17.3139,
                "progressive_carries": 0.7839,
                "shots_off_target": 0.3661
              },
              "params": {
                "blend_weight": 0.0129,
                "history_matches": 32,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.2179,
                "prior_reliability": 0.1467,
                "competition": "La Liga",
                "squad": "Real Betis"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 0.2486,
                  "after": 0.2569
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.1006,
                  "after": 0.1057
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 19.6 to 25.4 expected minutes (appearance prob 0.34)",
              "stats": {
                "expected_goals": 0.0837,
                "goals": 0.0733,
                "goal_rate": 0.0733,
                "shots_on_target": 0.3703,
                "total_shots": 0.8437,
                "expected_assists": 0.0449,
                "key_pass": 0.496,
                "rating": 6.6408,
                "minutes": 25.36,
                "total_pass": 8.7395,
                "accurate_pass": 7.2507,
                "duels_won": 1.5744,
                "total_long_balls": 0.3148,
                "accurate_long_balls": 0.1949,
                "total_opp_half_passes": 5.4894,
                "accurate_opp_half_passes": 4.2448,
                "crosses_total": 0.3322,
                "crosses_accurate": 0.15,
                "touches": 14.9434,
                "possession_lost": 3.7927,
                "dispossessed": 0.6178,
                "duels_lost": 2.6165,
                "aerial_lost": 0.4004,
                "total_contest": 1.3591,
                "won_contest": 0.4572,
                "ball_recovery": 1.4346,
                "challenges_lost": 0.2438,
                "fouls": 0.161,
                "fouls_drawn": 0.3909,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.1367,
                "tackles_won": 0.3954,
                "tackles": 0.7057,
                "clearances": 0.2021,
                "blocks": 0.0,
                "big_chances_created": 0.1797,
                "big_chances_missed": 0.064,
                "xgot": 0.1217,
                "offsides": 0.0798,
                "ball_carries": 4.3822,
                "total_progression": 22.3871,
                "progressive_carries": 1.0136,
                "shots_off_target": 0.4734,
                "bench_appearance_probability": 0.335,
                "bench_expected_minutes": 25.36
              },
              "params": {
                "expected_minutes": 25.36,
                "projection_minutes": 19.61,
                "minutes_scale": 1.293,
                "appearance_probability": 0.335
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0837,
                "goals": 0.0733,
                "goal_rate": 0.0733,
                "shots_on_target": 0.3703,
                "total_shots": 0.8437,
                "expected_assists": 0.0449,
                "key_pass": 0.496,
                "rating": 6.6408,
                "minutes": 25.36,
                "total_pass": 8.7395,
                "accurate_pass": 7.2507,
                "duels_won": 1.5744,
                "total_long_balls": 0.3148,
                "accurate_long_balls": 0.1949,
                "total_opp_half_passes": 5.4894,
                "accurate_opp_half_passes": 4.2448,
                "crosses_total": 0.3322,
                "crosses_accurate": 0.15,
                "touches": 14.9434,
                "possession_lost": 3.7927,
                "dispossessed": 0.6178,
                "duels_lost": 2.6165,
                "aerial_lost": 0.4004,
                "total_contest": 1.3591,
                "won_contest": 0.4572,
                "ball_recovery": 1.4346,
                "challenges_lost": 0.2438,
                "fouls": 0.161,
                "fouls_drawn": 0.3909,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.1367,
                "tackles_won": 0.3954,
                "tackles": 0.7057,
                "clearances": 0.2021,
                "blocks": 0.0,
                "big_chances_created": 0.1797,
                "big_chances_missed": 0.064,
                "xgot": 0.1217,
                "offsides": 0.0798,
                "ball_carries": 4.3822,
                "total_progression": 22.3871,
                "progressive_carries": 1.0136,
                "shots_off_target": 0.4734,
                "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.0837,
                "goal_rate": 0.0733,
                "goals": 0,
                "shots_on_target": 0.3703,
                "total_shots": 0.8437,
                "expected_assists": 0.0449,
                "key_pass": 0.496,
                "rating": 6.6408,
                "minutes": 25.36,
                "total_pass": 8.7395,
                "accurate_pass": 7.2507,
                "duels_won": 1.5744,
                "total_long_balls": 0.3148,
                "accurate_long_balls": 0.1949,
                "total_opp_half_passes": 5.4894,
                "accurate_opp_half_passes": 4.2448,
                "crosses_total": 0.3322,
                "crosses_accurate": 0.15,
                "touches": 14.9434,
                "possession_lost": 3.7927,
                "dispossessed": 0.6178,
                "duels_lost": 2.6165,
                "aerial_lost": 0.4004,
                "total_contest": 1.3591,
                "won_contest": 0.4572,
                "ball_recovery": 1.4346,
                "challenges_lost": 0.2438,
                "fouls": 0.161,
                "fouls_drawn": 0.3909,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.1367,
                "tackles_won": 0.3954,
                "tackles": 0.7057,
                "clearances": 0.2021,
                "blocks": 0.0,
                "big_chances_created": 0.1797,
                "big_chances_missed": 0.064,
                "xgot": 0.1217,
                "offsides": 0.0798,
                "ball_carries": 4.3822,
                "total_progression": 22.3871,
                "progressive_carries": 1.0136,
                "shots_off_target": 0.4734,
                "bench_appearance_probability": 0.335,
                "bench_expected_minutes": 25.36,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.206,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "appearance_probability": 0.335,
                "projected_substitutes": 2,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 18 by projected rating, fifa_overall 83.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.0837,
                "goal_rate": 0.0733,
                "goals": 0,
                "shots_on_target": 0.3703,
                "total_shots": 0.8437,
                "expected_assists": 0.0449,
                "key_pass": 0.496,
                "rating": 6.6408,
                "minutes": 25.36,
                "total_pass": 8.7395,
                "accurate_pass": 7.2507,
                "duels_won": 1.5744,
                "total_long_balls": 0.3148,
                "accurate_long_balls": 0.1949,
                "total_opp_half_passes": 5.4894,
                "accurate_opp_half_passes": 4.2448,
                "crosses_total": 0.3322,
                "crosses_accurate": 0.15,
                "touches": 14.9434,
                "possession_lost": 3.7927,
                "dispossessed": 0.6178,
                "duels_lost": 2.6165,
                "aerial_lost": 0.4004,
                "total_contest": 1.3591,
                "won_contest": 0.4572,
                "ball_recovery": 1.4346,
                "challenges_lost": 0.2438,
                "fouls": 0.161,
                "fouls_drawn": 0.3909,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.1367,
                "tackles_won": 0.3954,
                "tackles": 0.7057,
                "clearances": 0.2021,
                "blocks": 0.0,
                "big_chances_created": 0.1797,
                "big_chances_missed": 0.064,
                "xgot": 0.1217,
                "offsides": 0.0798,
                "ball_carries": 4.3822,
                "total_progression": 22.3871,
                "progressive_carries": 1.0136,
                "shots_off_target": 0.4734,
                "bench_appearance_probability": 0.335,
                "bench_expected_minutes": 25.36,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.206,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 83.0
              },
              "params": {
                "match_squad_rank": 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": {
        "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": 1,
            "expected_assists": 0.0526,
            "assist_rate": 0.0679,
            "assists": 0,
            "expected_goals": 0.0995,
            "goal_rate": 0.0874,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.7748,
            "minutes": 20,
            "total_pass": 12,
            "accurate_pass": 10,
            "duels_won": 3,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 3,
            "accurate_own_half_passes": 3,
            "total_opp_half_passes": 9,
            "accurate_opp_half_passes": 7,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 18,
            "possession_lost": 3.735,
            "dispossessed": 0.4723,
            "duels_lost": 2,
            "aerial_won": 1,
            "aerial_lost": 1,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 1,
            "won_contest": 1,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.1619,
            "ball_carries": 6,
            "total_progression": 33,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.57,
            "bench_expected_minutes": 19.93,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.206,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.054,
            "projected_assists": 0,
            "assist_probability": 0.0292,
            "finishing_factor": 1.0785,
            "creation_factor": 1.25,
            "fifa_overall": 75.0
          },
          "latest_10_games": [
            {
              "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.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0253,
                "expected_assists": 0.0447,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 65,
                "accurate_pass": 52,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 2,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 10,
                "ball_recovery": 10
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 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"
            },
            {
              "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_goals": 0.0116,
                "expected_assists": 0.0201,
                "total_shots": 1,
                "total_pass": 41,
                "accurate_pass": 30,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "aerial_won": 2,
                "duels_won": 5,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "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": 0,
              "team": "Real Betis",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 12,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0115,
                "total_shots": 0,
                "total_pass": 6,
                "accurate_pass": 5,
                "key_pass": 1,
                "aerial_won": 1,
                "duels_won": 2
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083381,
              "match_date": "2026-05-03",
              "home_team": "Real Betis",
              "away_team": "Real Oviedo",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Real Oviedo",
              "stats": {
                "minutes": 20,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0062,
                "total_shots": 0,
                "total_pass": 12,
                "accurate_pass": 11,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 1
              },
              "has_player_stats": true
            }
          ],
          "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": 11,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7748,
            "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": 27,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 27,
            "data_confidence": 0.764,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 19.93,
            "bench_appearance_prob": 0.57,
            "market_value_adjustment": 1.0007,
            "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 (27 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.555,
                "expected_assists": 0.0355,
                "assists": 0.0618,
                "assist_rate": 0.0618,
                "expected_goals": 0.0698,
                "goals": 0.0795,
                "goal_rate": 0.0795,
                "shots_on_target": 0.2137,
                "total_shots": 0.8025,
                "rating": 6.7748,
                "minutes": 17.97,
                "total_pass": 10.6795,
                "accurate_pass": 8.6696,
                "duels_won": 2.7341,
                "total_long_balls": 0.4078,
                "accurate_long_balls": 0.3848,
                "total_own_half_passes": 2.7557,
                "accurate_own_half_passes": 2.3838,
                "total_opp_half_passes": 7.9238,
                "accurate_opp_half_passes": 6.2858,
                "crosses_total": 0.1024,
                "crosses_accurate": 0.0,
                "touches": 16.1022,
                "possession_lost": 3.3653,
                "dispossessed": 0.472,
                "duels_lost": 2.0373,
                "aerial_won": 1.2364,
                "aerial_lost": 0.5954,
                "interceptions": 0.0519,
                "tackles_won": 0.338,
                "tackles": 0.338,
                "clearances": 0.2983,
                "total_contest": 1.1354,
                "won_contest": 0.8367,
                "challenges_lost": 0.1519,
                "fouls": 0.5359,
                "fouls_drawn": 0.3229,
                "blocks": 0.0,
                "big_chances_created": 0.2125,
                "big_chances_missed": 0.1726,
                "xgot": 0.1134,
                "ball_carries": 5.6297,
                "total_progression": 30.1273,
                "progressive_carries": 0.8376,
                "shots_off_target": 0.5888
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-11T10:26:42.530573+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 894,
                    "rows": 23497
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 61.0,
                    "is_starting": true,
                    "weight": 0.1519,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1291,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-09-14",
                    "opponent": "Villarreal",
                    "minutes": 23.0,
                    "is_starting": false,
                    "weight": 0.1097,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-09-04",
                    "opponent": "Real Madrid",
                    "minutes": 22.0,
                    "is_starting": false,
                    "weight": 0.0933,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Levante UD",
                    "minutes": 23.0,
                    "is_starting": false,
                    "weight": 0.0793,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0674,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Sociedad",
                    "minutes": 10.0,
                    "is_starting": false,
                    "weight": 0.0573,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0487,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-05-09",
                    "opponent": "Real Sociedad",
                    "minutes": 12.0,
                    "is_starting": false,
                    "weight": 0.0414,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-03",
                    "opponent": "Real Oviedo",
                    "minutes": 20.0,
                    "is_starting": false,
                    "weight": 0.0352,
                    "rating": 6.8
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalShots": 1.5725,
                  "creative_index": 0.32,
                  "expectedGoals": 0.0643,
                  "expectedAssists": 0.0398,
                  "onTargetScoringAttempt": 0.4633
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.5550058484077454,
                    "model_output": 0.555,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1648
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1344
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0672
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0573
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0281
                      }
                    ],
                    "decomposition": {
                      "base": 0.8857,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3618
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0362
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.033
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0301
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0208
                        }
                      ],
                      "others": 0.1096,
                      "total": 0.555,
                      "log_link": true,
                      "margin_base": -0.121432,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.525087
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.071582
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.070133
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.068391
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.047755
                        }
                      ],
                      "others_margin": 0.220094
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.03552982583642006,
                    "model_output": 0.0355,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1094
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1055
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.099
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0603
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0557
                      }
                    ],
                    "decomposition": {
                      "base": 0.0855,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0349
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0099
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0049
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0021
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0018
                        }
                      ],
                      "others": -0.0,
                      "total": 0.0355,
                      "log_link": true,
                      "margin_base": -2.458929,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.524956
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.216971
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.127571
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": -0.059237
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.050702
                        }
                      ],
                      "others_margin": -0.00042
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.06179693713784218,
                    "model_output": 0.0618,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0515
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0436
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0436
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0319
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.03
                      }
                    ],
                    "decomposition": {
                      "base": 0.0858,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0205
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0095
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0048
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0049
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0039
                        }
                      ],
                      "others": 0.0002,
                      "total": 0.0618,
                      "log_link": true,
                      "margin_base": -2.456317,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.27253
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.156724
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.083009
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.077899
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.061394
                        }
                      ],
                      "others_margin": 0.002158
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.06975729018449783,
                    "model_output": 0.0698,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1335
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.086
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0661
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0433
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.0936,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0361
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0074
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0075
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0069
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0062
                        }
                      ],
                      "others": -0.0019,
                      "total": 0.0698,
                      "log_link": true,
                      "margin_base": -2.368441,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.487465
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.12123
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.109023
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.100851
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.091014
                        }
                      ],
                      "others_margin": -0.027244
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.07951851189136505,
                    "model_output": 0.0795,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0863
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0517
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0485
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0373
                      },
                      {
                        "name": "goals",
                        "importance": 0.0275
                      }
                    ],
                    "decomposition": {
                      "base": 0.0966,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0313
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0138
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0089
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.008
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0064
                        }
                      ],
                      "others": -0.0101,
                      "total": 0.0795,
                      "log_link": true,
                      "margin_base": -2.337105,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.391688
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.192292
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.10633
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.086495
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.06894
                        }
                      ],
                      "others_margin": -0.119149
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.21372203528881073,
                    "model_output": 0.2137,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.108
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0886
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0725
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0371
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.324,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1513
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0356
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0186
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0135
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0118
                        }
                      ],
                      "others": -0.0149,
                      "total": 0.2137,
                      "log_link": true,
                      "margin_base": -1.126872,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.629076
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.187167
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.085709
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.057801
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.050428
                        }
                      ],
                      "others_margin": -0.067379
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.80253666639328,
                    "model_output": 0.8025,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1275
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1232
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0542
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0485
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0257
                      }
                    ],
                    "decomposition": {
                      "base": 0.99,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.5103
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.2443
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0488
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0407
                        },
                        {
                          "name": "dispossessed",
                          "contribution": 0.0246
                        }
                      ],
                      "others": -0.0356,
                      "total": 0.8025,
                      "log_link": false,
                      "margin_base": 0.989981,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.510294
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.244326
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.048762
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.040692
                        },
                        {
                          "name": "dispossessed",
                          "margin": 0.024581
                        }
                      ],
                      "others_margin": -0.035512
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.774750232696533,
                    "model_output": 6.7748,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0898
                      },
                      {
                        "name": "rating",
                        "importance": 0.0801
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0397
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0337
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0318
                      }
                    ],
                    "decomposition": {
                      "base": 6.8504,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.103
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0397
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0202
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0126
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0071
                        }
                      ],
                      "others": 0.0023,
                      "total": 6.7747,
                      "log_link": false,
                      "margin_base": 6.850356,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.102973
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.039676
                        },
                        {
                          "name": "rating",
                          "margin": -0.020164
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.012571
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.007117
                        }
                      ],
                      "others_margin": 0.002402
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 27,
                  "role_matches": 16,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0007, quality 0.520)",
              "stats": {
                "key_pass": 0.5554,
                "expected_assists": 0.0356,
                "assists": 0.0618,
                "assist_rate": 0.0618,
                "expected_goals": 0.0698,
                "goals": 0.0796,
                "goal_rate": 0.0796,
                "shots_on_target": 0.2139,
                "total_shots": 0.8031,
                "rating": 6.7748,
                "minutes": 17.97,
                "total_pass": 10.687,
                "accurate_pass": 8.6757,
                "duels_won": 2.736,
                "total_long_balls": 0.4081,
                "accurate_long_balls": 0.3851,
                "total_own_half_passes": 2.7576,
                "accurate_own_half_passes": 2.3855,
                "total_opp_half_passes": 7.9293,
                "accurate_opp_half_passes": 6.2902,
                "crosses_total": 0.1025,
                "crosses_accurate": 0.0,
                "touches": 16.1135,
                "possession_lost": 3.3677,
                "dispossessed": 0.4723,
                "duels_lost": 2.0387,
                "aerial_won": 1.2373,
                "aerial_lost": 0.5958,
                "interceptions": 0.0519,
                "tackles_won": 0.3382,
                "tackles": 0.3382,
                "clearances": 0.2985,
                "total_contest": 1.1362,
                "won_contest": 0.8373,
                "challenges_lost": 0.152,
                "fouls": 0.5363,
                "fouls_drawn": 0.3231,
                "blocks": 0.0,
                "big_chances_created": 0.2126,
                "big_chances_missed": 0.1727,
                "xgot": 0.1135,
                "ball_carries": 5.6336,
                "total_progression": 30.1484,
                "progressive_carries": 0.8382,
                "shots_off_target": 0.5892
              },
              "params": {
                "market_value_eur": 9800000,
                "quality_factor": 0.5201,
                "boost_factor": 1.0007,
                "reference_quality": 0.505,
                "history_matches": 27,
                "history_shrink": 0.1562,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0095)",
              "stats": {
                "key_pass": 0.5554,
                "expected_assists": 0.0356,
                "assists": 0.0612,
                "assist_rate": 0.0612,
                "expected_goals": 0.0698,
                "goals": 0.0788,
                "goal_rate": 0.0788,
                "shots_on_target": 0.2132,
                "total_shots": 0.8037,
                "rating": 6.7748,
                "minutes": 17.97,
                "total_pass": 10.687,
                "accurate_pass": 8.6757,
                "duels_won": 2.736,
                "total_long_balls": 0.4081,
                "accurate_long_balls": 0.3851,
                "total_own_half_passes": 2.7576,
                "accurate_own_half_passes": 2.3855,
                "total_opp_half_passes": 7.9293,
                "accurate_opp_half_passes": 6.2902,
                "crosses_total": 0.1015,
                "crosses_accurate": 0.0,
                "touches": 16.1135,
                "possession_lost": 3.3677,
                "dispossessed": 0.4723,
                "duels_lost": 2.0387,
                "aerial_won": 1.2373,
                "aerial_lost": 0.5958,
                "interceptions": 0.0528,
                "tackles_won": 0.3377,
                "tackles": 0.3382,
                "clearances": 0.2985,
                "total_contest": 1.1362,
                "won_contest": 0.8373,
                "challenges_lost": 0.152,
                "fouls": 0.5339,
                "fouls_drawn": 0.3214,
                "blocks": 0.0,
                "big_chances_created": 0.2126,
                "big_chances_missed": 0.1727,
                "xgot": 0.1135,
                "ball_carries": 5.6336,
                "total_progression": 30.1484,
                "progressive_carries": 0.8382,
                "shots_off_target": 0.5892
              },
              "params": {
                "blend_weight": 0.0095,
                "history_matches": 27,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.1997,
                "prior_reliability": 0.0933,
                "competition": "La Liga",
                "squad": "Real Betis"
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 18.0 to 19.9 expected minutes (appearance prob 0.57)",
              "stats": {
                "key_pass": 0.616,
                "expected_assists": 0.0395,
                "assists": 0.0679,
                "assist_rate": 0.0679,
                "expected_goals": 0.0774,
                "goals": 0.0874,
                "goal_rate": 0.0874,
                "shots_on_target": 0.2365,
                "total_shots": 0.8914,
                "rating": 6.7748,
                "minutes": 19.93,
                "total_pass": 11.8526,
                "accurate_pass": 9.622,
                "duels_won": 3.0344,
                "total_long_balls": 0.4526,
                "accurate_long_balls": 0.4271,
                "total_own_half_passes": 3.0584,
                "accurate_own_half_passes": 2.6457,
                "total_opp_half_passes": 8.7942,
                "accurate_opp_half_passes": 6.9763,
                "crosses_total": 0.1126,
                "crosses_accurate": 0.0,
                "touches": 17.871,
                "possession_lost": 3.735,
                "dispossessed": 0.4723,
                "duels_lost": 2.2611,
                "aerial_won": 1.3723,
                "aerial_lost": 0.5958,
                "interceptions": 0.0586,
                "tackles_won": 0.3745,
                "tackles": 0.3751,
                "clearances": 0.3311,
                "total_contest": 1.2601,
                "won_contest": 0.9286,
                "challenges_lost": 0.152,
                "fouls": 0.5921,
                "fouls_drawn": 0.3565,
                "blocks": 0.0,
                "big_chances_created": 0.2358,
                "big_chances_missed": 0.1915,
                "xgot": 0.1259,
                "ball_carries": 6.2481,
                "total_progression": 33.4367,
                "progressive_carries": 0.9296,
                "shots_off_target": 0.6535,
                "bench_appearance_probability": 0.57,
                "bench_expected_minutes": 19.93
              },
              "params": {
                "expected_minutes": 19.93,
                "projection_minutes": 17.97,
                "minutes_scale": 1.1091,
                "appearance_probability": 0.57
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.616,
                "expected_assists": 0.0395,
                "assists": 0.0679,
                "assist_rate": 0.0679,
                "expected_goals": 0.0774,
                "goals": 0.0874,
                "goal_rate": 0.0874,
                "shots_on_target": 0.2365,
                "total_shots": 0.8914,
                "rating": 6.7748,
                "minutes": 19.93,
                "total_pass": 11.8526,
                "accurate_pass": 9.622,
                "duels_won": 3.0344,
                "total_long_balls": 0.4526,
                "accurate_long_balls": 0.4271,
                "total_own_half_passes": 3.0584,
                "accurate_own_half_passes": 2.6457,
                "total_opp_half_passes": 8.7942,
                "accurate_opp_half_passes": 6.9763,
                "crosses_total": 0.1126,
                "crosses_accurate": 0.0,
                "touches": 17.871,
                "possession_lost": 3.735,
                "dispossessed": 0.4723,
                "duels_lost": 2.2611,
                "aerial_won": 1.3723,
                "aerial_lost": 0.5958,
                "interceptions": 0.0586,
                "tackles_won": 0.3745,
                "tackles": 0.3751,
                "clearances": 0.3311,
                "total_contest": 1.2601,
                "won_contest": 0.9286,
                "challenges_lost": 0.152,
                "fouls": 0.5921,
                "fouls_drawn": 0.3565,
                "blocks": 0.0,
                "big_chances_created": 0.2358,
                "big_chances_missed": 0.1915,
                "xgot": 0.1259,
                "ball_carries": 6.2481,
                "total_progression": 33.4367,
                "progressive_carries": 0.9296,
                "shots_off_target": 0.6535,
                "bench_appearance_probability": 0.57,
                "bench_expected_minutes": 19.93
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.93 (squad xG sum 1.5037, xG scale 1.2862, xA scale 1.3318, team xA 1.26 = 0.65 x lambda)",
              "stats": {
                "key_pass": 0.616,
                "expected_assists": 0.0526,
                "assist_rate": 0.0679,
                "assists": 0,
                "expected_goals": 0.0995,
                "goal_rate": 0.0874,
                "goals": 0,
                "shots_on_target": 0.2365,
                "total_shots": 0.8914,
                "rating": 6.7748,
                "minutes": 19.93,
                "total_pass": 11.8526,
                "accurate_pass": 9.622,
                "duels_won": 3.0344,
                "total_long_balls": 0.4526,
                "accurate_long_balls": 0.4271,
                "total_own_half_passes": 3.0584,
                "accurate_own_half_passes": 2.6457,
                "total_opp_half_passes": 8.7942,
                "accurate_opp_half_passes": 6.9763,
                "crosses_total": 0.1126,
                "crosses_accurate": 0.0,
                "touches": 17.871,
                "possession_lost": 3.735,
                "dispossessed": 0.4723,
                "duels_lost": 2.2611,
                "aerial_won": 1.3723,
                "aerial_lost": 0.5958,
                "interceptions": 0.0586,
                "tackles_won": 0.3745,
                "tackles": 0.3751,
                "clearances": 0.3311,
                "total_contest": 1.2601,
                "won_contest": 0.9286,
                "challenges_lost": 0.152,
                "fouls": 0.5921,
                "fouls_drawn": 0.3565,
                "blocks": 0.0,
                "big_chances_created": 0.2358,
                "big_chances_missed": 0.1915,
                "xgot": 0.1619,
                "ball_carries": 6.2481,
                "total_progression": 33.4367,
                "progressive_carries": 0.9296,
                "shots_off_target": 0.6535,
                "bench_appearance_probability": 0.57,
                "bench_expected_minutes": 19.93,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.206,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0785,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 1.934,
                "squad_xg_sum": 1.5037,
                "squad_xa_sum": 0.9439,
                "team_expected_assists": 1.2571,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2862,
                "xa_scale": 1.3318,
                "opponent_lambda": 0.835,
                "scoreline_reset": true,
                "appearance_weight": 0.57
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0774,
                  "after": 0.0995
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0395,
                  "after": 0.0526
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 11 by projected rating, fifa_overall 75.0; not used by the projection)",
              "stats": {
                "key_pass": 0.616,
                "expected_assists": 0.0526,
                "assist_rate": 0.0679,
                "assists": 0,
                "expected_goals": 0.0995,
                "goal_rate": 0.0874,
                "goals": 0,
                "shots_on_target": 0.2365,
                "total_shots": 0.8914,
                "rating": 6.7748,
                "minutes": 19.93,
                "total_pass": 11.8526,
                "accurate_pass": 9.622,
                "duels_won": 3.0344,
                "total_long_balls": 0.4526,
                "accurate_long_balls": 0.4271,
                "total_own_half_passes": 3.0584,
                "accurate_own_half_passes": 2.6457,
                "total_opp_half_passes": 8.7942,
                "accurate_opp_half_passes": 6.9763,
                "crosses_total": 0.1126,
                "crosses_accurate": 0.0,
                "touches": 17.871,
                "possession_lost": 3.735,
                "dispossessed": 0.4723,
                "duels_lost": 2.2611,
                "aerial_won": 1.3723,
                "aerial_lost": 0.5958,
                "interceptions": 0.0586,
                "tackles_won": 0.3745,
                "tackles": 0.3751,
                "clearances": 0.3311,
                "total_contest": 1.2601,
                "won_contest": 0.9286,
                "challenges_lost": 0.152,
                "fouls": 0.5921,
                "fouls_drawn": 0.3565,
                "blocks": 0.0,
                "big_chances_created": 0.2358,
                "big_chances_missed": 0.1915,
                "xgot": 0.1619,
                "ball_carries": 6.2481,
                "total_progression": 33.4367,
                "progressive_carries": 0.9296,
                "shots_off_target": 0.6535,
                "bench_appearance_probability": 0.57,
                "bench_expected_minutes": 19.93,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.206,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0785,
                "creation_factor": 1.25,
                "fifa_overall": 75.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": 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: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 0.616,
                "expected_assists": 0.0526,
                "assist_rate": 0.0679,
                "assists": 0,
                "expected_goals": 0.0995,
                "goal_rate": 0.0874,
                "goals": 0,
                "shots_on_target": 0.2365,
                "total_shots": 0.8914,
                "rating": 6.7748,
                "minutes": 19.93,
                "total_pass": 11.8526,
                "accurate_pass": 9.622,
                "duels_won": 3.0344,
                "total_long_balls": 0.4526,
                "accurate_long_balls": 0.4271,
                "total_own_half_passes": 3.0584,
                "accurate_own_half_passes": 2.6457,
                "total_opp_half_passes": 8.7942,
                "accurate_opp_half_passes": 6.9763,
                "crosses_total": 0.1126,
                "crosses_accurate": 0.0,
                "touches": 17.871,
                "possession_lost": 3.735,
                "dispossessed": 0.4723,
                "duels_lost": 2.2611,
                "aerial_won": 1.3723,
                "aerial_lost": 0.5958,
                "interceptions": 0.0586,
                "tackles_won": 0.3745,
                "tackles": 0.3751,
                "clearances": 0.3311,
                "total_contest": 1.2601,
                "won_contest": 0.9286,
                "challenges_lost": 0.152,
                "fouls": 0.5921,
                "fouls_drawn": 0.3565,
                "blocks": 0.0,
                "big_chances_created": 0.2358,
                "big_chances_missed": 0.1915,
                "xgot": 0.1619,
                "ball_carries": 6.2481,
                "total_progression": 33.4367,
                "progressive_carries": 0.9296,
                "shots_off_target": 0.6535,
                "bench_appearance_probability": 0.57,
                "bench_expected_minutes": 19.93,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.206,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.054,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0785,
                "creation_factor": 1.25,
                "fifa_overall": 75.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.054,
                "scorer_weight": 0.0612,
                "squad_weight_total": 2.0478,
                "weight_share": 0.0299,
                "finishing_factor": 1.0785,
                "appearance_weight": 0.57,
                "weight_rank": 9,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Abdessamad Ezzalzouli",
                    "weight": 0.5955,
                    "already": 0,
                    "effective_weight": 0.5955,
                    "runner_up": "Cucho Hernández",
                    "runner_up_effective_weight": 0.4616
                  }
                ]
              }
            },
            {
              "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.616,
                "expected_assists": 0.0526,
                "assist_rate": 0.0679,
                "assists": 0,
                "expected_goals": 0.0995,
                "goal_rate": 0.0874,
                "goals": 0,
                "shots_on_target": 0.2365,
                "total_shots": 0.8914,
                "rating": 6.7748,
                "minutes": 19.93,
                "total_pass": 11.8526,
                "accurate_pass": 9.622,
                "duels_won": 3.0344,
                "total_long_balls": 0.4526,
                "accurate_long_balls": 0.4271,
                "total_own_half_passes": 3.0584,
                "accurate_own_half_passes": 2.6457,
                "total_opp_half_passes": 8.7942,
                "accurate_opp_half_passes": 6.9763,
                "crosses_total": 0.1126,
                "crosses_accurate": 0.0,
                "touches": 17.871,
                "possession_lost": 3.735,
                "dispossessed": 0.4723,
                "duels_lost": 2.2611,
                "aerial_won": 1.3723,
                "aerial_lost": 0.5958,
                "interceptions": 0.0586,
                "tackles_won": 0.3745,
                "tackles": 0.3751,
                "clearances": 0.3311,
                "total_contest": 1.2601,
                "won_contest": 0.9286,
                "challenges_lost": 0.152,
                "fouls": 0.5921,
                "fouls_drawn": 0.3565,
                "blocks": 0.0,
                "big_chances_created": 0.2358,
                "big_chances_missed": 0.1915,
                "xgot": 0.1619,
                "ball_carries": 6.2481,
                "total_progression": 33.4367,
                "progressive_carries": 0.9296,
                "shots_off_target": 0.6535,
                "bench_appearance_probability": 0.57,
                "bench_expected_minutes": 19.93,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.206,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.054,
                "projected_assists": 0,
                "assist_probability": 0.0292,
                "finishing_factor": 1.0785,
                "creation_factor": 1.25,
                "fifa_overall": 75.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0292,
                "provider_weight": 0.0375,
                "squad_weight_total": 1.1393,
                "weight_share": 0.0329,
                "creation_factor": 1.25,
                "appearance_weight": 0.57,
                "weight_rank": 9,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Isco",
                    "weight": 0.1722,
                    "already": 0,
                    "effective_weight": 0.1722,
                    "runner_up": "Pablo Fornals",
                    "runner_up_effective_weight": 0.1629,
                    "blocked_own_goal": [
                      "Abdessamad Ezzalzouli"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Troy Parrott": {
          "player_id": 966555,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 19,
          "height": 185,
          "market_value": 23000000,
          "stats": {
            "expected_goals": 0.2695,
            "goal_rate": 0.1973,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0502,
            "key_pass": 0,
            "rating": 6.6536,
            "minutes": 23,
            "total_pass": 9,
            "accurate_pass": 7,
            "duels_won": 2,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 8,
            "accurate_opp_half_passes": 6,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 18,
            "possession_lost": 5.178,
            "dispossessed": 0.6977,
            "duels_lost": 3,
            "aerial_lost": 1,
            "total_contest": 1,
            "won_contest": 0,
            "ball_recovery": 2,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 1,
            "assist_rate": 0.3541,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.3239,
            "offsides": 0,
            "ball_carries": 4,
            "total_progression": 12,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.544,
            "bench_expected_minutes": 22.78,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.206,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.1285,
            "projected_assists": 0,
            "assist_probability": 0.0266,
            "finishing_factor": 0.953,
            "creation_factor": 1.25,
            "fifa_overall": 78.0
          },
          "latest_10_games": [
            {
              "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.0249,
                "expected_assists": 0.2476,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 11,
                "accurate_pass": 8,
                "key_pass": 2,
                "clearances": 1,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 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": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6536,
            "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.508,
          "history_matches": 4,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.508,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 22.78,
            "bench_appearance_prob": 0.544,
            "market_value_adjustment": 1.0258,
            "fbref_prior_metrics": {
              "squad": "Real Betis",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 1.0,
              "sub_appearances": 1.0,
              "minutes_per_sub": 20.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.0533
            },
            "rationale": "Bench projection scaled from XGBoost F_service (4 historical appearances) to 22.8 expected mins (appearance prob 0.54); FBref playing time empirical prior: 1.0 sub appearances, 20.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.1822,
                "goals": 0.1748,
                "goal_rate": 0.1748,
                "shots_on_target": 0.4253,
                "total_shots": 0.8543,
                "expected_assists": 0.0328,
                "key_pass": 0.3383,
                "rating": 6.6536,
                "minutes": 20.31,
                "total_pass": 7.9365,
                "accurate_pass": 6.0821,
                "duels_won": 1.8073,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 6.6698,
                "accurate_opp_half_passes": 4.8154,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 15.7438,
                "possession_lost": 4.5005,
                "dispossessed": 0.6802,
                "duels_lost": 2.3018,
                "aerial_lost": 1.0811,
                "total_contest": 0.6276,
                "won_contest": 0.3138,
                "ball_recovery": 1.8544,
                "challenges_lost": 0.0,
                "fouls": 0.2267,
                "fouls_drawn": 0.5806,
                "assists": 0.3138,
                "assist_rate": 0.3138,
                "interceptions": 0.0,
                "tackles_won": 0.6462,
                "tackles": 0.9129,
                "clearances": 0.966,
                "blocks": 0.0,
                "big_chances_created": 0.3138,
                "big_chances_missed": 0.4194,
                "xgot": 0.2189,
                "offsides": 0.2267,
                "ball_carries": 3.482,
                "total_progression": 10.3594,
                "progressive_carries": 0.4194,
                "shots_off_target": 0.429
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-11T10:27:16.278802+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 604,
                    "rows": 15537
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Getafe",
                    "minutes": 72.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-04",
                    "opponent": "Real Madrid",
                    "minutes": 22.0,
                    "is_starting": false,
                    "weight": 0.2667,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Levante UD",
                    "minutes": 57.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 5.9
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Valencia",
                    "minutes": 19.0,
                    "is_starting": false,
                    "weight": 0.1927,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 0.0,
                  "expectedGoals": 0.3155,
                  "totalOppositionHalfPasses": 6.6698,
                  "accurateOppositionHalfPasses": 4.8154,
                  "accuratePass": 6.0821,
                  "totalShots": 1.2267
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.1821502447128296,
                    "model_output": 0.1822,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.282
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0894
                      },
                      {
                        "name": "goals",
                        "importance": 0.0352
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0258
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0248
                      }
                    ],
                    "decomposition": {
                      "base": 0.1978,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0785
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.027
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0103
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.0064
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": 0.005
                        }
                      ],
                      "others": 0.0142,
                      "total": 0.1822,
                      "log_link": true,
                      "margin_base": -1.62027,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.505839
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.204149
                        },
                        {
                          "name": "goals",
                          "margin": 0.068269
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.039829
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": 0.029958
                        }
                      ],
                      "others_margin": 0.08098
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.17484797537326813,
                    "model_output": 0.1748,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.121
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0861
                      },
                      {
                        "name": "goals",
                        "importance": 0.0516
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0267
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0267
                      }
                    ],
                    "decomposition": {
                      "base": 0.2032,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0763
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0301
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.0145
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0093
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0078
                        }
                      ],
                      "others": -0.0138,
                      "total": 0.1748,
                      "log_link": true,
                      "margin_base": -1.593696,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.470664
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.212977
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.088358
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.052846
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.042335
                        }
                      ],
                      "others_margin": -0.075994
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.42528578639030457,
                    "model_output": 0.4253,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2113
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0717
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0497
                      },
                      {
                        "name": "goals",
                        "importance": 0.0454
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.5367,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1809
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0201
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0192
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0126
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0129
                        }
                      ],
                      "others": 0.0431,
                      "total": 0.4253,
                      "log_link": true,
                      "margin_base": -0.622283,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.410955
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.054982
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.052359
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.034662
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": 0.034315
                        }
                      ],
                      "others_margin": 0.106645
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.8543252944946289,
                    "model_output": 0.8543,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2764
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0561
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.043
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0394
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0354
                      }
                    ],
                    "decomposition": {
                      "base": 1.3728,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.5235
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.084
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.0242
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.024
                        },
                        {
                          "name": "shotOffTarget",
                          "contribution": 0.0237
                        }
                      ],
                      "others": 0.0655,
                      "total": 0.8543,
                      "log_link": false,
                      "margin_base": 1.372807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.523497
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.084013
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": -0.024229
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.023984
                        },
                        {
                          "name": "shotOffTarget",
                          "margin": 0.023677
                        }
                      ],
                      "others_margin": 0.065598
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.032776862382888794,
                    "model_output": 0.0328,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1017
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0772
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0688
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0665
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0563
                      }
                    ],
                    "decomposition": {
                      "base": 0.0639,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0199
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0067
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0053
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0038
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0029
                        }
                      ],
                      "others": -0.0059,
                      "total": 0.0328,
                      "log_link": true,
                      "margin_base": -2.751197,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.372965
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.141873
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.109439
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.086848
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.073247
                        }
                      ],
                      "others_margin": -0.166209
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.33830663561820984,
                    "model_output": 0.3383,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1626
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1193
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0628
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0553
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0328
                      }
                    ],
                    "decomposition": {
                      "base": 0.6728,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2808
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0301
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0212
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0197
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0153
                        }
                      ],
                      "others": 0.0326,
                      "total": 0.3383,
                      "log_link": true,
                      "margin_base": -0.396376,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.540113
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.07998
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.060353
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.059518
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.048688
                        }
                      ],
                      "others_margin": 0.101227
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.653594493865967,
                    "model_output": 6.6536,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0639
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0556
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0431
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0431
                      },
                      {
                        "name": "rating",
                        "importance": 0.039
                      }
                    ],
                    "decomposition": {
                      "base": 6.7636,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0588
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.0155
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0114
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0105
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0104
                        }
                      ],
                      "others": -0.0554,
                      "total": 6.6536,
                      "log_link": false,
                      "margin_base": 6.763607,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.058843
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.015469
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.011354
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.010471
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.010399
                        }
                      ],
                      "others_margin": -0.055357
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 4,
                  "role_matches": 2,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "all_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0258, quality 0.660)",
              "stats": {
                "expected_goals": 0.1868,
                "goals": 0.1794,
                "goal_rate": 0.1794,
                "shots_on_target": 0.4363,
                "total_shots": 0.8764,
                "expected_assists": 0.0336,
                "key_pass": 0.347,
                "rating": 6.6536,
                "minutes": 20.31,
                "total_pass": 8.1413,
                "accurate_pass": 6.239,
                "duels_won": 1.8539,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 6.8419,
                "accurate_opp_half_passes": 4.9396,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 16.15,
                "possession_lost": 4.6166,
                "dispossessed": 0.6977,
                "duels_lost": 2.3612,
                "aerial_lost": 1.109,
                "total_contest": 0.6438,
                "won_contest": 0.3219,
                "ball_recovery": 1.9022,
                "challenges_lost": 0.0,
                "fouls": 0.2325,
                "fouls_drawn": 0.5956,
                "assists": 0.3219,
                "assist_rate": 0.3219,
                "interceptions": 0.0,
                "tackles_won": 0.6629,
                "tackles": 0.9365,
                "clearances": 0.9909,
                "blocks": 0.0,
                "big_chances_created": 0.3219,
                "big_chances_missed": 0.4302,
                "xgot": 0.2245,
                "offsides": 0.2325,
                "ball_carries": 3.5718,
                "total_progression": 10.6267,
                "progressive_carries": 0.4302,
                "shots_off_target": 0.4401
              },
              "params": {
                "market_value_eur": 23000000,
                "quality_factor": 0.6595,
                "boost_factor": 1.0258,
                "reference_quality": 0.505,
                "history_matches": 4,
                "history_shrink": 0.5556,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0192)",
              "stats": {
                "expected_goals": 0.1868,
                "goals": 0.1759,
                "goal_rate": 0.1759,
                "shots_on_target": 0.4279,
                "total_shots": 0.875,
                "expected_assists": 0.0336,
                "key_pass": 0.347,
                "rating": 6.6536,
                "minutes": 20.31,
                "total_pass": 8.1413,
                "accurate_pass": 6.239,
                "duels_won": 1.8539,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 6.8419,
                "accurate_opp_half_passes": 4.9396,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 16.15,
                "possession_lost": 4.6166,
                "dispossessed": 0.6977,
                "duels_lost": 2.3612,
                "aerial_lost": 1.109,
                "total_contest": 0.6438,
                "won_contest": 0.3219,
                "ball_recovery": 1.9022,
                "challenges_lost": 0.0,
                "fouls": 0.2335,
                "fouls_drawn": 0.5841,
                "assists": 0.3157,
                "assist_rate": 0.3157,
                "interceptions": 0.0,
                "tackles_won": 0.6664,
                "tackles": 0.9365,
                "clearances": 0.9909,
                "blocks": 0.0,
                "big_chances_created": 0.3219,
                "big_chances_missed": 0.4302,
                "xgot": 0.2245,
                "offsides": 0.2335,
                "ball_carries": 3.5718,
                "total_progression": 10.6267,
                "progressive_carries": 0.4302,
                "shots_off_target": 0.4401
              },
              "params": {
                "blend_weight": 0.0192,
                "history_matches": 4,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.2257,
                "prior_reliability": 0.0533,
                "competition": "La Liga",
                "squad": "Real Betis"
              },
              "changes": [
                {
                  "stat": "wasFouled",
                  "before": 0.5956,
                  "after": 0.5841
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.4363,
                  "after": 0.4279
                },
                {
                  "stat": "goalAssist",
                  "before": 0.3219,
                  "after": 0.3157
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 20.3 to 22.8 expected minutes (appearance prob 0.54)",
              "stats": {
                "expected_goals": 0.2095,
                "goals": 0.1973,
                "goal_rate": 0.1973,
                "shots_on_target": 0.4799,
                "total_shots": 0.9814,
                "expected_assists": 0.0377,
                "key_pass": 0.3892,
                "rating": 6.6536,
                "minutes": 22.78,
                "total_pass": 9.1314,
                "accurate_pass": 6.9978,
                "duels_won": 2.0794,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 7.674,
                "accurate_opp_half_passes": 5.5403,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 18.1141,
                "possession_lost": 5.178,
                "dispossessed": 0.6977,
                "duels_lost": 2.6484,
                "aerial_lost": 1.109,
                "total_contest": 0.7221,
                "won_contest": 0.361,
                "ball_recovery": 2.1335,
                "challenges_lost": 0.0,
                "fouls": 0.2619,
                "fouls_drawn": 0.6551,
                "assists": 0.3541,
                "assist_rate": 0.3541,
                "interceptions": 0.0,
                "tackles_won": 0.7474,
                "tackles": 1.0504,
                "clearances": 1.1114,
                "blocks": 0.0,
                "big_chances_created": 0.361,
                "big_chances_missed": 0.4825,
                "xgot": 0.2518,
                "offsides": 0.2335,
                "ball_carries": 4.0062,
                "total_progression": 11.9191,
                "progressive_carries": 0.4825,
                "shots_off_target": 0.4936,
                "bench_appearance_probability": 0.544,
                "bench_expected_minutes": 22.78
              },
              "params": {
                "expected_minutes": 22.78,
                "projection_minutes": 20.31,
                "minutes_scale": 1.1216,
                "appearance_probability": 0.544
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.2095,
                "goals": 0.1973,
                "goal_rate": 0.1973,
                "shots_on_target": 0.4799,
                "total_shots": 0.9814,
                "expected_assists": 0.0377,
                "key_pass": 0.3892,
                "rating": 6.6536,
                "minutes": 22.78,
                "total_pass": 9.1314,
                "accurate_pass": 6.9978,
                "duels_won": 2.0794,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 7.674,
                "accurate_opp_half_passes": 5.5403,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 18.1141,
                "possession_lost": 5.178,
                "dispossessed": 0.6977,
                "duels_lost": 2.6484,
                "aerial_lost": 1.109,
                "total_contest": 0.7221,
                "won_contest": 0.361,
                "ball_recovery": 2.1335,
                "challenges_lost": 0.0,
                "fouls": 0.2619,
                "fouls_drawn": 0.6551,
                "assists": 0.3541,
                "assist_rate": 0.3541,
                "interceptions": 0.0,
                "tackles_won": 0.7474,
                "tackles": 1.0504,
                "clearances": 1.1114,
                "blocks": 0.0,
                "big_chances_created": 0.361,
                "big_chances_missed": 0.4825,
                "xgot": 0.2518,
                "offsides": 0.2335,
                "ball_carries": 4.0062,
                "total_progression": 11.9191,
                "progressive_carries": 0.4825,
                "shots_off_target": 0.4936,
                "bench_appearance_probability": 0.544,
                "bench_expected_minutes": 22.78
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.93 (squad xG sum 1.5037, xG scale 1.2862, xA scale 1.3318, team xA 1.26 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.2695,
                "goal_rate": 0.1973,
                "goals": 0,
                "shots_on_target": 0.4799,
                "total_shots": 0.9814,
                "expected_assists": 0.0502,
                "key_pass": 0.3892,
                "rating": 6.6536,
                "minutes": 22.78,
                "total_pass": 9.1314,
                "accurate_pass": 6.9978,
                "duels_won": 2.0794,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 7.674,
                "accurate_opp_half_passes": 5.5403,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 18.1141,
                "possession_lost": 5.178,
                "dispossessed": 0.6977,
                "duels_lost": 2.6484,
                "aerial_lost": 1.109,
                "total_contest": 0.7221,
                "won_contest": 0.361,
                "ball_recovery": 2.1335,
                "challenges_lost": 0.0,
                "fouls": 0.2619,
                "fouls_drawn": 0.6551,
                "assist_rate": 0.3541,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.7474,
                "tackles": 1.0504,
                "clearances": 1.1114,
                "blocks": 0.0,
                "big_chances_created": 0.361,
                "big_chances_missed": 0.4825,
                "xgot": 0.3239,
                "offsides": 0.2335,
                "ball_carries": 4.0062,
                "total_progression": 11.9191,
                "progressive_carries": 0.4825,
                "shots_off_target": 0.4936,
                "bench_appearance_probability": 0.544,
                "bench_expected_minutes": 22.78,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.206,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.953,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 1.934,
                "squad_xg_sum": 1.5037,
                "squad_xa_sum": 0.9439,
                "team_expected_assists": 1.2571,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2862,
                "xa_scale": 1.3318,
                "opponent_lambda": 0.835,
                "scoreline_reset": true,
                "appearance_weight": 0.544
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.2095,
                  "after": 0.2695
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0377,
                  "after": 0.0502
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 17 by projected rating, fifa_overall 78.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.2695,
                "goal_rate": 0.1973,
                "goals": 0,
                "shots_on_target": 0.4799,
                "total_shots": 0.9814,
                "expected_assists": 0.0502,
                "key_pass": 0.3892,
                "rating": 6.6536,
                "minutes": 22.78,
                "total_pass": 9.1314,
                "accurate_pass": 6.9978,
                "duels_won": 2.0794,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 7.674,
                "accurate_opp_half_passes": 5.5403,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 18.1141,
                "possession_lost": 5.178,
                "dispossessed": 0.6977,
                "duels_lost": 2.6484,
                "aerial_lost": 1.109,
                "total_contest": 0.7221,
                "won_contest": 0.361,
                "ball_recovery": 2.1335,
                "challenges_lost": 0.0,
                "fouls": 0.2619,
                "fouls_drawn": 0.6551,
                "assist_rate": 0.3541,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.7474,
                "tackles": 1.0504,
                "clearances": 1.1114,
                "blocks": 0.0,
                "big_chances_created": 0.361,
                "big_chances_missed": 0.4825,
                "xgot": 0.3239,
                "offsides": 0.2335,
                "ball_carries": 4.0062,
                "total_progression": 11.9191,
                "progressive_carries": 0.4825,
                "shots_off_target": 0.4936,
                "bench_appearance_probability": 0.544,
                "bench_expected_minutes": 22.78,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.206,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.953,
                "creation_factor": 1.25,
                "fifa_overall": 78.0
              },
              "params": {
                "match_squad_rank": 17,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 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: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.2695,
                "goal_rate": 0.1973,
                "goals": 0,
                "shots_on_target": 0.4799,
                "total_shots": 0.9814,
                "expected_assists": 0.0502,
                "key_pass": 0.3892,
                "rating": 6.6536,
                "minutes": 22.78,
                "total_pass": 9.1314,
                "accurate_pass": 6.9978,
                "duels_won": 2.0794,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 7.674,
                "accurate_opp_half_passes": 5.5403,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 18.1141,
                "possession_lost": 5.178,
                "dispossessed": 0.6977,
                "duels_lost": 2.6484,
                "aerial_lost": 1.109,
                "total_contest": 0.7221,
                "won_contest": 0.361,
                "ball_recovery": 2.1335,
                "challenges_lost": 0.0,
                "fouls": 0.2619,
                "fouls_drawn": 0.6551,
                "assist_rate": 0.3541,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.7474,
                "tackles": 1.0504,
                "clearances": 1.1114,
                "blocks": 0.0,
                "big_chances_created": 0.361,
                "big_chances_missed": 0.4825,
                "xgot": 0.3239,
                "offsides": 0.2335,
                "ball_carries": 4.0062,
                "total_progression": 11.9191,
                "progressive_carries": 0.4825,
                "shots_off_target": 0.4936,
                "bench_appearance_probability": 0.544,
                "bench_expected_minutes": 22.78,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.206,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.1285,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.953,
                "creation_factor": 1.25,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.1285,
                "scorer_weight": 0.1397,
                "squad_weight_total": 2.0478,
                "weight_share": 0.0682,
                "finishing_factor": 0.953,
                "appearance_weight": 0.544,
                "weight_rank": 4,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Abdessamad Ezzalzouli",
                    "weight": 0.5955,
                    "already": 0,
                    "effective_weight": 0.5955,
                    "runner_up": "Cucho Hernández",
                    "runner_up_effective_weight": 0.4616
                  }
                ]
              }
            },
            {
              "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.2695,
                "goal_rate": 0.1973,
                "goals": 0,
                "shots_on_target": 0.4799,
                "total_shots": 0.9814,
                "expected_assists": 0.0502,
                "key_pass": 0.3892,
                "rating": 6.6536,
                "minutes": 22.78,
                "total_pass": 9.1314,
                "accurate_pass": 6.9978,
                "duels_won": 2.0794,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 7.674,
                "accurate_opp_half_passes": 5.5403,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 18.1141,
                "possession_lost": 5.178,
                "dispossessed": 0.6977,
                "duels_lost": 2.6484,
                "aerial_lost": 1.109,
                "total_contest": 0.7221,
                "won_contest": 0.361,
                "ball_recovery": 2.1335,
                "challenges_lost": 0.0,
                "fouls": 0.2619,
                "fouls_drawn": 0.6551,
                "assist_rate": 0.3541,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.7474,
                "tackles": 1.0504,
                "clearances": 1.1114,
                "blocks": 0.0,
                "big_chances_created": 0.361,
                "big_chances_missed": 0.4825,
                "xgot": 0.3239,
                "offsides": 0.2335,
                "ball_carries": 4.0062,
                "total_progression": 11.9191,
                "progressive_carries": 0.4825,
                "shots_off_target": 0.4936,
                "bench_appearance_probability": 0.544,
                "bench_expected_minutes": 22.78,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.206,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.1285,
                "projected_assists": 0,
                "assist_probability": 0.0266,
                "finishing_factor": 0.953,
                "creation_factor": 1.25,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0266,
                "provider_weight": 0.0341,
                "squad_weight_total": 1.1393,
                "weight_share": 0.03,
                "creation_factor": 1.25,
                "appearance_weight": 0.544,
                "weight_rank": 10,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Isco",
                    "weight": 0.1722,
                    "already": 0,
                    "effective_weight": 0.1722,
                    "runner_up": "Pablo Fornals",
                    "runner_up_effective_weight": 0.1629,
                    "blocked_own_goal": [
                      "Abdessamad Ezzalzouli"
                    ]
                  }
                ]
              }
            }
          ]
        }
      },
      "team_totals": {
        "projected_goals": 1,
        "expected_goals": 1.93,
        "expected_assists": 1.26,
        "total_shots": 16,
        "shots_on_target": 3,
        "total_passes": 475,
        "interceptions": 8,
        "tackles": 13,
        "avg_rating": 6.96,
        "possession_estimated_pct": 50.1,
        "pressing_actions_per_90": 6.1
      }
    },
    "Osasuna": {
      "formation": "4-2-3-1",
      "players": {
        "Iker Muñoz": {
          "player_id": 1119586,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 8,
          "height": 179,
          "market_value": 1800000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0483,
            "assist_rate": 0.0599,
            "assists": 0,
            "expected_goals": 0.0358,
            "goal_rate": 0.0403,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.8802,
            "minutes": 83,
            "total_pass": 44,
            "accurate_pass": 36,
            "duels_won": 4,
            "total_long_balls": 6,
            "accurate_long_balls": 3,
            "total_own_half_passes": 20,
            "accurate_own_half_passes": 18,
            "total_opp_half_passes": 24,
            "accurate_opp_half_passes": 18,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 56,
            "possession_lost": 10.8256,
            "dispossessed": 0.617,
            "duels_lost": 5,
            "aerial_won": 1,
            "aerial_lost": 1,
            "interceptions": 1,
            "tackles_won": 0,
            "tackles": 1,
            "clearances": 2,
            "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.0361,
            "ball_carries": 16,
            "total_progression": 54,
            "progressive_carries": 1,
            "shots_off_target": 0,
            "duel_xg_multiplier": 1.0094,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.7,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.406,
            "pressing_faced": "LOW",
            "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
            "numerical_situation": "1v1",
            "opponent_defenders": "Isco",
            "opponent_faced": "Isco",
            "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0352,
            "projected_assists": 0,
            "assist_probability": 0.0472,
            "finishing_factor": 1.0624,
            "creation_factor": 1.1472,
            "fifa_overall": 73.0
          },
          "latest_10_games": [
            {
              "match_id": 16416305,
              "match_date": "2026-09-19",
              "home_team": "Osasuna",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0183,
                "total_shots": 0,
                "total_pass": 38,
                "accurate_pass": 26,
                "key_pass": 2,
                "interceptions": 1,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416327,
              "match_date": "2026-09-12",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0596,
                "expected_assists": 0.0519,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 66,
                "accurate_pass": 58,
                "clearances": 5,
                "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": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416318,
              "match_date": "2026-09-06",
              "home_team": "Deportivo Alavés",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0204,
                "total_shots": 0,
                "total_pass": 68,
                "accurate_pass": 58,
                "interceptions": 4,
                "clearances": 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": 16416314,
              "match_date": "2026-08-31",
              "home_team": "Osasuna",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Getafe",
              "stats": {
                "minutes": 71,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0362,
                "total_shots": 0,
                "total_pass": 33,
                "accurate_pass": 23,
                "tackles": 1,
                "interceptions": 2,
                "clearances": 4,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16815992,
              "match_date": "2026-08-27",
              "home_team": "Celta Vigo",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 45,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0281,
                "expected_assists": 0.0108,
                "total_shots": 1,
                "total_pass": 33,
                "accurate_pass": 30,
                "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": 16416296,
              "match_date": "2026-08-24",
              "home_team": "Osasuna",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0204,
                "total_shots": 0,
                "total_pass": 42,
                "accurate_pass": 37,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083696,
              "match_date": "2026-05-17",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 32,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0177,
                "expected_assists": 0.0186,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 23,
                "accurate_pass": 22,
                "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": 14083568,
              "match_date": "2026-05-08",
              "home_team": "Levante UD",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 62,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0076,
                "total_shots": 0,
                "total_pass": 23,
                "accurate_pass": 18,
                "interceptions": 1,
                "clearances": 4,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 5
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083231,
              "match_date": "2026-04-26",
              "home_team": "Osasuna",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 71,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0072,
                "total_shots": 0,
                "total_pass": 32,
                "accurate_pass": 24,
                "key_pass": 1,
                "clearances": 2,
                "aerial_won": 3,
                "duels_won": 6,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083258,
              "match_date": "2026-04-21",
              "home_team": "Athletic Club",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 19,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0042,
                "total_shots": 0,
                "total_pass": 14,
                "accurate_pass": 11,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 4072,
            "combined_rank_score": 2051.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 578.0,
            "sofascore_rating": 6.8,
            "sofascore_appearances": 3.0,
            "fifa_rank": 3525.0,
            "fifa_overall": 73.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 4,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8802,
            "source_file": "data/player_rankings.csv",
            "player_name": "Iker Muñoz",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Ondrej Duda",
                  "ranking": 4067
                },
                {
                  "player_name": "Caleb Yirenkyi",
                  "ranking": 4068
                },
                {
                  "player_name": "Gabriel Ávalos",
                  "ranking": 4069
                },
                {
                  "player_name": "Cecilio Domínguez",
                  "ranking": 4070
                },
                {
                  "player_name": "Álvaro Montero",
                  "ranking": 4071
                }
              ],
              "lower": [
                {
                  "player_name": "Elvis Rexhbeçaj",
                  "ranking": 4073
                },
                {
                  "player_name": "Aarón Anselmino",
                  "ranking": 4074
                },
                {
                  "player_name": "Miguel Ángel Merentiel",
                  "ranking": 4075
                },
                {
                  "player_name": "Gastón Martirena",
                  "ranking": 4076
                },
                {
                  "player_name": "Adam Armstrong",
                  "ranking": 4077
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.773,
          "history_matches": 25,
          "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": 25,
            "data_confidence": 0.773,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9966,
            "fbref_prior_metrics": {
              "squad": "Osasuna",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 2.0,
              "minutes": 205.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.44,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.1533
            },
            "rationale": "XGBoost regressor (M_service) evaluated 25 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Osasuna, rel: 0.15, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.5744,
                "expected_assists": 0.0459,
                "assists": 0.0611,
                "assist_rate": 0.0611,
                "expected_goals": 0.0348,
                "goals": 0.0407,
                "goal_rate": 0.0407,
                "shots_on_target": 0.168,
                "total_shots": 0.6638,
                "rating": 6.8802,
                "minutes": 83.12,
                "total_pass": 44.6422,
                "accurate_pass": 36.6219,
                "duels_won": 4.2959,
                "total_long_balls": 5.6726,
                "accurate_long_balls": 2.8055,
                "total_own_half_passes": 20.3467,
                "accurate_own_half_passes": 18.2846,
                "total_opp_half_passes": 24.2955,
                "accurate_opp_half_passes": 18.3373,
                "crosses_total": 0.4235,
                "crosses_accurate": 0.1356,
                "touches": 56.392,
                "possession_lost": 10.8625,
                "dispossessed": 0.6191,
                "duels_lost": 5.2027,
                "aerial_won": 1.7784,
                "aerial_lost": 1.2663,
                "interceptions": 1.2199,
                "tackles_won": 0.3411,
                "tackles": 0.5249,
                "clearances": 2.447,
                "total_contest": 1.0462,
                "won_contest": 0.5542,
                "challenges_lost": 1.3872,
                "fouls": 1.4381,
                "fouls_drawn": 1.4932,
                "blocks": 0.344,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0351,
                "ball_carries": 15.6249,
                "total_progression": 54.2675,
                "progressive_carries": 0.9191,
                "shots_off_target": 0.4958
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-11T10:26:42.530573+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 894,
                    "rows": 23497
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1526,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1297,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1103,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Getafe",
                    "minutes": 71.0,
                    "is_starting": true,
                    "weight": 0.0937,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Celta Vigo",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.0797,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0677,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Espanyol",
                    "minutes": 32.0,
                    "is_starting": false,
                    "weight": 0.0576,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-05-08",
                    "opponent": "Levante UD",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.0489,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-04-26",
                    "opponent": "Sevilla",
                    "minutes": 71.0,
                    "is_starting": true,
                    "weight": 0.0416,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-04-21",
                    "opponent": "Athletic Club",
                    "minutes": 19.0,
                    "is_starting": false,
                    "weight": 0.0354,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.3839,
                  "creative_index": 0.2139,
                  "expectedGoals": 0.016,
                  "expectedAssists": 0.0236,
                  "onTargetScoringAttempt": 0.2325
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.5743510723114014,
                    "model_output": 0.5744,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1648
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1344
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0672
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0573
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0281
                      }
                    ],
                    "decomposition": {
                      "base": 0.8857,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1259
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.1048
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0927
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0673
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0414
                        }
                      ],
                      "others": -0.131,
                      "total": 0.5744,
                      "log_link": true,
                      "margin_base": -0.121432,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.132951
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.109352
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.107897
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.08624
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.056975
                        }
                      ],
                      "others_margin": -0.20557
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.04592953249812126,
                    "model_output": 0.0459,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1094
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1055
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.099
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0603
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0557
                      }
                    ],
                    "decomposition": {
                      "base": 0.0855,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.016
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0095
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0091
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0052
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0035
                        }
                      ],
                      "others": -0.0153,
                      "total": 0.0459,
                      "log_link": true,
                      "margin_base": -2.458929,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": -0.207088
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.127893
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.121701
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.077467
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.055806
                        }
                      ],
                      "others_margin": -0.287548
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.061144281178712845,
                    "model_output": 0.0611,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0515
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0436
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0436
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0319
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.03
                      }
                    ],
                    "decomposition": {
                      "base": 0.0858,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": -0.0113
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0079
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0071
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0053
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0047
                        }
                      ],
                      "others": -0.0042,
                      "total": 0.0611,
                      "log_link": true,
                      "margin_base": -2.456317,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": -0.140933
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.101389
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.090511
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.07326
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.070109
                        }
                      ],
                      "others_margin": -0.064779
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.03482012823224068,
                    "model_output": 0.0348,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1335
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.086
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0661
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0433
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.0936,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0373
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0102
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0063
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0049
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0038
                        }
                      ],
                      "others": -0.0089,
                      "total": 0.0348,
                      "log_link": true,
                      "margin_base": -2.368441,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.507468
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.199677
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.127615
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.098606
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.082386
                        }
                      ],
                      "others_margin": -0.228598
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.04069891571998596,
                    "model_output": 0.0407,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0863
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0517
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0485
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0373
                      },
                      {
                        "name": "goals",
                        "importance": 0.0275
                      }
                    ],
                    "decomposition": {
                      "base": 0.0966,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.025
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0144
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0067
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0051
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0046
                        }
                      ],
                      "others": -0.0093,
                      "total": 0.0407,
                      "log_link": true,
                      "margin_base": -2.337105,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.299919
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.225318
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.123871
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.105843
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.097046
                        }
                      ],
                      "others_margin": -0.206544
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.16795165836811066,
                    "model_output": 0.168,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.108
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0886
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0725
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0371
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.324,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0838
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.047
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0268
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.024
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0144
                        }
                      ],
                      "others": -0.0136,
                      "total": 0.168,
                      "log_link": true,
                      "margin_base": -1.126872,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.299192
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.217451
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.12973
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.115394
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.076229
                        }
                      ],
                      "others_margin": -0.07867
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.6637083888053894,
                    "model_output": 0.6637,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1275
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1232
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0542
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0485
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0257
                      }
                    ],
                    "decomposition": {
                      "base": 0.99,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.2343
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1223
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0567
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0528
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0433
                        }
                      ],
                      "others": -0.0615,
                      "total": 0.6637,
                      "log_link": false,
                      "margin_base": 0.989981,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.234339
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.122315
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.056741
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.052811
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.043347
                        }
                      ],
                      "others_margin": -0.06135
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.88020133972168,
                    "model_output": 6.8802,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0898
                      },
                      {
                        "name": "rating",
                        "importance": 0.0801
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0397
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0337
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0318
                      }
                    ],
                    "decomposition": {
                      "base": 6.8504,
                      "items": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0975
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0327
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0322
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.031
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0156
                        }
                      ],
                      "others": -0.0182,
                      "total": 6.8802,
                      "log_link": false,
                      "margin_base": 6.850356,
                      "item_margins": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.097471
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.032728
                        },
                        {
                          "name": "rating",
                          "margin": -0.032211
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.030966
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.015572
                        }
                      ],
                      "others_margin": -0.01808
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 25,
                  "role_matches": 13,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9966, quality 0.437)",
              "stats": {
                "key_pass": 0.5724,
                "expected_assists": 0.0458,
                "assists": 0.0609,
                "assist_rate": 0.0609,
                "expected_goals": 0.0347,
                "goals": 0.0406,
                "goal_rate": 0.0406,
                "shots_on_target": 0.1674,
                "total_shots": 0.6615,
                "rating": 6.8802,
                "minutes": 83.12,
                "total_pass": 44.4904,
                "accurate_pass": 36.4974,
                "duels_won": 4.2813,
                "total_long_balls": 5.6533,
                "accurate_long_balls": 2.796,
                "total_own_half_passes": 20.2775,
                "accurate_own_half_passes": 18.2224,
                "total_opp_half_passes": 24.2129,
                "accurate_opp_half_passes": 18.275,
                "crosses_total": 0.4221,
                "crosses_accurate": 0.1351,
                "touches": 56.2003,
                "possession_lost": 10.8256,
                "dispossessed": 0.617,
                "duels_lost": 5.185,
                "aerial_won": 1.7724,
                "aerial_lost": 1.262,
                "interceptions": 1.2158,
                "tackles_won": 0.3399,
                "tackles": 0.5231,
                "clearances": 2.4387,
                "total_contest": 1.0426,
                "won_contest": 0.5523,
                "challenges_lost": 1.3825,
                "fouls": 1.4332,
                "fouls_drawn": 1.4881,
                "blocks": 0.3428,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.035,
                "ball_carries": 15.5718,
                "total_progression": 54.083,
                "progressive_carries": 0.916,
                "shots_off_target": 0.4941
              },
              "params": {
                "market_value_eur": 1800000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9966,
                "reference_quality": 0.505,
                "history_matches": 25,
                "history_shrink": 0.1667,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0166)",
              "stats": {
                "key_pass": 0.5724,
                "expected_assists": 0.0458,
                "assists": 0.0599,
                "assist_rate": 0.0599,
                "expected_goals": 0.0347,
                "goals": 0.0399,
                "goal_rate": 0.0399,
                "shots_on_target": 0.1646,
                "total_shots": 0.6573,
                "rating": 6.8802,
                "minutes": 83.12,
                "total_pass": 44.4904,
                "accurate_pass": 36.4974,
                "duels_won": 4.2813,
                "total_long_balls": 5.6533,
                "accurate_long_balls": 2.796,
                "total_own_half_passes": 20.2775,
                "accurate_own_half_passes": 18.2224,
                "total_opp_half_passes": 24.2129,
                "accurate_opp_half_passes": 18.275,
                "crosses_total": 0.4351,
                "crosses_accurate": 0.1351,
                "touches": 56.2003,
                "possession_lost": 10.8256,
                "dispossessed": 0.617,
                "duels_lost": 5.185,
                "aerial_won": 1.7724,
                "aerial_lost": 1.262,
                "interceptions": 1.2089,
                "tackles_won": 0.3409,
                "tackles": 0.5231,
                "clearances": 2.4387,
                "total_contest": 1.0426,
                "won_contest": 0.5523,
                "challenges_lost": 1.3825,
                "fouls": 1.4427,
                "fouls_drawn": 1.4767,
                "blocks": 0.3428,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.035,
                "ball_carries": 15.5718,
                "total_progression": 54.083,
                "progressive_carries": 0.916,
                "shots_off_target": 0.4941
              },
              "params": {
                "blend_weight": 0.0166,
                "history_matches": 25,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9236,
                "prior_reliability": 0.1533,
                "competition": "La Liga",
                "squad": "Osasuna"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 0.4221,
                  "after": 0.4351
                },
                {
                  "stat": "wasFouled",
                  "before": 1.4881,
                  "after": 1.4767
                },
                {
                  "stat": "fouls",
                  "before": 1.4332,
                  "after": 1.4427
                },
                {
                  "stat": "interceptionWon",
                  "before": 1.2158,
                  "after": 1.2089
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.5724,
                "expected_assists": 0.0458,
                "assists": 0.0599,
                "assist_rate": 0.0599,
                "expected_goals": 0.0347,
                "goals": 0.0399,
                "goal_rate": 0.0399,
                "shots_on_target": 0.1646,
                "total_shots": 0.6587,
                "rating": 6.8802,
                "minutes": 83.12,
                "total_pass": 44.4904,
                "accurate_pass": 36.4974,
                "duels_won": 4.2813,
                "total_long_balls": 5.6533,
                "accurate_long_balls": 2.796,
                "total_own_half_passes": 20.2775,
                "accurate_own_half_passes": 18.2224,
                "total_opp_half_passes": 24.2129,
                "accurate_opp_half_passes": 18.275,
                "crosses_total": 0.4351,
                "crosses_accurate": 0.1351,
                "touches": 56.2003,
                "possession_lost": 10.8256,
                "dispossessed": 0.617,
                "duels_lost": 5.185,
                "aerial_won": 1.7724,
                "aerial_lost": 1.262,
                "interceptions": 1.2089,
                "tackles_won": 0.3409,
                "tackles": 0.5231,
                "clearances": 2.4387,
                "total_contest": 1.0426,
                "won_contest": 0.5523,
                "challenges_lost": 1.3825,
                "fouls": 1.4427,
                "fouls_drawn": 1.4767,
                "blocks": 0.3428,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.035,
                "ball_carries": 15.5718,
                "total_progression": 54.083,
                "progressive_carries": 0.916,
                "shots_off_target": 0.4941
              },
              "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.5724,
                "expected_assists": 0.0458,
                "assists": 0.0599,
                "assist_rate": 0.0599,
                "expected_goals": 0.035,
                "goals": 0.0403,
                "goal_rate": 0.0403,
                "shots_on_target": 0.1661,
                "total_shots": 0.6649,
                "rating": 6.8802,
                "minutes": 83.12,
                "total_pass": 44.4904,
                "accurate_pass": 36.4974,
                "duels_won": 4.2813,
                "total_long_balls": 5.6533,
                "accurate_long_balls": 2.796,
                "total_own_half_passes": 20.2775,
                "accurate_own_half_passes": 18.2224,
                "total_opp_half_passes": 24.2129,
                "accurate_opp_half_passes": 18.275,
                "crosses_total": 0.4351,
                "crosses_accurate": 0.1351,
                "touches": 56.2003,
                "possession_lost": 10.8256,
                "dispossessed": 0.617,
                "duels_lost": 5.185,
                "aerial_won": 1.0,
                "aerial_lost": 1.262,
                "interceptions": 1.2089,
                "tackles_won": 0.3409,
                "tackles": 0.5231,
                "clearances": 2.4387,
                "total_contest": 1.0426,
                "won_contest": 0.5523,
                "challenges_lost": 1.3825,
                "fouls": 1.4427,
                "fouls_drawn": 1.4767,
                "blocks": 0.3428,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0353,
                "ball_carries": 15.5718,
                "total_progression": 54.083,
                "progressive_carries": 0.916,
                "shots_off_target": 0.4987,
                "duel_xg_multiplier": 1.0094,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.406,
                "pressing_faced": "LOW",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Isco",
                "opponent_faced": "Isco",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Isco",
                  "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                  "duel_win_rate": 0.406,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 1.0094,
                  "skill_edge": -0.0056,
                  "height_edge": 0.012,
                  "attacker_skill": 0.4374,
                  "defender_skill": 0.4498,
                  "attacker_role": "CDM",
                  "attacker_mv_price_index": 0.85,
                  "defender_adjusted_parts": [
                    {
                      "player": "Isco",
                      "market_value": 3600000,
                      "role": "CM",
                      "price_index": 0.9,
                      "adjusted_quality": 0.4498
                    }
                  ],
                  "xg_override": 0.035
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 1.7724,
                  "after": 1.0
                },
                {
                  "stat": "totalShots",
                  "before": 0.6587,
                  "after": 0.6649
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 0.83 (squad xG sum 0.8154, xG scale 1.0240, xA scale 1.0541, team xA 0.54 = 0.65 x lambda)",
              "stats": {
                "key_pass": 0.5724,
                "expected_assists": 0.0483,
                "assist_rate": 0.0599,
                "assists": 0,
                "expected_goals": 0.0358,
                "goal_rate": 0.0403,
                "goals": 0,
                "shots_on_target": 0.1661,
                "total_shots": 0.6649,
                "rating": 6.8802,
                "minutes": 83.12,
                "total_pass": 44.4904,
                "accurate_pass": 36.4974,
                "duels_won": 4.2813,
                "total_long_balls": 5.6533,
                "accurate_long_balls": 2.796,
                "total_own_half_passes": 20.2775,
                "accurate_own_half_passes": 18.2224,
                "total_opp_half_passes": 24.2129,
                "accurate_opp_half_passes": 18.275,
                "crosses_total": 0.4351,
                "crosses_accurate": 0.1351,
                "touches": 56.2003,
                "possession_lost": 10.8256,
                "dispossessed": 0.617,
                "duels_lost": 5.185,
                "aerial_won": 1.0,
                "aerial_lost": 1.262,
                "interceptions": 1.2089,
                "tackles_won": 0.3409,
                "tackles": 0.5231,
                "clearances": 2.4387,
                "total_contest": 1.0426,
                "won_contest": 0.5523,
                "challenges_lost": 1.3825,
                "fouls": 1.4427,
                "fouls_drawn": 1.4767,
                "blocks": 0.3428,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0361,
                "ball_carries": 15.5718,
                "total_progression": 54.083,
                "progressive_carries": 0.916,
                "shots_off_target": 0.4987,
                "duel_xg_multiplier": 1.0094,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.406,
                "pressing_faced": "LOW",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Isco",
                "opponent_faced": "Isco",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0624,
                "creation_factor": 1.1472
              },
              "params": {
                "team_lambda": 0.835,
                "squad_xg_sum": 0.8154,
                "squad_xa_sum": 0.5149,
                "team_expected_assists": 0.5427,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.024,
                "xa_scale": 1.0541,
                "opponent_lambda": 1.934,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 4 by projected rating, fifa_overall 73.0; not used by the projection)",
              "stats": {
                "key_pass": 0.5724,
                "expected_assists": 0.0483,
                "assist_rate": 0.0599,
                "assists": 0,
                "expected_goals": 0.0358,
                "goal_rate": 0.0403,
                "goals": 0,
                "shots_on_target": 0.1661,
                "total_shots": 0.6649,
                "rating": 6.8802,
                "minutes": 83.12,
                "total_pass": 44.4904,
                "accurate_pass": 36.4974,
                "duels_won": 4.2813,
                "total_long_balls": 5.6533,
                "accurate_long_balls": 2.796,
                "total_own_half_passes": 20.2775,
                "accurate_own_half_passes": 18.2224,
                "total_opp_half_passes": 24.2129,
                "accurate_opp_half_passes": 18.275,
                "crosses_total": 0.4351,
                "crosses_accurate": 0.1351,
                "touches": 56.2003,
                "possession_lost": 10.8256,
                "dispossessed": 0.617,
                "duels_lost": 5.185,
                "aerial_won": 1.0,
                "aerial_lost": 1.262,
                "interceptions": 1.2089,
                "tackles_won": 0.3409,
                "tackles": 0.5231,
                "clearances": 2.4387,
                "total_contest": 1.0426,
                "won_contest": 0.5523,
                "challenges_lost": 1.3825,
                "fouls": 1.4427,
                "fouls_drawn": 1.4767,
                "blocks": 0.3428,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0361,
                "ball_carries": 15.5718,
                "total_progression": 54.083,
                "progressive_carries": 0.916,
                "shots_off_target": 0.4987,
                "duel_xg_multiplier": 1.0094,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.406,
                "pressing_faced": "LOW",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Isco",
                "opponent_faced": "Isco",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0624,
                "creation_factor": 1.1472,
                "fifa_overall": 73.0
              },
              "params": {
                "match_squad_rank": 4,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 4072,
                "fifa_rank": 3525.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.5724,
                "expected_assists": 0.0483,
                "assist_rate": 0.0599,
                "assists": 0,
                "expected_goals": 0.0358,
                "goal_rate": 0.0403,
                "goals": 0,
                "shots_on_target": 0.1661,
                "total_shots": 0.6649,
                "rating": 6.8802,
                "minutes": 83.12,
                "total_pass": 44.4904,
                "accurate_pass": 36.4974,
                "duels_won": 4.2813,
                "total_long_balls": 5.6533,
                "accurate_long_balls": 2.796,
                "total_own_half_passes": 20.2775,
                "accurate_own_half_passes": 18.2224,
                "total_opp_half_passes": 24.2129,
                "accurate_opp_half_passes": 18.275,
                "crosses_total": 0.4351,
                "crosses_accurate": 0.1351,
                "touches": 56.2003,
                "possession_lost": 10.8256,
                "dispossessed": 0.617,
                "duels_lost": 5.185,
                "aerial_won": 1.0,
                "aerial_lost": 1.262,
                "interceptions": 1.2089,
                "tackles_won": 0.3409,
                "tackles": 0.5231,
                "clearances": 2.4387,
                "total_contest": 1.0426,
                "won_contest": 0.5523,
                "challenges_lost": 1.3825,
                "fouls": 1.4427,
                "fouls_drawn": 1.4767,
                "blocks": 0.3428,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0361,
                "ball_carries": 15.5718,
                "total_progression": 54.083,
                "progressive_carries": 0.916,
                "shots_off_target": 0.4987,
                "duel_xg_multiplier": 1.0094,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.406,
                "pressing_faced": "LOW",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Isco",
                "opponent_faced": "Isco",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0352,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0624,
                "creation_factor": 1.1472,
                "fifa_overall": 73.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0352,
                "scorer_weight": 0.038,
                "squad_weight_total": 0.8684,
                "weight_share": 0.0438,
                "finishing_factor": 1.0624,
                "appearance_weight": 1.0,
                "weight_rank": 6,
                "eligible_players": 14
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "key_pass": 0.5724,
                "expected_assists": 0.0483,
                "assist_rate": 0.0599,
                "assists": 0,
                "expected_goals": 0.0358,
                "goal_rate": 0.0403,
                "goals": 0,
                "shots_on_target": 0.1661,
                "total_shots": 0.6649,
                "rating": 6.8802,
                "minutes": 83.12,
                "total_pass": 44.4904,
                "accurate_pass": 36.4974,
                "duels_won": 4.2813,
                "total_long_balls": 5.6533,
                "accurate_long_balls": 2.796,
                "total_own_half_passes": 20.2775,
                "accurate_own_half_passes": 18.2224,
                "total_opp_half_passes": 24.2129,
                "accurate_opp_half_passes": 18.275,
                "crosses_total": 0.4351,
                "crosses_accurate": 0.1351,
                "touches": 56.2003,
                "possession_lost": 10.8256,
                "dispossessed": 0.617,
                "duels_lost": 5.185,
                "aerial_won": 1.0,
                "aerial_lost": 1.262,
                "interceptions": 1.2089,
                "tackles_won": 0.3409,
                "tackles": 0.5231,
                "clearances": 2.4387,
                "total_contest": 1.0426,
                "won_contest": 0.5523,
                "challenges_lost": 1.3825,
                "fouls": 1.4427,
                "fouls_drawn": 1.4767,
                "blocks": 0.3428,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0361,
                "ball_carries": 15.5718,
                "total_progression": 54.083,
                "progressive_carries": 0.916,
                "shots_off_target": 0.4987,
                "duel_xg_multiplier": 1.0094,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.406,
                "pressing_faced": "LOW",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Isco",
                "opponent_faced": "Isco",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0352,
                "projected_assists": 0,
                "assist_probability": 0.0472,
                "finishing_factor": 1.0624,
                "creation_factor": 1.1472,
                "fifa_overall": 73.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0472,
                "provider_weight": 0.0554,
                "squad_weight_total": 0.4935,
                "weight_share": 0.1123,
                "creation_factor": 1.1472,
                "appearance_weight": 1.0,
                "weight_rank": 4,
                "eligible_players": 14
              }
            }
          ]
        },
        "Abel Bretones": {
          "player_id": 1010165,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 23,
          "height": 188,
          "market_value": 3400000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 1,
            "clearances": 2,
            "aerial_won": 1,
            "total_shots": 0,
            "rating": 6.6176,
            "minutes": 88,
            "total_pass": 27,
            "accurate_pass": 21,
            "duels_won": 4,
            "total_long_balls": 5,
            "accurate_long_balls": 2,
            "total_own_half_passes": 12,
            "accurate_own_half_passes": 11,
            "total_opp_half_passes": 14,
            "accurate_opp_half_passes": 11,
            "crosses_total": 2,
            "crosses_accurate": 0,
            "touches": 50,
            "possession_lost": 12.4863,
            "dispossessed": 0.7003,
            "duels_lost": 5,
            "aerial_lost": 1,
            "total_contest": 1,
            "won_contest": 0,
            "ball_recovery": 4,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 0,
            "goal_rate": 0.0125,
            "goals": 0,
            "assist_rate": 0.0572,
            "assists": 0,
            "expected_goals": 0.0194,
            "expected_assists": 0.0406,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0109,
            "ball_carries": 12,
            "total_progression": 42,
            "progressive_carries": 1,
            "key_pass": 0,
            "shots_off_target": 0,
            "tackles_in_zone": 1.0,
            "tackles_won_in_zone": 0.9,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.795,
            "opponent_faced": "Cucho Hernández",
            "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "antagonist_source": "defensive_duel",
            "projected_goals": 0,
            "goal_probability": 0.0192,
            "projected_assists": 0,
            "assist_probability": 0.0398,
            "finishing_factor": 0.9071,
            "creation_factor": 1.2113,
            "fifa_overall": 76.0
          },
          "latest_10_games": [
            {
              "match_id": 16416305,
              "match_date": "2026-09-19",
              "home_team": "Osasuna",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 34,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.005,
                "total_shots": 0,
                "total_pass": 15,
                "accurate_pass": 10,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416335,
              "match_date": "2026-09-16",
              "home_team": "Atlético Madrid",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 5.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.002,
                "total_shots": 0,
                "total_pass": 16,
                "accurate_pass": 11,
                "clearances": 3,
                "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": 16416327,
              "match_date": "2026-09-12",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 45,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.2636,
                "total_shots": 0,
                "total_pass": 36,
                "accurate_pass": 33,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 3,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416318,
              "match_date": "2026-09-06",
              "home_team": "Deportivo Alavés",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 4.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0202,
                "total_shots": 0,
                "total_pass": 29,
                "accurate_pass": 23,
                "tackles": 3,
                "tackles_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": 16416314,
              "match_date": "2026-08-31",
              "home_team": "Osasuna",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0095,
                "expected_assists": 0.0027,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 18,
                "accurate_pass": 13,
                "tackles": 4,
                "tackles_won": 3,
                "interceptions": 1,
                "aerial_won": 1,
                "duels_won": 6,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16815992,
              "match_date": "2026-08-27",
              "home_team": "Celta Vigo",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0241,
                "expected_assists": 0.0284,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 45,
                "accurate_pass": 41,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 3,
                "interceptions": 1,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416296,
              "match_date": "2026-08-24",
              "home_team": "Osasuna",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0637,
                "total_shots": 0,
                "total_pass": 33,
                "accurate_pass": 24,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 3,
                "aerial_won": 4,
                "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": 14083696,
              "match_date": "2026-05-17",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 67,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0691,
                "total_shots": 0,
                "total_pass": 33,
                "accurate_pass": 27,
                "interceptions": 1,
                "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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083634,
              "match_date": "2026-05-12",
              "home_team": "Osasuna",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 30,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0787,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 13,
                "key_pass": 2,
                "clearances": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083568,
              "match_date": "2026-05-08",
              "home_team": "Levante UD",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.2288,
                "total_shots": 0,
                "total_pass": 30,
                "accurate_pass": 23,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 6,
                "duels_won": 3,
                "ball_recovery": 4
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 3302,
            "combined_rank_score": 1257.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 530.0,
            "sofascore_rating": 6.8333,
            "sofascore_appearances": 3.0,
            "fifa_rank": 1985.0,
            "fifa_overall": 76.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 17,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6176,
            "source_file": "data/player_rankings.csv",
            "player_name": "Abel Bretones",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Ibrahim Mbaye",
                  "ranking": 3297
                },
                {
                  "player_name": "Unai Núñez",
                  "ranking": 3298
                },
                {
                  "player_name": "Rodrigo Muniz",
                  "ranking": 3299
                },
                {
                  "player_name": "Raíllo",
                  "ranking": 3300
                },
                {
                  "player_name": "Gelson Martins",
                  "ranking": 3301
                }
              ],
              "lower": [
                {
                  "player_name": "Chiquinho",
                  "ranking": 3303
                },
                {
                  "player_name": "Kaiki",
                  "ranking": 3304
                },
                {
                  "player_name": "Mouctar Diakhaby",
                  "ranking": 3305
                },
                {
                  "player_name": "Diego Carlos",
                  "ranking": 3306
                },
                {
                  "player_name": "André Onana",
                  "ranking": 3307
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.78,
          "history_matches": 35,
          "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": 35,
            "data_confidence": 0.78,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9977,
            "fbref_prior_metrics": {
              "squad": "Osasuna",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 270.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.67,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.2
            },
            "rationale": "XGBoost regressor (D_service) evaluated 35 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Osasuna, rel: 0.20, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 0.84,
                "tackles": 1.8579,
                "tackles_won": 1.1138,
                "clearances": 2.1891,
                "aerial_won": 0.6327,
                "total_shots": 0.351,
                "rating": 6.6176,
                "minutes": 88.17,
                "total_pass": 26.9415,
                "accurate_pass": 21.1192,
                "duels_won": 3.6835,
                "total_long_balls": 4.5911,
                "accurate_long_balls": 1.5185,
                "total_own_half_passes": 12.4528,
                "accurate_own_half_passes": 10.5293,
                "total_opp_half_passes": 14.4888,
                "accurate_opp_half_passes": 10.59,
                "crosses_total": 1.6708,
                "crosses_accurate": 0.4261,
                "touches": 50.2011,
                "possession_lost": 12.5151,
                "dispossessed": 0.7019,
                "duels_lost": 4.7539,
                "aerial_lost": 0.9173,
                "total_contest": 1.4838,
                "won_contest": 0.3237,
                "ball_recovery": 3.9974,
                "challenges_lost": 0.8926,
                "fouls": 1.1625,
                "fouls_drawn": 0.6238,
                "blocks": 0.2201,
                "goals": 0.0127,
                "goal_rate": 0.0127,
                "assists": 0.0582,
                "assist_rate": 0.0582,
                "expected_goals": 0.0189,
                "expected_assists": 0.0386,
                "shots_on_target": 0.0361,
                "big_chances_created": 0.1395,
                "xgot": 0.0106,
                "ball_carries": 12.0764,
                "total_progression": 41.8489,
                "progressive_carries": 1.3414,
                "key_pass": 0.3125,
                "shots_off_target": 0.3149
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-11T10:25:50.810190+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 623,
                    "rows": 20487
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Rayo Vallecano",
                    "minutes": 34.0,
                    "is_starting": false,
                    "weight": 0.1505,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1279,
                    "rating": 5.0
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Espanyol",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.1087,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0924,
                    "rating": 4.8
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0786,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0668,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0568,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Espanyol",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-12",
                    "opponent": "Atlético Madrid",
                    "minutes": 30.0,
                    "is_starting": false,
                    "weight": 0.041,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-08",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0349,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 1.5163,
                  "aerialWon": 0.6311,
                  "totalClearance_p90": 2.5135,
                  "totalTackle": 1.2896,
                  "totalPass": 21.8598
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.8400108218193054,
                    "model_output": 0.84,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3015
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0387
                      },
                      {
                        "name": "touches",
                        "importance": 0.0279
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0248
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0238
                      }
                    ],
                    "decomposition": {
                      "base": 0.859,
                      "items": [
                        {
                          "name": "interceptionWon",
                          "contribution": -0.1002
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0981
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.024
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0205
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0184
                        }
                      ],
                      "others": 0.005,
                      "total": 0.84,
                      "log_link": true,
                      "margin_base": -0.152032,
                      "item_margins": [
                        {
                          "name": "interceptionWon",
                          "margin": -0.124026
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.121603
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.028413
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.024307
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.021748
                        }
                      ],
                      "others_margin": 0.005968
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.8578726053237915,
                    "model_output": 1.8579,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2671
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0621
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0475
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0423
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 1.3957,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.201
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0576
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.058
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.054
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.053
                        }
                      ],
                      "others": 0.0386,
                      "total": 1.8579,
                      "log_link": true,
                      "margin_base": 0.333417,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.134547
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.035453
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.034471
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.031034
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.029586
                        }
                      ],
                      "others_margin": 0.020924
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 1.1138434410095215,
                    "model_output": 1.1138,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2228
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0652
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0462
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0412
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.8578,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1153
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0401
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0364
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0323
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0307
                        }
                      ],
                      "others": 0.146,
                      "total": 1.1138,
                      "log_link": true,
                      "margin_base": -0.153422,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.126165
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.042078
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.038302
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.033853
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.032251
                        }
                      ],
                      "others_margin": 0.140451
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.189051389694214,
                    "model_output": 2.1891,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2968
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1597
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0817
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0344
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0202
                      }
                    ],
                    "decomposition": {
                      "base": 3.4412,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": -0.7251
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.3505
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.2781
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.2238
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0841
                        }
                      ],
                      "others": -0.2915,
                      "total": 2.1891,
                      "log_link": true,
                      "margin_base": 1.235809,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": -0.236642
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.12139
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.095081
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.083669
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.033357
                        }
                      ],
                      "others_margin": -0.124981
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.6327338814735413,
                    "model_output": 0.6327,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1612
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1495
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.087
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0431
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0315
                      }
                    ],
                    "decomposition": {
                      "base": 1.3784,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": -0.4343
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1144
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.1073
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0693
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.046
                        }
                      ],
                      "others": -0.2032,
                      "total": 0.6327,
                      "log_link": true,
                      "margin_base": 0.320928,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": -0.378432
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.114346
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.106875
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.075686
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": -0.053555
                        }
                      ],
                      "others_margin": -0.27843
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.35097554326057434,
                    "model_output": 0.351,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.109
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0656
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0378
                      },
                      {
                        "name": "rating",
                        "importance": 0.0315
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0302
                      }
                    ],
                    "decomposition": {
                      "base": 0.4723,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.1256
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0491
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.032
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0314
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0083
                        }
                      ],
                      "others": -0.0537,
                      "total": 0.351,
                      "log_link": false,
                      "margin_base": 0.47232,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.125631
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.049132
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.031965
                        },
                        {
                          "name": "rating",
                          "margin": -0.031368
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.008327
                        }
                      ],
                      "others_margin": -0.053769
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.61761474609375,
                    "model_output": 6.6176,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0729
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0624
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.059
                      },
                      {
                        "name": "touches",
                        "importance": 0.0384
                      },
                      {
                        "name": "rating",
                        "importance": 0.037
                      }
                    ],
                    "decomposition": {
                      "base": 6.786,
                      "items": [
                        {
                          "name": "totalPass",
                          "contribution": -0.0328
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0226
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0165
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0164
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0161
                        }
                      ],
                      "others": -0.064,
                      "total": 6.6176,
                      "log_link": false,
                      "margin_base": 6.785968,
                      "item_margins": [
                        {
                          "name": "totalPass",
                          "margin": -0.032842
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.022614
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.016525
                        },
                        {
                          "name": "touches",
                          "margin": -0.016384
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.016072
                        }
                      ],
                      "others_margin": -0.063916
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 35,
                  "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.9977, quality 0.442)",
              "stats": {
                "interceptions": 0.8381,
                "tackles": 1.8536,
                "tackles_won": 1.1113,
                "clearances": 2.184,
                "aerial_won": 0.6313,
                "total_shots": 0.3502,
                "rating": 6.6176,
                "minutes": 88.17,
                "total_pass": 26.8795,
                "accurate_pass": 21.0706,
                "duels_won": 3.675,
                "total_long_balls": 4.5805,
                "accurate_long_balls": 1.515,
                "total_own_half_passes": 12.4242,
                "accurate_own_half_passes": 10.5051,
                "total_opp_half_passes": 14.4555,
                "accurate_opp_half_passes": 10.5656,
                "crosses_total": 1.667,
                "crosses_accurate": 0.4251,
                "touches": 50.0856,
                "possession_lost": 12.4863,
                "dispossessed": 0.7003,
                "duels_lost": 4.743,
                "aerial_lost": 0.9152,
                "total_contest": 1.4804,
                "won_contest": 0.323,
                "ball_recovery": 3.9882,
                "challenges_lost": 0.8905,
                "fouls": 1.1598,
                "fouls_drawn": 0.6224,
                "blocks": 0.2196,
                "goals": 0.0127,
                "goal_rate": 0.0127,
                "assists": 0.0581,
                "assist_rate": 0.0581,
                "expected_goals": 0.0189,
                "expected_assists": 0.0385,
                "shots_on_target": 0.036,
                "big_chances_created": 0.1392,
                "xgot": 0.0106,
                "ball_carries": 12.0486,
                "total_progression": 41.7526,
                "progressive_carries": 1.3383,
                "key_pass": 0.3118,
                "shots_off_target": 0.3142
              },
              "params": {
                "market_value_eur": 3400000,
                "quality_factor": 0.4424,
                "boost_factor": 0.9977,
                "reference_quality": 0.505,
                "history_matches": 35,
                "history_shrink": 0.125,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0163)",
              "stats": {
                "interceptions": 0.8404,
                "tackles": 1.8536,
                "tackles_won": 1.1251,
                "clearances": 2.184,
                "aerial_won": 0.6313,
                "total_shots": 0.3552,
                "rating": 6.6176,
                "minutes": 88.17,
                "total_pass": 26.8795,
                "accurate_pass": 21.0706,
                "duels_won": 3.675,
                "total_long_balls": 4.5805,
                "accurate_long_balls": 1.515,
                "total_own_half_passes": 12.4242,
                "accurate_own_half_passes": 10.5051,
                "total_opp_half_passes": 14.4555,
                "accurate_opp_half_passes": 10.5656,
                "crosses_total": 1.6664,
                "crosses_accurate": 0.4251,
                "touches": 50.0856,
                "possession_lost": 12.4863,
                "dispossessed": 0.7003,
                "duels_lost": 4.743,
                "aerial_lost": 0.9152,
                "total_contest": 1.4804,
                "won_contest": 0.323,
                "ball_recovery": 3.9882,
                "challenges_lost": 0.8905,
                "fouls": 1.1675,
                "fouls_drawn": 0.6176,
                "blocks": 0.2196,
                "goals": 0.0125,
                "goal_rate": 0.0125,
                "assists": 0.0572,
                "assist_rate": 0.0572,
                "expected_goals": 0.0189,
                "expected_assists": 0.0385,
                "shots_on_target": 0.0354,
                "big_chances_created": 0.1392,
                "xgot": 0.0106,
                "ball_carries": 12.0486,
                "total_progression": 41.7526,
                "progressive_carries": 1.3383,
                "key_pass": 0.3118,
                "shots_off_target": 0.3142
              },
              "params": {
                "blend_weight": 0.0163,
                "history_matches": 35,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9797,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Osasuna"
              },
              "changes": [
                {
                  "stat": "wonTackle",
                  "before": 1.1113,
                  "after": 1.1251
                },
                {
                  "stat": "fouls",
                  "before": 1.1598,
                  "after": 1.1675
                },
                {
                  "stat": "totalShots",
                  "before": 0.3502,
                  "after": 0.3552
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.8404,
                "tackles": 1.8536,
                "tackles_won": 1.1251,
                "clearances": 2.184,
                "aerial_won": 0.6313,
                "total_shots": 0.3552,
                "rating": 6.6176,
                "minutes": 88.17,
                "total_pass": 26.8795,
                "accurate_pass": 21.0706,
                "duels_won": 3.675,
                "total_long_balls": 4.5805,
                "accurate_long_balls": 1.515,
                "total_own_half_passes": 12.4242,
                "accurate_own_half_passes": 10.5051,
                "total_opp_half_passes": 14.4555,
                "accurate_opp_half_passes": 10.5656,
                "crosses_total": 1.6664,
                "crosses_accurate": 0.4251,
                "touches": 50.0856,
                "possession_lost": 12.4863,
                "dispossessed": 0.7003,
                "duels_lost": 4.743,
                "aerial_lost": 0.9152,
                "total_contest": 1.4804,
                "won_contest": 0.323,
                "ball_recovery": 3.9882,
                "challenges_lost": 0.8905,
                "fouls": 1.1675,
                "fouls_drawn": 0.6176,
                "blocks": 0.2196,
                "goals": 0.0125,
                "goal_rate": 0.0125,
                "assists": 0.0572,
                "assist_rate": 0.0572,
                "expected_goals": 0.0189,
                "expected_assists": 0.0385,
                "shots_on_target": 0.0354,
                "big_chances_created": 0.1392,
                "xgot": 0.0106,
                "ball_carries": 12.0486,
                "total_progression": 41.7526,
                "progressive_carries": 1.3383,
                "key_pass": 0.3118,
                "shots_off_target": 0.3142
              },
              "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.8404,
                "tackles": 1.8536,
                "tackles_won": 1.1251,
                "clearances": 2.184,
                "aerial_won": 0.6313,
                "total_shots": 0.3552,
                "rating": 6.6176,
                "minutes": 88.17,
                "total_pass": 26.8795,
                "accurate_pass": 21.0706,
                "duels_won": 3.675,
                "total_long_balls": 4.5805,
                "accurate_long_balls": 1.515,
                "total_own_half_passes": 12.4242,
                "accurate_own_half_passes": 10.5051,
                "total_opp_half_passes": 14.4555,
                "accurate_opp_half_passes": 10.5656,
                "crosses_total": 1.6664,
                "crosses_accurate": 0.4251,
                "touches": 50.0856,
                "possession_lost": 12.4863,
                "dispossessed": 0.7003,
                "duels_lost": 4.743,
                "aerial_lost": 0.9152,
                "total_contest": 1.4804,
                "won_contest": 0.323,
                "ball_recovery": 3.9882,
                "challenges_lost": 0.8905,
                "fouls": 1.1675,
                "fouls_drawn": 0.6176,
                "blocks": 0.2196,
                "goals": 0.0125,
                "goal_rate": 0.0125,
                "assists": 0.0572,
                "assist_rate": 0.0572,
                "expected_goals": 0.0189,
                "expected_assists": 0.0385,
                "shots_on_target": 0.0354,
                "big_chances_created": 0.1392,
                "xgot": 0.0106,
                "ball_carries": 12.0486,
                "total_progression": 41.7526,
                "progressive_carries": 1.3383,
                "key_pass": 0.3118,
                "shots_off_target": 0.3142,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.8,
                "defensive_success_rate": 0.795,
                "opponent_faced": "Cucho Hernández",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Cucho Hernández",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 0.83 (squad xG sum 0.8154, xG scale 1.0240, xA scale 1.0541, team xA 0.54 = 0.65 x lambda)",
              "stats": {
                "interceptions": 0.8404,
                "tackles": 1.8536,
                "tackles_won": 1.1251,
                "clearances": 2.184,
                "aerial_won": 0.6313,
                "total_shots": 0.3552,
                "rating": 6.6176,
                "minutes": 88.17,
                "total_pass": 26.8795,
                "accurate_pass": 21.0706,
                "duels_won": 3.675,
                "total_long_balls": 4.5805,
                "accurate_long_balls": 1.515,
                "total_own_half_passes": 12.4242,
                "accurate_own_half_passes": 10.5051,
                "total_opp_half_passes": 14.4555,
                "accurate_opp_half_passes": 10.5656,
                "crosses_total": 1.6664,
                "crosses_accurate": 0.4251,
                "touches": 50.0856,
                "possession_lost": 12.4863,
                "dispossessed": 0.7003,
                "duels_lost": 4.743,
                "aerial_lost": 0.9152,
                "total_contest": 1.4804,
                "won_contest": 0.323,
                "ball_recovery": 3.9882,
                "challenges_lost": 0.8905,
                "fouls": 1.1675,
                "fouls_drawn": 0.6176,
                "blocks": 0.2196,
                "goal_rate": 0.0125,
                "goals": 0,
                "assist_rate": 0.0572,
                "assists": 0,
                "expected_goals": 0.0194,
                "expected_assists": 0.0406,
                "shots_on_target": 0.0354,
                "big_chances_created": 0.1392,
                "xgot": 0.0109,
                "ball_carries": 12.0486,
                "total_progression": 41.7526,
                "progressive_carries": 1.3383,
                "key_pass": 0.3118,
                "shots_off_target": 0.3142,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.8,
                "defensive_success_rate": 0.795,
                "opponent_faced": "Cucho Hernández",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9071,
                "creation_factor": 1.2113
              },
              "params": {
                "team_lambda": 0.835,
                "squad_xg_sum": 0.8154,
                "squad_xa_sum": 0.5149,
                "team_expected_assists": 0.5427,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.024,
                "xa_scale": 1.0541,
                "opponent_lambda": 1.934,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 17 by projected rating, fifa_overall 76.0; not used by the projection)",
              "stats": {
                "interceptions": 0.8404,
                "tackles": 1.8536,
                "tackles_won": 1.1251,
                "clearances": 2.184,
                "aerial_won": 0.6313,
                "total_shots": 0.3552,
                "rating": 6.6176,
                "minutes": 88.17,
                "total_pass": 26.8795,
                "accurate_pass": 21.0706,
                "duels_won": 3.675,
                "total_long_balls": 4.5805,
                "accurate_long_balls": 1.515,
                "total_own_half_passes": 12.4242,
                "accurate_own_half_passes": 10.5051,
                "total_opp_half_passes": 14.4555,
                "accurate_opp_half_passes": 10.5656,
                "crosses_total": 1.6664,
                "crosses_accurate": 0.4251,
                "touches": 50.0856,
                "possession_lost": 12.4863,
                "dispossessed": 0.7003,
                "duels_lost": 4.743,
                "aerial_lost": 0.9152,
                "total_contest": 1.4804,
                "won_contest": 0.323,
                "ball_recovery": 3.9882,
                "challenges_lost": 0.8905,
                "fouls": 1.1675,
                "fouls_drawn": 0.6176,
                "blocks": 0.2196,
                "goal_rate": 0.0125,
                "goals": 0,
                "assist_rate": 0.0572,
                "assists": 0,
                "expected_goals": 0.0194,
                "expected_assists": 0.0406,
                "shots_on_target": 0.0354,
                "big_chances_created": 0.1392,
                "xgot": 0.0109,
                "ball_carries": 12.0486,
                "total_progression": 41.7526,
                "progressive_carries": 1.3383,
                "key_pass": 0.3118,
                "shots_off_target": 0.3142,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.8,
                "defensive_success_rate": 0.795,
                "opponent_faced": "Cucho Hernández",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9071,
                "creation_factor": 1.2113,
                "fifa_overall": 76.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": 3302,
                "fifa_rank": 1985.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 76.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "interceptions": 0.8404,
                "tackles": 1.8536,
                "tackles_won": 1.1251,
                "clearances": 2.184,
                "aerial_won": 0.6313,
                "total_shots": 0.3552,
                "rating": 6.6176,
                "minutes": 88.17,
                "total_pass": 26.8795,
                "accurate_pass": 21.0706,
                "duels_won": 3.675,
                "total_long_balls": 4.5805,
                "accurate_long_balls": 1.515,
                "total_own_half_passes": 12.4242,
                "accurate_own_half_passes": 10.5051,
                "total_opp_half_passes": 14.4555,
                "accurate_opp_half_passes": 10.5656,
                "crosses_total": 1.6664,
                "crosses_accurate": 0.4251,
                "touches": 50.0856,
                "possession_lost": 12.4863,
                "dispossessed": 0.7003,
                "duels_lost": 4.743,
                "aerial_lost": 0.9152,
                "total_contest": 1.4804,
                "won_contest": 0.323,
                "ball_recovery": 3.9882,
                "challenges_lost": 0.8905,
                "fouls": 1.1675,
                "fouls_drawn": 0.6176,
                "blocks": 0.2196,
                "goal_rate": 0.0125,
                "goals": 0,
                "assist_rate": 0.0572,
                "assists": 0,
                "expected_goals": 0.0194,
                "expected_assists": 0.0406,
                "shots_on_target": 0.0354,
                "big_chances_created": 0.1392,
                "xgot": 0.0109,
                "ball_carries": 12.0486,
                "total_progression": 41.7526,
                "progressive_carries": 1.3383,
                "key_pass": 0.3118,
                "shots_off_target": 0.3142,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.8,
                "defensive_success_rate": 0.795,
                "opponent_faced": "Cucho Hernández",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0192,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9071,
                "creation_factor": 1.2113,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0192,
                "scorer_weight": 0.0176,
                "squad_weight_total": 0.8684,
                "weight_share": 0.0203,
                "finishing_factor": 0.9071,
                "appearance_weight": 1.0,
                "weight_rank": 11,
                "eligible_players": 14
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "interceptions": 0.8404,
                "tackles": 1.8536,
                "tackles_won": 1.1251,
                "clearances": 2.184,
                "aerial_won": 0.6313,
                "total_shots": 0.3552,
                "rating": 6.6176,
                "minutes": 88.17,
                "total_pass": 26.8795,
                "accurate_pass": 21.0706,
                "duels_won": 3.675,
                "total_long_balls": 4.5805,
                "accurate_long_balls": 1.515,
                "total_own_half_passes": 12.4242,
                "accurate_own_half_passes": 10.5051,
                "total_opp_half_passes": 14.4555,
                "accurate_opp_half_passes": 10.5656,
                "crosses_total": 1.6664,
                "crosses_accurate": 0.4251,
                "touches": 50.0856,
                "possession_lost": 12.4863,
                "dispossessed": 0.7003,
                "duels_lost": 4.743,
                "aerial_lost": 0.9152,
                "total_contest": 1.4804,
                "won_contest": 0.323,
                "ball_recovery": 3.9882,
                "challenges_lost": 0.8905,
                "fouls": 1.1675,
                "fouls_drawn": 0.6176,
                "blocks": 0.2196,
                "goal_rate": 0.0125,
                "goals": 0,
                "assist_rate": 0.0572,
                "assists": 0,
                "expected_goals": 0.0194,
                "expected_assists": 0.0406,
                "shots_on_target": 0.0354,
                "big_chances_created": 0.1392,
                "xgot": 0.0109,
                "ball_carries": 12.0486,
                "total_progression": 41.7526,
                "progressive_carries": 1.3383,
                "key_pass": 0.3118,
                "shots_off_target": 0.3142,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.8,
                "defensive_success_rate": 0.795,
                "opponent_faced": "Cucho Hernández",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0192,
                "projected_assists": 0,
                "assist_probability": 0.0398,
                "finishing_factor": 0.9071,
                "creation_factor": 1.2113,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0398,
                "provider_weight": 0.0492,
                "squad_weight_total": 0.4935,
                "weight_share": 0.0996,
                "creation_factor": 1.2113,
                "appearance_weight": 1.0,
                "weight_rank": 5,
                "eligible_players": 14
              }
            }
          ]
        },
        "Unai Santos": {
          "player_id": 1917864,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 35,
          "height": 180,
          "market_value": 105000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 5,
            "aerial_won": 1,
            "total_shots": 0,
            "rating": 6.7234,
            "minutes": 85,
            "total_pass": 31,
            "accurate_pass": 20,
            "duels_won": 1,
            "total_long_balls": 8,
            "accurate_long_balls": 1,
            "total_own_half_passes": 14,
            "accurate_own_half_passes": 10,
            "total_opp_half_passes": 17,
            "accurate_opp_half_passes": 10,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 43,
            "possession_lost": 10.8405,
            "dispossessed": 0.0,
            "duels_lost": 2,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 3,
            "challenges_lost": 1,
            "fouls": 2,
            "fouls_drawn": 0,
            "blocks": 1,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0178,
            "expected_assists": 0.0035,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 11,
            "total_progression": 38,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "tackles_in_zone": 1.9,
            "tackles_won_in_zone": 1.4,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 1.1,
            "defensive_success_rate": 0.405,
            "opponent_faced": "Antony",
            "pressing_zone": "Right Wing vs Left Back — Flank Battle",
            "matchup_zone": "Right Wing vs Left Back — Flank Battle",
            "antagonist_source": "defensive_duel",
            "projected_goals": 0,
            "goal_probability": 0.0176,
            "projected_assists": 0,
            "assist_probability": 0.0035,
            "finishing_factor": 0.8,
            "creation_factor": 0.9381,
            "fifa_overall": 83.0
          },
          "latest_10_games": [
            {
              "match_id": 16416305,
              "match_date": "2026-09-19",
              "home_team": "Osasuna",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 73,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0025,
                "total_shots": 0,
                "total_pass": 23,
                "accurate_pass": 12,
                "interceptions": 2,
                "clearances": 3,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416335,
              "match_date": "2026-09-16",
              "home_team": "Atlético Madrid",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0386,
                "expected_assists": 0.0042,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 41,
                "accurate_pass": 31,
                "interceptions": 2,
                "clearances": 8,
                "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"
            }
          ],
          "ranking": {
            "global_player_rank": 520,
            "combined_rank_score": 294.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": 0.0,
            "fifa_rank": 294.0,
            "fifa_overall": 83.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 11,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7234,
            "source_file": "data/player_rankings.csv",
            "player_name": "Unai Santos",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Ismael Saibari",
                  "ranking": 515
                },
                {
                  "player_name": "Alejandro Primo",
                  "ranking": 516
                },
                {
                  "player_name": "Jakub Kiwior",
                  "ranking": 517
                },
                {
                  "player_name": "Nordin Al Lal",
                  "ranking": 518
                },
                {
                  "player_name": "Diego Ferrer",
                  "ranking": 519
                }
              ],
              "lower": [
                {
                  "player_name": "De Gea",
                  "ranking": 521
                },
                {
                  "player_name": "Juan Fernandéz",
                  "ranking": 522
                },
                {
                  "player_name": "Andrés Vallecillo",
                  "ranking": 523
                },
                {
                  "player_name": "Stephen Chinedu",
                  "ranking": 524
                },
                {
                  "player_name": "Zoran Marušić",
                  "ranking": 525
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.375,
          "history_matches": 2,
          "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": 2,
            "data_confidence": 0.375,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9855,
            "fbref_prior_metrics": {
              "squad": "Osasuna",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 0.0,
              "starts": 0.0,
              "prior_reliability": 0.0
            },
            "rationale": "XGBoost regressor (D_service) evaluated 2 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Osasuna, rel: 0.00, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1.186,
                "tackles": 1.3449,
                "tackles_won": 0.8386,
                "clearances": 5.0736,
                "aerial_won": 1.5145,
                "total_shots": 0.4664,
                "rating": 6.7234,
                "minutes": 85.41,
                "total_pass": 31.2703,
                "accurate_pass": 20.7297,
                "duels_won": 0.9189,
                "total_long_balls": 8.5405,
                "accurate_long_balls": 1.4595,
                "total_own_half_passes": 13.8919,
                "accurate_own_half_passes": 10.5946,
                "total_opp_half_passes": 17.3784,
                "accurate_opp_half_passes": 10.1351,
                "crosses_total": 0.4595,
                "crosses_accurate": 0.0,
                "touches": 43.7838,
                "possession_lost": 11.0,
                "dispossessed": 0.0,
                "duels_lost": 2.4595,
                "aerial_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 2.6216,
                "challenges_lost": 0.5405,
                "fouls": 1.9189,
                "fouls_drawn": 0.0,
                "blocks": 0.9189,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0177,
                "expected_assists": 0.0033,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 10.6757,
                "total_progression": 38.366,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.4664
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-11T10:25:50.810190+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 623,
                    "rows": 20487
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Rayo Vallecano",
                    "minutes": 73.0,
                    "is_starting": true,
                    "weight": 0.5405,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.4595,
                    "rating": 6.0
                  }
                ],
                "feature_row": {
                  "history_matches": 2.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 5.2973,
                  "aerialWon": 0.9189,
                  "totalClearance_p90": 5.6749,
                  "totalTackle": 0.0,
                  "totalPass": 31.2703
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 1.1859639883041382,
                    "model_output": 1.186,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3015
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0387
                      },
                      {
                        "name": "touches",
                        "importance": 0.0279
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0248
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0238
                      }
                    ],
                    "decomposition": {
                      "base": 0.859,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1063
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0886
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0441
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0353
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0277
                        }
                      ],
                      "others": 0.0804,
                      "total": 1.186,
                      "log_link": true,
                      "margin_base": -0.152032,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.116623
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.087786
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.041019
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.031621
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.024766
                        }
                      ],
                      "others_margin": 0.070306
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.3448572158813477,
                    "model_output": 1.3449,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2671
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0621
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0475
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0423
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 1.3957,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1907
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.1537
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.1205
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0521
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": 0.0439
                        }
                      ],
                      "others": 0.0409,
                      "total": 1.3449,
                      "log_link": true,
                      "margin_base": 0.333417,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.128041
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.101875
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.087882
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.040491
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": 0.034242
                        }
                      ],
                      "others_margin": 0.030836
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.83863365650177,
                    "model_output": 0.8386,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2228
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0652
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0462
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0412
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.8578,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1099
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0945
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0719
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0402
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": 0.0362
                        }
                      ],
                      "others": 0.0413,
                      "total": 0.8386,
                      "log_link": true,
                      "margin_base": -0.153422,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.120563
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.102715
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.085869
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.051459
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": 0.046486
                        }
                      ],
                      "others_margin": 0.050435
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 5.0735859870910645,
                    "model_output": 5.0736,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2968
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1597
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0817
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0344
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0202
                      }
                    ],
                    "decomposition": {
                      "base": 3.4412,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": 0.851
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.5695
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.5625
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.3504
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.1859
                        }
                      ],
                      "others": 0.2381,
                      "total": 5.0736,
                      "log_link": true,
                      "margin_base": 1.235809,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": 0.220992
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.124589
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.122969
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.078343
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.039197
                        }
                      ],
                      "others_margin": 0.048087
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.514532208442688,
                    "model_output": 1.5145,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1612
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1495
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.087
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0431
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0315
                      }
                    ],
                    "decomposition": {
                      "base": 1.3784,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": -0.2251
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1485
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.1292
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0989
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0856
                        }
                      ],
                      "others": 0.0968,
                      "total": 1.5145,
                      "log_link": true,
                      "margin_base": 0.320928,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": -0.178318
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.121125
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.094606
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.071632
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.062284
                        }
                      ],
                      "others_margin": 0.066114
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.46642181277275085,
                    "model_output": 0.4664,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.109
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0656
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0378
                      },
                      {
                        "name": "rating",
                        "importance": 0.0315
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0302
                      }
                    ],
                    "decomposition": {
                      "base": 0.4723,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.056
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0542
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0283
                        },
                        {
                          "name": "history_matches",
                          "contribution": -0.0225
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.017
                        }
                      ],
                      "others": 0.0035,
                      "total": 0.4664,
                      "log_link": false,
                      "margin_base": 0.47232,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.056009
                        },
                        {
                          "name": "rating",
                          "margin": -0.054194
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.02835
                        },
                        {
                          "name": "history_matches",
                          "margin": -0.022454
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": -0.016976
                        }
                      ],
                      "others_margin": 0.003369
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.7233686447143555,
                    "model_output": 6.7234,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0729
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0624
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.059
                      },
                      {
                        "name": "touches",
                        "importance": 0.0384
                      },
                      {
                        "name": "rating",
                        "importance": 0.037
                      }
                    ],
                    "decomposition": {
                      "base": 6.786,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": -0.021
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0124
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0121
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0105
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": -0.0104
                        }
                      ],
                      "others": -0.0204,
                      "total": 6.7234,
                      "log_link": false,
                      "margin_base": 6.785968,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": -0.020952
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.012382
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.012145
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.01051
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": -0.01043
                        }
                      ],
                      "others_margin": -0.020471
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 2,
                  "role_matches": 2,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "all_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9855, quality 0.437)",
              "stats": {
                "interceptions": 1.1688,
                "tackles": 1.3254,
                "tackles_won": 0.8265,
                "clearances": 5.0,
                "aerial_won": 1.4926,
                "total_shots": 0.4597,
                "rating": 6.7234,
                "minutes": 85.41,
                "total_pass": 30.8169,
                "accurate_pass": 20.4291,
                "duels_won": 0.9056,
                "total_long_balls": 8.4167,
                "accurate_long_balls": 1.4383,
                "total_own_half_passes": 13.6905,
                "accurate_own_half_passes": 10.441,
                "total_opp_half_passes": 17.1264,
                "accurate_opp_half_passes": 9.9881,
                "crosses_total": 0.4528,
                "crosses_accurate": 0.0,
                "touches": 43.1489,
                "possession_lost": 10.8405,
                "dispossessed": 0.0,
                "duels_lost": 2.4238,
                "aerial_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 2.5836,
                "challenges_lost": 0.5327,
                "fouls": 1.8911,
                "fouls_drawn": 0.0,
                "blocks": 0.9056,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0174,
                "expected_assists": 0.0033,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 10.5209,
                "total_progression": 37.8097,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.4596
              },
              "params": {
                "market_value_eur": 105000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9855,
                "reference_quality": 0.505,
                "history_matches": 2,
                "history_shrink": 0.7143,
                "market_value_known": true
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1.1688,
                "tackles": 1.3254,
                "tackles_won": 0.8265,
                "clearances": 5.0,
                "aerial_won": 1.4926,
                "total_shots": 0.4597,
                "rating": 6.7234,
                "minutes": 85.41,
                "total_pass": 30.8169,
                "accurate_pass": 20.4291,
                "duels_won": 0.9056,
                "total_long_balls": 8.4167,
                "accurate_long_balls": 1.4383,
                "total_own_half_passes": 13.6905,
                "accurate_own_half_passes": 10.441,
                "total_opp_half_passes": 17.1264,
                "accurate_opp_half_passes": 9.9881,
                "crosses_total": 0.4528,
                "crosses_accurate": 0.0,
                "touches": 43.1489,
                "possession_lost": 10.8405,
                "dispossessed": 0.0,
                "duels_lost": 2.4238,
                "aerial_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 2.5836,
                "challenges_lost": 0.5327,
                "fouls": 1.8911,
                "fouls_drawn": 0.0,
                "blocks": 0.9056,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0174,
                "expected_assists": 0.0033,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 10.5209,
                "total_progression": 37.8097,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.4596
              },
              "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.1688,
                "tackles": 1.3254,
                "tackles_won": 0.8265,
                "clearances": 5.0,
                "aerial_won": 1.4926,
                "total_shots": 0.4597,
                "rating": 6.7234,
                "minutes": 85.41,
                "total_pass": 30.8169,
                "accurate_pass": 20.4291,
                "duels_won": 0.9056,
                "total_long_balls": 8.4167,
                "accurate_long_balls": 1.4383,
                "total_own_half_passes": 13.6905,
                "accurate_own_half_passes": 10.441,
                "total_opp_half_passes": 17.1264,
                "accurate_opp_half_passes": 9.9881,
                "crosses_total": 0.4528,
                "crosses_accurate": 0.0,
                "touches": 43.1489,
                "possession_lost": 10.8405,
                "dispossessed": 0.0,
                "duels_lost": 2.4238,
                "aerial_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 2.5836,
                "challenges_lost": 0.5327,
                "fouls": 1.8911,
                "fouls_drawn": 0.0,
                "blocks": 0.9056,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0174,
                "expected_assists": 0.0033,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 10.5209,
                "total_progression": 37.8097,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.4596,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.4,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.405,
                "opponent_faced": "Antony",
                "pressing_zone": "Right Wing vs Left Back — Flank Battle",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "antagonist_source": "defensive_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Antony",
                  "matchup_zone": "Right Wing vs Left Back — Flank Battle"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 0.83 (squad xG sum 0.8154, xG scale 1.0240, xA scale 1.0541, team xA 0.54 = 0.65 x lambda)",
              "stats": {
                "interceptions": 1.1688,
                "tackles": 1.3254,
                "tackles_won": 0.8265,
                "clearances": 5.0,
                "aerial_won": 1.4926,
                "total_shots": 0.4597,
                "rating": 6.7234,
                "minutes": 85.41,
                "total_pass": 30.8169,
                "accurate_pass": 20.4291,
                "duels_won": 0.9056,
                "total_long_balls": 8.4167,
                "accurate_long_balls": 1.4383,
                "total_own_half_passes": 13.6905,
                "accurate_own_half_passes": 10.441,
                "total_opp_half_passes": 17.1264,
                "accurate_opp_half_passes": 9.9881,
                "crosses_total": 0.4528,
                "crosses_accurate": 0.0,
                "touches": 43.1489,
                "possession_lost": 10.8405,
                "dispossessed": 0.0,
                "duels_lost": 2.4238,
                "aerial_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 2.5836,
                "challenges_lost": 0.5327,
                "fouls": 1.8911,
                "fouls_drawn": 0.0,
                "blocks": 0.9056,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0178,
                "expected_assists": 0.0035,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 10.5209,
                "total_progression": 37.8097,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.4596,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.4,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.405,
                "opponent_faced": "Antony",
                "pressing_zone": "Right Wing vs Left Back — Flank Battle",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.9381
              },
              "params": {
                "team_lambda": 0.835,
                "squad_xg_sum": 0.8154,
                "squad_xa_sum": 0.5149,
                "team_expected_assists": 0.5427,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.024,
                "xa_scale": 1.0541,
                "opponent_lambda": 1.934,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 11 by projected rating, fifa_overall 83.0; not used by the projection)",
              "stats": {
                "interceptions": 1.1688,
                "tackles": 1.3254,
                "tackles_won": 0.8265,
                "clearances": 5.0,
                "aerial_won": 1.4926,
                "total_shots": 0.4597,
                "rating": 6.7234,
                "minutes": 85.41,
                "total_pass": 30.8169,
                "accurate_pass": 20.4291,
                "duels_won": 0.9056,
                "total_long_balls": 8.4167,
                "accurate_long_balls": 1.4383,
                "total_own_half_passes": 13.6905,
                "accurate_own_half_passes": 10.441,
                "total_opp_half_passes": 17.1264,
                "accurate_opp_half_passes": 9.9881,
                "crosses_total": 0.4528,
                "crosses_accurate": 0.0,
                "touches": 43.1489,
                "possession_lost": 10.8405,
                "dispossessed": 0.0,
                "duels_lost": 2.4238,
                "aerial_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 2.5836,
                "challenges_lost": 0.5327,
                "fouls": 1.8911,
                "fouls_drawn": 0.0,
                "blocks": 0.9056,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0178,
                "expected_assists": 0.0035,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 10.5209,
                "total_progression": 37.8097,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.4596,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.4,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.405,
                "opponent_faced": "Antony",
                "pressing_zone": "Right Wing vs Left Back — Flank Battle",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.9381,
                "fifa_overall": 83.0
              },
              "params": {
                "match_squad_rank": 11,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 520,
                "fifa_rank": 294.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 83.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "interceptions": 1.1688,
                "tackles": 1.3254,
                "tackles_won": 0.8265,
                "clearances": 5.0,
                "aerial_won": 1.4926,
                "total_shots": 0.4597,
                "rating": 6.7234,
                "minutes": 85.41,
                "total_pass": 30.8169,
                "accurate_pass": 20.4291,
                "duels_won": 0.9056,
                "total_long_balls": 8.4167,
                "accurate_long_balls": 1.4383,
                "total_own_half_passes": 13.6905,
                "accurate_own_half_passes": 10.441,
                "total_opp_half_passes": 17.1264,
                "accurate_opp_half_passes": 9.9881,
                "crosses_total": 0.4528,
                "crosses_accurate": 0.0,
                "touches": 43.1489,
                "possession_lost": 10.8405,
                "dispossessed": 0.0,
                "duels_lost": 2.4238,
                "aerial_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 2.5836,
                "challenges_lost": 0.5327,
                "fouls": 1.8911,
                "fouls_drawn": 0.0,
                "blocks": 0.9056,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0178,
                "expected_assists": 0.0035,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 10.5209,
                "total_progression": 37.8097,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.4596,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.4,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.405,
                "opponent_faced": "Antony",
                "pressing_zone": "Right Wing vs Left Back — Flank Battle",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0176,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.9381,
                "fifa_overall": 83.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0176,
                "scorer_weight": 0.0142,
                "squad_weight_total": 0.8684,
                "weight_share": 0.0164,
                "finishing_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 12,
                "eligible_players": 14
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "interceptions": 1.1688,
                "tackles": 1.3254,
                "tackles_won": 0.8265,
                "clearances": 5.0,
                "aerial_won": 1.4926,
                "total_shots": 0.4597,
                "rating": 6.7234,
                "minutes": 85.41,
                "total_pass": 30.8169,
                "accurate_pass": 20.4291,
                "duels_won": 0.9056,
                "total_long_balls": 8.4167,
                "accurate_long_balls": 1.4383,
                "total_own_half_passes": 13.6905,
                "accurate_own_half_passes": 10.441,
                "total_opp_half_passes": 17.1264,
                "accurate_opp_half_passes": 9.9881,
                "crosses_total": 0.4528,
                "crosses_accurate": 0.0,
                "touches": 43.1489,
                "possession_lost": 10.8405,
                "dispossessed": 0.0,
                "duels_lost": 2.4238,
                "aerial_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 2.5836,
                "challenges_lost": 0.5327,
                "fouls": 1.8911,
                "fouls_drawn": 0.0,
                "blocks": 0.9056,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0178,
                "expected_assists": 0.0035,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 10.5209,
                "total_progression": 37.8097,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.4596,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.4,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.405,
                "opponent_faced": "Antony",
                "pressing_zone": "Right Wing vs Left Back — Flank Battle",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0176,
                "projected_assists": 0,
                "assist_probability": 0.0035,
                "finishing_factor": 0.8,
                "creation_factor": 0.9381,
                "fifa_overall": 83.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0035,
                "provider_weight": 0.0033,
                "squad_weight_total": 0.4935,
                "weight_share": 0.0067,
                "creation_factor": 0.9381,
                "appearance_weight": 1.0,
                "weight_rank": 14,
                "eligible_players": 14
              }
            }
          ]
        },
        "Alejandro Catena": {
          "player_id": 900792,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 24,
          "height": 194,
          "market_value": 2700000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 6,
            "aerial_won": 2,
            "total_shots": 0,
            "rating": 6.8371,
            "minutes": 89,
            "total_pass": 56,
            "accurate_pass": 47,
            "duels_won": 5,
            "total_long_balls": 11,
            "accurate_long_balls": 5,
            "total_own_half_passes": 33,
            "accurate_own_half_passes": 32,
            "total_opp_half_passes": 23,
            "accurate_opp_half_passes": 16,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 68,
            "possession_lost": 9.6857,
            "dispossessed": 0.2842,
            "duels_lost": 3,
            "aerial_lost": 2,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 4,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 1,
            "goal_rate": 0.0295,
            "goals": 0,
            "assist_rate": 0.0063,
            "assists": 0,
            "expected_goals": 0.02,
            "expected_assists": 0.021,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0221,
            "ball_carries": 20,
            "total_progression": 70,
            "progressive_carries": 1,
            "key_pass": 0,
            "shots_off_target": 0,
            "tackles_in_zone": 1.0,
            "tackles_won_in_zone": 0.9,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.795,
            "opponent_faced": "Cucho Hernández",
            "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "antagonist_source": "defensive_duel",
            "projected_goals": 0,
            "goal_probability": 0.0198,
            "projected_assists": 0,
            "assist_probability": 0.0208,
            "finishing_factor": 1.1439,
            "creation_factor": 0.8054,
            "fifa_overall": 85.0
          },
          "latest_10_games": [
            {
              "match_id": 16416305,
              "match_date": "2026-09-19",
              "home_team": "Osasuna",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0243,
                "total_shots": 0,
                "total_pass": 37,
                "accurate_pass": 27,
                "clearances": 5,
                "aerial_won": 2,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416327,
              "match_date": "2026-09-12",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0137,
                "total_shots": 0,
                "total_pass": 77,
                "accurate_pass": 65,
                "tackles": 5,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 4,
                "aerial_won": 4,
                "duels_won": 12,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416318,
              "match_date": "2026-09-06",
              "home_team": "Deportivo Alavés",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 5.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0184,
                "total_shots": 0,
                "total_pass": 50,
                "accurate_pass": 44,
                "clearances": 6,
                "aerial_won": 4,
                "duels_won": 4,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416314,
              "match_date": "2026-08-31",
              "home_team": "Osasuna",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0095,
                "total_shots": 0,
                "total_pass": 58,
                "accurate_pass": 46,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 4,
                "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": 16815992,
              "match_date": "2026-08-27",
              "home_team": "Celta Vigo",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0225,
                "total_shots": 0,
                "total_pass": 90,
                "accurate_pass": 83,
                "interceptions": 3,
                "clearances": 5,
                "duels_won": 1,
                "ball_recovery": 10
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416296,
              "match_date": "2026-08-24",
              "home_team": "Osasuna",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0324,
                "total_shots": 0,
                "total_pass": 59,
                "accurate_pass": 48,
                "key_pass": 1,
                "clearances": 9,
                "aerial_won": 4,
                "duels_won": 4,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083723,
              "match_date": "2026-05-23",
              "home_team": "Getafe",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0058,
                "total_shots": 0,
                "total_pass": 21,
                "accurate_pass": 15,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 8,
                "aerial_won": 2,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083696,
              "match_date": "2026-05-17",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0178,
                "total_shots": 0,
                "total_pass": 93,
                "accurate_pass": 81,
                "key_pass": 1,
                "clearances": 3,
                "aerial_won": 3,
                "duels_won": 3,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083634,
              "match_date": "2026-05-12",
              "home_team": "Osasuna",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1778,
                "expected_assists": 0.0341,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 56,
                "accurate_pass": 54,
                "key_pass": 1,
                "tackles": 2,
                "interceptions": 1,
                "clearances": 2,
                "duels_won": 2,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083568,
              "match_date": "2026-05-08",
              "home_team": "Levante UD",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0197,
                "expected_assists": 0.0032,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 27,
                "accurate_pass": 20,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 8,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 1
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 145,
            "combined_rank_score": 147.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 132.0,
            "sofascore_rating": 7.3667,
            "sofascore_appearances": 3.0,
            "fifa_rank": 162.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.8371,
            "source_file": "data/player_rankings.csv",
            "player_name": "Alejandro Catena",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Sang-Min Koo",
                  "ranking": 140
                },
                {
                  "player_name": "Gianluigi Donnarumma",
                  "ranking": 141
                },
                {
                  "player_name": "Samuel Lino",
                  "ranking": 142
                },
                {
                  "player_name": "Joško Gvardiol",
                  "ranking": 143
                },
                {
                  "player_name": "Victor Osimhen",
                  "ranking": 144
                }
              ],
              "lower": [
                {
                  "player_name": "Mashkhur Mukhammadzhonov",
                  "ranking": 146
                },
                {
                  "player_name": "Esteban Kirkman",
                  "ranking": 147
                },
                {
                  "player_name": "Kipras Kazukolovas",
                  "ranking": 148
                },
                {
                  "player_name": "Fabián Mina",
                  "ranking": 149
                },
                {
                  "player_name": "Jonathan Tah",
                  "ranking": 150
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "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.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9978,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (D_service) evaluated 41 historical appearances across 7 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 0.9177,
                "tackles": 1.2722,
                "tackles_won": 0.6898,
                "clearances": 5.8291,
                "aerial_won": 2.4301,
                "total_shots": 0.4796,
                "rating": 6.8371,
                "minutes": 89.39,
                "total_pass": 56.1484,
                "accurate_pass": 47.4844,
                "duels_won": 4.8227,
                "total_long_balls": 11.027,
                "accurate_long_balls": 5.4998,
                "total_own_half_passes": 32.8077,
                "accurate_own_half_passes": 31.6346,
                "total_opp_half_passes": 23.3407,
                "accurate_opp_half_passes": 15.8499,
                "crosses_total": 0.0718,
                "crosses_accurate": 0.0666,
                "touches": 68.3579,
                "possession_lost": 9.7071,
                "dispossessed": 0.2848,
                "duels_lost": 3.3115,
                "aerial_lost": 1.8761,
                "total_contest": 0.4742,
                "won_contest": 0.2377,
                "ball_recovery": 3.5705,
                "challenges_lost": 0.1181,
                "fouls": 0.9422,
                "fouls_drawn": 0.786,
                "blocks": 0.9007,
                "goals": 0.0296,
                "goal_rate": 0.0296,
                "assists": 0.0063,
                "assist_rate": 0.0063,
                "expected_goals": 0.0195,
                "expected_assists": 0.0199,
                "shots_on_target": 0.0622,
                "big_chances_created": 0.0175,
                "xgot": 0.0216,
                "ball_carries": 20.123,
                "total_progression": 70.6493,
                "progressive_carries": 0.625,
                "key_pass": 0.1849,
                "shots_off_target": 0.4174
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-11T10:25:50.810190+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 623,
                    "rows": 20487
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1502,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1277,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1085,
                    "rating": 5.3
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0922,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0666,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0566,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0481,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-05-12",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-08",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 7.1
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 5.509,
                  "aerialWon": 2.4714,
                  "totalClearance_p90": 5.56,
                  "totalTackle": 1.328,
                  "totalPass": 56.1484
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.9176958799362183,
                    "model_output": 0.9177,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3015
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0387
                      },
                      {
                        "name": "touches",
                        "importance": 0.0279
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0248
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0238
                      }
                    ],
                    "decomposition": {
                      "base": 0.859,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1058
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0832
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0308
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0252
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": -0.0237
                        }
                      ],
                      "others": 0.0038,
                      "total": 0.9177,
                      "log_link": true,
                      "margin_base": -0.152032,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.116172
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.090222
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.034315
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.027216
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": -0.025553
                        }
                      ],
                      "others_margin": 0.004216
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.2722350358963013,
                    "model_output": 1.2722,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2671
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0621
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0475
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0423
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 1.3957,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1714
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.058
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0409
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.037
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0344
                        }
                      ],
                      "others": -0.1246,
                      "total": 1.2722,
                      "log_link": true,
                      "margin_base": 0.333417,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.115806
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.037701
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.027461
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.025498
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.024331
                        }
                      ],
                      "others_margin": -0.093456
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.6897889971733093,
                    "model_output": 0.6898,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2228
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0652
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0462
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0412
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.8578,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0979
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0365
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0349
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0291
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0281
                        }
                      ],
                      "others": -0.1373,
                      "total": 0.6898,
                      "log_link": true,
                      "margin_base": -0.153422,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.108099
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.038969
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.038662
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.033456
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.033445
                        }
                      ],
                      "others_margin": -0.181515
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 5.82913875579834,
                    "model_output": 5.8291,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2968
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1597
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0817
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0344
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0202
                      }
                    ],
                    "decomposition": {
                      "base": 3.4412,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": 0.7536
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.568
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.4065
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.2725
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.218
                        }
                      ],
                      "others": 0.1693,
                      "total": 5.8291,
                      "log_link": true,
                      "margin_base": 1.235809,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": 0.198022
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.126987
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.081896
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.051381
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.039288
                        }
                      ],
                      "others_margin": 0.029486
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 2.4301140308380127,
                    "model_output": 2.4301,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1612
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1495
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.087
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0431
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0315
                      }
                    ],
                    "decomposition": {
                      "base": 1.3784,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": 0.4213
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1931
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.1603
                        },
                        {
                          "name": "aerialLost",
                          "contribution": 0.1546
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.1278
                        }
                      ],
                      "others": -0.0054,
                      "total": 2.4301,
                      "log_link": true,
                      "margin_base": 0.320928,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": 0.266679
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.101934
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.077385
                        },
                        {
                          "name": "aerialLost",
                          "margin": 0.069326
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.053894
                        }
                      ],
                      "others_margin": -0.002206
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.4796438217163086,
                    "model_output": 0.4796,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.109
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0656
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0378
                      },
                      {
                        "name": "rating",
                        "importance": 0.0315
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0302
                      }
                    ],
                    "decomposition": {
                      "base": 0.4723,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.1203
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0571
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0176
                        },
                        {
                          "name": "error_severity",
                          "contribution": 0.0173
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0169
                        }
                      ],
                      "others": 0.0187,
                      "total": 0.4796,
                      "log_link": false,
                      "margin_base": 0.47232,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.12027
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.057077
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.017624
                        },
                        {
                          "name": "error_severity",
                          "margin": 0.017306
                        },
                        {
                          "name": "rating",
                          "margin": 0.016948
                        }
                      ],
                      "others_margin": 0.01864
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.837102890014648,
                    "model_output": 6.8371,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0729
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0624
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.059
                      },
                      {
                        "name": "touches",
                        "importance": 0.0384
                      },
                      {
                        "name": "rating",
                        "importance": 0.037
                      }
                    ],
                    "decomposition": {
                      "base": 6.786,
                      "items": [
                        {
                          "name": "accuratePass",
                          "contribution": 0.0246
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0102
                        },
                        {
                          "name": "tackle_success_rate",
                          "contribution": 0.0097
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.009
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0084
                        }
                      ],
                      "others": 0.006,
                      "total": 6.8371,
                      "log_link": false,
                      "margin_base": 6.785968,
                      "item_margins": [
                        {
                          "name": "accuratePass",
                          "margin": 0.024573
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.010191
                        },
                        {
                          "name": "tackle_success_rate",
                          "margin": 0.009722
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.008972
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.008412
                        }
                      ],
                      "others_margin": 0.006087
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 41,
                  "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 0.9978, quality 0.437)",
              "stats": {
                "interceptions": 0.9157,
                "tackles": 1.2694,
                "tackles_won": 0.6883,
                "clearances": 5.8163,
                "aerial_won": 2.4248,
                "total_shots": 0.4786,
                "rating": 6.8371,
                "minutes": 89.39,
                "total_pass": 56.0249,
                "accurate_pass": 47.3799,
                "duels_won": 4.8121,
                "total_long_balls": 11.0027,
                "accurate_long_balls": 5.4877,
                "total_own_half_passes": 32.7355,
                "accurate_own_half_passes": 31.565,
                "total_opp_half_passes": 23.2894,
                "accurate_opp_half_passes": 15.815,
                "crosses_total": 0.0716,
                "crosses_accurate": 0.0665,
                "touches": 68.2075,
                "possession_lost": 9.6857,
                "dispossessed": 0.2842,
                "duels_lost": 3.3042,
                "aerial_lost": 1.872,
                "total_contest": 0.4732,
                "won_contest": 0.2372,
                "ball_recovery": 3.5626,
                "challenges_lost": 0.1178,
                "fouls": 0.9401,
                "fouls_drawn": 0.7843,
                "blocks": 0.8987,
                "goals": 0.0295,
                "goal_rate": 0.0295,
                "assists": 0.0063,
                "assist_rate": 0.0063,
                "expected_goals": 0.0195,
                "expected_assists": 0.0199,
                "shots_on_target": 0.0621,
                "big_chances_created": 0.0175,
                "xgot": 0.0216,
                "ball_carries": 20.0787,
                "total_progression": 70.4939,
                "progressive_carries": 0.6236,
                "key_pass": 0.1845,
                "shots_off_target": 0.4165
              },
              "params": {
                "market_value_eur": 2700000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9978,
                "reference_quality": 0.505,
                "history_matches": 41,
                "history_shrink": 0.1087,
                "market_value_known": true
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.9157,
                "tackles": 1.2694,
                "tackles_won": 0.6883,
                "clearances": 5.8163,
                "aerial_won": 2.4248,
                "total_shots": 0.4786,
                "rating": 6.8371,
                "minutes": 89.39,
                "total_pass": 56.0249,
                "accurate_pass": 47.3799,
                "duels_won": 4.8121,
                "total_long_balls": 11.0027,
                "accurate_long_balls": 5.4877,
                "total_own_half_passes": 32.7355,
                "accurate_own_half_passes": 31.565,
                "total_opp_half_passes": 23.2894,
                "accurate_opp_half_passes": 15.815,
                "crosses_total": 0.0716,
                "crosses_accurate": 0.0665,
                "touches": 68.2075,
                "possession_lost": 9.6857,
                "dispossessed": 0.2842,
                "duels_lost": 3.3042,
                "aerial_lost": 1.872,
                "total_contest": 0.4732,
                "won_contest": 0.2372,
                "ball_recovery": 3.5626,
                "challenges_lost": 0.1178,
                "fouls": 0.9401,
                "fouls_drawn": 0.7843,
                "blocks": 0.8987,
                "goals": 0.0295,
                "goal_rate": 0.0295,
                "assists": 0.0063,
                "assist_rate": 0.0063,
                "expected_goals": 0.0195,
                "expected_assists": 0.0199,
                "shots_on_target": 0.0621,
                "big_chances_created": 0.0175,
                "xgot": 0.0216,
                "ball_carries": 20.0787,
                "total_progression": 70.4939,
                "progressive_carries": 0.6236,
                "key_pass": 0.1845,
                "shots_off_target": 0.4165
              },
              "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.9157,
                "tackles": 1.2694,
                "tackles_won": 0.6883,
                "clearances": 5.8163,
                "aerial_won": 2.4248,
                "total_shots": 0.4786,
                "rating": 6.8371,
                "minutes": 89.39,
                "total_pass": 56.0249,
                "accurate_pass": 47.3799,
                "duels_won": 4.8121,
                "total_long_balls": 11.0027,
                "accurate_long_balls": 5.4877,
                "total_own_half_passes": 32.7355,
                "accurate_own_half_passes": 31.565,
                "total_opp_half_passes": 23.2894,
                "accurate_opp_half_passes": 15.815,
                "crosses_total": 0.0716,
                "crosses_accurate": 0.0665,
                "touches": 68.2075,
                "possession_lost": 9.6857,
                "dispossessed": 0.2842,
                "duels_lost": 3.3042,
                "aerial_lost": 1.872,
                "total_contest": 0.4732,
                "won_contest": 0.2372,
                "ball_recovery": 3.5626,
                "challenges_lost": 0.1178,
                "fouls": 0.9401,
                "fouls_drawn": 0.7843,
                "blocks": 0.8987,
                "goals": 0.0295,
                "goal_rate": 0.0295,
                "assists": 0.0063,
                "assist_rate": 0.0063,
                "expected_goals": 0.0195,
                "expected_assists": 0.0199,
                "shots_on_target": 0.0621,
                "big_chances_created": 0.0175,
                "xgot": 0.0216,
                "ball_carries": 20.0787,
                "total_progression": 70.4939,
                "progressive_carries": 0.6236,
                "key_pass": 0.1845,
                "shots_off_target": 0.4165,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.8,
                "defensive_success_rate": 0.795,
                "opponent_faced": "Cucho Hernández",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Cucho Hernández",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 0.83 (squad xG sum 0.8154, xG scale 1.0240, xA scale 1.0541, team xA 0.54 = 0.65 x lambda)",
              "stats": {
                "interceptions": 0.9157,
                "tackles": 1.2694,
                "tackles_won": 0.6883,
                "clearances": 5.8163,
                "aerial_won": 2.4248,
                "total_shots": 0.4786,
                "rating": 6.8371,
                "minutes": 89.39,
                "total_pass": 56.0249,
                "accurate_pass": 47.3799,
                "duels_won": 4.8121,
                "total_long_balls": 11.0027,
                "accurate_long_balls": 5.4877,
                "total_own_half_passes": 32.7355,
                "accurate_own_half_passes": 31.565,
                "total_opp_half_passes": 23.2894,
                "accurate_opp_half_passes": 15.815,
                "crosses_total": 0.0716,
                "crosses_accurate": 0.0665,
                "touches": 68.2075,
                "possession_lost": 9.6857,
                "dispossessed": 0.2842,
                "duels_lost": 3.3042,
                "aerial_lost": 1.872,
                "total_contest": 0.4732,
                "won_contest": 0.2372,
                "ball_recovery": 3.5626,
                "challenges_lost": 0.1178,
                "fouls": 0.9401,
                "fouls_drawn": 0.7843,
                "blocks": 0.8987,
                "goal_rate": 0.0295,
                "goals": 0,
                "assist_rate": 0.0063,
                "assists": 0,
                "expected_goals": 0.02,
                "expected_assists": 0.021,
                "shots_on_target": 0.0621,
                "big_chances_created": 0.0175,
                "xgot": 0.0221,
                "ball_carries": 20.0787,
                "total_progression": 70.4939,
                "progressive_carries": 0.6236,
                "key_pass": 0.1845,
                "shots_off_target": 0.4165,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.8,
                "defensive_success_rate": 0.795,
                "opponent_faced": "Cucho Hernández",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1439,
                "creation_factor": 0.8054
              },
              "params": {
                "team_lambda": 0.835,
                "squad_xg_sum": 0.8154,
                "squad_xa_sum": 0.5149,
                "team_expected_assists": 0.5427,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.024,
                "xa_scale": 1.0541,
                "opponent_lambda": 1.934,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 6 by projected rating, fifa_overall 85.0; not used by the projection)",
              "stats": {
                "interceptions": 0.9157,
                "tackles": 1.2694,
                "tackles_won": 0.6883,
                "clearances": 5.8163,
                "aerial_won": 2.4248,
                "total_shots": 0.4786,
                "rating": 6.8371,
                "minutes": 89.39,
                "total_pass": 56.0249,
                "accurate_pass": 47.3799,
                "duels_won": 4.8121,
                "total_long_balls": 11.0027,
                "accurate_long_balls": 5.4877,
                "total_own_half_passes": 32.7355,
                "accurate_own_half_passes": 31.565,
                "total_opp_half_passes": 23.2894,
                "accurate_opp_half_passes": 15.815,
                "crosses_total": 0.0716,
                "crosses_accurate": 0.0665,
                "touches": 68.2075,
                "possession_lost": 9.6857,
                "dispossessed": 0.2842,
                "duels_lost": 3.3042,
                "aerial_lost": 1.872,
                "total_contest": 0.4732,
                "won_contest": 0.2372,
                "ball_recovery": 3.5626,
                "challenges_lost": 0.1178,
                "fouls": 0.9401,
                "fouls_drawn": 0.7843,
                "blocks": 0.8987,
                "goal_rate": 0.0295,
                "goals": 0,
                "assist_rate": 0.0063,
                "assists": 0,
                "expected_goals": 0.02,
                "expected_assists": 0.021,
                "shots_on_target": 0.0621,
                "big_chances_created": 0.0175,
                "xgot": 0.0221,
                "ball_carries": 20.0787,
                "total_progression": 70.4939,
                "progressive_carries": 0.6236,
                "key_pass": 0.1845,
                "shots_off_target": 0.4165,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.8,
                "defensive_success_rate": 0.795,
                "opponent_faced": "Cucho Hernández",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1439,
                "creation_factor": 0.8054,
                "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": 145,
                "fifa_rank": 162.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": {
                "interceptions": 0.9157,
                "tackles": 1.2694,
                "tackles_won": 0.6883,
                "clearances": 5.8163,
                "aerial_won": 2.4248,
                "total_shots": 0.4786,
                "rating": 6.8371,
                "minutes": 89.39,
                "total_pass": 56.0249,
                "accurate_pass": 47.3799,
                "duels_won": 4.8121,
                "total_long_balls": 11.0027,
                "accurate_long_balls": 5.4877,
                "total_own_half_passes": 32.7355,
                "accurate_own_half_passes": 31.565,
                "total_opp_half_passes": 23.2894,
                "accurate_opp_half_passes": 15.815,
                "crosses_total": 0.0716,
                "crosses_accurate": 0.0665,
                "touches": 68.2075,
                "possession_lost": 9.6857,
                "dispossessed": 0.2842,
                "duels_lost": 3.3042,
                "aerial_lost": 1.872,
                "total_contest": 0.4732,
                "won_contest": 0.2372,
                "ball_recovery": 3.5626,
                "challenges_lost": 0.1178,
                "fouls": 0.9401,
                "fouls_drawn": 0.7843,
                "blocks": 0.8987,
                "goal_rate": 0.0295,
                "goals": 0,
                "assist_rate": 0.0063,
                "assists": 0,
                "expected_goals": 0.02,
                "expected_assists": 0.021,
                "shots_on_target": 0.0621,
                "big_chances_created": 0.0175,
                "xgot": 0.0221,
                "ball_carries": 20.0787,
                "total_progression": 70.4939,
                "progressive_carries": 0.6236,
                "key_pass": 0.1845,
                "shots_off_target": 0.4165,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.8,
                "defensive_success_rate": 0.795,
                "opponent_faced": "Cucho Hernández",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0198,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1439,
                "creation_factor": 0.8054,
                "fifa_overall": 85.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0198,
                "scorer_weight": 0.0229,
                "squad_weight_total": 0.8684,
                "weight_share": 0.0263,
                "finishing_factor": 1.1439,
                "appearance_weight": 1.0,
                "weight_rank": 9,
                "eligible_players": 14
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "interceptions": 0.9157,
                "tackles": 1.2694,
                "tackles_won": 0.6883,
                "clearances": 5.8163,
                "aerial_won": 2.4248,
                "total_shots": 0.4786,
                "rating": 6.8371,
                "minutes": 89.39,
                "total_pass": 56.0249,
                "accurate_pass": 47.3799,
                "duels_won": 4.8121,
                "total_long_balls": 11.0027,
                "accurate_long_balls": 5.4877,
                "total_own_half_passes": 32.7355,
                "accurate_own_half_passes": 31.565,
                "total_opp_half_passes": 23.2894,
                "accurate_opp_half_passes": 15.815,
                "crosses_total": 0.0716,
                "crosses_accurate": 0.0665,
                "touches": 68.2075,
                "possession_lost": 9.6857,
                "dispossessed": 0.2842,
                "duels_lost": 3.3042,
                "aerial_lost": 1.872,
                "total_contest": 0.4732,
                "won_contest": 0.2372,
                "ball_recovery": 3.5626,
                "challenges_lost": 0.1178,
                "fouls": 0.9401,
                "fouls_drawn": 0.7843,
                "blocks": 0.8987,
                "goal_rate": 0.0295,
                "goals": 0,
                "assist_rate": 0.0063,
                "assists": 0,
                "expected_goals": 0.02,
                "expected_assists": 0.021,
                "shots_on_target": 0.0621,
                "big_chances_created": 0.0175,
                "xgot": 0.0221,
                "ball_carries": 20.0787,
                "total_progression": 70.4939,
                "progressive_carries": 0.6236,
                "key_pass": 0.1845,
                "shots_off_target": 0.4165,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.8,
                "defensive_success_rate": 0.795,
                "opponent_faced": "Cucho Hernández",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0198,
                "projected_assists": 0,
                "assist_probability": 0.0208,
                "finishing_factor": 1.1439,
                "creation_factor": 0.8054,
                "fifa_overall": 85.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0208,
                "provider_weight": 0.0169,
                "squad_weight_total": 0.4935,
                "weight_share": 0.0343,
                "creation_factor": 0.8054,
                "appearance_weight": 1.0,
                "weight_rank": 9,
                "eligible_players": 14
              }
            }
          ]
        },
        "Iñigo Arguibide": {
          "player_id": 1495856,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 27,
          "height": 178,
          "market_value": 850000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 2,
            "aerial_won": 1,
            "total_shots": 0,
            "rating": 6.6196,
            "minutes": 81,
            "total_pass": 17,
            "accurate_pass": 14,
            "duels_won": 3,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_own_half_passes": 9,
            "accurate_own_half_passes": 8,
            "total_opp_half_passes": 8,
            "accurate_opp_half_passes": 5,
            "crosses_total": 2,
            "crosses_accurate": 0,
            "touches": 37,
            "possession_lost": 10.34,
            "dispossessed": 0.6183,
            "duels_lost": 4,
            "aerial_lost": 0,
            "total_contest": 2,
            "won_contest": 1,
            "ball_recovery": 2,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0154,
            "expected_assists": 0.029,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 8,
            "total_progression": 33,
            "progressive_carries": 1,
            "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.0153,
            "projected_assists": 0,
            "assist_probability": 0.0286,
            "finishing_factor": 0.8,
            "creation_factor": 0.8,
            "fifa_overall": 81.0
          },
          "latest_10_games": [
            {
              "match_id": 16416305,
              "match_date": "2026-09-19",
              "home_team": "Osasuna",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0717,
                "expected_assists": 0.0058,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 11,
                "accurate_pass": 10,
                "tackles": 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": 16416335,
              "match_date": "2026-09-16",
              "home_team": "Atlético Madrid",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 71,
                "rating": 5.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0017,
                "total_shots": 0,
                "total_pass": 9,
                "accurate_pass": 5,
                "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": 16416327,
              "match_date": "2026-09-12",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 59,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0049,
                "total_shots": 0,
                "total_pass": 18,
                "accurate_pass": 16,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416318,
              "match_date": "2026-09-06",
              "home_team": "Deportivo Alavés",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 85,
                "rating": 5.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0839,
                "total_shots": 0,
                "total_pass": 19,
                "accurate_pass": 17,
                "key_pass": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416314,
              "match_date": "2026-08-31",
              "home_team": "Osasuna",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.011,
                "expected_assists": 0.1051,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 32,
                "accurate_pass": 25,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 2,
                "duels_won": 4,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16815992,
              "match_date": "2026-08-27",
              "home_team": "Celta Vigo",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0104,
                "total_shots": 0,
                "total_pass": 35,
                "accurate_pass": 29,
                "tackles": 3,
                "tackles_won": 3,
                "interceptions": 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": 16416296,
              "match_date": "2026-08-24",
              "home_team": "Osasuna",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 81,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0428,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 8,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14081794,
              "match_date": "2026-02-21",
              "home_team": "Osasuna",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 13,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0,
                "clearances": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083200,
              "match_date": "2026-01-03",
              "home_team": "Osasuna",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 8,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 2,
                "accurate_pass": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083188,
              "match_date": "2025-12-20",
              "home_team": "Osasuna",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 21,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0005,
                "total_shots": 0,
                "total_pass": 4,
                "accurate_pass": 2,
                "clearances": 2
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 1360,
            "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": 15,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6196,
            "source_file": "data/player_rankings.csv",
            "player_name": "Iñigo Arguibide",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Ji-sol Lee",
                  "ranking": 1355
                },
                {
                  "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
                }
              ],
              "lower": [
                {
                  "player_name": "David Larrubia",
                  "ranking": 1361
                },
                {
                  "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
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.779,
          "history_matches": 13,
          "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": 13,
            "data_confidence": 0.779,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9944,
            "fbref_prior_metrics": {
              "squad": "Osasuna",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 260.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.35,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.1933
            },
            "rationale": "XGBoost regressor (D_service) evaluated 13 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Osasuna, rel: 0.19, 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.7138,
                "tackles": 1.3927,
                "tackles_won": 0.9339,
                "clearances": 1.9823,
                "aerial_won": 0.5243,
                "total_shots": 0.459,
                "rating": 6.6196,
                "minutes": 80.82,
                "total_pass": 17.281,
                "accurate_pass": 13.6044,
                "duels_won": 2.7825,
                "total_long_balls": 2.2896,
                "accurate_long_balls": 0.6799,
                "total_own_half_passes": 9.0503,
                "accurate_own_half_passes": 8.1673,
                "total_opp_half_passes": 8.2307,
                "accurate_opp_half_passes": 5.4371,
                "crosses_total": 2.3454,
                "crosses_accurate": 0.4496,
                "touches": 37.5733,
                "possession_lost": 10.3982,
                "dispossessed": 0.6218,
                "duels_lost": 4.262,
                "aerial_lost": 0.4172,
                "total_contest": 2.0076,
                "won_contest": 0.6915,
                "ball_recovery": 2.092,
                "challenges_lost": 0.5648,
                "fouls": 1.3421,
                "fouls_drawn": 0.8731,
                "blocks": 0.3597,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0151,
                "expected_assists": 0.0277,
                "shots_on_target": 0.0,
                "big_chances_created": 0.1019,
                "xgot": 0.0,
                "ball_carries": 7.9401,
                "total_progression": 33.5621,
                "progressive_carries": 0.9861,
                "key_pass": 0.2844,
                "shots_off_target": 0.459
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-11T10:25:50.810190+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 623,
                    "rows": 20487
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1706,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Atlético Madrid",
                    "minutes": 71.0,
                    "is_starting": true,
                    "weight": 0.145,
                    "rating": 5.7
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Espanyol",
                    "minutes": 59.0,
                    "is_starting": true,
                    "weight": 0.1233,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Deportivo Alavés",
                    "minutes": 85.0,
                    "is_starting": true,
                    "weight": 0.1048,
                    "rating": 5.7
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0891,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0757,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Levante UD",
                    "minutes": 81.0,
                    "is_starting": true,
                    "weight": 0.0644,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-02-21",
                    "opponent": "Real Madrid",
                    "minutes": 13.0,
                    "is_starting": false,
                    "weight": 0.0547,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-01-03",
                    "opponent": "Athletic Club",
                    "minutes": 8.0,
                    "is_starting": false,
                    "weight": 0.0465,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2025-12-20",
                    "opponent": "Deportivo Alavés",
                    "minutes": 21.0,
                    "is_starting": false,
                    "weight": 0.0395,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 13.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 0.9623,
                  "aerialWon": 0.0,
                  "totalClearance_p90": 1.6501,
                  "totalTackle": 1.0043,
                  "totalPass": 14.9219
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.7138012051582336,
                    "model_output": 0.7138,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3015
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0387
                      },
                      {
                        "name": "touches",
                        "importance": 0.0279
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0248
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0238
                      }
                    ],
                    "decomposition": {
                      "base": 0.859,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1107
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.1055
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0355
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0294
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0256
                        }
                      ],
                      "others": -0.0599,
                      "total": 0.7138,
                      "log_link": true,
                      "margin_base": -0.152032,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.121274
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.115169
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.04198
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.036075
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.032599
                        }
                      ],
                      "others_margin": -0.08057
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.3927216529846191,
                    "model_output": 1.3927,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2671
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0621
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0475
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0423
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 1.3957,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1876
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.1251
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0673
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0569
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0441
                        }
                      ],
                      "others": 0.0146,
                      "total": 1.3927,
                      "log_link": true,
                      "margin_base": 0.333417,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.126085
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.08229
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.047255
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.041777
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.032539
                        }
                      ],
                      "others_margin": 0.01054
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.9339328408241272,
                    "model_output": 0.9339,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2228
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0652
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0462
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0412
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.8578,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1089
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0635
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0382
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0352
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0248
                        }
                      ],
                      "others": 0.0793,
                      "total": 0.9339,
                      "log_link": true,
                      "margin_base": -0.153422,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.119545
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.06791
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.043246
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.041491
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.029408
                        }
                      ],
                      "others_margin": 0.088764
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 1.9822585582733154,
                    "model_output": 1.9823,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2968
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1597
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0817
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0344
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0202
                      }
                    ],
                    "decomposition": {
                      "base": 3.4412,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": -0.8704
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.376
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.3191
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.2817
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.2025
                        }
                      ],
                      "others": -0.1612,
                      "total": 1.9823,
                      "log_link": true,
                      "margin_base": 1.235809,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": -0.291619
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.136504
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.114611
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.113384
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.090274
                        }
                      ],
                      "others_margin": -0.078187
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.5242698192596436,
                    "model_output": 0.5243,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1612
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1495
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.087
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0431
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0315
                      }
                    ],
                    "decomposition": {
                      "base": 1.3784,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": -0.5084
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.112
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0878
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0845
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0475
                        }
                      ],
                      "others": -0.1829,
                      "total": 0.5243,
                      "log_link": true,
                      "margin_base": 0.320928,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": -0.460208
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.13783
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.12318
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.118724
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.065064
                        }
                      ],
                      "others_margin": -0.299118
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.4590104818344116,
                    "model_output": 0.459,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.109
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0656
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0378
                      },
                      {
                        "name": "rating",
                        "importance": 0.0315
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0302
                      }
                    ],
                    "decomposition": {
                      "base": 0.4723,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0561
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0392
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0171
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": -0.0169
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0154
                        }
                      ],
                      "others": -0.0458,
                      "total": 0.459,
                      "log_link": false,
                      "margin_base": 0.47232,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.056128
                        },
                        {
                          "name": "rating",
                          "margin": -0.039173
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.017116
                        },
                        {
                          "name": "duelWon_p90",
                          "margin": -0.016926
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.015353
                        }
                      ],
                      "others_margin": -0.045807
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.6195902824401855,
                    "model_output": 6.6196,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0729
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0624
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.059
                      },
                      {
                        "name": "touches",
                        "importance": 0.0384
                      },
                      {
                        "name": "rating",
                        "importance": 0.037
                      }
                    ],
                    "decomposition": {
                      "base": 6.786,
                      "items": [
                        {
                          "name": "totalPass",
                          "contribution": -0.0319
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0243
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0193
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0172
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0139
                        }
                      ],
                      "others": -0.0598,
                      "total": 6.6196,
                      "log_link": false,
                      "margin_base": 6.785968,
                      "item_margins": [
                        {
                          "name": "totalPass",
                          "margin": -0.031865
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.024279
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.01925
                        },
                        {
                          "name": "rating",
                          "margin": -0.017186
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.013872
                        }
                      ],
                      "others_margin": -0.059925
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 13,
                  "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.9944, quality 0.437)",
              "stats": {
                "interceptions": 0.7098,
                "tackles": 1.3849,
                "tackles_won": 0.9287,
                "clearances": 1.9712,
                "aerial_won": 0.5213,
                "total_shots": 0.4564,
                "rating": 6.6196,
                "minutes": 80.82,
                "total_pass": 17.1842,
                "accurate_pass": 13.5282,
                "duels_won": 2.7669,
                "total_long_balls": 2.2768,
                "accurate_long_balls": 0.6761,
                "total_own_half_passes": 8.9996,
                "accurate_own_half_passes": 8.1216,
                "total_opp_half_passes": 8.1846,
                "accurate_opp_half_passes": 5.4067,
                "crosses_total": 2.3323,
                "crosses_accurate": 0.4471,
                "touches": 37.3629,
                "possession_lost": 10.34,
                "dispossessed": 0.6183,
                "duels_lost": 4.2381,
                "aerial_lost": 0.4149,
                "total_contest": 1.9964,
                "won_contest": 0.6876,
                "ball_recovery": 2.0803,
                "challenges_lost": 0.5616,
                "fouls": 1.3346,
                "fouls_drawn": 0.8682,
                "blocks": 0.3577,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.015,
                "expected_assists": 0.0275,
                "shots_on_target": 0.0,
                "big_chances_created": 0.1013,
                "xgot": 0.0,
                "ball_carries": 7.8956,
                "total_progression": 33.3742,
                "progressive_carries": 0.9806,
                "key_pass": 0.2828,
                "shots_off_target": 0.4564
              },
              "params": {
                "market_value_eur": 850000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9944,
                "reference_quality": 0.505,
                "history_matches": 13,
                "history_shrink": 0.2778,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0349)",
              "stats": {
                "interceptions": 0.7066,
                "tackles": 1.3849,
                "tackles_won": 0.9611,
                "clearances": 1.9712,
                "aerial_won": 0.5213,
                "total_shots": 0.4514,
                "rating": 6.6196,
                "minutes": 80.82,
                "total_pass": 17.1842,
                "accurate_pass": 13.5282,
                "duels_won": 2.7669,
                "total_long_balls": 2.2768,
                "accurate_long_balls": 0.6761,
                "total_own_half_passes": 8.9996,
                "accurate_own_half_passes": 8.1216,
                "total_opp_half_passes": 8.1846,
                "accurate_opp_half_passes": 5.4067,
                "crosses_total": 2.3698,
                "crosses_accurate": 0.4471,
                "touches": 37.3629,
                "possession_lost": 10.34,
                "dispossessed": 0.6183,
                "duels_lost": 4.2381,
                "aerial_lost": 0.4149,
                "total_contest": 1.9964,
                "won_contest": 0.6876,
                "ball_recovery": 2.0803,
                "challenges_lost": 0.5616,
                "fouls": 1.3096,
                "fouls_drawn": 0.8487,
                "blocks": 0.3577,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.015,
                "expected_assists": 0.0275,
                "shots_on_target": 0.0,
                "big_chances_created": 0.1013,
                "xgot": 0.0,
                "ball_carries": 7.8956,
                "total_progression": 33.3742,
                "progressive_carries": 0.9806,
                "key_pass": 0.2828,
                "shots_off_target": 0.4564
              },
              "params": {
                "blend_weight": 0.0349,
                "history_matches": 13,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.898,
                "prior_reliability": 0.1933,
                "competition": "La Liga",
                "squad": "Osasuna"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 2.3323,
                  "after": 2.3698
                },
                {
                  "stat": "wonTackle",
                  "before": 0.9287,
                  "after": 0.9611
                },
                {
                  "stat": "fouls",
                  "before": 1.3346,
                  "after": 1.3096
                },
                {
                  "stat": "wasFouled",
                  "before": 0.8682,
                  "after": 0.8487
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.7066,
                "tackles": 1.3849,
                "tackles_won": 0.9611,
                "clearances": 1.9712,
                "aerial_won": 0.5213,
                "total_shots": 0.4564,
                "rating": 6.6196,
                "minutes": 80.82,
                "total_pass": 17.1842,
                "accurate_pass": 13.5282,
                "duels_won": 2.7669,
                "total_long_balls": 2.2768,
                "accurate_long_balls": 0.6761,
                "total_own_half_passes": 8.9996,
                "accurate_own_half_passes": 8.1216,
                "total_opp_half_passes": 8.1846,
                "accurate_opp_half_passes": 5.4067,
                "crosses_total": 2.3698,
                "crosses_accurate": 0.4471,
                "touches": 37.3629,
                "possession_lost": 10.34,
                "dispossessed": 0.6183,
                "duels_lost": 4.2381,
                "aerial_lost": 0.4149,
                "total_contest": 1.9964,
                "won_contest": 0.6876,
                "ball_recovery": 2.0803,
                "challenges_lost": 0.5616,
                "fouls": 1.3096,
                "fouls_drawn": 0.8487,
                "blocks": 0.3577,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.015,
                "expected_assists": 0.0275,
                "shots_on_target": 0.0,
                "big_chances_created": 0.1013,
                "xgot": 0.0,
                "ball_carries": 7.8956,
                "total_progression": 33.3742,
                "progressive_carries": 0.9806,
                "key_pass": 0.2828,
                "shots_off_target": 0.4564
              },
              "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.7066,
                "tackles": 1.3849,
                "tackles_won": 0.9611,
                "clearances": 1.9712,
                "aerial_won": 0.5213,
                "total_shots": 0.4564,
                "rating": 6.6196,
                "minutes": 80.82,
                "total_pass": 17.1842,
                "accurate_pass": 13.5282,
                "duels_won": 2.7669,
                "total_long_balls": 2.2768,
                "accurate_long_balls": 0.6761,
                "total_own_half_passes": 8.9996,
                "accurate_own_half_passes": 8.1216,
                "total_opp_half_passes": 8.1846,
                "accurate_opp_half_passes": 5.4067,
                "crosses_total": 2.3698,
                "crosses_accurate": 0.4471,
                "touches": 37.3629,
                "possession_lost": 10.34,
                "dispossessed": 0.6183,
                "duels_lost": 4.2381,
                "aerial_lost": 0.4149,
                "total_contest": 1.9964,
                "won_contest": 0.6876,
                "ball_recovery": 2.0803,
                "challenges_lost": 0.5616,
                "fouls": 1.3096,
                "fouls_drawn": 0.8487,
                "blocks": 0.3577,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.015,
                "expected_assists": 0.0275,
                "shots_on_target": 0.0,
                "big_chances_created": 0.1013,
                "xgot": 0.0,
                "ball_carries": 7.8956,
                "total_progression": 33.3742,
                "progressive_carries": 0.9806,
                "key_pass": 0.2828,
                "shots_off_target": 0.4564,
                "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": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 0.83 (squad xG sum 0.8154, xG scale 1.0240, xA scale 1.0541, team xA 0.54 = 0.65 x lambda)",
              "stats": {
                "interceptions": 0.7066,
                "tackles": 1.3849,
                "tackles_won": 0.9611,
                "clearances": 1.9712,
                "aerial_won": 0.5213,
                "total_shots": 0.4564,
                "rating": 6.6196,
                "minutes": 80.82,
                "total_pass": 17.1842,
                "accurate_pass": 13.5282,
                "duels_won": 2.7669,
                "total_long_balls": 2.2768,
                "accurate_long_balls": 0.6761,
                "total_own_half_passes": 8.9996,
                "accurate_own_half_passes": 8.1216,
                "total_opp_half_passes": 8.1846,
                "accurate_opp_half_passes": 5.4067,
                "crosses_total": 2.3698,
                "crosses_accurate": 0.4471,
                "touches": 37.3629,
                "possession_lost": 10.34,
                "dispossessed": 0.6183,
                "duels_lost": 4.2381,
                "aerial_lost": 0.4149,
                "total_contest": 1.9964,
                "won_contest": 0.6876,
                "ball_recovery": 2.0803,
                "challenges_lost": 0.5616,
                "fouls": 1.3096,
                "fouls_drawn": 0.8487,
                "blocks": 0.3577,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0154,
                "expected_assists": 0.029,
                "shots_on_target": 0.0,
                "big_chances_created": 0.1013,
                "xgot": 0.0,
                "ball_carries": 7.8956,
                "total_progression": 33.3742,
                "progressive_carries": 0.9806,
                "key_pass": 0.2828,
                "shots_off_target": 0.4564,
                "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.8,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 0.835,
                "squad_xg_sum": 0.8154,
                "squad_xa_sum": 0.5149,
                "team_expected_assists": 0.5427,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.024,
                "xa_scale": 1.0541,
                "opponent_lambda": 1.934,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 15 by projected rating, fifa_overall 81.0; not used by the projection)",
              "stats": {
                "interceptions": 0.7066,
                "tackles": 1.3849,
                "tackles_won": 0.9611,
                "clearances": 1.9712,
                "aerial_won": 0.5213,
                "total_shots": 0.4564,
                "rating": 6.6196,
                "minutes": 80.82,
                "total_pass": 17.1842,
                "accurate_pass": 13.5282,
                "duels_won": 2.7669,
                "total_long_balls": 2.2768,
                "accurate_long_balls": 0.6761,
                "total_own_half_passes": 8.9996,
                "accurate_own_half_passes": 8.1216,
                "total_opp_half_passes": 8.1846,
                "accurate_opp_half_passes": 5.4067,
                "crosses_total": 2.3698,
                "crosses_accurate": 0.4471,
                "touches": 37.3629,
                "possession_lost": 10.34,
                "dispossessed": 0.6183,
                "duels_lost": 4.2381,
                "aerial_lost": 0.4149,
                "total_contest": 1.9964,
                "won_contest": 0.6876,
                "ball_recovery": 2.0803,
                "challenges_lost": 0.5616,
                "fouls": 1.3096,
                "fouls_drawn": 0.8487,
                "blocks": 0.3577,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0154,
                "expected_assists": 0.029,
                "shots_on_target": 0.0,
                "big_chances_created": 0.1013,
                "xgot": 0.0,
                "ball_carries": 7.8956,
                "total_progression": 33.3742,
                "progressive_carries": 0.9806,
                "key_pass": 0.2828,
                "shots_off_target": 0.4564,
                "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.8,
                "creation_factor": 0.8,
                "fifa_overall": 81.0
              },
              "params": {
                "match_squad_rank": 15,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 1360,
                "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": {
                "interceptions": 0.7066,
                "tackles": 1.3849,
                "tackles_won": 0.9611,
                "clearances": 1.9712,
                "aerial_won": 0.5213,
                "total_shots": 0.4564,
                "rating": 6.6196,
                "minutes": 80.82,
                "total_pass": 17.1842,
                "accurate_pass": 13.5282,
                "duels_won": 2.7669,
                "total_long_balls": 2.2768,
                "accurate_long_balls": 0.6761,
                "total_own_half_passes": 8.9996,
                "accurate_own_half_passes": 8.1216,
                "total_opp_half_passes": 8.1846,
                "accurate_opp_half_passes": 5.4067,
                "crosses_total": 2.3698,
                "crosses_accurate": 0.4471,
                "touches": 37.3629,
                "possession_lost": 10.34,
                "dispossessed": 0.6183,
                "duels_lost": 4.2381,
                "aerial_lost": 0.4149,
                "total_contest": 1.9964,
                "won_contest": 0.6876,
                "ball_recovery": 2.0803,
                "challenges_lost": 0.5616,
                "fouls": 1.3096,
                "fouls_drawn": 0.8487,
                "blocks": 0.3577,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0154,
                "expected_assists": 0.029,
                "shots_on_target": 0.0,
                "big_chances_created": 0.1013,
                "xgot": 0.0,
                "ball_carries": 7.8956,
                "total_progression": 33.3742,
                "progressive_carries": 0.9806,
                "key_pass": 0.2828,
                "shots_off_target": 0.4564,
                "opponent_faced": "Abdessamad Ezzalzouli",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0153,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 81.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0153,
                "scorer_weight": 0.0123,
                "squad_weight_total": 0.8684,
                "weight_share": 0.0142,
                "finishing_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 14,
                "eligible_players": 14
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "interceptions": 0.7066,
                "tackles": 1.3849,
                "tackles_won": 0.9611,
                "clearances": 1.9712,
                "aerial_won": 0.5213,
                "total_shots": 0.4564,
                "rating": 6.6196,
                "minutes": 80.82,
                "total_pass": 17.1842,
                "accurate_pass": 13.5282,
                "duels_won": 2.7669,
                "total_long_balls": 2.2768,
                "accurate_long_balls": 0.6761,
                "total_own_half_passes": 8.9996,
                "accurate_own_half_passes": 8.1216,
                "total_opp_half_passes": 8.1846,
                "accurate_opp_half_passes": 5.4067,
                "crosses_total": 2.3698,
                "crosses_accurate": 0.4471,
                "touches": 37.3629,
                "possession_lost": 10.34,
                "dispossessed": 0.6183,
                "duels_lost": 4.2381,
                "aerial_lost": 0.4149,
                "total_contest": 1.9964,
                "won_contest": 0.6876,
                "ball_recovery": 2.0803,
                "challenges_lost": 0.5616,
                "fouls": 1.3096,
                "fouls_drawn": 0.8487,
                "blocks": 0.3577,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0154,
                "expected_assists": 0.029,
                "shots_on_target": 0.0,
                "big_chances_created": 0.1013,
                "xgot": 0.0,
                "ball_carries": 7.8956,
                "total_progression": 33.3742,
                "progressive_carries": 0.9806,
                "key_pass": 0.2828,
                "shots_off_target": 0.4564,
                "opponent_faced": "Abdessamad Ezzalzouli",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0153,
                "projected_assists": 0,
                "assist_probability": 0.0286,
                "finishing_factor": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 81.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0286,
                "provider_weight": 0.0232,
                "squad_weight_total": 0.4935,
                "weight_share": 0.047,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 7,
                "eligible_players": 14
              }
            }
          ]
        },
        "Aitor Fernández": {
          "player_id": 99516,
          "position": "G",
          "position_depth": "G",
          "is_starter": true,
          "shirt_number": 13,
          "height": 182,
          "market_value": 465000,
          "stats": {
            "saves": 3,
            "goals_prevented": 0.3171,
            "rating": 7.0864,
            "minutes": 90,
            "total_pass": 28,
            "accurate_pass": 17,
            "total_long_balls": 18,
            "accurate_long_balls": 6,
            "touches": 39,
            "clearances": 1,
            "ball_recovery": 8,
            "high_claims": 1,
            "punches": 0.0,
            "aerial_won": 0,
            "sweeper_actions": 1,
            "sweeper_accurate": 1,
            "saves_inside_box": 2,
            "possession_lost": 11.9451,
            "duels_won": 0,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 14,
            "accurate_own_half_passes": 12,
            "gk_engine_opponent_lambda": 1.8181,
            "shots_faced": 18.4,
            "expected_saves": 4.51,
            "high_pressure_saves": 1.55,
            "opponent_faced": "Abdessamad Ezzalzouli, Cucho Hernández",
            "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": 16416305,
              "match_date": "2026-09-19",
              "home_team": "Osasuna",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0021,
                "total_shots": 0,
                "total_pass": 23,
                "accurate_pass": 14,
                "clearances": 1,
                "ball_recovery": 10,
                "saves": 1,
                "goals_prevented": -0.575
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416335,
              "match_date": "2026-09-16",
              "home_team": "Atlético Madrid",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0012,
                "total_shots": 0,
                "total_pass": 36,
                "accurate_pass": 18,
                "clearances": 2,
                "ball_recovery": 8,
                "saves": 7,
                "goals_prevented": -0.0894
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083634,
              "match_date": "2026-05-12",
              "home_team": "Osasuna",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0016,
                "total_shots": 0,
                "total_pass": 27,
                "accurate_pass": 19,
                "clearances": 1,
                "ball_recovery": 6,
                "saves": 2,
                "goals_prevented": 0.2518
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083568,
              "match_date": "2026-05-08",
              "home_team": "Levante UD",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 46,
                "rating": 8.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.001,
                "total_shots": 0,
                "total_pass": 24,
                "accurate_pass": 12,
                "duels_won": 1,
                "ball_recovery": 8,
                "saves": 7,
                "goals_prevented": 0.7965
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 2135,
            "combined_rank_score": 806.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 68.0,
            "sofascore_rating": 7.6,
            "sofascore_appearances": 2.0,
            "fifa_rank": 1544.0,
            "fifa_overall": 77.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 1,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.0864,
            "source_file": "data/player_rankings.csv",
            "player_name": "Aitor Fernández",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Oleksiy Shchebetun",
                  "ranking": 2130
                },
                {
                  "player_name": "Nurzhakhon Muzaffarov",
                  "ranking": 2131
                },
                {
                  "player_name": "Nosirzhon Abdusalomov",
                  "ranking": 2132
                },
                {
                  "player_name": "Tomás Ariel Silva",
                  "ranking": 2133
                },
                {
                  "player_name": "Tjay De Barr",
                  "ranking": 2134
                }
              ],
              "lower": [
                {
                  "player_name": "Franco Bechtholdt",
                  "ranking": 2136
                },
                {
                  "player_name": "Lutsharel Geertruida",
                  "ranking": 2137
                },
                {
                  "player_name": "Vlatko Stojanovski",
                  "ranking": 2138
                },
                {
                  "player_name": "Islom Tukhtakhuzhaev",
                  "ranking": 2139
                },
                {
                  "player_name": "Juan Figueroa",
                  "ranking": 2140
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.5,
          "history_matches": 4,
          "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": 4,
            "data_confidence": 0.5,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9887,
            "fbref_prior_metrics": {
              "squad": "Osasuna",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 0.0,
              "starts": 0.0,
              "prior_reliability": 0.0
            },
            "rationale": "XGBoost regressor (G_service) evaluated 4 historical appearances across 3 target models; FBref 2026-2027 prior blended (La Liga, Osasuna, rel: 0.00, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost G_service raw output over 3 target models",
              "stats": {
                "saves": 3.0885,
                "goals_prevented": 0.3208,
                "rating": 7.0864,
                "minutes": 90.0,
                "total_pass": 28.4189,
                "accurate_pass": 16.726,
                "total_long_balls": 18.0321,
                "accurate_long_balls": 6.3392,
                "touches": 39.3946,
                "clearances": 1.3304,
                "ball_recovery": 8.2157,
                "high_claims": 1.3304,
                "punches": 0.0,
                "aerial_won": 0.0,
                "sweeper_actions": 1.0,
                "sweeper_accurate": 1.0,
                "saves_inside_box": 1.553,
                "possession_lost": 12.0816,
                "duels_won": 0.0,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 13.6589,
                "accurate_own_half_passes": 12.3372
              },
              "trace": {
                "model": {
                  "position_service": "G",
                  "schema_version": 5,
                  "trained_at": "2026-10-11T10:25:02.791090+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 199,
                    "rows": 6859
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 7.8
                  },
                  {
                    "match_date": "2026-05-12",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-08",
                    "opponent": "Levante UD",
                    "minutes": 46.0,
                    "is_starting": false,
                    "weight": 0.1927,
                    "rating": 8.4
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 1.0,
                  "sweeper_actions_p90": 0.8073,
                  "accurateOwnHalfPasses": 10.9232,
                  "accurateLongBalls": 6.852,
                  "aerialWon": 0.0,
                  "accurateKeeperSweeper": 0.8073,
                  "sweeper_accuracy": 0.8073
                },
                "per_target": [
                  {
                    "target": "saves",
                    "predicted": 3.0884926319122314,
                    "model_output": 3.0885,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "saves",
                        "importance": 0.0396
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0382
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0378
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0364
                      },
                      {
                        "name": "goalsPrevented",
                        "importance": 0.0361
                      }
                    ],
                    "decomposition": {
                      "base": 2.9355,
                      "items": [
                        {
                          "name": "saves",
                          "contribution": 0.0402
                        },
                        {
                          "name": "accurateLongBalls",
                          "contribution": 0.0257
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0244
                        },
                        {
                          "name": "sweeper_accuracy",
                          "contribution": 0.0226
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0165
                        }
                      ],
                      "others": 0.0236,
                      "total": 3.0885,
                      "log_link": true,
                      "margin_base": 1.07688,
                      "item_margins": [
                        {
                          "name": "saves",
                          "margin": 0.013587
                        },
                        {
                          "name": "accurateLongBalls",
                          "margin": 0.008606
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.008104
                        },
                        {
                          "name": "sweeper_accuracy",
                          "margin": 0.00744
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.005402
                        }
                      ],
                      "others_margin": 0.007664
                    }
                  },
                  {
                    "target": "goalsPrevented",
                    "predicted": 0.32075798511505127,
                    "model_output": 0.3208,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "aerialWon",
                        "importance": 0.0412
                      },
                      {
                        "name": "goalkeeperValueNormalized",
                        "importance": 0.0404
                      },
                      {
                        "name": "punches",
                        "importance": 0.0397
                      },
                      {
                        "name": "accurateLongBalls",
                        "importance": 0.0375
                      },
                      {
                        "name": "sweeper_actions_p90",
                        "importance": 0.0375
                      }
                    ],
                    "decomposition": {
                      "base": -0.0216,
                      "items": [
                        {
                          "name": "sweeper_accuracy",
                          "contribution": 0.1418
                        },
                        {
                          "name": "goodHighClaim",
                          "contribution": 0.0484
                        },
                        {
                          "name": "accurateKeeperSweeper",
                          "contribution": 0.0374
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0314
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0169
                        }
                      ],
                      "others": 0.0665,
                      "total": 0.3208,
                      "log_link": false,
                      "margin_base": -0.021558,
                      "item_margins": [
                        {
                          "name": "sweeper_accuracy",
                          "margin": 0.14177
                        },
                        {
                          "name": "goodHighClaim",
                          "margin": 0.048448
                        },
                        {
                          "name": "accurateKeeperSweeper",
                          "margin": 0.037358
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.031391
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.016871
                        }
                      ],
                      "others_margin": 0.066479
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.08642053604126,
                    "model_output": 7.0864,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "sweeper_actions_p90",
                        "importance": 0.0396
                      },
                      {
                        "name": "accurateKeeperSweeper",
                        "importance": 0.0389
                      },
                      {
                        "name": "accurateOwnHalfPasses",
                        "importance": 0.038
                      },
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.0369
                      },
                      {
                        "name": "touches",
                        "importance": 0.0361
                      }
                    ],
                    "decomposition": {
                      "base": 7.0028,
                      "items": [
                        {
                          "name": "sweeper_accuracy",
                          "contribution": 0.0792
                        },
                        {
                          "name": "goodHighClaim",
                          "contribution": 0.0389
                        },
                        {
                          "name": "sweeper_actions_p90",
                          "contribution": 0.0211
                        },
                        {
                          "name": "savedShotsFromInsideTheBox",
                          "contribution": -0.0185
                        },
                        {
                          "name": "totalOwnHalfPasses",
                          "contribution": -0.018
                        }
                      ],
                      "others": -0.0191,
                      "total": 7.0864,
                      "log_link": false,
                      "margin_base": 7.00281,
                      "item_margins": [
                        {
                          "name": "sweeper_accuracy",
                          "margin": 0.079196
                        },
                        {
                          "name": "goodHighClaim",
                          "margin": 0.038861
                        },
                        {
                          "name": "sweeper_actions_p90",
                          "margin": 0.021122
                        },
                        {
                          "name": "savedShotsFromInsideTheBox",
                          "margin": -0.018489
                        },
                        {
                          "name": "totalOwnHalfPasses",
                          "margin": -0.018041
                        }
                      ],
                      "others_margin": -0.019037
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 4,
                  "role_matches": 3,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9887, quality 0.437)",
              "stats": {
                "saves": 3.0536,
                "goals_prevented": 0.3171,
                "rating": 7.0864,
                "minutes": 90.0,
                "total_pass": 28.0978,
                "accurate_pass": 16.537,
                "total_long_balls": 17.8283,
                "accurate_long_balls": 6.2676,
                "touches": 38.9494,
                "clearances": 1.3154,
                "ball_recovery": 8.1229,
                "high_claims": 1.3154,
                "punches": 0.0,
                "aerial_won": 0.0,
                "sweeper_actions": 0.9887,
                "sweeper_accurate": 0.9887,
                "saves_inside_box": 1.5355,
                "possession_lost": 11.9451,
                "duels_won": 0.0,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 13.5046,
                "accurate_own_half_passes": 12.1978
              },
              "params": {
                "market_value_eur": 465000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9887,
                "reference_quality": 0.505,
                "history_matches": 4,
                "history_shrink": 0.5556,
                "market_value_known": true
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 3.0536,
                "goals_prevented": 0.3171,
                "rating": 7.0864,
                "minutes": 90.0,
                "total_pass": 28.0978,
                "accurate_pass": 16.537,
                "total_long_balls": 17.8283,
                "accurate_long_balls": 6.2676,
                "touches": 38.9494,
                "clearances": 1.3154,
                "ball_recovery": 8.1229,
                "high_claims": 1.3154,
                "punches": 0.0,
                "aerial_won": 0.0,
                "sweeper_actions": 0.9887,
                "sweeper_accurate": 0.9887,
                "saves_inside_box": 1.5355,
                "possession_lost": 11.9451,
                "duels_won": 0.0,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 13.5046,
                "accurate_own_half_passes": 12.1978
              },
              "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.0536,
                "goals_prevented": 0.3171,
                "rating": 7.0864,
                "minutes": 90.0,
                "total_pass": 28.0978,
                "accurate_pass": 16.537,
                "total_long_balls": 17.8283,
                "accurate_long_balls": 6.2676,
                "touches": 38.9494,
                "clearances": 1.3154,
                "ball_recovery": 8.1229,
                "high_claims": 1.3154,
                "punches": 0.0,
                "aerial_won": 0.0,
                "sweeper_actions": 0.9887,
                "sweeper_accurate": 0.9887,
                "saves_inside_box": 1.5355,
                "possession_lost": 11.9451,
                "duels_won": 0.0,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 13.5046,
                "accurate_own_half_passes": 12.1978,
                "gk_engine_opponent_lambda": 1.8181,
                "shots_faced": 17.3,
                "expected_saves": 4.24,
                "high_pressure_saves": 1.45,
                "opponent_faced": "Abdessamad Ezzalzouli, Cucho Hernández",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Abdessamad Ezzalzouli, Cucho Hernández",
                  "matchup_zone": "Goalkeeper shot-stopping context",
                  "opponent_lambda": 1.8181
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 0.83 (squad xG sum 0.8154, xG scale 1.0240, xA scale 1.0541, team xA 0.54 = 0.65 x lambda)",
              "stats": {
                "saves": 3.0536,
                "goals_prevented": 0.3171,
                "rating": 7.0864,
                "minutes": 90.0,
                "total_pass": 28.0978,
                "accurate_pass": 16.537,
                "total_long_balls": 17.8283,
                "accurate_long_balls": 6.2676,
                "touches": 38.9494,
                "clearances": 1.3154,
                "ball_recovery": 8.1229,
                "high_claims": 1.3154,
                "punches": 0.0,
                "aerial_won": 0.0,
                "sweeper_actions": 0.9887,
                "sweeper_accurate": 0.9887,
                "saves_inside_box": 1.5355,
                "possession_lost": 11.9451,
                "duels_won": 0.0,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 13.5046,
                "accurate_own_half_passes": 12.1978,
                "gk_engine_opponent_lambda": 1.8181,
                "shots_faced": 18.4,
                "expected_saves": 4.51,
                "high_pressure_saves": 1.55,
                "opponent_faced": "Abdessamad Ezzalzouli, Cucho Hernández",
                "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.835,
                "squad_xg_sum": 0.8154,
                "squad_xa_sum": 0.5149,
                "team_expected_assists": 0.5427,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.024,
                "xa_scale": 1.0541,
                "opponent_lambda": 1.934,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "shots_faced",
                  "before": 17.3,
                  "after": 18.4
                },
                {
                  "stat": "expected_saves",
                  "before": 4.24,
                  "after": 4.51
                },
                {
                  "stat": "high_pressure_saves",
                  "before": 1.45,
                  "after": 1.55
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 1 by projected rating, fifa_overall 77.0; not used by the projection)",
              "stats": {
                "saves": 3.0536,
                "goals_prevented": 0.3171,
                "rating": 7.0864,
                "minutes": 90.0,
                "total_pass": 28.0978,
                "accurate_pass": 16.537,
                "total_long_balls": 17.8283,
                "accurate_long_balls": 6.2676,
                "touches": 38.9494,
                "clearances": 1.3154,
                "ball_recovery": 8.1229,
                "high_claims": 1.3154,
                "punches": 0.0,
                "aerial_won": 0.0,
                "sweeper_actions": 0.9887,
                "sweeper_accurate": 0.9887,
                "saves_inside_box": 1.5355,
                "possession_lost": 11.9451,
                "duels_won": 0.0,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 13.5046,
                "accurate_own_half_passes": 12.1978,
                "gk_engine_opponent_lambda": 1.8181,
                "shots_faced": 18.4,
                "expected_saves": 4.51,
                "high_pressure_saves": 1.55,
                "opponent_faced": "Abdessamad Ezzalzouli, Cucho Hernández",
                "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": 1,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 2135,
                "fifa_rank": 1544.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 77.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "saves": 3.0536,
                "goals_prevented": 0.3171,
                "rating": 7.0864,
                "minutes": 90.0,
                "total_pass": 28.0978,
                "accurate_pass": 16.537,
                "total_long_balls": 17.8283,
                "accurate_long_balls": 6.2676,
                "touches": 38.9494,
                "clearances": 1.3154,
                "ball_recovery": 8.1229,
                "high_claims": 1.3154,
                "punches": 0.0,
                "aerial_won": 0.0,
                "sweeper_actions": 0.9887,
                "sweeper_accurate": 0.9887,
                "saves_inside_box": 1.5355,
                "possession_lost": 11.9451,
                "duels_won": 0.0,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 13.5046,
                "accurate_own_half_passes": 12.1978,
                "gk_engine_opponent_lambda": 1.8181,
                "shots_faced": 18.4,
                "expected_saves": 4.51,
                "high_pressure_saves": 1.55,
                "opponent_faced": "Abdessamad Ezzalzouli, Cucho Hernández",
                "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": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.0,
                "squad_weight_total": 0.8684,
                "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": 3.0536,
                "goals_prevented": 0.3171,
                "rating": 7.0864,
                "minutes": 90.0,
                "total_pass": 28.0978,
                "accurate_pass": 16.537,
                "total_long_balls": 17.8283,
                "accurate_long_balls": 6.2676,
                "touches": 38.9494,
                "clearances": 1.3154,
                "ball_recovery": 8.1229,
                "high_claims": 1.3154,
                "punches": 0.0,
                "aerial_won": 0.0,
                "sweeper_actions": 0.9887,
                "sweeper_accurate": 0.9887,
                "saves_inside_box": 1.5355,
                "possession_lost": 11.9451,
                "duels_won": 0.0,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 13.5046,
                "accurate_own_half_passes": 12.1978,
                "gk_engine_opponent_lambda": 1.8181,
                "shots_faced": 18.4,
                "expected_saves": 4.51,
                "high_pressure_saves": 1.55,
                "opponent_faced": "Abdessamad Ezzalzouli, Cucho Hernández",
                "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": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0,
                "provider_weight": 0.0,
                "squad_weight_total": 0.4935,
                "weight_share": 0.0,
                "creation_factor": 1.0,
                "appearance_weight": 1.0
              }
            }
          ]
        },
        "Jon Moncayola": {
          "player_id": 976141,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 7,
          "height": 182,
          "market_value": 7300000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.084,
            "assist_rate": 0.0674,
            "assists": 0,
            "expected_goals": 0.0419,
            "goal_rate": 0.0485,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.775,
            "minutes": 81,
            "total_pass": 33,
            "accurate_pass": 28,
            "duels_won": 3,
            "total_long_balls": 5,
            "accurate_long_balls": 3,
            "total_own_half_passes": 15,
            "accurate_own_half_passes": 13,
            "total_opp_half_passes": 19,
            "accurate_opp_half_passes": 14,
            "crosses_total": 3,
            "crosses_accurate": 1,
            "touches": 47,
            "possession_lost": 10.1749,
            "dispossessed": 0.6106,
            "duels_lost": 4,
            "aerial_won": 1,
            "aerial_lost": 1,
            "interceptions": 1,
            "tackles_won": 1,
            "tackles": 2,
            "clearances": 1,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0263,
            "ball_carries": 8,
            "total_progression": 18,
            "progressive_carries": 1,
            "shots_off_target": 0,
            "duel_xg_multiplier": 1.0723,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.8,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.449,
            "pressing_faced": "LOW",
            "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
            "numerical_situation": "1v1",
            "opponent_defenders": "Isco",
            "opponent_faced": "Isco",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.041,
            "projected_assists": 0,
            "assist_probability": 0.0806,
            "finishing_factor": 1.0836,
            "creation_factor": 0.9052,
            "fifa_overall": 81.0
          },
          "latest_10_games": [
            {
              "match_id": 16416305,
              "match_date": "2026-09-19",
              "home_team": "Osasuna",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 69,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0062,
                "total_shots": 0,
                "total_pass": 7,
                "accurate_pass": 4,
                "tackles": 2,
                "tackles_won": 2,
                "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": 16416335,
              "match_date": "2026-09-16",
              "home_team": "Atlético Madrid",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 19,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0695,
                "total_shots": 0,
                "total_pass": 12,
                "accurate_pass": 11,
                "tackles": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416327,
              "match_date": "2026-09-12",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0876,
                "total_shots": 0,
                "total_pass": 54,
                "accurate_pass": 47,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 8
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416318,
              "match_date": "2026-09-06",
              "home_team": "Deportivo Alavés",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0098,
                "total_shots": 0,
                "total_pass": 49,
                "accurate_pass": 40,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416314,
              "match_date": "2026-08-31",
              "home_team": "Osasuna",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0169,
                "expected_assists": 0.0386,
                "total_shots": 1,
                "total_pass": 42,
                "accurate_pass": 38,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 3,
                "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": 16815992,
              "match_date": "2026-08-27",
              "home_team": "Celta Vigo",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 45,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0096,
                "total_shots": 0,
                "total_pass": 19,
                "accurate_pass": 16,
                "tackles": 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": 16416296,
              "match_date": "2026-08-24",
              "home_team": "Osasuna",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0715,
                "expected_assists": 0.019,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 32,
                "accurate_pass": 28,
                "tackles": 3,
                "tackles_won": 3,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083723,
              "match_date": "2026-05-23",
              "home_team": "Getafe",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Getafe",
              "stats": {
                "minutes": 81,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0756,
                "total_shots": 0,
                "total_pass": 18,
                "accurate_pass": 8,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 1,
                "duels_won": 2,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083696,
              "match_date": "2026-05-17",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 58,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0391,
                "expected_assists": 0.0092,
                "total_shots": 1,
                "total_pass": 27,
                "accurate_pass": 23,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083634,
              "match_date": "2026-05-12",
              "home_team": "Osasuna",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.3195,
                "total_shots": 0,
                "total_pass": 51,
                "accurate_pass": 44,
                "key_pass": 3,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 982,
            "combined_rank_score": 481.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 445.0,
            "sofascore_rating": 6.9,
            "sofascore_appearances": 3.0,
            "fifa_rank": 517.0,
            "fifa_overall": 81.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 7,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.775,
            "source_file": "data/player_rankings.csv",
            "player_name": "Jon Moncayola",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "José Aldo",
                  "ranking": 977
                },
                {
                  "player_name": "Matheus Henrique",
                  "ranking": 978
                },
                {
                  "player_name": "Azizkhon Isokov",
                  "ranking": 979
                },
                {
                  "player_name": "Esteban Páez",
                  "ranking": 980
                },
                {
                  "player_name": "Krzysztof Piątek",
                  "ranking": 981
                }
              ],
              "lower": [
                {
                  "player_name": "Jahmali Waite",
                  "ranking": 983
                },
                {
                  "player_name": "Guillermo Viscarra",
                  "ranking": 984
                },
                {
                  "player_name": "Alexis Sánchez",
                  "ranking": 985
                },
                {
                  "player_name": "Jin-uk Jeong",
                  "ranking": 986
                },
                {
                  "player_name": "Cho Young-kwang",
                  "ranking": 987
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.775,
          "history_matches": 43,
          "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": 43,
            "data_confidence": 0.775,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9995,
            "fbref_prior_metrics": {
              "squad": "Osasuna",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 225.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.8,
              "shots_on_target_pct": 50.0,
              "prior_reliability": 0.1667
            },
            "rationale": "XGBoost regressor (M_service) evaluated 43 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Osasuna, 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.7899,
                "expected_assists": 0.0797,
                "assists": 0.0682,
                "assist_rate": 0.0682,
                "expected_goals": 0.0381,
                "goals": 0.0458,
                "goal_rate": 0.0458,
                "shots_on_target": 0.1843,
                "total_shots": 0.6106,
                "rating": 6.775,
                "minutes": 80.85,
                "total_pass": 33.2377,
                "accurate_pass": 27.5239,
                "duels_won": 2.8467,
                "total_long_balls": 5.3937,
                "accurate_long_balls": 2.5133,
                "total_own_half_passes": 14.5766,
                "accurate_own_half_passes": 13.2264,
                "total_opp_half_passes": 18.661,
                "accurate_opp_half_passes": 14.2975,
                "crosses_total": 2.9392,
                "crosses_accurate": 0.8273,
                "touches": 46.9927,
                "possession_lost": 10.18,
                "dispossessed": 0.6109,
                "duels_lost": 3.7476,
                "aerial_won": 0.3489,
                "aerial_lost": 1.0155,
                "interceptions": 0.9254,
                "tackles_won": 1.2597,
                "tackles": 2.031,
                "clearances": 0.8829,
                "total_contest": 0.2413,
                "won_contest": 0.1904,
                "challenges_lost": 0.9437,
                "fouls": 1.1422,
                "fouls_drawn": 0.2772,
                "blocks": 0.079,
                "big_chances_created": 0.0587,
                "big_chances_missed": 0.0126,
                "xgot": 0.024,
                "ball_carries": 8.152,
                "total_progression": 18.0366,
                "progressive_carries": 0.5213,
                "shots_off_target": 0.4262
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-11T10:26:42.530573+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 894,
                    "rows": 23497
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Rayo Vallecano",
                    "minutes": 69.0,
                    "is_starting": true,
                    "weight": 0.1501,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Atlético Madrid",
                    "minutes": 19.0,
                    "is_starting": false,
                    "weight": 0.1276,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1085,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0922,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Celta Vigo",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.0666,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0566,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Getafe",
                    "minutes": 81.0,
                    "is_starting": true,
                    "weight": 0.0481,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Espanyol",
                    "minutes": 58.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-12",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 7.1
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.3143,
                  "creative_index": 0.2115,
                  "expectedGoals": 0.0156,
                  "expectedAssists": 0.0575,
                  "onTargetScoringAttempt": 0.1069
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.7898812890052795,
                    "model_output": 0.7899,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1648
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1344
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0672
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0573
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0281
                      }
                    ],
                    "decomposition": {
                      "base": 0.8857,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1371
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.1053
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0934
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": -0.0483
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.041
                        }
                      ],
                      "others": -0.1555,
                      "total": 0.7899,
                      "log_link": true,
                      "margin_base": -0.121432,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.143891
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.097995
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.086421
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": -0.047765
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.042436
                        }
                      ],
                      "others_margin": -0.179706
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.07971079647541046,
                    "model_output": 0.0797,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1094
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1055
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.099
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0603
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0557
                      }
                    ],
                    "decomposition": {
                      "base": 0.0855,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": 0.0147
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0118
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0052
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.0043
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": -0.0033
                        }
                      ],
                      "others": -0.0195,
                      "total": 0.0797,
                      "log_link": true,
                      "margin_base": -2.458929,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": 0.158662
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.11093
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.04791
                        },
                        {
                          "name": "wonTackle",
                          "margin": -0.04128
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": -0.033134
                        }
                      ],
                      "others_margin": -0.21769
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.06819651275873184,
                    "model_output": 0.0682,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0515
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0436
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0436
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0319
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.03
                      }
                    ],
                    "decomposition": {
                      "base": 0.0858,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0084
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0082
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0077
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0059
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.0051
                        }
                      ],
                      "others": -0.0155,
                      "total": 0.0682,
                      "log_link": true,
                      "margin_base": -2.456317,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.093574
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.083062
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.078034
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.063842
                        },
                        {
                          "name": "wonTackle",
                          "margin": -0.059363
                        }
                      ],
                      "others_margin": -0.204443
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.03809687867760658,
                    "model_output": 0.0381,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1335
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.086
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0661
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0433
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.0936,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0368
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0096
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0067
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0054
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0019
                        }
                      ],
                      "others": -0.0085,
                      "total": 0.0381,
                      "log_link": true,
                      "margin_base": -2.368441,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.49977
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.185508
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.133449
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.105754
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.040008
                        }
                      ],
                      "others_margin": -0.201591
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.0457720048725605,
                    "model_output": 0.0458,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0863
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0517
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0485
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0373
                      },
                      {
                        "name": "goals",
                        "importance": 0.0275
                      }
                    ],
                    "decomposition": {
                      "base": 0.0966,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0232
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0106
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0068
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0067
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0048
                        }
                      ],
                      "others": -0.0123,
                      "total": 0.0458,
                      "log_link": true,
                      "margin_base": -2.337105,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.274252
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.155426
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.103384
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.101274
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.079876
                        }
                      ],
                      "others_margin": -0.239534
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.1843418926000595,
                    "model_output": 0.1843,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.108
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0886
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0725
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0371
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.324,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0811
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0457
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0289
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0205
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0062
                        }
                      ],
                      "others": -0.0151,
                      "total": 0.1843,
                      "log_link": true,
                      "margin_base": -1.126872,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.288219
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.208415
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.136641
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.094968
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.030548
                        }
                      ],
                      "others_margin": -0.078581
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.6105510592460632,
                    "model_output": 0.6106,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1275
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1232
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0542
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0485
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0257
                      }
                    ],
                    "decomposition": {
                      "base": 0.99,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.2591
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1217
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0608
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0525
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0366
                        }
                      ],
                      "others": -0.0921,
                      "total": 0.6106,
                      "log_link": false,
                      "margin_base": 0.989981,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.259103
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.121719
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.060806
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.052454
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.036553
                        }
                      ],
                      "others_margin": -0.092233
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.774992942810059,
                    "model_output": 6.775,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0898
                      },
                      {
                        "name": "rating",
                        "importance": 0.0801
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0397
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0337
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0318
                      }
                    ],
                    "decomposition": {
                      "base": 6.8504,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": -0.0359
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0254
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0136
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0117
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0072
                        }
                      ],
                      "others": -0.0324,
                      "total": 6.775,
                      "log_link": false,
                      "margin_base": 6.850356,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": -0.035922
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.025356
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.013617
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.011665
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.007188
                        }
                      ],
                      "others_margin": -0.032327
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 43,
                  "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 0.9995, quality 0.490)",
              "stats": {
                "key_pass": 0.7895,
                "expected_assists": 0.0797,
                "assists": 0.0682,
                "assist_rate": 0.0682,
                "expected_goals": 0.0381,
                "goals": 0.0457,
                "goal_rate": 0.0457,
                "shots_on_target": 0.1842,
                "total_shots": 0.6102,
                "rating": 6.775,
                "minutes": 80.85,
                "total_pass": 33.2211,
                "accurate_pass": 27.5101,
                "duels_won": 2.8453,
                "total_long_balls": 5.391,
                "accurate_long_balls": 2.512,
                "total_own_half_passes": 14.5693,
                "accurate_own_half_passes": 13.2198,
                "total_opp_half_passes": 18.6517,
                "accurate_opp_half_passes": 14.2904,
                "crosses_total": 2.9377,
                "crosses_accurate": 0.8269,
                "touches": 46.9692,
                "possession_lost": 10.1749,
                "dispossessed": 0.6106,
                "duels_lost": 3.7457,
                "aerial_won": 0.3487,
                "aerial_lost": 1.015,
                "interceptions": 0.9249,
                "tackles_won": 1.2591,
                "tackles": 2.03,
                "clearances": 0.8825,
                "total_contest": 0.2412,
                "won_contest": 0.1903,
                "challenges_lost": 0.9432,
                "fouls": 1.1416,
                "fouls_drawn": 0.2771,
                "blocks": 0.079,
                "big_chances_created": 0.0587,
                "big_chances_missed": 0.0126,
                "xgot": 0.024,
                "ball_carries": 8.1479,
                "total_progression": 18.0276,
                "progressive_carries": 0.521,
                "shots_off_target": 0.426
              },
              "params": {
                "market_value_eur": 7300000,
                "quality_factor": 0.4903,
                "boost_factor": 0.9995,
                "reference_quality": 0.505,
                "history_matches": 43,
                "history_shrink": 0.1042,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0113)",
              "stats": {
                "key_pass": 0.7895,
                "expected_assists": 0.0797,
                "assists": 0.0674,
                "assist_rate": 0.0674,
                "expected_goals": 0.0381,
                "goals": 0.0452,
                "goal_rate": 0.0452,
                "shots_on_target": 0.1862,
                "total_shots": 0.6114,
                "rating": 6.775,
                "minutes": 80.85,
                "total_pass": 33.2211,
                "accurate_pass": 27.5101,
                "duels_won": 2.8453,
                "total_long_balls": 5.391,
                "accurate_long_balls": 2.512,
                "total_own_half_passes": 14.5693,
                "accurate_own_half_passes": 13.2198,
                "total_opp_half_passes": 18.6517,
                "accurate_opp_half_passes": 14.2904,
                "crosses_total": 2.9167,
                "crosses_accurate": 0.8269,
                "touches": 46.9692,
                "possession_lost": 10.1749,
                "dispossessed": 0.6106,
                "duels_lost": 3.7457,
                "aerial_won": 0.3487,
                "aerial_lost": 1.015,
                "interceptions": 0.9347,
                "tackles_won": 1.2652,
                "tackles": 2.03,
                "clearances": 0.8825,
                "total_contest": 0.2412,
                "won_contest": 0.1903,
                "challenges_lost": 0.9432,
                "fouls": 1.1409,
                "fouls_drawn": 0.274,
                "blocks": 0.079,
                "big_chances_created": 0.0587,
                "big_chances_missed": 0.0126,
                "xgot": 0.024,
                "ball_carries": 8.1479,
                "total_progression": 18.0276,
                "progressive_carries": 0.521,
                "shots_off_target": 0.426
              },
              "params": {
                "blend_weight": 0.0113,
                "history_matches": 43,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.8983,
                "prior_reliability": 0.1667,
                "competition": "La Liga",
                "squad": "Osasuna"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 2.9377,
                  "after": 2.9167
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.9249,
                  "after": 0.9347
                },
                {
                  "stat": "wonTackle",
                  "before": 1.2591,
                  "after": 1.2652
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.7895,
                "expected_assists": 0.0797,
                "assists": 0.0674,
                "assist_rate": 0.0674,
                "expected_goals": 0.0381,
                "goals": 0.0452,
                "goal_rate": 0.0452,
                "shots_on_target": 0.1862,
                "total_shots": 0.6122,
                "rating": 6.775,
                "minutes": 80.85,
                "total_pass": 33.2211,
                "accurate_pass": 27.5101,
                "duels_won": 2.8453,
                "total_long_balls": 5.391,
                "accurate_long_balls": 2.512,
                "total_own_half_passes": 14.5693,
                "accurate_own_half_passes": 13.2198,
                "total_opp_half_passes": 18.6517,
                "accurate_opp_half_passes": 14.2904,
                "crosses_total": 2.9167,
                "crosses_accurate": 0.8269,
                "touches": 46.9692,
                "possession_lost": 10.1749,
                "dispossessed": 0.6106,
                "duels_lost": 3.7457,
                "aerial_won": 0.3487,
                "aerial_lost": 1.015,
                "interceptions": 0.9347,
                "tackles_won": 1.2652,
                "tackles": 2.03,
                "clearances": 0.8825,
                "total_contest": 0.2412,
                "won_contest": 0.1903,
                "challenges_lost": 0.9432,
                "fouls": 1.1409,
                "fouls_drawn": 0.274,
                "blocks": 0.079,
                "big_chances_created": 0.0587,
                "big_chances_missed": 0.0126,
                "xgot": 0.024,
                "ball_carries": 8.1479,
                "total_progression": 18.0276,
                "progressive_carries": 0.521,
                "shots_off_target": 0.426
              },
              "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.7895,
                "expected_assists": 0.0797,
                "assists": 0.0674,
                "assist_rate": 0.0674,
                "expected_goals": 0.0409,
                "goals": 0.0485,
                "goal_rate": 0.0485,
                "shots_on_target": 0.1997,
                "total_shots": 0.6565,
                "rating": 6.775,
                "minutes": 80.85,
                "total_pass": 33.2211,
                "accurate_pass": 27.5101,
                "duels_won": 2.8453,
                "total_long_balls": 5.391,
                "accurate_long_balls": 2.512,
                "total_own_half_passes": 14.5693,
                "accurate_own_half_passes": 13.2198,
                "total_opp_half_passes": 18.6517,
                "accurate_opp_half_passes": 14.2904,
                "crosses_total": 2.9167,
                "crosses_accurate": 0.8269,
                "touches": 46.9692,
                "possession_lost": 10.1749,
                "dispossessed": 0.6106,
                "duels_lost": 3.7457,
                "aerial_won": 1.1,
                "aerial_lost": 1.015,
                "interceptions": 0.9347,
                "tackles_won": 1.2652,
                "tackles": 2.03,
                "clearances": 0.8825,
                "total_contest": 0.2412,
                "won_contest": 0.1903,
                "challenges_lost": 0.9432,
                "fouls": 1.1409,
                "fouls_drawn": 0.274,
                "blocks": 0.079,
                "big_chances_created": 0.0587,
                "big_chances_missed": 0.0135,
                "xgot": 0.0257,
                "ball_carries": 8.1479,
                "total_progression": 18.0276,
                "progressive_carries": 0.521,
                "shots_off_target": 0.4568,
                "duel_xg_multiplier": 1.0723,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.449,
                "pressing_faced": "LOW",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Isco",
                "opponent_faced": "Isco",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Isco",
                  "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                  "duel_win_rate": 0.449,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 1.0723,
                  "skill_edge": 0.0252,
                  "height_edge": 0.024,
                  "attacker_skill": 0.5057,
                  "defender_skill": 0.4498,
                  "attacker_role": "CDM",
                  "attacker_mv_price_index": 0.85,
                  "defender_adjusted_parts": [
                    {
                      "player": "Isco",
                      "market_value": 3600000,
                      "role": "CM",
                      "price_index": 0.9,
                      "adjusted_quality": 0.4498
                    }
                  ],
                  "xg_override": 0.0409
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.3487,
                  "after": 1.1
                },
                {
                  "stat": "totalShots",
                  "before": 0.6122,
                  "after": 0.6565
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.426,
                  "after": 0.4568
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.1862,
                  "after": 0.1997
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 0.83 (squad xG sum 0.8154, xG scale 1.0240, xA scale 1.0541, team xA 0.54 = 0.65 x lambda)",
              "stats": {
                "key_pass": 0.7895,
                "expected_assists": 0.084,
                "assist_rate": 0.0674,
                "assists": 0,
                "expected_goals": 0.0419,
                "goal_rate": 0.0485,
                "goals": 0,
                "shots_on_target": 0.1997,
                "total_shots": 0.6565,
                "rating": 6.775,
                "minutes": 80.85,
                "total_pass": 33.2211,
                "accurate_pass": 27.5101,
                "duels_won": 2.8453,
                "total_long_balls": 5.391,
                "accurate_long_balls": 2.512,
                "total_own_half_passes": 14.5693,
                "accurate_own_half_passes": 13.2198,
                "total_opp_half_passes": 18.6517,
                "accurate_opp_half_passes": 14.2904,
                "crosses_total": 2.9167,
                "crosses_accurate": 0.8269,
                "touches": 46.9692,
                "possession_lost": 10.1749,
                "dispossessed": 0.6106,
                "duels_lost": 3.7457,
                "aerial_won": 1.1,
                "aerial_lost": 1.015,
                "interceptions": 0.9347,
                "tackles_won": 1.2652,
                "tackles": 2.03,
                "clearances": 0.8825,
                "total_contest": 0.2412,
                "won_contest": 0.1903,
                "challenges_lost": 0.9432,
                "fouls": 1.1409,
                "fouls_drawn": 0.274,
                "blocks": 0.079,
                "big_chances_created": 0.0587,
                "big_chances_missed": 0.0135,
                "xgot": 0.0263,
                "ball_carries": 8.1479,
                "total_progression": 18.0276,
                "progressive_carries": 0.521,
                "shots_off_target": 0.4568,
                "duel_xg_multiplier": 1.0723,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.449,
                "pressing_faced": "LOW",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Isco",
                "opponent_faced": "Isco",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0836,
                "creation_factor": 0.9052
              },
              "params": {
                "team_lambda": 0.835,
                "squad_xg_sum": 0.8154,
                "squad_xa_sum": 0.5149,
                "team_expected_assists": 0.5427,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.024,
                "xa_scale": 1.0541,
                "opponent_lambda": 1.934,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 7 by projected rating, fifa_overall 81.0; not used by the projection)",
              "stats": {
                "key_pass": 0.7895,
                "expected_assists": 0.084,
                "assist_rate": 0.0674,
                "assists": 0,
                "expected_goals": 0.0419,
                "goal_rate": 0.0485,
                "goals": 0,
                "shots_on_target": 0.1997,
                "total_shots": 0.6565,
                "rating": 6.775,
                "minutes": 80.85,
                "total_pass": 33.2211,
                "accurate_pass": 27.5101,
                "duels_won": 2.8453,
                "total_long_balls": 5.391,
                "accurate_long_balls": 2.512,
                "total_own_half_passes": 14.5693,
                "accurate_own_half_passes": 13.2198,
                "total_opp_half_passes": 18.6517,
                "accurate_opp_half_passes": 14.2904,
                "crosses_total": 2.9167,
                "crosses_accurate": 0.8269,
                "touches": 46.9692,
                "possession_lost": 10.1749,
                "dispossessed": 0.6106,
                "duels_lost": 3.7457,
                "aerial_won": 1.1,
                "aerial_lost": 1.015,
                "interceptions": 0.9347,
                "tackles_won": 1.2652,
                "tackles": 2.03,
                "clearances": 0.8825,
                "total_contest": 0.2412,
                "won_contest": 0.1903,
                "challenges_lost": 0.9432,
                "fouls": 1.1409,
                "fouls_drawn": 0.274,
                "blocks": 0.079,
                "big_chances_created": 0.0587,
                "big_chances_missed": 0.0135,
                "xgot": 0.0263,
                "ball_carries": 8.1479,
                "total_progression": 18.0276,
                "progressive_carries": 0.521,
                "shots_off_target": 0.4568,
                "duel_xg_multiplier": 1.0723,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.449,
                "pressing_faced": "LOW",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Isco",
                "opponent_faced": "Isco",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0836,
                "creation_factor": 0.9052,
                "fifa_overall": 81.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": 982,
                "fifa_rank": 517.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": {
                "key_pass": 0.7895,
                "expected_assists": 0.084,
                "assist_rate": 0.0674,
                "assists": 0,
                "expected_goals": 0.0419,
                "goal_rate": 0.0485,
                "goals": 0,
                "shots_on_target": 0.1997,
                "total_shots": 0.6565,
                "rating": 6.775,
                "minutes": 80.85,
                "total_pass": 33.2211,
                "accurate_pass": 27.5101,
                "duels_won": 2.8453,
                "total_long_balls": 5.391,
                "accurate_long_balls": 2.512,
                "total_own_half_passes": 14.5693,
                "accurate_own_half_passes": 13.2198,
                "total_opp_half_passes": 18.6517,
                "accurate_opp_half_passes": 14.2904,
                "crosses_total": 2.9167,
                "crosses_accurate": 0.8269,
                "touches": 46.9692,
                "possession_lost": 10.1749,
                "dispossessed": 0.6106,
                "duels_lost": 3.7457,
                "aerial_won": 1.1,
                "aerial_lost": 1.015,
                "interceptions": 0.9347,
                "tackles_won": 1.2652,
                "tackles": 2.03,
                "clearances": 0.8825,
                "total_contest": 0.2412,
                "won_contest": 0.1903,
                "challenges_lost": 0.9432,
                "fouls": 1.1409,
                "fouls_drawn": 0.274,
                "blocks": 0.079,
                "big_chances_created": 0.0587,
                "big_chances_missed": 0.0135,
                "xgot": 0.0263,
                "ball_carries": 8.1479,
                "total_progression": 18.0276,
                "progressive_carries": 0.521,
                "shots_off_target": 0.4568,
                "duel_xg_multiplier": 1.0723,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.449,
                "pressing_faced": "LOW",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Isco",
                "opponent_faced": "Isco",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.041,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0836,
                "creation_factor": 0.9052,
                "fifa_overall": 81.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.041,
                "scorer_weight": 0.0454,
                "squad_weight_total": 0.8684,
                "weight_share": 0.0523,
                "finishing_factor": 1.0836,
                "appearance_weight": 1.0,
                "weight_rank": 3,
                "eligible_players": 14
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "key_pass": 0.7895,
                "expected_assists": 0.084,
                "assist_rate": 0.0674,
                "assists": 0,
                "expected_goals": 0.0419,
                "goal_rate": 0.0485,
                "goals": 0,
                "shots_on_target": 0.1997,
                "total_shots": 0.6565,
                "rating": 6.775,
                "minutes": 80.85,
                "total_pass": 33.2211,
                "accurate_pass": 27.5101,
                "duels_won": 2.8453,
                "total_long_balls": 5.391,
                "accurate_long_balls": 2.512,
                "total_own_half_passes": 14.5693,
                "accurate_own_half_passes": 13.2198,
                "total_opp_half_passes": 18.6517,
                "accurate_opp_half_passes": 14.2904,
                "crosses_total": 2.9167,
                "crosses_accurate": 0.8269,
                "touches": 46.9692,
                "possession_lost": 10.1749,
                "dispossessed": 0.6106,
                "duels_lost": 3.7457,
                "aerial_won": 1.1,
                "aerial_lost": 1.015,
                "interceptions": 0.9347,
                "tackles_won": 1.2652,
                "tackles": 2.03,
                "clearances": 0.8825,
                "total_contest": 0.2412,
                "won_contest": 0.1903,
                "challenges_lost": 0.9432,
                "fouls": 1.1409,
                "fouls_drawn": 0.274,
                "blocks": 0.079,
                "big_chances_created": 0.0587,
                "big_chances_missed": 0.0135,
                "xgot": 0.0263,
                "ball_carries": 8.1479,
                "total_progression": 18.0276,
                "progressive_carries": 0.521,
                "shots_off_target": 0.4568,
                "duel_xg_multiplier": 1.0723,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.449,
                "pressing_faced": "LOW",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Isco",
                "opponent_faced": "Isco",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.041,
                "projected_assists": 0,
                "assist_probability": 0.0806,
                "finishing_factor": 1.0836,
                "creation_factor": 0.9052,
                "fifa_overall": 81.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0806,
                "provider_weight": 0.076,
                "squad_weight_total": 0.4935,
                "weight_share": 0.1541,
                "creation_factor": 0.9052,
                "appearance_weight": 1.0,
                "weight_rank": 2,
                "eligible_players": 14
              }
            }
          ]
        },
        "Rubén García": {
          "player_id": 260031,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 14,
          "height": 171,
          "market_value": 1700000,
          "stats": {
            "expected_goals": 0.1064,
            "goal_rate": 0.1113,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0719,
            "key_pass": 1,
            "rating": 6.7454,
            "minutes": 69,
            "total_pass": 23,
            "accurate_pass": 18,
            "duels_won": 4,
            "total_long_balls": 3,
            "accurate_long_balls": 3,
            "total_opp_half_passes": 14,
            "accurate_opp_half_passes": 10,
            "crosses_total": 4,
            "crosses_accurate": 1,
            "touches": 38,
            "possession_lost": 10.1265,
            "dispossessed": 0.5669,
            "duels_lost": 4,
            "aerial_lost": 1,
            "total_contest": 1,
            "won_contest": 1,
            "ball_recovery": 2,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 1,
            "assist_rate": 0.0129,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 2,
            "clearances": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0534,
            "offsides": 0,
            "ball_carries": 9,
            "total_progression": 16,
            "progressive_carries": 0,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.8066,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.3,
            "aerial_won": 1,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.18,
            "pressing_faced": "LOW",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Natan, Diego Llorente",
            "opponent_faced": "Natan, Diego Llorente",
            "antagonist_source": "attacking_duel",
            "projected_goals": 0,
            "goal_probability": 0.1009,
            "projected_assists": 0,
            "assist_probability": 0.0694,
            "finishing_factor": 1.0481,
            "creation_factor": 0.8,
            "fifa_overall": 77.0
          },
          "latest_10_games": [
            {
              "match_id": 16416305,
              "match_date": "2026-09-19",
              "home_team": "Osasuna",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 69,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0311,
                "total_shots": 0,
                "total_pass": 17,
                "accurate_pass": 15,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416335,
              "match_date": "2026-09-16",
              "home_team": "Atlético Madrid",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 31,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0593,
                "total_shots": 0,
                "total_pass": 12,
                "accurate_pass": 9,
                "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": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416327,
              "match_date": "2026-09-12",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 60,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.047,
                "expected_assists": 0.0077,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 28,
                "accurate_pass": 21,
                "key_pass": 1,
                "tackles": 4,
                "tackles_won": 3,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 7,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416318,
              "match_date": "2026-09-06",
              "home_team": "Deportivo Alavés",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 60,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0043,
                "total_shots": 0,
                "total_pass": 17,
                "accurate_pass": 13,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 1,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416314,
              "match_date": "2026-08-31",
              "home_team": "Osasuna",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Getafe",
              "stats": {
                "minutes": 45,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0028,
                "total_shots": 0,
                "total_pass": 17,
                "accurate_pass": 12,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16815992,
              "match_date": "2026-08-27",
              "home_team": "Celta Vigo",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 32,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2221,
                "expected_assists": 0.7757,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 25,
                "accurate_pass": 23,
                "key_pass": 2,
                "interceptions": 1,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416296,
              "match_date": "2026-08-24",
              "home_team": "Osasuna",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 72,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.111,
                "expected_assists": 0.137,
                "total_shots": 3,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 22,
                "accurate_pass": 18,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083723,
              "match_date": "2026-05-23",
              "home_team": "Getafe",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Getafe",
              "stats": {
                "minutes": 2,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083696,
              "match_date": "2026-05-17",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.5278,
                "expected_assists": 0.3406,
                "total_shots": 4,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 39,
                "accurate_pass": 31,
                "key_pass": 4,
                "interceptions": 1,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083634,
              "match_date": "2026-05-12",
              "home_team": "Osasuna",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 60,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1532,
                "expected_assists": 0.0693,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 29,
                "accurate_pass": 24,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "aerial_won": 1,
                "duels_won": 6,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 2995,
            "combined_rank_score": 995.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 445.0,
            "sofascore_rating": 6.9,
            "sofascore_appearances": 3.0,
            "fifa_rank": 1545.0,
            "fifa_overall": 77.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 10,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7454,
            "source_file": "data/player_rankings.csv",
            "player_name": "Rubén García",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Jayce Olivero",
                  "ranking": 2990
                },
                {
                  "player_name": "Felix Oberwaditzer",
                  "ranking": 2991
                },
                {
                  "player_name": "Kieran Tierney",
                  "ranking": 2992
                },
                {
                  "player_name": "Malick Fofana",
                  "ranking": 2993
                },
                {
                  "player_name": "Kai Mauro",
                  "ranking": 2994
                }
              ],
              "lower": [
                {
                  "player_name": "Nikola Mirković",
                  "ranking": 2996
                },
                {
                  "player_name": "Alvaro Abarzua",
                  "ranking": 2997
                },
                {
                  "player_name": "Felipe Salomoni",
                  "ranking": 2998
                },
                {
                  "player_name": "Cristóbal Sepúlveda",
                  "ranking": 2999
                },
                {
                  "player_name": "Markas Beneta",
                  "ranking": 3000
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.767,
          "history_matches": 42,
          "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": 42,
            "data_confidence": 0.767,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9978,
            "fbref_prior_metrics": {
              "squad": "Osasuna",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 2.0,
              "minutes": 149.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 2.42,
              "shots_on_target_pct": 50.0,
              "prior_reliability": 0.1133
            },
            "rationale": "XGBoost regressor (F_service) evaluated 42 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Osasuna, rel: 0.11, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.129,
                "goals": 0.1394,
                "goal_rate": 0.1394,
                "shots_on_target": 0.3952,
                "total_shots": 1.2703,
                "expected_assists": 0.0684,
                "key_pass": 0.829,
                "rating": 6.7454,
                "minutes": 68.75,
                "total_pass": 23.0255,
                "accurate_pass": 18.1988,
                "duels_won": 3.9461,
                "total_long_balls": 3.0315,
                "accurate_long_balls": 2.6406,
                "total_opp_half_passes": 13.6495,
                "accurate_opp_half_passes": 9.9805,
                "crosses_total": 4.1947,
                "crosses_accurate": 1.1523,
                "touches": 38.416,
                "possession_lost": 10.1488,
                "dispossessed": 0.5681,
                "duels_lost": 4.0855,
                "aerial_lost": 1.4634,
                "total_contest": 1.192,
                "won_contest": 0.6474,
                "ball_recovery": 2.4965,
                "challenges_lost": 0.4782,
                "fouls": 1.0812,
                "fouls_drawn": 0.6887,
                "assists": 0.013,
                "assist_rate": 0.013,
                "interceptions": 0.4357,
                "tackles_won": 1.2661,
                "tackles": 1.657,
                "clearances": 1.3384,
                "blocks": 0.1401,
                "big_chances_created": 0.0971,
                "big_chances_missed": 0.1602,
                "xgot": 0.0647,
                "offsides": 0.0043,
                "ball_carries": 9.2236,
                "total_progression": 15.5871,
                "progressive_carries": 0.448,
                "shots_off_target": 0.8751
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-11T10:27:16.278802+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 604,
                    "rows": 15537
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Rayo Vallecano",
                    "minutes": 69.0,
                    "is_starting": true,
                    "weight": 0.1502,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Atlético Madrid",
                    "minutes": 31.0,
                    "is_starting": false,
                    "weight": 0.1276,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Espanyol",
                    "minutes": 60.0,
                    "is_starting": true,
                    "weight": 0.1085,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Deportivo Alavés",
                    "minutes": 60.0,
                    "is_starting": true,
                    "weight": 0.0922,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Getafe",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Celta Vigo",
                    "minutes": 32.0,
                    "is_starting": false,
                    "weight": 0.0666,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Levante UD",
                    "minutes": 72.0,
                    "is_starting": true,
                    "weight": 0.0566,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Getafe",
                    "minutes": 2.0,
                    "is_starting": false,
                    "weight": 0.0481,
                    "rating": 0.0
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-12",
                    "opponent": "Atlético Madrid",
                    "minutes": 60.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.5
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "expectedGoals": 0.0646,
                  "totalOppositionHalfPasses": 11.4501,
                  "accurateOppositionHalfPasses": 8.5348,
                  "accuratePass": 16.0719,
                  "totalShots": 0.8319
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.12903715670108795,
                    "model_output": 0.129,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.282
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0894
                      },
                      {
                        "name": "goals",
                        "importance": 0.0352
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0258
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0248
                      }
                    ],
                    "decomposition": {
                      "base": 0.1978,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0619
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0541
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0266
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0091
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0058
                        }
                      ],
                      "others": -0.0351,
                      "total": 0.129,
                      "log_link": true,
                      "margin_base": -1.62027,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.272318
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.233748
                        },
                        {
                          "name": "goals",
                          "margin": -0.138703
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.052006
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.034649
                        }
                      ],
                      "others_margin": -0.240598
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.13941669464111328,
                    "model_output": 0.1394,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.121
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0861
                      },
                      {
                        "name": "goals",
                        "importance": 0.0516
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0267
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0267
                      }
                    ],
                    "decomposition": {
                      "base": 0.2032,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0602
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0401
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0263
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0231
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0117
                        }
                      ],
                      "others": -0.0228,
                      "total": 0.1394,
                      "log_link": true,
                      "margin_base": -1.593696,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.259384
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.165354
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.125381
                        },
                        {
                          "name": "goals",
                          "margin": -0.124966
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.069937
                        }
                      ],
                      "others_margin": -0.150338
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.39519476890563965,
                    "model_output": 0.3952,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2113
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0717
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0497
                      },
                      {
                        "name": "goals",
                        "importance": 0.0454
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.5367,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.154
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0844
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0502
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0459
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0293
                        }
                      ],
                      "others": -0.0857,
                      "total": 0.3952,
                      "log_link": true,
                      "margin_base": -0.622283,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.252257
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.130399
                        },
                        {
                          "name": "goals",
                          "margin": -0.086466
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.086133
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.059193
                        }
                      ],
                      "others_margin": -0.19616
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.2703313827514648,
                    "model_output": 1.2703,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2764
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0561
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.043
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0394
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0354
                      }
                    ],
                    "decomposition": {
                      "base": 1.3728,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4016
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1471
                        },
                        {
                          "name": "goals",
                          "contribution": -0.087
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0679
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0553
                        }
                      ],
                      "others": -0.1468,
                      "total": 1.2703,
                      "log_link": false,
                      "margin_base": 1.372807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.401555
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.147144
                        },
                        {
                          "name": "goals",
                          "margin": -0.087048
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.067939
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.055286
                        }
                      ],
                      "others_margin": -0.146613
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.06836026161909103,
                    "model_output": 0.0684,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1017
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0772
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0688
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0665
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0563
                      }
                    ],
                    "decomposition": {
                      "base": 0.0639,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0091
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.01
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0053
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0032
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0032
                        }
                      ],
                      "others": -0.0093,
                      "total": 0.0684,
                      "log_link": true,
                      "margin_base": -2.751197,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": 0.133233
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.128223
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.066341
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.042454
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.041888
                        }
                      ],
                      "others_margin": -0.126316
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.8290130496025085,
                    "model_output": 0.829,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1626
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1193
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0628
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0553
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0328
                      }
                    ],
                    "decomposition": {
                      "base": 0.6728,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1759
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0538
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0514
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0315
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0293
                        }
                      ],
                      "others": -0.0151,
                      "total": 0.829,
                      "log_link": true,
                      "margin_base": -0.396376,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.232232
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.065484
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.062712
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.037912
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.035344
                        }
                      ],
                      "others_margin": -0.018035
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.74541711807251,
                    "model_output": 6.7454,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0639
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0556
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0431
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0431
                      },
                      {
                        "name": "rating",
                        "importance": 0.039
                      }
                    ],
                    "decomposition": {
                      "base": 6.7636,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0424
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0194
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0115
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0111
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0102
                        }
                      ],
                      "others": -0.0314,
                      "total": 6.7454,
                      "log_link": false,
                      "margin_base": 6.763607,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.042429
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.019405
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.011451
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.011059
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.010198
                        }
                      ],
                      "others_margin": -0.031409
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 42,
                  "role_matches": 33,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9978, quality 0.437)",
              "stats": {
                "expected_goals": 0.1288,
                "goals": 0.1391,
                "goal_rate": 0.1391,
                "shots_on_target": 0.3943,
                "total_shots": 1.2675,
                "expected_assists": 0.0682,
                "key_pass": 0.8272,
                "rating": 6.7454,
                "minutes": 68.75,
                "total_pass": 22.9748,
                "accurate_pass": 18.1588,
                "duels_won": 3.9374,
                "total_long_balls": 3.0248,
                "accurate_long_balls": 2.6348,
                "total_opp_half_passes": 13.6195,
                "accurate_opp_half_passes": 9.9585,
                "crosses_total": 4.1855,
                "crosses_accurate": 1.1498,
                "touches": 38.3315,
                "possession_lost": 10.1265,
                "dispossessed": 0.5669,
                "duels_lost": 4.0765,
                "aerial_lost": 1.4602,
                "total_contest": 1.1894,
                "won_contest": 0.646,
                "ball_recovery": 2.491,
                "challenges_lost": 0.4771,
                "fouls": 1.0788,
                "fouls_drawn": 0.6872,
                "assists": 0.013,
                "assist_rate": 0.013,
                "interceptions": 0.4347,
                "tackles_won": 1.2633,
                "tackles": 1.6534,
                "clearances": 1.3355,
                "blocks": 0.1398,
                "big_chances_created": 0.0969,
                "big_chances_missed": 0.1598,
                "xgot": 0.0646,
                "offsides": 0.0043,
                "ball_carries": 9.2033,
                "total_progression": 15.5528,
                "progressive_carries": 0.447,
                "shots_off_target": 0.8732
              },
              "params": {
                "market_value_eur": 1700000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9978,
                "reference_quality": 0.505,
                "history_matches": 42,
                "history_shrink": 0.1064,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0078)",
              "stats": {
                "expected_goals": 0.1288,
                "goals": 0.138,
                "goal_rate": 0.138,
                "shots_on_target": 0.3985,
                "total_shots": 1.2721,
                "expected_assists": 0.0682,
                "key_pass": 0.8272,
                "rating": 6.7454,
                "minutes": 68.75,
                "total_pass": 22.9748,
                "accurate_pass": 18.1588,
                "duels_won": 3.9374,
                "total_long_balls": 3.0248,
                "accurate_long_balls": 2.6348,
                "total_opp_half_passes": 13.6195,
                "accurate_opp_half_passes": 9.9585,
                "crosses_total": 4.195,
                "crosses_accurate": 1.1498,
                "touches": 38.3315,
                "possession_lost": 10.1265,
                "dispossessed": 0.5669,
                "duels_lost": 4.0765,
                "aerial_lost": 1.4602,
                "total_contest": 1.1894,
                "won_contest": 0.646,
                "ball_recovery": 2.491,
                "challenges_lost": 0.4771,
                "fouls": 1.0774,
                "fouls_drawn": 0.6853,
                "assists": 0.0129,
                "assist_rate": 0.0129,
                "interceptions": 0.4348,
                "tackles_won": 1.2604,
                "tackles": 1.6534,
                "clearances": 1.3355,
                "blocks": 0.1398,
                "big_chances_created": 0.0969,
                "big_chances_missed": 0.1598,
                "xgot": 0.0646,
                "offsides": 0.0043,
                "ball_carries": 9.2033,
                "total_progression": 15.5528,
                "progressive_carries": 0.447,
                "shots_off_target": 0.8732
              },
              "params": {
                "blend_weight": 0.0078,
                "history_matches": 42,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.7639,
                "prior_reliability": 0.1133,
                "competition": "La Liga",
                "squad": "Osasuna"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 4.1855,
                  "after": 4.195
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1288,
                "goals": 0.138,
                "goal_rate": 0.138,
                "shots_on_target": 0.3985,
                "total_shots": 1.2721,
                "expected_assists": 0.0682,
                "key_pass": 0.8272,
                "rating": 6.7454,
                "minutes": 68.75,
                "total_pass": 22.9748,
                "accurate_pass": 18.1588,
                "duels_won": 3.9374,
                "total_long_balls": 3.0248,
                "accurate_long_balls": 2.6348,
                "total_opp_half_passes": 13.6195,
                "accurate_opp_half_passes": 9.9585,
                "crosses_total": 4.195,
                "crosses_accurate": 1.1498,
                "touches": 38.3315,
                "possession_lost": 10.1265,
                "dispossessed": 0.5669,
                "duels_lost": 4.0765,
                "aerial_lost": 1.4602,
                "total_contest": 1.1894,
                "won_contest": 0.646,
                "ball_recovery": 2.491,
                "challenges_lost": 0.4771,
                "fouls": 1.0774,
                "fouls_drawn": 0.6853,
                "assists": 0.0129,
                "assist_rate": 0.0129,
                "interceptions": 0.4348,
                "tackles_won": 1.2604,
                "tackles": 1.6534,
                "clearances": 1.3355,
                "blocks": 0.1398,
                "big_chances_created": 0.0969,
                "big_chances_missed": 0.1598,
                "xgot": 0.0646,
                "offsides": 0.0043,
                "ball_carries": 9.2033,
                "total_progression": 15.5528,
                "progressive_carries": 0.447,
                "shots_off_target": 0.8732
              },
              "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.1039,
                "goals": 0.1113,
                "goal_rate": 0.1113,
                "shots_on_target": 0.3214,
                "total_shots": 1.0261,
                "expected_assists": 0.0682,
                "key_pass": 0.8272,
                "rating": 6.7454,
                "minutes": 68.75,
                "total_pass": 22.9748,
                "accurate_pass": 18.1588,
                "duels_won": 3.9374,
                "total_long_balls": 3.0248,
                "accurate_long_balls": 2.6348,
                "total_opp_half_passes": 13.6195,
                "accurate_opp_half_passes": 9.9585,
                "crosses_total": 4.195,
                "crosses_accurate": 1.1498,
                "touches": 38.3315,
                "possession_lost": 10.1265,
                "dispossessed": 0.5669,
                "duels_lost": 4.0765,
                "aerial_lost": 1.4602,
                "total_contest": 1.1894,
                "won_contest": 0.646,
                "ball_recovery": 2.491,
                "challenges_lost": 0.4771,
                "fouls": 1.0774,
                "fouls_drawn": 0.6853,
                "assists": 0.0129,
                "assist_rate": 0.0129,
                "interceptions": 0.4348,
                "tackles_won": 1.2604,
                "tackles": 1.6534,
                "clearances": 1.3355,
                "blocks": 0.1398,
                "big_chances_created": 0.0969,
                "big_chances_missed": 0.1289,
                "xgot": 0.0521,
                "offsides": 0.0043,
                "ball_carries": 9.2033,
                "total_progression": 15.5528,
                "progressive_carries": 0.447,
                "shots_off_target": 0.7043,
                "duel_xg_multiplier": 0.8066,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Natan, Diego Llorente",
                "opponent_faced": "Natan, Diego Llorente",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Natan, Diego Llorente",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.18,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v2",
                  "xg_multiplier": 0.8066,
                  "skill_edge": -0.0716,
                  "height_edge": -0.06,
                  "attacker_skill": 0.4374,
                  "defender_skill": 0.5965,
                  "attacker_role": "ST",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Natan",
                      "market_value": 26000000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.7498
                    },
                    {
                      "player": "Diego Llorente",
                      "market_value": 2600000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.4432
                    }
                  ],
                  "xg_override": 0.1039
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.2721,
                  "after": 1.0261
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.8732,
                  "after": 0.7043
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.3985,
                  "after": 0.3214
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 0.1598,
                  "after": 0.1289
                },
                {
                  "stat": "goals",
                  "before": 0.138,
                  "after": 0.1113
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.1288,
                  "after": 0.1039
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.0646,
                  "after": 0.0521
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 0.83 (squad xG sum 0.8154, xG scale 1.0240, xA scale 1.0541, team xA 0.54 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.1064,
                "goal_rate": 0.1113,
                "goals": 0,
                "shots_on_target": 0.3214,
                "total_shots": 1.0261,
                "expected_assists": 0.0719,
                "key_pass": 0.8272,
                "rating": 6.7454,
                "minutes": 68.75,
                "total_pass": 22.9748,
                "accurate_pass": 18.1588,
                "duels_won": 3.9374,
                "total_long_balls": 3.0248,
                "accurate_long_balls": 2.6348,
                "total_opp_half_passes": 13.6195,
                "accurate_opp_half_passes": 9.9585,
                "crosses_total": 4.195,
                "crosses_accurate": 1.1498,
                "touches": 38.3315,
                "possession_lost": 10.1265,
                "dispossessed": 0.5669,
                "duels_lost": 4.0765,
                "aerial_lost": 1.4602,
                "total_contest": 1.1894,
                "won_contest": 0.646,
                "ball_recovery": 2.491,
                "challenges_lost": 0.4771,
                "fouls": 1.0774,
                "fouls_drawn": 0.6853,
                "assist_rate": 0.0129,
                "assists": 0,
                "interceptions": 0.4348,
                "tackles_won": 1.2604,
                "tackles": 1.6534,
                "clearances": 1.3355,
                "blocks": 0.1398,
                "big_chances_created": 0.0969,
                "big_chances_missed": 0.1289,
                "xgot": 0.0534,
                "offsides": 0.0043,
                "ball_carries": 9.2033,
                "total_progression": 15.5528,
                "progressive_carries": 0.447,
                "shots_off_target": 0.7043,
                "duel_xg_multiplier": 0.8066,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Natan, Diego Llorente",
                "opponent_faced": "Natan, Diego Llorente",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0481,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 0.835,
                "squad_xg_sum": 0.8154,
                "squad_xa_sum": 0.5149,
                "team_expected_assists": 0.5427,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.024,
                "xa_scale": 1.0541,
                "opponent_lambda": 1.934,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 10 by projected rating, fifa_overall 77.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.1064,
                "goal_rate": 0.1113,
                "goals": 0,
                "shots_on_target": 0.3214,
                "total_shots": 1.0261,
                "expected_assists": 0.0719,
                "key_pass": 0.8272,
                "rating": 6.7454,
                "minutes": 68.75,
                "total_pass": 22.9748,
                "accurate_pass": 18.1588,
                "duels_won": 3.9374,
                "total_long_balls": 3.0248,
                "accurate_long_balls": 2.6348,
                "total_opp_half_passes": 13.6195,
                "accurate_opp_half_passes": 9.9585,
                "crosses_total": 4.195,
                "crosses_accurate": 1.1498,
                "touches": 38.3315,
                "possession_lost": 10.1265,
                "dispossessed": 0.5669,
                "duels_lost": 4.0765,
                "aerial_lost": 1.4602,
                "total_contest": 1.1894,
                "won_contest": 0.646,
                "ball_recovery": 2.491,
                "challenges_lost": 0.4771,
                "fouls": 1.0774,
                "fouls_drawn": 0.6853,
                "assist_rate": 0.0129,
                "assists": 0,
                "interceptions": 0.4348,
                "tackles_won": 1.2604,
                "tackles": 1.6534,
                "clearances": 1.3355,
                "blocks": 0.1398,
                "big_chances_created": 0.0969,
                "big_chances_missed": 0.1289,
                "xgot": 0.0534,
                "offsides": 0.0043,
                "ball_carries": 9.2033,
                "total_progression": 15.5528,
                "progressive_carries": 0.447,
                "shots_off_target": 0.7043,
                "duel_xg_multiplier": 0.8066,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Natan, Diego Llorente",
                "opponent_faced": "Natan, Diego Llorente",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0481,
                "creation_factor": 0.8,
                "fifa_overall": 77.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": 2995,
                "fifa_rank": 1545.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 77.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "expected_goals": 0.1064,
                "goal_rate": 0.1113,
                "goals": 0,
                "shots_on_target": 0.3214,
                "total_shots": 1.0261,
                "expected_assists": 0.0719,
                "key_pass": 0.8272,
                "rating": 6.7454,
                "minutes": 68.75,
                "total_pass": 22.9748,
                "accurate_pass": 18.1588,
                "duels_won": 3.9374,
                "total_long_balls": 3.0248,
                "accurate_long_balls": 2.6348,
                "total_opp_half_passes": 13.6195,
                "accurate_opp_half_passes": 9.9585,
                "crosses_total": 4.195,
                "crosses_accurate": 1.1498,
                "touches": 38.3315,
                "possession_lost": 10.1265,
                "dispossessed": 0.5669,
                "duels_lost": 4.0765,
                "aerial_lost": 1.4602,
                "total_contest": 1.1894,
                "won_contest": 0.646,
                "ball_recovery": 2.491,
                "challenges_lost": 0.4771,
                "fouls": 1.0774,
                "fouls_drawn": 0.6853,
                "assist_rate": 0.0129,
                "assists": 0,
                "interceptions": 0.4348,
                "tackles_won": 1.2604,
                "tackles": 1.6534,
                "clearances": 1.3355,
                "blocks": 0.1398,
                "big_chances_created": 0.0969,
                "big_chances_missed": 0.1289,
                "xgot": 0.0534,
                "offsides": 0.0043,
                "ball_carries": 9.2033,
                "total_progression": 15.5528,
                "progressive_carries": 0.447,
                "shots_off_target": 0.7043,
                "duel_xg_multiplier": 0.8066,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Natan, Diego Llorente",
                "opponent_faced": "Natan, Diego Llorente",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.1009,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0481,
                "creation_factor": 0.8,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.1009,
                "scorer_weight": 0.1115,
                "squad_weight_total": 0.8684,
                "weight_share": 0.1284,
                "finishing_factor": 1.0481,
                "appearance_weight": 1.0,
                "weight_rank": 2,
                "eligible_players": 14
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "expected_goals": 0.1064,
                "goal_rate": 0.1113,
                "goals": 0,
                "shots_on_target": 0.3214,
                "total_shots": 1.0261,
                "expected_assists": 0.0719,
                "key_pass": 0.8272,
                "rating": 6.7454,
                "minutes": 68.75,
                "total_pass": 22.9748,
                "accurate_pass": 18.1588,
                "duels_won": 3.9374,
                "total_long_balls": 3.0248,
                "accurate_long_balls": 2.6348,
                "total_opp_half_passes": 13.6195,
                "accurate_opp_half_passes": 9.9585,
                "crosses_total": 4.195,
                "crosses_accurate": 1.1498,
                "touches": 38.3315,
                "possession_lost": 10.1265,
                "dispossessed": 0.5669,
                "duels_lost": 4.0765,
                "aerial_lost": 1.4602,
                "total_contest": 1.1894,
                "won_contest": 0.646,
                "ball_recovery": 2.491,
                "challenges_lost": 0.4771,
                "fouls": 1.0774,
                "fouls_drawn": 0.6853,
                "assist_rate": 0.0129,
                "assists": 0,
                "interceptions": 0.4348,
                "tackles_won": 1.2604,
                "tackles": 1.6534,
                "clearances": 1.3355,
                "blocks": 0.1398,
                "big_chances_created": 0.0969,
                "big_chances_missed": 0.1289,
                "xgot": 0.0534,
                "offsides": 0.0043,
                "ball_carries": 9.2033,
                "total_progression": 15.5528,
                "progressive_carries": 0.447,
                "shots_off_target": 0.7043,
                "duel_xg_multiplier": 0.8066,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Natan, Diego Llorente",
                "opponent_faced": "Natan, Diego Llorente",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.1009,
                "projected_assists": 0,
                "assist_probability": 0.0694,
                "finishing_factor": 1.0481,
                "creation_factor": 0.8,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0694,
                "provider_weight": 0.0575,
                "squad_weight_total": 0.4935,
                "weight_share": 0.1165,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 3,
                "eligible_players": 14
              }
            }
          ]
        },
        "Asier Osambela": {
          "player_id": 1399702,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 29,
          "height": 186,
          "market_value": 1000000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 1,
            "clearances": 3,
            "aerial_won": 1,
            "total_shots": 1,
            "rating": 6.6233,
            "minutes": 84,
            "total_pass": 39,
            "accurate_pass": 30,
            "duels_won": 5,
            "total_long_balls": 6,
            "accurate_long_balls": 3,
            "total_own_half_passes": 20,
            "accurate_own_half_passes": 18,
            "total_opp_half_passes": 19,
            "accurate_opp_half_passes": 13,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 53,
            "possession_lost": 11.0403,
            "dispossessed": 0.4627,
            "duels_lost": 5,
            "aerial_lost": 1,
            "total_contest": 1,
            "won_contest": 0,
            "ball_recovery": 4,
            "challenges_lost": 0,
            "fouls": 3,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0172,
            "expected_assists": 0.0197,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 13,
            "total_progression": 47,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 1,
            "tackles_in_zone": 1.9,
            "tackles_won_in_zone": 1.4,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 1.0,
            "defensive_success_rate": 0.395,
            "opponent_faced": "Abdessamad Ezzalzouli",
            "pressing_zone": "Left Wing vs Right Back — Flank Battle",
            "matchup_zone": "Left Wing vs Right Back — Flank Battle",
            "antagonist_source": "defensive_duel",
            "projected_goals": 0,
            "goal_probability": 0.0171,
            "projected_assists": 0,
            "assist_probability": 0.0195,
            "finishing_factor": 0.8,
            "creation_factor": 0.8,
            "fifa_overall": 80.0
          },
          "latest_10_games": [
            {
              "match_id": 16416305,
              "match_date": "2026-09-19",
              "home_team": "Osasuna",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0245,
                "expected_assists": 0.0344,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 29,
                "accurate_pass": 19,
                "key_pass": 1,
                "tackles": 1,
                "clearances": 7,
                "aerial_won": 2,
                "duels_won": 4,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416335,
              "match_date": "2026-09-16",
              "home_team": "Atlético Madrid",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 74,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.006,
                "total_shots": 0,
                "total_pass": 20,
                "accurate_pass": 11,
                "tackles": 8,
                "tackles_won": 5,
                "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": 16416327,
              "match_date": "2026-09-12",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 31,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0125,
                "total_shots": 0,
                "total_pass": 25,
                "accurate_pass": 19,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 2,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416318,
              "match_date": "2026-09-06",
              "home_team": "Deportivo Alavés",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 12,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0233,
                "expected_assists": 0.0011,
                "total_shots": 1,
                "total_pass": 3,
                "accurate_pass": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16815992,
              "match_date": "2026-08-27",
              "home_team": "Celta Vigo",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0196,
                "total_shots": 0,
                "total_pass": 74,
                "accurate_pass": 64,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 7,
                "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": 14083723,
              "match_date": "2026-05-23",
              "home_team": "Getafe",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Getafe",
              "stats": {
                "minutes": 9,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0318,
                "expected_assists": 0.0045,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 9,
                "accurate_pass": 5,
                "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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083634,
              "match_date": "2026-05-12",
              "home_team": "Osasuna",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 18,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0639,
                "expected_assists": 0.0061,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 14,
                "accurate_pass": 8,
                "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": 14083568,
              "match_date": "2026-05-08",
              "home_team": "Levante UD",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 14,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "total_pass": 3,
                "accurate_pass": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083495,
              "match_date": "2026-05-02",
              "home_team": "Osasuna",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 13,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0035,
                "total_shots": 0,
                "total_pass": 6,
                "accurate_pass": 4,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14081815,
              "match_date": "2026-03-21",
              "home_team": "Osasuna",
              "away_team": "Girona FC",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 14,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0073,
                "total_shots": 0,
                "total_pass": 4,
                "accurate_pass": 1,
                "key_pass": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 998,
            "combined_rank_score": 607.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 445.0,
            "sofascore_rating": 6.9,
            "sofascore_appearances": 1.0,
            "fifa_rank": 770.0,
            "fifa_overall": 80.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 14,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6233,
            "source_file": "data/player_rankings.csv",
            "player_name": "Asier Osambela",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Bradley Lyons",
                  "ranking": 993
                },
                {
                  "player_name": "Dario Šarić",
                  "ranking": 994
                },
                {
                  "player_name": "José Ángel Carmona",
                  "ranking": 995
                },
                {
                  "player_name": "José Luis Gayà",
                  "ranking": 996
                },
                {
                  "player_name": "Rafael Bauzà",
                  "ranking": 997
                }
              ],
              "lower": [
                {
                  "player_name": "Nurbek Sarsenbaev",
                  "ranking": 999
                },
                {
                  "player_name": "Diyorbek Mamataliev",
                  "ranking": 1000
                },
                {
                  "player_name": "Vicente Villegas",
                  "ranking": 1001
                },
                {
                  "player_name": "Dennis Hadžikadunić",
                  "ranking": 1002
                },
                {
                  "player_name": "Nodar Lominadze",
                  "ranking": 1003
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.76,
          "history_matches": 22,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "totalTackle",
              "totalShots",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 22,
            "data_confidence": 0.76,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9962,
            "fbref_prior_metrics": {
              "squad": "Osasuna",
              "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 22 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Osasuna, rel: 0.07, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 0.7249,
                "tackles": 1.9925,
                "tackles_won": 1.2552,
                "clearances": 2.9797,
                "aerial_won": 1.0294,
                "total_shots": 0.5121,
                "rating": 6.6233,
                "minutes": 84.33,
                "total_pass": 38.9827,
                "accurate_pass": 30.6029,
                "duels_won": 5.0396,
                "total_long_balls": 6.2351,
                "accurate_long_balls": 3.229,
                "total_own_half_passes": 20.0294,
                "accurate_own_half_passes": 17.8968,
                "total_opp_half_passes": 18.9533,
                "accurate_opp_half_passes": 12.7061,
                "crosses_total": 0.6008,
                "crosses_accurate": 0.0,
                "touches": 52.9156,
                "possession_lost": 11.0824,
                "dispossessed": 0.4645,
                "duels_lost": 4.7647,
                "aerial_lost": 0.6763,
                "total_contest": 0.9977,
                "won_contest": 0.4989,
                "ball_recovery": 3.5797,
                "challenges_lost": 0.4584,
                "fouls": 2.6668,
                "fouls_drawn": 0.0,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0169,
                "expected_assists": 0.0188,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 13.5134,
                "total_progression": 46.7715,
                "progressive_carries": 0.3887,
                "key_pass": 0.4104,
                "shots_off_target": 0.5121
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-11T10:25:50.810190+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 623,
                    "rows": 20487
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1543,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Atlético Madrid",
                    "minutes": 74.0,
                    "is_starting": true,
                    "weight": 0.1312,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Espanyol",
                    "minutes": 31.0,
                    "is_starting": false,
                    "weight": 0.1115,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Deportivo Alavés",
                    "minutes": 12.0,
                    "is_starting": false,
                    "weight": 0.0948,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0806,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Getafe",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 0.0685,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-12",
                    "opponent": "Atlético Madrid",
                    "minutes": 18.0,
                    "is_starting": false,
                    "weight": 0.0582,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-05-08",
                    "opponent": "Levante UD",
                    "minutes": 14.0,
                    "is_starting": false,
                    "weight": 0.0495,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "FC Barcelona",
                    "minutes": 13.0,
                    "is_starting": false,
                    "weight": 0.0421,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-03-21",
                    "opponent": "Girona FC",
                    "minutes": 14.0,
                    "is_starting": false,
                    "weight": 0.0357,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 1.8631,
                  "aerialWon": 0.9961,
                  "totalClearance_p90": 3.3553,
                  "totalTackle": 1.4852,
                  "totalPass": 19.4446
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.7249366641044617,
                    "model_output": 0.7249,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3015
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0387
                      },
                      {
                        "name": "touches",
                        "importance": 0.0279
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0248
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0238
                      }
                    ],
                    "decomposition": {
                      "base": 0.859,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1198
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.1144
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.046
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0343
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0316
                        }
                      ],
                      "others": -0.0908,
                      "total": 0.7249,
                      "log_link": true,
                      "margin_base": -0.152032,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.130524
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.124342
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.054673
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.04282
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.039467
                        }
                      ],
                      "others_margin": -0.117796
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.992465615272522,
                    "model_output": 1.9925,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2671
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0621
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0475
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0423
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 1.3957,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2176
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0819
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0568
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0497
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0443
                        }
                      ],
                      "others": 0.2351,
                      "total": 1.9925,
                      "log_link": true,
                      "margin_base": 0.333417,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.144859
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": 0.049499
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.032953
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.027958
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.024876
                        }
                      ],
                      "others_margin": 0.125563
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 1.2552369832992554,
                    "model_output": 1.2552,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2228
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0652
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0462
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0412
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.8578,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1307
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0492
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0488
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0362
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0344
                        }
                      ],
                      "others": 0.1669,
                      "total": 1.2552,
                      "log_link": true,
                      "margin_base": -0.153422,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.141828
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.048563
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": 0.045916
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.032787
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.031107
                        }
                      ],
                      "others_margin": 0.14276
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.9796552658081055,
                    "model_output": 2.9797,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2968
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1597
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0817
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0344
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0202
                      }
                    ],
                    "decomposition": {
                      "base": 3.4412,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": -0.6366
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4006
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.2856
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.1777
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.1144
                        }
                      ],
                      "others": 0.1234,
                      "total": 2.9797,
                      "log_link": true,
                      "margin_base": 1.235809,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": -0.204566
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.133517
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.093329
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.062785
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": 0.040875
                        }
                      ],
                      "others_margin": 0.042286
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.0293570756912231,
                    "model_output": 1.0294,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1612
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1495
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.087
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0431
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0315
                      }
                    ],
                    "decomposition": {
                      "base": 1.3784,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": -0.2813
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1411
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.1188
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.1084
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0878
                        }
                      ],
                      "others": -0.1314,
                      "total": 1.0294,
                      "log_link": true,
                      "margin_base": 0.320928,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": -0.22828
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.121009
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": 0.091624
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.083262
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.072922
                        }
                      ],
                      "others_margin": -0.120162
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5121280550956726,
                    "model_output": 0.5121,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.109
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0656
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0378
                      },
                      {
                        "name": "rating",
                        "importance": 0.0315
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0302
                      }
                    ],
                    "decomposition": {
                      "base": 0.4723,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0559
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0449
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.0202
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0174
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": 0.0148
                        }
                      ],
                      "others": 0.0168,
                      "total": 0.5121,
                      "log_link": false,
                      "margin_base": 0.47232,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.055893
                        },
                        {
                          "name": "rating",
                          "margin": -0.044883
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": -0.020191
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.017364
                        },
                        {
                          "name": "duelWon_p90",
                          "margin": 0.014797
                        }
                      ],
                      "others_margin": 0.016828
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.62331485748291,
                    "model_output": 6.6233,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0729
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0624
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.059
                      },
                      {
                        "name": "touches",
                        "importance": 0.0384
                      },
                      {
                        "name": "rating",
                        "importance": 0.037
                      }
                    ],
                    "decomposition": {
                      "base": 6.786,
                      "items": [
                        {
                          "name": "totalPass",
                          "contribution": -0.0317
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0236
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0208
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0154
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0132
                        }
                      ],
                      "others": -0.058,
                      "total": 6.6233,
                      "log_link": false,
                      "margin_base": 6.785968,
                      "item_margins": [
                        {
                          "name": "totalPass",
                          "margin": -0.03174
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.023591
                        },
                        {
                          "name": "rating",
                          "margin": -0.020804
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.015444
                        },
                        {
                          "name": "touches",
                          "margin": -0.013229
                        }
                      ],
                      "others_margin": -0.057844
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 22,
                  "role_matches": 5,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9962, quality 0.437)",
              "stats": {
                "interceptions": 0.7222,
                "tackles": 1.9849,
                "tackles_won": 1.2505,
                "clearances": 2.9683,
                "aerial_won": 1.0254,
                "total_shots": 0.5102,
                "rating": 6.6233,
                "minutes": 84.33,
                "total_pass": 38.8346,
                "accurate_pass": 30.4866,
                "duels_won": 5.0204,
                "total_long_balls": 6.2114,
                "accurate_long_balls": 3.2167,
                "total_own_half_passes": 19.9533,
                "accurate_own_half_passes": 17.8288,
                "total_opp_half_passes": 18.8813,
                "accurate_opp_half_passes": 12.6578,
                "crosses_total": 0.5985,
                "crosses_accurate": 0.0,
                "touches": 52.7145,
                "possession_lost": 11.0403,
                "dispossessed": 0.4627,
                "duels_lost": 4.7466,
                "aerial_lost": 0.6737,
                "total_contest": 0.9939,
                "won_contest": 0.497,
                "ball_recovery": 3.5661,
                "challenges_lost": 0.4567,
                "fouls": 2.6567,
                "fouls_drawn": 0.0,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0168,
                "expected_assists": 0.0187,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 13.462,
                "total_progression": 46.5938,
                "progressive_carries": 0.3872,
                "key_pass": 0.4088,
                "shots_off_target": 0.5102
              },
              "params": {
                "market_value_eur": 1000000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9962,
                "reference_quality": 0.505,
                "history_matches": 22,
                "history_shrink": 0.1852,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0080)",
              "stats": {
                "interceptions": 0.7239,
                "tackles": 1.9849,
                "tackles_won": 1.2405,
                "clearances": 2.9683,
                "aerial_won": 1.0254,
                "total_shots": 0.5061,
                "rating": 6.6233,
                "minutes": 84.33,
                "total_pass": 38.8346,
                "accurate_pass": 30.4866,
                "duels_won": 5.0204,
                "total_long_balls": 6.2114,
                "accurate_long_balls": 3.2167,
                "total_own_half_passes": 19.9533,
                "accurate_own_half_passes": 17.8288,
                "total_opp_half_passes": 18.8813,
                "accurate_opp_half_passes": 12.6578,
                "crosses_total": 0.5937,
                "crosses_accurate": 0.0,
                "touches": 52.7145,
                "possession_lost": 11.0403,
                "dispossessed": 0.4627,
                "duels_lost": 4.7466,
                "aerial_lost": 0.6737,
                "total_contest": 0.9939,
                "won_contest": 0.497,
                "ball_recovery": 3.5661,
                "challenges_lost": 0.4567,
                "fouls": 2.6579,
                "fouls_drawn": 0.0,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0168,
                "expected_assists": 0.0187,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 13.462,
                "total_progression": 46.5938,
                "progressive_carries": 0.3872,
                "key_pass": 0.4088,
                "shots_off_target": 0.5102
              },
              "params": {
                "blend_weight": 0.008,
                "history_matches": 22,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.937,
                "prior_reliability": 0.0667,
                "competition": "La Liga",
                "squad": "Osasuna"
              },
              "changes": [
                {
                  "stat": "wonTackle",
                  "before": 1.2505,
                  "after": 1.2405
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.7239,
                "tackles": 1.9849,
                "tackles_won": 1.2405,
                "clearances": 2.9683,
                "aerial_won": 1.0254,
                "total_shots": 0.5102,
                "rating": 6.6233,
                "minutes": 84.33,
                "total_pass": 38.8346,
                "accurate_pass": 30.4866,
                "duels_won": 5.0204,
                "total_long_balls": 6.2114,
                "accurate_long_balls": 3.2167,
                "total_own_half_passes": 19.9533,
                "accurate_own_half_passes": 17.8288,
                "total_opp_half_passes": 18.8813,
                "accurate_opp_half_passes": 12.6578,
                "crosses_total": 0.5937,
                "crosses_accurate": 0.0,
                "touches": 52.7145,
                "possession_lost": 11.0403,
                "dispossessed": 0.4627,
                "duels_lost": 4.7466,
                "aerial_lost": 0.6737,
                "total_contest": 0.9939,
                "won_contest": 0.497,
                "ball_recovery": 3.5661,
                "challenges_lost": 0.4567,
                "fouls": 2.6579,
                "fouls_drawn": 0.0,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0168,
                "expected_assists": 0.0187,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 13.462,
                "total_progression": 46.5938,
                "progressive_carries": 0.3872,
                "key_pass": 0.4088,
                "shots_off_target": 0.5102
              },
              "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.7239,
                "tackles": 1.9849,
                "tackles_won": 1.2405,
                "clearances": 2.9683,
                "aerial_won": 1.0254,
                "total_shots": 0.5102,
                "rating": 6.6233,
                "minutes": 84.33,
                "total_pass": 38.8346,
                "accurate_pass": 30.4866,
                "duels_won": 5.0204,
                "total_long_balls": 6.2114,
                "accurate_long_balls": 3.2167,
                "total_own_half_passes": 19.9533,
                "accurate_own_half_passes": 17.8288,
                "total_opp_half_passes": 18.8813,
                "accurate_opp_half_passes": 12.6578,
                "crosses_total": 0.5937,
                "crosses_accurate": 0.0,
                "touches": 52.7145,
                "possession_lost": 11.0403,
                "dispossessed": 0.4627,
                "duels_lost": 4.7466,
                "aerial_lost": 0.6737,
                "total_contest": 0.9939,
                "won_contest": 0.497,
                "ball_recovery": 3.5661,
                "challenges_lost": 0.4567,
                "fouls": 2.6579,
                "fouls_drawn": 0.0,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0168,
                "expected_assists": 0.0187,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 13.462,
                "total_progression": 46.5938,
                "progressive_carries": 0.3872,
                "key_pass": 0.4088,
                "shots_off_target": 0.5102,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.4,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 1.0,
                "defensive_success_rate": 0.395,
                "opponent_faced": "Abdessamad Ezzalzouli",
                "pressing_zone": "Left Wing vs Right Back — Flank Battle",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "antagonist_source": "defensive_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Abdessamad Ezzalzouli",
                  "matchup_zone": "Left Wing vs Right Back — Flank Battle"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 0.83 (squad xG sum 0.8154, xG scale 1.0240, xA scale 1.0541, team xA 0.54 = 0.65 x lambda)",
              "stats": {
                "interceptions": 0.7239,
                "tackles": 1.9849,
                "tackles_won": 1.2405,
                "clearances": 2.9683,
                "aerial_won": 1.0254,
                "total_shots": 0.5102,
                "rating": 6.6233,
                "minutes": 84.33,
                "total_pass": 38.8346,
                "accurate_pass": 30.4866,
                "duels_won": 5.0204,
                "total_long_balls": 6.2114,
                "accurate_long_balls": 3.2167,
                "total_own_half_passes": 19.9533,
                "accurate_own_half_passes": 17.8288,
                "total_opp_half_passes": 18.8813,
                "accurate_opp_half_passes": 12.6578,
                "crosses_total": 0.5937,
                "crosses_accurate": 0.0,
                "touches": 52.7145,
                "possession_lost": 11.0403,
                "dispossessed": 0.4627,
                "duels_lost": 4.7466,
                "aerial_lost": 0.6737,
                "total_contest": 0.9939,
                "won_contest": 0.497,
                "ball_recovery": 3.5661,
                "challenges_lost": 0.4567,
                "fouls": 2.6579,
                "fouls_drawn": 0.0,
                "blocks": 0.0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0172,
                "expected_assists": 0.0197,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 13.462,
                "total_progression": 46.5938,
                "progressive_carries": 0.3872,
                "key_pass": 0.4088,
                "shots_off_target": 0.5102,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.4,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 1.0,
                "defensive_success_rate": 0.395,
                "opponent_faced": "Abdessamad Ezzalzouli",
                "pressing_zone": "Left Wing vs Right Back — Flank Battle",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 0.835,
                "squad_xg_sum": 0.8154,
                "squad_xa_sum": 0.5149,
                "team_expected_assists": 0.5427,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.024,
                "xa_scale": 1.0541,
                "opponent_lambda": 1.934,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 14 by projected rating, fifa_overall 80.0; not used by the projection)",
              "stats": {
                "interceptions": 0.7239,
                "tackles": 1.9849,
                "tackles_won": 1.2405,
                "clearances": 2.9683,
                "aerial_won": 1.0254,
                "total_shots": 0.5102,
                "rating": 6.6233,
                "minutes": 84.33,
                "total_pass": 38.8346,
                "accurate_pass": 30.4866,
                "duels_won": 5.0204,
                "total_long_balls": 6.2114,
                "accurate_long_balls": 3.2167,
                "total_own_half_passes": 19.9533,
                "accurate_own_half_passes": 17.8288,
                "total_opp_half_passes": 18.8813,
                "accurate_opp_half_passes": 12.6578,
                "crosses_total": 0.5937,
                "crosses_accurate": 0.0,
                "touches": 52.7145,
                "possession_lost": 11.0403,
                "dispossessed": 0.4627,
                "duels_lost": 4.7466,
                "aerial_lost": 0.6737,
                "total_contest": 0.9939,
                "won_contest": 0.497,
                "ball_recovery": 3.5661,
                "challenges_lost": 0.4567,
                "fouls": 2.6579,
                "fouls_drawn": 0.0,
                "blocks": 0.0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0172,
                "expected_assists": 0.0197,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 13.462,
                "total_progression": 46.5938,
                "progressive_carries": 0.3872,
                "key_pass": 0.4088,
                "shots_off_target": 0.5102,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.4,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 1.0,
                "defensive_success_rate": 0.395,
                "opponent_faced": "Abdessamad Ezzalzouli",
                "pressing_zone": "Left Wing vs Right Back — Flank Battle",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 80.0
              },
              "params": {
                "match_squad_rank": 14,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 998,
                "fifa_rank": 770.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": {
                "interceptions": 0.7239,
                "tackles": 1.9849,
                "tackles_won": 1.2405,
                "clearances": 2.9683,
                "aerial_won": 1.0254,
                "total_shots": 0.5102,
                "rating": 6.6233,
                "minutes": 84.33,
                "total_pass": 38.8346,
                "accurate_pass": 30.4866,
                "duels_won": 5.0204,
                "total_long_balls": 6.2114,
                "accurate_long_balls": 3.2167,
                "total_own_half_passes": 19.9533,
                "accurate_own_half_passes": 17.8288,
                "total_opp_half_passes": 18.8813,
                "accurate_opp_half_passes": 12.6578,
                "crosses_total": 0.5937,
                "crosses_accurate": 0.0,
                "touches": 52.7145,
                "possession_lost": 11.0403,
                "dispossessed": 0.4627,
                "duels_lost": 4.7466,
                "aerial_lost": 0.6737,
                "total_contest": 0.9939,
                "won_contest": 0.497,
                "ball_recovery": 3.5661,
                "challenges_lost": 0.4567,
                "fouls": 2.6579,
                "fouls_drawn": 0.0,
                "blocks": 0.0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0172,
                "expected_assists": 0.0197,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 13.462,
                "total_progression": 46.5938,
                "progressive_carries": 0.3872,
                "key_pass": 0.4088,
                "shots_off_target": 0.5102,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.4,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 1.0,
                "defensive_success_rate": 0.395,
                "opponent_faced": "Abdessamad Ezzalzouli",
                "pressing_zone": "Left Wing vs Right Back — Flank Battle",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0171,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0171,
                "scorer_weight": 0.0138,
                "squad_weight_total": 0.8684,
                "weight_share": 0.0158,
                "finishing_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 13,
                "eligible_players": 14
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "interceptions": 0.7239,
                "tackles": 1.9849,
                "tackles_won": 1.2405,
                "clearances": 2.9683,
                "aerial_won": 1.0254,
                "total_shots": 0.5102,
                "rating": 6.6233,
                "minutes": 84.33,
                "total_pass": 38.8346,
                "accurate_pass": 30.4866,
                "duels_won": 5.0204,
                "total_long_balls": 6.2114,
                "accurate_long_balls": 3.2167,
                "total_own_half_passes": 19.9533,
                "accurate_own_half_passes": 17.8288,
                "total_opp_half_passes": 18.8813,
                "accurate_opp_half_passes": 12.6578,
                "crosses_total": 0.5937,
                "crosses_accurate": 0.0,
                "touches": 52.7145,
                "possession_lost": 11.0403,
                "dispossessed": 0.4627,
                "duels_lost": 4.7466,
                "aerial_lost": 0.6737,
                "total_contest": 0.9939,
                "won_contest": 0.497,
                "ball_recovery": 3.5661,
                "challenges_lost": 0.4567,
                "fouls": 2.6579,
                "fouls_drawn": 0.0,
                "blocks": 0.0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0172,
                "expected_assists": 0.0197,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 13.462,
                "total_progression": 46.5938,
                "progressive_carries": 0.3872,
                "key_pass": 0.4088,
                "shots_off_target": 0.5102,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.4,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 1.0,
                "defensive_success_rate": 0.395,
                "opponent_faced": "Abdessamad Ezzalzouli",
                "pressing_zone": "Left Wing vs Right Back — Flank Battle",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0171,
                "projected_assists": 0,
                "assist_probability": 0.0195,
                "finishing_factor": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0195,
                "provider_weight": 0.0158,
                "squad_weight_total": 0.4935,
                "weight_share": 0.0319,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 11,
                "eligible_players": 14
              }
            }
          ]
        },
        "Moi Gómez": {
          "player_id": 149370,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 16,
          "height": 174,
          "market_value": 1600000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.1264,
            "assist_rate": 0.0959,
            "assists": 0,
            "expected_goals": 0.0368,
            "goal_rate": 0.0471,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.9748,
            "minutes": 76,
            "total_pass": 42,
            "accurate_pass": 36,
            "duels_won": 4,
            "total_long_balls": 5,
            "accurate_long_balls": 3,
            "total_own_half_passes": 16,
            "accurate_own_half_passes": 14,
            "total_opp_half_passes": 26,
            "accurate_opp_half_passes": 22,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 54,
            "possession_lost": 9.225,
            "dispossessed": 0.349,
            "duels_lost": 3,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 1,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 1,
            "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.0035,
            "ball_carries": 14,
            "total_progression": 46,
            "progressive_carries": 1,
            "shots_off_target": 0,
            "duel_xg_multiplier": 0.9718,
            "dribbles_attempted": 3,
            "dribbles_successful": 1.2,
            "crosses_attempted": 1.9,
            "duel_win_rate": 0.461,
            "pressing_faced": "LOW",
            "matchup_zone": "Left Wing vs Right Back — Flank Battle",
            "numerical_situation": "1v1",
            "opponent_defenders": "Héctor Bellerín",
            "opponent_faced": "Héctor Bellerín",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0361,
            "projected_assists": 0,
            "assist_probability": 0.1187,
            "finishing_factor": 1.1304,
            "creation_factor": 0.8587,
            "fifa_overall": 76.0
          },
          "latest_10_games": [
            {
              "match_id": 16416318,
              "match_date": "2026-09-06",
              "home_team": "Deportivo Alavés",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 60,
                "rating": 7.5,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.423,
                "total_shots": 0,
                "total_pass": 36,
                "accurate_pass": 25,
                "key_pass": 3,
                "tackles": 2,
                "tackles_won": 1,
                "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": 16416314,
              "match_date": "2026-08-31",
              "home_team": "Osasuna",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Getafe",
              "stats": {
                "minutes": 77,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0211,
                "total_shots": 0,
                "total_pass": 38,
                "accurate_pass": 35,
                "key_pass": 1,
                "tackles": 1,
                "clearances": 1,
                "duels_won": 2,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16815992,
              "match_date": "2026-08-27",
              "home_team": "Celta Vigo",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 16,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0284,
                "total_shots": 0,
                "total_pass": 10,
                "accurate_pass": 10,
                "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": 16416296,
              "match_date": "2026-08-24",
              "home_team": "Osasuna",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 87,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0123,
                "total_shots": 0,
                "total_pass": 31,
                "accurate_pass": 28,
                "interceptions": 3,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083723,
              "match_date": "2026-05-23",
              "home_team": "Getafe",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Getafe",
              "stats": {
                "minutes": 20,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0038,
                "total_shots": 0,
                "total_pass": 15,
                "accurate_pass": 14,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083696,
              "match_date": "2026-05-17",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 32,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1245,
                "total_shots": 0,
                "total_pass": 38,
                "accurate_pass": 36,
                "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": 14083634,
              "match_date": "2026-05-12",
              "home_team": "Osasuna",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 72,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0736,
                "total_shots": 0,
                "total_pass": 53,
                "accurate_pass": 47,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 2,
                "aerial_won": 1,
                "duels_won": 8,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083495,
              "match_date": "2026-05-02",
              "home_team": "Osasuna",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 70,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0961,
                "total_shots": 0,
                "total_pass": 27,
                "accurate_pass": 20,
                "key_pass": 4,
                "tackles": 2,
                "clearances": 1,
                "duels_won": 6,
                "ball_recovery": 2
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083231,
              "match_date": "2026-04-26",
              "home_team": "Osasuna",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 19,
                "rating": 7.2,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.2662,
                "total_shots": 0,
                "total_pass": 22,
                "accurate_pass": 21,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083258,
              "match_date": "2026-04-21",
              "home_team": "Athletic Club",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 15,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0096,
                "total_shots": 0,
                "total_pass": 10,
                "accurate_pass": 9
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 3212,
            "combined_rank_score": 1162.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 374.0,
            "sofascore_rating": 6.9667,
            "sofascore_appearances": 3.0,
            "fifa_rank": 1951.0,
            "fifa_overall": 76.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 3,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9748,
            "source_file": "data/player_rankings.csv",
            "player_name": "Moi Gómez",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Pepelu",
                  "ranking": 3207
                },
                {
                  "player_name": "Dayann Methalie",
                  "ranking": 3208
                },
                {
                  "player_name": "Robin Gosens",
                  "ranking": 3209
                },
                {
                  "player_name": "Álvaro Núñez",
                  "ranking": 3210
                },
                {
                  "player_name": "Marvin Schwäbe",
                  "ranking": 3211
                }
              ],
              "lower": [
                {
                  "player_name": "Benjamin Henrichs",
                  "ranking": 3213
                },
                {
                  "player_name": "Harvey Elliott",
                  "ranking": 3214
                },
                {
                  "player_name": "Azor Matusiwa",
                  "ranking": 3215
                },
                {
                  "player_name": "Eljif Elmas",
                  "ranking": 3216
                },
                {
                  "player_name": "Lazaros Rota",
                  "ranking": 3217
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.77,
          "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.77,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9971,
            "fbref_prior_metrics": {
              "squad": "Osasuna",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 2.0,
              "minutes": 179.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.1333
            },
            "rationale": "XGBoost regressor (M_service) evaluated 30 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Osasuna, rel: 0.13, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1.3293,
                "expected_assists": 0.1202,
                "assists": 0.0973,
                "assist_rate": 0.0973,
                "expected_goals": 0.037,
                "goals": 0.0492,
                "goal_rate": 0.0492,
                "shots_on_target": 0.1381,
                "total_shots": 0.5947,
                "rating": 6.9748,
                "minutes": 76.42,
                "total_pass": 42.2843,
                "accurate_pass": 35.9832,
                "duels_won": 4.3095,
                "total_long_balls": 4.8657,
                "accurate_long_balls": 3.1281,
                "total_own_half_passes": 15.9562,
                "accurate_own_half_passes": 14.0493,
                "total_opp_half_passes": 26.3281,
                "accurate_opp_half_passes": 21.9338,
                "crosses_total": 1.2492,
                "crosses_accurate": 0.4524,
                "touches": 54.5043,
                "possession_lost": 9.2518,
                "dispossessed": 0.35,
                "duels_lost": 2.713,
                "aerial_won": 0.5136,
                "aerial_lost": 0.401,
                "interceptions": 0.9038,
                "tackles_won": 0.5499,
                "tackles": 1.4282,
                "clearances": 0.9469,
                "total_contest": 1.4987,
                "won_contest": 0.9245,
                "challenges_lost": 0.8332,
                "fouls": 0.6317,
                "fouls_drawn": 1.4433,
                "blocks": 0.1917,
                "big_chances_created": 0.3359,
                "big_chances_missed": 0.0,
                "xgot": 0.0035,
                "ball_carries": 14.3539,
                "total_progression": 46.4392,
                "progressive_carries": 1.198,
                "shots_off_target": 0.4566
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-11T10:26:42.530573+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 894,
                    "rows": 23497
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Deportivo Alavés",
                    "minutes": 60.0,
                    "is_starting": true,
                    "weight": 0.1512,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Getafe",
                    "minutes": 77.0,
                    "is_starting": true,
                    "weight": 0.1285,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Celta Vigo",
                    "minutes": 16.0,
                    "is_starting": false,
                    "weight": 0.1092,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Levante UD",
                    "minutes": 87.0,
                    "is_starting": true,
                    "weight": 0.0928,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Getafe",
                    "minutes": 20.0,
                    "is_starting": false,
                    "weight": 0.0789,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Espanyol",
                    "minutes": 32.0,
                    "is_starting": false,
                    "weight": 0.0671,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-05-12",
                    "opponent": "Atlético Madrid",
                    "minutes": 72.0,
                    "is_starting": true,
                    "weight": 0.057,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "FC Barcelona",
                    "minutes": 70.0,
                    "is_starting": true,
                    "weight": 0.0485,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-04-26",
                    "opponent": "Sevilla",
                    "minutes": 19.0,
                    "is_starting": false,
                    "weight": 0.0412,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-04-21",
                    "opponent": "Athletic Club",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.035,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.1136,
                  "creative_index": 0.4509,
                  "expectedGoals": 0.0045,
                  "expectedAssists": 0.1104,
                  "onTargetScoringAttempt": 0.0058
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.3292875289916992,
                    "model_output": 1.3293,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1648
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1344
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0672
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0573
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0281
                      }
                    ],
                    "decomposition": {
                      "base": 0.8857,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1215
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0897
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0971
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0588
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": 0.0421
                        }
                      ],
                      "others": 0.0344,
                      "total": 1.3293,
                      "log_link": true,
                      "margin_base": -0.121432,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.128563
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.085329
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.084851
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.048038
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": 0.033047
                        }
                      ],
                      "others_margin": 0.026246
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.12022628635168076,
                    "model_output": 0.1202,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1094
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1055
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.099
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0603
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0557
                      }
                    ],
                    "decomposition": {
                      "base": 0.0855,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0109
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0047
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0041
                        },
                        {
                          "name": "goalAssist",
                          "contribution": 0.004
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.004
                        }
                      ],
                      "others": 0.0164,
                      "total": 0.1202,
                      "log_link": true,
                      "margin_base": -2.458929,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.120131
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.050309
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.043519
                        },
                        {
                          "name": "goalAssist",
                          "margin": 0.040882
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.039692
                        }
                      ],
                      "others_margin": 0.146635
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.09734278917312622,
                    "model_output": 0.0973,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0515
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0436
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0436
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0319
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.03
                      }
                    ],
                    "decomposition": {
                      "base": 0.0858,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": 0.0067
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0063
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0057
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0056
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0049
                        }
                      ],
                      "others": 0.0063,
                      "total": 0.0973,
                      "log_link": true,
                      "margin_base": -2.456317,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": 0.075126
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.070237
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.068361
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.067615
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.05555
                        }
                      ],
                      "others_margin": 0.067108
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.03700952231884003,
                    "model_output": 0.037,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1335
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.086
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0661
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0433
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.0936,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0365
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0144
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0063
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0023
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0013
                        }
                      ],
                      "others": -0.0084,
                      "total": 0.037,
                      "log_link": true,
                      "margin_base": -2.368441,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.493592
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.289492
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.137738
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.048607
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.02892
                        }
                      ],
                      "others_margin": -0.205268
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.04921894147992134,
                    "model_output": 0.0492,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0863
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0517
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0485
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0373
                      },
                      {
                        "name": "goals",
                        "importance": 0.0275
                      }
                    ],
                    "decomposition": {
                      "base": 0.0966,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0245
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0109
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0075
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0048
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0041
                        }
                      ],
                      "others": -0.0188,
                      "total": 0.0492,
                      "log_link": true,
                      "margin_base": -2.337105,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.292118
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.164511
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.114935
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.072919
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.062495
                        }
                      ],
                      "others_margin": -0.322254
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.1381102353334427,
                    "model_output": 0.1381,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.108
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0886
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0725
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0371
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.324,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.1023
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0468
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0237
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0117
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0097
                        }
                      ],
                      "others": -0.0391,
                      "total": 0.1381,
                      "log_link": true,
                      "margin_base": -1.126872,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.379278
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.237123
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.126854
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.060877
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.053136
                        }
                      ],
                      "others_margin": -0.249271
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5947078466415405,
                    "model_output": 0.5947,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1275
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1232
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0542
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0485
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0257
                      }
                    ],
                    "decomposition": {
                      "base": 0.99,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.3482
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1272
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0537
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0494
                        },
                        {
                          "name": "dispossessed",
                          "contribution": -0.0227
                        }
                      ],
                      "others": -0.0485,
                      "total": 0.5947,
                      "log_link": false,
                      "margin_base": 0.989981,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.348226
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.127184
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.053671
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.04944
                        },
                        {
                          "name": "dispossessed",
                          "margin": -0.02274
                        }
                      ],
                      "others_margin": -0.048382
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.974813461303711,
                    "model_output": 6.9748,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0898
                      },
                      {
                        "name": "rating",
                        "importance": 0.0801
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0397
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0337
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0318
                      }
                    ],
                    "decomposition": {
                      "base": 6.8504,
                      "items": [
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0507
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.039
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0315
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0139
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": 0.0095
                        }
                      ],
                      "others": -0.0202,
                      "total": 6.9748,
                      "log_link": false,
                      "margin_base": 6.850356,
                      "item_margins": [
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.050667
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.039044
                        },
                        {
                          "name": "rating",
                          "margin": 0.031544
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.013933
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": 0.00951
                        }
                      ],
                      "others_margin": -0.020239
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 30,
                  "role_matches": 15,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9971, quality 0.437)",
              "stats": {
                "key_pass": 1.3254,
                "expected_assists": 0.1199,
                "assists": 0.0971,
                "assist_rate": 0.0971,
                "expected_goals": 0.0369,
                "goals": 0.0491,
                "goal_rate": 0.0491,
                "shots_on_target": 0.1377,
                "total_shots": 0.593,
                "rating": 6.9748,
                "minutes": 76.42,
                "total_pass": 42.1617,
                "accurate_pass": 35.8788,
                "duels_won": 4.297,
                "total_long_balls": 4.8516,
                "accurate_long_balls": 3.119,
                "total_own_half_passes": 15.9099,
                "accurate_own_half_passes": 14.0086,
                "total_opp_half_passes": 26.2517,
                "accurate_opp_half_passes": 21.8702,
                "crosses_total": 1.2456,
                "crosses_accurate": 0.4511,
                "touches": 54.3462,
                "possession_lost": 9.225,
                "dispossessed": 0.349,
                "duels_lost": 2.7051,
                "aerial_won": 0.5121,
                "aerial_lost": 0.3998,
                "interceptions": 0.9012,
                "tackles_won": 0.5483,
                "tackles": 1.4241,
                "clearances": 0.9442,
                "total_contest": 1.4944,
                "won_contest": 0.9218,
                "challenges_lost": 0.8308,
                "fouls": 0.6299,
                "fouls_drawn": 1.4391,
                "blocks": 0.1911,
                "big_chances_created": 0.3349,
                "big_chances_missed": 0.0,
                "xgot": 0.0035,
                "ball_carries": 14.3123,
                "total_progression": 46.3045,
                "progressive_carries": 1.1945,
                "shots_off_target": 0.4553
              },
              "params": {
                "market_value_eur": 1600000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9971,
                "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.0124)",
              "stats": {
                "key_pass": 1.3254,
                "expected_assists": 0.1199,
                "assists": 0.0959,
                "assist_rate": 0.0959,
                "expected_goals": 0.0369,
                "goals": 0.0485,
                "goal_rate": 0.0485,
                "shots_on_target": 0.136,
                "total_shots": 0.5857,
                "rating": 6.9748,
                "minutes": 76.42,
                "total_pass": 42.1617,
                "accurate_pass": 35.8788,
                "duels_won": 4.297,
                "total_long_balls": 4.8516,
                "accurate_long_balls": 3.119,
                "total_own_half_passes": 15.9099,
                "accurate_own_half_passes": 14.0086,
                "total_opp_half_passes": 26.2517,
                "accurate_opp_half_passes": 21.8702,
                "crosses_total": 1.2354,
                "crosses_accurate": 0.4511,
                "touches": 54.3462,
                "possession_lost": 9.225,
                "dispossessed": 0.349,
                "duels_lost": 2.7051,
                "aerial_won": 0.5121,
                "aerial_lost": 0.3998,
                "interceptions": 0.9058,
                "tackles_won": 0.5415,
                "tackles": 1.4241,
                "clearances": 0.9442,
                "total_contest": 1.4944,
                "won_contest": 0.9218,
                "challenges_lost": 0.8308,
                "fouls": 0.6274,
                "fouls_drawn": 1.4423,
                "blocks": 0.1911,
                "big_chances_created": 0.3349,
                "big_chances_missed": 0.0,
                "xgot": 0.0035,
                "ball_carries": 14.3123,
                "total_progression": 46.3045,
                "progressive_carries": 1.1945,
                "shots_off_target": 0.4553
              },
              "params": {
                "blend_weight": 0.0124,
                "history_matches": 30,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.8491,
                "prior_reliability": 0.1333,
                "competition": "La Liga",
                "squad": "Osasuna"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 1.2456,
                  "after": 1.2354
                },
                {
                  "stat": "totalShots",
                  "before": 0.593,
                  "after": 0.5857
                },
                {
                  "stat": "wonTackle",
                  "before": 0.5483,
                  "after": 0.5415
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1.3254,
                "expected_assists": 0.1199,
                "assists": 0.0959,
                "assist_rate": 0.0959,
                "expected_goals": 0.0369,
                "goals": 0.0485,
                "goal_rate": 0.0485,
                "shots_on_target": 0.136,
                "total_shots": 0.5913,
                "rating": 6.9748,
                "minutes": 76.42,
                "total_pass": 42.1617,
                "accurate_pass": 35.8788,
                "duels_won": 4.297,
                "total_long_balls": 4.8516,
                "accurate_long_balls": 3.119,
                "total_own_half_passes": 15.9099,
                "accurate_own_half_passes": 14.0086,
                "total_opp_half_passes": 26.2517,
                "accurate_opp_half_passes": 21.8702,
                "crosses_total": 1.2354,
                "crosses_accurate": 0.4511,
                "touches": 54.3462,
                "possession_lost": 9.225,
                "dispossessed": 0.349,
                "duels_lost": 2.7051,
                "aerial_won": 0.5121,
                "aerial_lost": 0.3998,
                "interceptions": 0.9058,
                "tackles_won": 0.5415,
                "tackles": 1.4241,
                "clearances": 0.9442,
                "total_contest": 1.4944,
                "won_contest": 0.9218,
                "challenges_lost": 0.8308,
                "fouls": 0.6274,
                "fouls_drawn": 1.4423,
                "blocks": 0.1911,
                "big_chances_created": 0.3349,
                "big_chances_missed": 0.0,
                "xgot": 0.0035,
                "ball_carries": 14.3123,
                "total_progression": 46.3045,
                "progressive_carries": 1.1945,
                "shots_off_target": 0.4553
              },
              "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.3254,
                "expected_assists": 0.1199,
                "assists": 0.0959,
                "assist_rate": 0.0959,
                "expected_goals": 0.0359,
                "goals": 0.0471,
                "goal_rate": 0.0471,
                "shots_on_target": 0.1322,
                "total_shots": 0.5747,
                "rating": 6.9748,
                "minutes": 76.42,
                "total_pass": 42.1617,
                "accurate_pass": 35.8788,
                "duels_won": 4.297,
                "total_long_balls": 4.8516,
                "accurate_long_balls": 3.119,
                "total_own_half_passes": 15.9099,
                "accurate_own_half_passes": 14.0086,
                "total_opp_half_passes": 26.2517,
                "accurate_opp_half_passes": 21.8702,
                "crosses_total": 1.2354,
                "crosses_accurate": 0.4511,
                "touches": 54.3462,
                "possession_lost": 9.225,
                "dispossessed": 0.349,
                "duels_lost": 2.7051,
                "aerial_won": 0.9,
                "aerial_lost": 0.3998,
                "interceptions": 0.9058,
                "tackles_won": 0.5415,
                "tackles": 1.4241,
                "clearances": 0.9442,
                "total_contest": 1.4944,
                "won_contest": 0.9218,
                "challenges_lost": 0.8308,
                "fouls": 0.6274,
                "fouls_drawn": 1.4423,
                "blocks": 0.1911,
                "big_chances_created": 0.3349,
                "big_chances_missed": 0.0,
                "xgot": 0.0034,
                "ball_carries": 14.3123,
                "total_progression": 46.3045,
                "progressive_carries": 1.1945,
                "shots_off_target": 0.4425,
                "duel_xg_multiplier": 0.9718,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.2,
                "crosses_attempted": 1.9,
                "duel_win_rate": 0.461,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Héctor Bellerín",
                "opponent_faced": "Héctor Bellerín",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Héctor Bellerín",
                  "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                  "duel_win_rate": 0.461,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 0.9718,
                  "skill_edge": -0.0032,
                  "height_edge": -0.016,
                  "attacker_skill": 0.4374,
                  "defender_skill": 0.4445,
                  "attacker_role": "LW",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Héctor Bellerín",
                      "market_value": 2500000,
                      "role": "RB",
                      "price_index": 0.7,
                      "adjusted_quality": 0.4445
                    }
                  ],
                  "xg_override": 0.0359
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.5121,
                  "after": 0.9
                },
                {
                  "stat": "totalShots",
                  "before": 0.5913,
                  "after": 0.5747
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.4553,
                  "after": 0.4425
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 0.83 (squad xG sum 0.8154, xG scale 1.0240, xA scale 1.0541, team xA 0.54 = 0.65 x lambda)",
              "stats": {
                "key_pass": 1.3254,
                "expected_assists": 0.1264,
                "assist_rate": 0.0959,
                "assists": 0,
                "expected_goals": 0.0368,
                "goal_rate": 0.0471,
                "goals": 0,
                "shots_on_target": 0.1322,
                "total_shots": 0.5747,
                "rating": 6.9748,
                "minutes": 76.42,
                "total_pass": 42.1617,
                "accurate_pass": 35.8788,
                "duels_won": 4.297,
                "total_long_balls": 4.8516,
                "accurate_long_balls": 3.119,
                "total_own_half_passes": 15.9099,
                "accurate_own_half_passes": 14.0086,
                "total_opp_half_passes": 26.2517,
                "accurate_opp_half_passes": 21.8702,
                "crosses_total": 1.2354,
                "crosses_accurate": 0.4511,
                "touches": 54.3462,
                "possession_lost": 9.225,
                "dispossessed": 0.349,
                "duels_lost": 2.7051,
                "aerial_won": 0.9,
                "aerial_lost": 0.3998,
                "interceptions": 0.9058,
                "tackles_won": 0.5415,
                "tackles": 1.4241,
                "clearances": 0.9442,
                "total_contest": 1.4944,
                "won_contest": 0.9218,
                "challenges_lost": 0.8308,
                "fouls": 0.6274,
                "fouls_drawn": 1.4423,
                "blocks": 0.1911,
                "big_chances_created": 0.3349,
                "big_chances_missed": 0.0,
                "xgot": 0.0035,
                "ball_carries": 14.3123,
                "total_progression": 46.3045,
                "progressive_carries": 1.1945,
                "shots_off_target": 0.4425,
                "duel_xg_multiplier": 0.9718,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.2,
                "crosses_attempted": 1.9,
                "duel_win_rate": 0.461,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Héctor Bellerín",
                "opponent_faced": "Héctor Bellerín",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1304,
                "creation_factor": 0.8587
              },
              "params": {
                "team_lambda": 0.835,
                "squad_xg_sum": 0.8154,
                "squad_xa_sum": 0.5149,
                "team_expected_assists": 0.5427,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.024,
                "xa_scale": 1.0541,
                "opponent_lambda": 1.934,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.1199,
                  "after": 0.1264
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 3 by projected rating, fifa_overall 76.0; not used by the projection)",
              "stats": {
                "key_pass": 1.3254,
                "expected_assists": 0.1264,
                "assist_rate": 0.0959,
                "assists": 0,
                "expected_goals": 0.0368,
                "goal_rate": 0.0471,
                "goals": 0,
                "shots_on_target": 0.1322,
                "total_shots": 0.5747,
                "rating": 6.9748,
                "minutes": 76.42,
                "total_pass": 42.1617,
                "accurate_pass": 35.8788,
                "duels_won": 4.297,
                "total_long_balls": 4.8516,
                "accurate_long_balls": 3.119,
                "total_own_half_passes": 15.9099,
                "accurate_own_half_passes": 14.0086,
                "total_opp_half_passes": 26.2517,
                "accurate_opp_half_passes": 21.8702,
                "crosses_total": 1.2354,
                "crosses_accurate": 0.4511,
                "touches": 54.3462,
                "possession_lost": 9.225,
                "dispossessed": 0.349,
                "duels_lost": 2.7051,
                "aerial_won": 0.9,
                "aerial_lost": 0.3998,
                "interceptions": 0.9058,
                "tackles_won": 0.5415,
                "tackles": 1.4241,
                "clearances": 0.9442,
                "total_contest": 1.4944,
                "won_contest": 0.9218,
                "challenges_lost": 0.8308,
                "fouls": 0.6274,
                "fouls_drawn": 1.4423,
                "blocks": 0.1911,
                "big_chances_created": 0.3349,
                "big_chances_missed": 0.0,
                "xgot": 0.0035,
                "ball_carries": 14.3123,
                "total_progression": 46.3045,
                "progressive_carries": 1.1945,
                "shots_off_target": 0.4425,
                "duel_xg_multiplier": 0.9718,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.2,
                "crosses_attempted": 1.9,
                "duel_win_rate": 0.461,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Héctor Bellerín",
                "opponent_faced": "Héctor Bellerín",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1304,
                "creation_factor": 0.8587,
                "fifa_overall": 76.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": 3212,
                "fifa_rank": 1951.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 76.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "key_pass": 1.3254,
                "expected_assists": 0.1264,
                "assist_rate": 0.0959,
                "assists": 0,
                "expected_goals": 0.0368,
                "goal_rate": 0.0471,
                "goals": 0,
                "shots_on_target": 0.1322,
                "total_shots": 0.5747,
                "rating": 6.9748,
                "minutes": 76.42,
                "total_pass": 42.1617,
                "accurate_pass": 35.8788,
                "duels_won": 4.297,
                "total_long_balls": 4.8516,
                "accurate_long_balls": 3.119,
                "total_own_half_passes": 15.9099,
                "accurate_own_half_passes": 14.0086,
                "total_opp_half_passes": 26.2517,
                "accurate_opp_half_passes": 21.8702,
                "crosses_total": 1.2354,
                "crosses_accurate": 0.4511,
                "touches": 54.3462,
                "possession_lost": 9.225,
                "dispossessed": 0.349,
                "duels_lost": 2.7051,
                "aerial_won": 0.9,
                "aerial_lost": 0.3998,
                "interceptions": 0.9058,
                "tackles_won": 0.5415,
                "tackles": 1.4241,
                "clearances": 0.9442,
                "total_contest": 1.4944,
                "won_contest": 0.9218,
                "challenges_lost": 0.8308,
                "fouls": 0.6274,
                "fouls_drawn": 1.4423,
                "blocks": 0.1911,
                "big_chances_created": 0.3349,
                "big_chances_missed": 0.0,
                "xgot": 0.0035,
                "ball_carries": 14.3123,
                "total_progression": 46.3045,
                "progressive_carries": 1.1945,
                "shots_off_target": 0.4425,
                "duel_xg_multiplier": 0.9718,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.2,
                "crosses_attempted": 1.9,
                "duel_win_rate": 0.461,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Héctor Bellerín",
                "opponent_faced": "Héctor Bellerín",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0361,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1304,
                "creation_factor": 0.8587,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0361,
                "scorer_weight": 0.0416,
                "squad_weight_total": 0.8684,
                "weight_share": 0.0479,
                "finishing_factor": 1.1304,
                "appearance_weight": 1.0,
                "weight_rank": 5,
                "eligible_players": 14
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "key_pass": 1.3254,
                "expected_assists": 0.1264,
                "assist_rate": 0.0959,
                "assists": 0,
                "expected_goals": 0.0368,
                "goal_rate": 0.0471,
                "goals": 0,
                "shots_on_target": 0.1322,
                "total_shots": 0.5747,
                "rating": 6.9748,
                "minutes": 76.42,
                "total_pass": 42.1617,
                "accurate_pass": 35.8788,
                "duels_won": 4.297,
                "total_long_balls": 4.8516,
                "accurate_long_balls": 3.119,
                "total_own_half_passes": 15.9099,
                "accurate_own_half_passes": 14.0086,
                "total_opp_half_passes": 26.2517,
                "accurate_opp_half_passes": 21.8702,
                "crosses_total": 1.2354,
                "crosses_accurate": 0.4511,
                "touches": 54.3462,
                "possession_lost": 9.225,
                "dispossessed": 0.349,
                "duels_lost": 2.7051,
                "aerial_won": 0.9,
                "aerial_lost": 0.3998,
                "interceptions": 0.9058,
                "tackles_won": 0.5415,
                "tackles": 1.4241,
                "clearances": 0.9442,
                "total_contest": 1.4944,
                "won_contest": 0.9218,
                "challenges_lost": 0.8308,
                "fouls": 0.6274,
                "fouls_drawn": 1.4423,
                "blocks": 0.1911,
                "big_chances_created": 0.3349,
                "big_chances_missed": 0.0,
                "xgot": 0.0035,
                "ball_carries": 14.3123,
                "total_progression": 46.3045,
                "progressive_carries": 1.1945,
                "shots_off_target": 0.4425,
                "duel_xg_multiplier": 0.9718,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.2,
                "crosses_attempted": 1.9,
                "duel_win_rate": 0.461,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Héctor Bellerín",
                "opponent_faced": "Héctor Bellerín",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0361,
                "projected_assists": 0,
                "assist_probability": 0.1187,
                "finishing_factor": 1.1304,
                "creation_factor": 0.8587,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.1187,
                "provider_weight": 0.1085,
                "squad_weight_total": 0.4935,
                "weight_share": 0.2199,
                "creation_factor": 0.8587,
                "appearance_weight": 1.0,
                "weight_rank": 1,
                "eligible_players": 14
              }
            }
          ]
        },
        "Ante Budimir": {
          "player_id": 37318,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 17,
          "height": 190,
          "market_value": 2600000,
          "stats": {
            "expected_goals": 0.378,
            "goal_rate": 0.4208,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 2,
            "expected_assists": 0.0359,
            "key_pass": 1,
            "rating": 6.8603,
            "minutes": 86,
            "total_pass": 11,
            "accurate_pass": 7,
            "duels_won": 7,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 9,
            "accurate_opp_half_passes": 5,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 26,
            "possession_lost": 9.7402,
            "dispossessed": 0.8834,
            "duels_lost": 6,
            "aerial_lost": 3,
            "total_contest": 1,
            "won_contest": 0,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 2,
            "fouls_drawn": 2,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 1,
            "xgot": 0.5383,
            "offsides": 1,
            "ball_carries": 5,
            "total_progression": 7,
            "progressive_carries": 0,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.9153,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.3,
            "aerial_won": 2,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.18,
            "pressing_faced": "LOW",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Natan, Diego Llorente",
            "opponent_faced": "Natan, Diego Llorente",
            "antagonist_source": "attacking_duel",
            "projected_goals": 0,
            "goal_probability": 0.3148,
            "projected_assists": 0,
            "assist_probability": 0.0353,
            "finishing_factor": 1.1234,
            "creation_factor": 0.8,
            "fifa_overall": 82.0
          },
          "latest_10_games": [
            {
              "match_id": 16416305,
              "match_date": "2026-09-19",
              "home_team": "Osasuna",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 7.7,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2072,
                "expected_assists": 0.0789,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 10,
                "accurate_pass": 6,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 1,
                "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": 16416335,
              "match_date": "2026-09-16",
              "home_team": "Atlético Madrid",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 30,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0,
                "total_pass": 1,
                "clearances": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416327,
              "match_date": "2026-09-12",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0739,
                "expected_assists": 0.0372,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 18,
                "accurate_pass": 12,
                "clearances": 1,
                "aerial_won": 4,
                "duels_won": 7,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416318,
              "match_date": "2026-09-06",
              "home_team": "Deportivo Alavés",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 9.2,
                "goal_rate": 2.0,
                "goals": 2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.6134,
                "expected_assists": 0.0091,
                "total_shots": 6,
                "shots_on_target": 5,
                "shots_off_target": 1,
                "total_pass": 13,
                "accurate_pass": 8,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 7,
                "duels_won": 14,
                "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": 16416314,
              "match_date": "2026-08-31",
              "home_team": "Osasuna",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 7.5,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.7884,
                "expected_assists": 0.0584,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 17,
                "accurate_pass": 10,
                "key_pass": 1,
                "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": 16815992,
              "match_date": "2026-08-27",
              "home_team": "Celta Vigo",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 32,
                "rating": 6.9,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.4479,
                "expected_assists": 0.0011,
                "total_shots": 4,
                "shots_on_target": 2,
                "total_pass": 2,
                "accurate_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "aerial_won": 1,
                "duels_won": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416296,
              "match_date": "2026-08-24",
              "home_team": "Osasuna",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 80,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2557,
                "expected_assists": 0.0,
                "total_shots": 4,
                "shots_on_target": 2,
                "shots_off_target": 2,
                "total_pass": 8,
                "accurate_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 6,
                "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": 14083723,
              "match_date": "2026-05-23",
              "home_team": "Getafe",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0194,
                "expected_assists": 0.1265,
                "total_shots": 1,
                "total_pass": 14,
                "accurate_pass": 5,
                "key_pass": 1,
                "tackles": 1,
                "clearances": 1,
                "aerial_won": 7,
                "duels_won": 9,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083696,
              "match_date": "2026-05-17",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 5.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.374,
                "expected_assists": 0.0587,
                "total_shots": 5,
                "shots_on_target": 2,
                "shots_off_target": 2,
                "total_pass": 9,
                "accurate_pass": 5,
                "key_pass": 2,
                "aerial_won": 3,
                "duels_won": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083634,
              "match_date": "2026-05-12",
              "home_team": "Osasuna",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 5.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.3121,
                "expected_assists": 0.0235,
                "total_shots": 9,
                "shots_on_target": 2,
                "shots_off_target": 5,
                "total_pass": 10,
                "accurate_pass": 8,
                "key_pass": 1,
                "clearances": 1,
                "aerial_won": 3,
                "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"
            }
          ],
          "ranking": {
            "global_player_rank": 610,
            "combined_rank_score": 313.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 217.0,
            "sofascore_rating": 7.1667,
            "sofascore_appearances": 3.0,
            "fifa_rank": 410.0,
            "fifa_overall": 82.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 5,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8603,
            "source_file": "data/player_rankings.csv",
            "player_name": "Ante Budimir",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Nemanja Ćalasan",
                  "ranking": 605
                },
                {
                  "player_name": "Sardorbek Bakhromov",
                  "ranking": 606
                },
                {
                  "player_name": "Alfonso Parot",
                  "ranking": 607
                },
                {
                  "player_name": "Vangelis Pavlidis",
                  "ranking": 608
                },
                {
                  "player_name": "Gavi",
                  "ranking": 609
                }
              ],
              "lower": [
                {
                  "player_name": "Mender García",
                  "ranking": 611
                },
                {
                  "player_name": "José Fajardo",
                  "ranking": 612
                },
                {
                  "player_name": "Konstantinos Fortounis",
                  "ranking": 613
                },
                {
                  "player_name": "N'Golo Kanté",
                  "ranking": 614
                },
                {
                  "player_name": "Mason Greenwood",
                  "ranking": 615
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.772,
          "history_matches": 44,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 44,
            "data_confidence": 0.772,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9979,
            "fbref_prior_metrics": {
              "squad": "Osasuna",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 2.0,
              "minutes": 202.0,
              "goals_per90": 0.9090909090909092,
              "assists_per90": 0.0,
              "shots_per90": 4.01,
              "shots_on_target_pct": 55.6,
              "prior_reliability": 0.1467
            },
            "rationale": "XGBoost regressor (F_service) evaluated 44 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Osasuna, rel: 0.15, gls/90: 0.9090909090909092, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.4041,
                "goals": 0.4566,
                "goal_rate": 0.4566,
                "shots_on_target": 1.0171,
                "total_shots": 2.4574,
                "expected_assists": 0.0342,
                "key_pass": 0.5703,
                "rating": 6.8603,
                "minutes": 86.03,
                "total_pass": 11.4551,
                "accurate_pass": 6.6734,
                "duels_won": 6.6381,
                "total_long_balls": 0.3587,
                "accurate_long_balls": 0.17,
                "total_opp_half_passes": 9.0725,
                "accurate_opp_half_passes": 4.8186,
                "crosses_total": 0.1433,
                "crosses_accurate": 0.0,
                "touches": 26.4838,
                "possession_lost": 9.7607,
                "dispossessed": 0.8853,
                "duels_lost": 5.9807,
                "aerial_lost": 2.9074,
                "total_contest": 0.9082,
                "won_contest": 0.4293,
                "ball_recovery": 1.2664,
                "challenges_lost": 0.2609,
                "fouls": 1.7785,
                "fouls_drawn": 1.8475,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0742,
                "tackles_won": 0.5395,
                "tackles": 0.8956,
                "clearances": 1.0494,
                "blocks": 0.3309,
                "big_chances_created": 0.1277,
                "big_chances_missed": 0.8222,
                "xgot": 0.5756,
                "offsides": 0.5978,
                "ball_carries": 4.7164,
                "total_progression": 6.9373,
                "progressive_carries": 0.2489,
                "shots_off_target": 1.4403
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-11T10:27:16.278802+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 604,
                    "rows": 15537
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1501,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Atlético Madrid",
                    "minutes": 30.0,
                    "is_starting": false,
                    "weight": 0.1276,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1085,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0922,
                    "rating": 9.2
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Celta Vigo",
                    "minutes": 32.0,
                    "is_starting": false,
                    "weight": 0.0666,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Levante UD",
                    "minutes": 80.0,
                    "is_starting": true,
                    "weight": 0.0566,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0481,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 5.8
                  },
                  {
                    "match_date": "2026-05-12",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 5.9
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "expectedGoals": 0.5226,
                  "totalOppositionHalfPasses": 7.624,
                  "accurateOppositionHalfPasses": 3.9702,
                  "accuratePass": 5.5539,
                  "totalShots": 2.568
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.4041326344013214,
                    "model_output": 0.4041,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.282
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0894
                      },
                      {
                        "name": "goals",
                        "importance": 0.0352
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0258
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0248
                      }
                    ],
                    "decomposition": {
                      "base": 0.1978,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0645
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0502
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0304
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.0152
                        },
                        {
                          "name": "wasFouled",
                          "contribution": -0.0151
                        }
                      ],
                      "others": 0.0611,
                      "total": 0.4041,
                      "log_link": true,
                      "margin_base": -1.62027,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.282333
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.174967
                        },
                        {
                          "name": "goals",
                          "margin": 0.092964
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.043289
                        },
                        {
                          "name": "wasFouled",
                          "margin": -0.043083
                        }
                      ],
                      "others_margin": 0.163788
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.4566211700439453,
                    "model_output": 0.4566,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.121
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0861
                      },
                      {
                        "name": "goals",
                        "importance": 0.0516
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0267
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0267
                      }
                    ],
                    "decomposition": {
                      "base": 0.2032,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0687
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0586
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0329
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0354
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0228
                        }
                      ],
                      "others": 0.035,
                      "total": 0.4566,
                      "log_link": true,
                      "margin_base": -1.593696,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.291137
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.195237
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.094812
                        },
                        {
                          "name": "goals",
                          "margin": 0.09301
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.055652
                        }
                      ],
                      "others_margin": 0.079947
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 1.0170937776565552,
                    "model_output": 1.0171,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2113
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0717
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0497
                      },
                      {
                        "name": "goals",
                        "importance": 0.0454
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.5367,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1602
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0592
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0576
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0577
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0575
                        }
                      ],
                      "others": 0.0882,
                      "total": 1.0171,
                      "log_link": true,
                      "margin_base": -0.622283,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.261163
                        },
                        {
                          "name": "goals",
                          "margin": 0.081552
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.073399
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.068464
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.063948
                        }
                      ],
                      "others_margin": 0.090706
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 2.457396984100342,
                    "model_output": 2.4574,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2764
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0561
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.043
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0394
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0354
                      }
                    ],
                    "decomposition": {
                      "base": 1.3728,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4874
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.1931
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.1693
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0811
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0594
                        }
                      ],
                      "others": 0.0943,
                      "total": 2.4574,
                      "log_link": false,
                      "margin_base": 1.372807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.487381
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.193116
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.169326
                        },
                        {
                          "name": "goals",
                          "margin": 0.081121
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.059438
                        }
                      ],
                      "others_margin": 0.094208
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.034196678549051285,
                    "model_output": 0.0342,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1017
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0772
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0688
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0665
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0563
                      }
                    ],
                    "decomposition": {
                      "base": 0.0639,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0172
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.012
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0078
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0062
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0035
                        }
                      ],
                      "others": -0.0174,
                      "total": 0.0342,
                      "log_link": true,
                      "margin_base": -2.751197,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.23842
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.159646
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.119922
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.107539
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.066255
                        }
                      ],
                      "others_margin": -0.409487
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.5703052282333374,
                    "model_output": 0.5703,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1626
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1193
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0628
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0553
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0328
                      }
                    ],
                    "decomposition": {
                      "base": 0.6728,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.194
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0697
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0574
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0444
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0376
                        }
                      ],
                      "others": -0.0874,
                      "total": 0.5703,
                      "log_link": true,
                      "margin_base": -0.396376,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.253357
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.083893
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.07474
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.061978
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.055545
                        }
                      ],
                      "others_margin": -0.142409
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.86025857925415,
                    "model_output": 6.8603,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0639
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0556
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0431
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0431
                      },
                      {
                        "name": "rating",
                        "importance": 0.039
                      }
                    ],
                    "decomposition": {
                      "base": 6.7636,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0456
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0306
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.0266
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0262
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0247
                        }
                      ],
                      "others": -0.0046,
                      "total": 6.8603,
                      "log_link": false,
                      "margin_base": 6.763607,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.045612
                        },
                        {
                          "name": "rating",
                          "margin": 0.030617
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.026555
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.026171
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.02466
                        }
                      ],
                      "others_margin": -0.004623
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 44,
                  "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 0.9979, quality 0.437)",
              "stats": {
                "expected_goals": 0.4033,
                "goals": 0.4557,
                "goal_rate": 0.4557,
                "shots_on_target": 1.015,
                "total_shots": 2.4523,
                "expected_assists": 0.0341,
                "key_pass": 0.5691,
                "rating": 6.8603,
                "minutes": 86.03,
                "total_pass": 11.431,
                "accurate_pass": 6.6594,
                "duels_won": 6.6242,
                "total_long_balls": 0.3579,
                "accurate_long_balls": 0.1696,
                "total_opp_half_passes": 9.0534,
                "accurate_opp_half_passes": 4.8085,
                "crosses_total": 0.143,
                "crosses_accurate": 0.0,
                "touches": 26.4282,
                "possession_lost": 9.7402,
                "dispossessed": 0.8834,
                "duels_lost": 5.9681,
                "aerial_lost": 2.9013,
                "total_contest": 0.9063,
                "won_contest": 0.4284,
                "ball_recovery": 1.2637,
                "challenges_lost": 0.2604,
                "fouls": 1.7748,
                "fouls_drawn": 1.8436,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.074,
                "tackles_won": 0.5384,
                "tackles": 0.8937,
                "clearances": 1.0472,
                "blocks": 0.3302,
                "big_chances_created": 0.1274,
                "big_chances_missed": 0.8205,
                "xgot": 0.5744,
                "offsides": 0.5965,
                "ball_carries": 4.7065,
                "total_progression": 6.9227,
                "progressive_carries": 0.2484,
                "shots_off_target": 1.4373
              },
              "params": {
                "market_value_eur": 2600000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9979,
                "reference_quality": 0.505,
                "history_matches": 44,
                "history_shrink": 0.102,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0097)",
              "stats": {
                "expected_goals": 0.4033,
                "goals": 0.4597,
                "goal_rate": 0.4597,
                "shots_on_target": 1.0259,
                "total_shots": 2.4657,
                "expected_assists": 0.0341,
                "key_pass": 0.5691,
                "rating": 6.8603,
                "minutes": 86.03,
                "total_pass": 11.431,
                "accurate_pass": 6.6594,
                "duels_won": 6.6242,
                "total_long_balls": 0.3579,
                "accurate_long_balls": 0.1696,
                "total_opp_half_passes": 9.0534,
                "accurate_opp_half_passes": 4.8085,
                "crosses_total": 0.1458,
                "crosses_accurate": 0.0,
                "touches": 26.4282,
                "possession_lost": 9.7402,
                "dispossessed": 0.8834,
                "duels_lost": 5.9681,
                "aerial_lost": 2.9013,
                "total_contest": 0.9063,
                "won_contest": 0.4284,
                "ball_recovery": 1.2637,
                "challenges_lost": 0.2604,
                "fouls": 1.7744,
                "fouls_drawn": 1.851,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0733,
                "tackles_won": 0.5458,
                "tackles": 0.8937,
                "clearances": 1.0472,
                "blocks": 0.3302,
                "big_chances_created": 0.1274,
                "big_chances_missed": 0.8205,
                "xgot": 0.5744,
                "offsides": 0.5992,
                "ball_carries": 4.7065,
                "total_progression": 6.9227,
                "progressive_carries": 0.2484,
                "shots_off_target": 1.4373
              },
              "params": {
                "blend_weight": 0.0097,
                "history_matches": 44,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9559,
                "prior_reliability": 0.1467,
                "competition": "La Liga",
                "squad": "Osasuna"
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 2.4523,
                  "after": 2.4657
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 1.015,
                  "after": 1.0259
                },
                {
                  "stat": "wasFouled",
                  "before": 1.8436,
                  "after": 1.851
                },
                {
                  "stat": "wonTackle",
                  "before": 0.5384,
                  "after": 0.5458
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.4033,
                "goals": 0.4597,
                "goal_rate": 0.4597,
                "shots_on_target": 1.0259,
                "total_shots": 2.4657,
                "expected_assists": 0.0341,
                "key_pass": 0.5691,
                "rating": 6.8603,
                "minutes": 86.03,
                "total_pass": 11.431,
                "accurate_pass": 6.6594,
                "duels_won": 6.6242,
                "total_long_balls": 0.3579,
                "accurate_long_balls": 0.1696,
                "total_opp_half_passes": 9.0534,
                "accurate_opp_half_passes": 4.8085,
                "crosses_total": 0.1458,
                "crosses_accurate": 0.0,
                "touches": 26.4282,
                "possession_lost": 9.7402,
                "dispossessed": 0.8834,
                "duels_lost": 5.9681,
                "aerial_lost": 2.9013,
                "total_contest": 0.9063,
                "won_contest": 0.4284,
                "ball_recovery": 1.2637,
                "challenges_lost": 0.2604,
                "fouls": 1.7744,
                "fouls_drawn": 1.851,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0733,
                "tackles_won": 0.5458,
                "tackles": 0.8937,
                "clearances": 1.0472,
                "blocks": 0.3302,
                "big_chances_created": 0.1274,
                "big_chances_missed": 0.8205,
                "xgot": 0.5744,
                "offsides": 0.5992,
                "ball_carries": 4.7065,
                "total_progression": 6.9227,
                "progressive_carries": 0.2484,
                "shots_off_target": 1.4373
              },
              "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.3691,
                "goals": 0.4208,
                "goal_rate": 0.4208,
                "shots_on_target": 0.939,
                "total_shots": 2.2569,
                "expected_assists": 0.0341,
                "key_pass": 0.5691,
                "rating": 6.8603,
                "minutes": 86.03,
                "total_pass": 11.431,
                "accurate_pass": 6.6594,
                "duels_won": 6.6242,
                "total_long_balls": 0.3579,
                "accurate_long_balls": 0.1696,
                "total_opp_half_passes": 9.0534,
                "accurate_opp_half_passes": 4.8085,
                "crosses_total": 0.1458,
                "crosses_accurate": 0.0,
                "touches": 26.4282,
                "possession_lost": 9.7402,
                "dispossessed": 0.8834,
                "duels_lost": 5.9681,
                "aerial_lost": 2.9013,
                "total_contest": 0.9063,
                "won_contest": 0.4284,
                "ball_recovery": 1.2637,
                "challenges_lost": 0.2604,
                "fouls": 1.7744,
                "fouls_drawn": 1.851,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0733,
                "tackles_won": 0.5458,
                "tackles": 0.8937,
                "clearances": 1.0472,
                "blocks": 0.3302,
                "big_chances_created": 0.1274,
                "big_chances_missed": 0.751,
                "xgot": 0.5257,
                "offsides": 0.5992,
                "ball_carries": 4.7065,
                "total_progression": 6.9227,
                "progressive_carries": 0.2484,
                "shots_off_target": 1.3156,
                "duel_xg_multiplier": 0.9153,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 2.0,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Natan, Diego Llorente",
                "opponent_faced": "Natan, Diego Llorente",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Natan, Diego Llorente",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.18,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v2",
                  "xg_multiplier": 0.9153,
                  "skill_edge": -0.0716,
                  "height_edge": 0.014,
                  "attacker_skill": 0.4374,
                  "defender_skill": 0.5965,
                  "attacker_role": "ST",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Natan",
                      "market_value": 26000000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.7498
                    },
                    {
                      "player": "Diego Llorente",
                      "market_value": 2600000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.4432
                    }
                  ],
                  "xg_override": 0.3691
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 2.4657,
                  "after": 2.2569
                },
                {
                  "stat": "shotOffTarget",
                  "before": 1.4373,
                  "after": 1.3156
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 1.0259,
                  "after": 0.939
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 0.8205,
                  "after": 0.751
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.5744,
                  "after": 0.5257
                },
                {
                  "stat": "goals",
                  "before": 0.4597,
                  "after": 0.4208
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.4033,
                  "after": 0.3691
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 0.83 (squad xG sum 0.8154, xG scale 1.0240, xA scale 1.0541, team xA 0.54 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.378,
                "goal_rate": 0.4208,
                "goals": 0,
                "shots_on_target": 0.939,
                "total_shots": 2.2569,
                "expected_assists": 0.0359,
                "key_pass": 0.5691,
                "rating": 6.8603,
                "minutes": 86.03,
                "total_pass": 11.431,
                "accurate_pass": 6.6594,
                "duels_won": 6.6242,
                "total_long_balls": 0.3579,
                "accurate_long_balls": 0.1696,
                "total_opp_half_passes": 9.0534,
                "accurate_opp_half_passes": 4.8085,
                "crosses_total": 0.1458,
                "crosses_accurate": 0.0,
                "touches": 26.4282,
                "possession_lost": 9.7402,
                "dispossessed": 0.8834,
                "duels_lost": 5.9681,
                "aerial_lost": 2.9013,
                "total_contest": 0.9063,
                "won_contest": 0.4284,
                "ball_recovery": 1.2637,
                "challenges_lost": 0.2604,
                "fouls": 1.7744,
                "fouls_drawn": 1.851,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0733,
                "tackles_won": 0.5458,
                "tackles": 0.8937,
                "clearances": 1.0472,
                "blocks": 0.3302,
                "big_chances_created": 0.1274,
                "big_chances_missed": 0.751,
                "xgot": 0.5383,
                "offsides": 0.5992,
                "ball_carries": 4.7065,
                "total_progression": 6.9227,
                "progressive_carries": 0.2484,
                "shots_off_target": 1.3156,
                "duel_xg_multiplier": 0.9153,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 2.0,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Natan, Diego Llorente",
                "opponent_faced": "Natan, Diego Llorente",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1234,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 0.835,
                "squad_xg_sum": 0.8154,
                "squad_xa_sum": 0.5149,
                "team_expected_assists": 0.5427,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.024,
                "xa_scale": 1.0541,
                "opponent_lambda": 1.934,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.3691,
                  "after": 0.378
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 5 by projected rating, fifa_overall 82.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.378,
                "goal_rate": 0.4208,
                "goals": 0,
                "shots_on_target": 0.939,
                "total_shots": 2.2569,
                "expected_assists": 0.0359,
                "key_pass": 0.5691,
                "rating": 6.8603,
                "minutes": 86.03,
                "total_pass": 11.431,
                "accurate_pass": 6.6594,
                "duels_won": 6.6242,
                "total_long_balls": 0.3579,
                "accurate_long_balls": 0.1696,
                "total_opp_half_passes": 9.0534,
                "accurate_opp_half_passes": 4.8085,
                "crosses_total": 0.1458,
                "crosses_accurate": 0.0,
                "touches": 26.4282,
                "possession_lost": 9.7402,
                "dispossessed": 0.8834,
                "duels_lost": 5.9681,
                "aerial_lost": 2.9013,
                "total_contest": 0.9063,
                "won_contest": 0.4284,
                "ball_recovery": 1.2637,
                "challenges_lost": 0.2604,
                "fouls": 1.7744,
                "fouls_drawn": 1.851,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0733,
                "tackles_won": 0.5458,
                "tackles": 0.8937,
                "clearances": 1.0472,
                "blocks": 0.3302,
                "big_chances_created": 0.1274,
                "big_chances_missed": 0.751,
                "xgot": 0.5383,
                "offsides": 0.5992,
                "ball_carries": 4.7065,
                "total_progression": 6.9227,
                "progressive_carries": 0.2484,
                "shots_off_target": 1.3156,
                "duel_xg_multiplier": 0.9153,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 2.0,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Natan, Diego Llorente",
                "opponent_faced": "Natan, Diego Llorente",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1234,
                "creation_factor": 0.8,
                "fifa_overall": 82.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": 610,
                "fifa_rank": 410.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 82.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "expected_goals": 0.378,
                "goal_rate": 0.4208,
                "goals": 0,
                "shots_on_target": 0.939,
                "total_shots": 2.2569,
                "expected_assists": 0.0359,
                "key_pass": 0.5691,
                "rating": 6.8603,
                "minutes": 86.03,
                "total_pass": 11.431,
                "accurate_pass": 6.6594,
                "duels_won": 6.6242,
                "total_long_balls": 0.3579,
                "accurate_long_balls": 0.1696,
                "total_opp_half_passes": 9.0534,
                "accurate_opp_half_passes": 4.8085,
                "crosses_total": 0.1458,
                "crosses_accurate": 0.0,
                "touches": 26.4282,
                "possession_lost": 9.7402,
                "dispossessed": 0.8834,
                "duels_lost": 5.9681,
                "aerial_lost": 2.9013,
                "total_contest": 0.9063,
                "won_contest": 0.4284,
                "ball_recovery": 1.2637,
                "challenges_lost": 0.2604,
                "fouls": 1.7744,
                "fouls_drawn": 1.851,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0733,
                "tackles_won": 0.5458,
                "tackles": 0.8937,
                "clearances": 1.0472,
                "blocks": 0.3302,
                "big_chances_created": 0.1274,
                "big_chances_missed": 0.751,
                "xgot": 0.5383,
                "offsides": 0.5992,
                "ball_carries": 4.7065,
                "total_progression": 6.9227,
                "progressive_carries": 0.2484,
                "shots_off_target": 1.3156,
                "duel_xg_multiplier": 0.9153,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 2.0,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Natan, Diego Llorente",
                "opponent_faced": "Natan, Diego Llorente",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.3148,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1234,
                "creation_factor": 0.8,
                "fifa_overall": 82.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.3148,
                "scorer_weight": 0.4246,
                "squad_weight_total": 0.8684,
                "weight_share": 0.489,
                "finishing_factor": 1.1234,
                "appearance_weight": 1.0,
                "weight_rank": 1,
                "eligible_players": 14
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "expected_goals": 0.378,
                "goal_rate": 0.4208,
                "goals": 0,
                "shots_on_target": 0.939,
                "total_shots": 2.2569,
                "expected_assists": 0.0359,
                "key_pass": 0.5691,
                "rating": 6.8603,
                "minutes": 86.03,
                "total_pass": 11.431,
                "accurate_pass": 6.6594,
                "duels_won": 6.6242,
                "total_long_balls": 0.3579,
                "accurate_long_balls": 0.1696,
                "total_opp_half_passes": 9.0534,
                "accurate_opp_half_passes": 4.8085,
                "crosses_total": 0.1458,
                "crosses_accurate": 0.0,
                "touches": 26.4282,
                "possession_lost": 9.7402,
                "dispossessed": 0.8834,
                "duels_lost": 5.9681,
                "aerial_lost": 2.9013,
                "total_contest": 0.9063,
                "won_contest": 0.4284,
                "ball_recovery": 1.2637,
                "challenges_lost": 0.2604,
                "fouls": 1.7744,
                "fouls_drawn": 1.851,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0733,
                "tackles_won": 0.5458,
                "tackles": 0.8937,
                "clearances": 1.0472,
                "blocks": 0.3302,
                "big_chances_created": 0.1274,
                "big_chances_missed": 0.751,
                "xgot": 0.5383,
                "offsides": 0.5992,
                "ball_carries": 4.7065,
                "total_progression": 6.9227,
                "progressive_carries": 0.2484,
                "shots_off_target": 1.3156,
                "duel_xg_multiplier": 0.9153,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 2.0,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Natan, Diego Llorente",
                "opponent_faced": "Natan, Diego Llorente",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.3148,
                "projected_assists": 0,
                "assist_probability": 0.0353,
                "finishing_factor": 1.1234,
                "creation_factor": 0.8,
                "fifa_overall": 82.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0353,
                "provider_weight": 0.0287,
                "squad_weight_total": 0.4935,
                "weight_share": 0.0582,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 6,
                "eligible_players": 14
              }
            }
          ]
        }
      },
      "bench_players": {
        "Sergio Herrera": {
          "player_id": 294377,
          "position": "G",
          "position_depth": "G_BENCH",
          "is_starter": false,
          "shirt_number": 1,
          "height": 192,
          "market_value": 2600000,
          "stats": {
            "saves": 0,
            "goals_prevented": -0.0076,
            "rating": 7.0753,
            "minutes": 4,
            "total_pass": 4,
            "accurate_pass": 3,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "touches": 5,
            "clearances": 0,
            "ball_recovery": 1,
            "high_claims": 0,
            "punches": 0.1139,
            "aerial_won": 0,
            "sweeper_actions": 0,
            "sweeper_accurate": 0,
            "saves_inside_box": 0,
            "possession_lost": 1.1283,
            "duels_won": 0,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 2,
            "accurate_own_half_passes": 2,
            "bench_appearance_probability": 0.131,
            "bench_expected_minutes": 4.39,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 4,
            "projected_substitution_expected_count": 2.774,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "available_bench_not_projected_used",
            "goals": 0,
            "projected_goals": 0,
            "goal_probability": 0.0,
            "assists": 0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "match_id": 16416327,
              "match_date": "2026-09-12",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0004,
                "total_shots": 0,
                "total_pass": 26,
                "accurate_pass": 17,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 1,
                "ball_recovery": 7,
                "saves": 1,
                "goals_prevented": -0.3437
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416318,
              "match_date": "2026-09-06",
              "home_team": "Deportivo Alavés",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 5.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0018,
                "total_shots": 0,
                "total_pass": 19,
                "accurate_pass": 14,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 8,
                "saves": 2,
                "goals_prevented": -1.6289
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416314,
              "match_date": "2026-08-31",
              "home_team": "Osasuna",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 7.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0053,
                "total_shots": 0,
                "total_pass": 20,
                "accurate_pass": 15,
                "key_pass": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 8,
                "saves": 1,
                "goals_prevented": 0.2211
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16815992,
              "match_date": "2026-08-27",
              "home_team": "Celta Vigo",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0006,
                "total_shots": 0,
                "total_pass": 16,
                "accurate_pass": 12,
                "ball_recovery": 5,
                "saves": 1,
                "goals_prevented": -0.6964
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416296,
              "match_date": "2026-08-24",
              "home_team": "Osasuna",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.007,
                "total_shots": 0,
                "total_pass": 28,
                "accurate_pass": 20,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 11,
                "saves": 1,
                "goals_prevented": 0.1729
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083723,
              "match_date": "2026-05-23",
              "home_team": "Getafe",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0034,
                "total_shots": 0,
                "total_pass": 19,
                "accurate_pass": 9,
                "duels_won": 1,
                "ball_recovery": 5,
                "saves": 2,
                "goals_prevented": -0.7671
              },
              "has_player_stats": true,
              "league_name": "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": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0017,
                "total_shots": 0,
                "total_pass": 33,
                "accurate_pass": 28,
                "clearances": 2,
                "ball_recovery": 13,
                "saves": 1,
                "goals_prevented": -0.6195
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083568,
              "match_date": "2026-05-08",
              "home_team": "Levante UD",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 45,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0004,
                "total_shots": 0,
                "total_pass": 19,
                "accurate_pass": 15,
                "clearances": 1,
                "ball_recovery": 5,
                "saves": 2,
                "goals_prevented": 0.5435
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083495,
              "match_date": "2026-05-02",
              "home_team": "Osasuna",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0006,
                "total_shots": 0,
                "total_pass": 34,
                "accurate_pass": 17,
                "clearances": 1,
                "ball_recovery": 5,
                "saves": 2,
                "goals_prevented": -0.321
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083231,
              "match_date": "2026-04-26",
              "home_team": "Osasuna",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0004,
                "total_shots": 0,
                "total_pass": 34,
                "accurate_pass": 23,
                "clearances": 2,
                "ball_recovery": 13,
                "saves": 1,
                "goals_prevented": -0.8273
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 1581,
            "combined_rank_score": 645.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 336.0,
            "sofascore_rating": 7.0,
            "sofascore_appearances": 3.0,
            "fifa_rank": 954.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 2,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 7.0753,
            "source_file": "data/player_rankings.csv",
            "player_name": "Sergio Herrera",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Jardel",
                  "ranking": 1576
                },
                {
                  "player_name": "Kim Dong-wook",
                  "ranking": 1577
                },
                {
                  "player_name": "Viktor Đukanović",
                  "ranking": 1578
                },
                {
                  "player_name": "Daniel Hall",
                  "ranking": 1579
                },
                {
                  "player_name": "Daniel Ballard",
                  "ranking": 1580
                }
              ],
              "lower": [
                {
                  "player_name": "Maximiliano Romero",
                  "ranking": 1582
                },
                {
                  "player_name": "Lucas Digne",
                  "ranking": 1583
                },
                {
                  "player_name": "Nico Elvedi",
                  "ranking": 1584
                },
                {
                  "player_name": "Augusto Batalla",
                  "ranking": 1585
                },
                {
                  "player_name": "Pavel Šulc",
                  "ranking": 1586
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.78,
          "history_matches": 42,
          "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": 42,
            "data_confidence": 0.78,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 4.392222187561249,
            "bench_appearance_prob": 0.131,
            "market_value_adjustment": 0.9978,
            "fbref_prior_metrics": {
              "squad": "Osasuna",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "sub_appearances": 0.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.2
            },
            "rationale": "Bench projection scaled from XGBoost G_service (42 historical appearances) to 4.4 expected mins (appearance prob 0.13); FBref playing time empirical prior: 0.0 sub appearances, 0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost G_service raw output over 3 target models",
              "stats": {
                "saves": 2.5782,
                "goals_prevented": -0.0492,
                "rating": 7.0753,
                "minutes": 28.5,
                "total_pass": 24.4357,
                "accurate_pass": 17.2261,
                "total_long_balls": 13.4559,
                "accurate_long_balls": 6.4239,
                "touches": 33.2462,
                "clearances": 0.9724,
                "ball_recovery": 7.7986,
                "high_claims": 0.5837,
                "punches": 0.7406,
                "aerial_won": 0.159,
                "sweeper_actions": 0.7422,
                "sweeper_accurate": 0.6845,
                "saves_inside_box": 0.8303,
                "possession_lost": 7.3371,
                "duels_won": 0.6943,
                "duels_lost": 0.0226,
                "total_contest": 0.1276,
                "won_contest": 0.1276,
                "fouls": 0.1488,
                "fouls_drawn": 0.2575,
                "total_own_half_passes": 15.1387,
                "accurate_own_half_passes": 13.0755
              },
              "trace": {
                "model": {
                  "position_service": "G",
                  "schema_version": 5,
                  "trained_at": "2026-10-11T10:25:02.791090+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 199,
                    "rows": 6859
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1502,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1276,
                    "rating": 5.9
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1085,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0922,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0666,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0566,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-08",
                    "opponent": "Levante UD",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.0481,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-04-26",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.1
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "sweeper_actions_p90": 0.6671,
                  "accurateOwnHalfPasses": 13.0755,
                  "accurateLongBalls": 6.4239,
                  "aerialWon": 0.159,
                  "accurateKeeperSweeper": 0.7869,
                  "sweeper_accuracy": 0.4842
                },
                "per_target": [
                  {
                    "target": "saves",
                    "predicted": 2.5782063007354736,
                    "model_output": 2.5782,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "saves",
                        "importance": 0.0396
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0382
                      },
                      {
                        "name": "minutesPlayed",
                        "importance": 0.0378
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0364
                      },
                      {
                        "name": "goalsPrevented",
                        "importance": 0.0361
                      }
                    ],
                    "decomposition": {
                      "base": 2.9355,
                      "items": [
                        {
                          "name": "saves",
                          "contribution": -0.1673
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1137
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "contribution": 0.0354
                        },
                        {
                          "name": "save_contribution",
                          "contribution": -0.0352
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0271
                        }
                      ],
                      "others": -0.0494,
                      "total": 2.5782,
                      "log_link": true,
                      "margin_base": 1.07688,
                      "item_margins": [
                        {
                          "name": "saves",
                          "margin": -0.058666
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.041954
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "margin": 0.013263
                        },
                        {
                          "name": "save_contribution",
                          "margin": -0.013153
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.010254
                        }
                      ],
                      "others_margin": -0.019022
                    }
                  },
                  {
                    "target": "goalsPrevented",
                    "predicted": -0.04916464909911156,
                    "model_output": -0.0492,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "aerialWon",
                        "importance": 0.0412
                      },
                      {
                        "name": "goalkeeperValueNormalized",
                        "importance": 0.0404
                      },
                      {
                        "name": "punches",
                        "importance": 0.0397
                      },
                      {
                        "name": "accurateLongBalls",
                        "importance": 0.0375
                      },
                      {
                        "name": "sweeper_actions_p90",
                        "importance": 0.0375
                      }
                    ],
                    "decomposition": {
                      "base": -0.0216,
                      "items": [
                        {
                          "name": "goalkeeperValueNormalized",
                          "contribution": 0.0383
                        },
                        {
                          "name": "savedShotsFromInsideTheBox",
                          "contribution": -0.0318
                        },
                        {
                          "name": "sweeper_accuracy",
                          "contribution": -0.0207
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0202
                        },
                        {
                          "name": "inside_box_save_rate",
                          "contribution": -0.0166
                        }
                      ],
                      "others": 0.0234,
                      "total": -0.0492,
                      "log_link": false,
                      "margin_base": -0.021558,
                      "item_margins": [
                        {
                          "name": "goalkeeperValueNormalized",
                          "margin": 0.038265
                        },
                        {
                          "name": "savedShotsFromInsideTheBox",
                          "margin": -0.031751
                        },
                        {
                          "name": "sweeper_accuracy",
                          "margin": -0.020693
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.020157
                        },
                        {
                          "name": "inside_box_save_rate",
                          "margin": -0.01663
                        }
                      ],
                      "others_margin": 0.023358
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.075279712677002,
                    "model_output": 7.0753,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "sweeper_actions_p90",
                        "importance": 0.0396
                      },
                      {
                        "name": "accurateKeeperSweeper",
                        "importance": 0.0389
                      },
                      {
                        "name": "accurateOwnHalfPasses",
                        "importance": 0.038
                      },
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.0369
                      },
                      {
                        "name": "touches",
                        "importance": 0.0361
                      }
                    ],
                    "decomposition": {
                      "base": 7.0028,
                      "items": [
                        {
                          "name": "goalkeeperValueNormalized",
                          "contribution": 0.0539
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0159
                        },
                        {
                          "name": "sweeper_accuracy",
                          "contribution": -0.0149
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": 0.0134
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": 0.0121
                        }
                      ],
                      "others": 0.0239,
                      "total": 7.0753,
                      "log_link": false,
                      "margin_base": 7.00281,
                      "item_margins": [
                        {
                          "name": "goalkeeperValueNormalized",
                          "margin": 0.053863
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.015922
                        },
                        {
                          "name": "sweeper_accuracy",
                          "margin": -0.014943
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": 0.013443
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": 0.01207
                        }
                      ],
                      "others_margin": 0.023959
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 42,
                  "role_matches": 0,
                  "minutes_source": "position_median",
                  "volume_basis": "all_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9978, quality 0.437)",
              "stats": {
                "saves": 2.5725,
                "goals_prevented": -0.0491,
                "rating": 7.0753,
                "minutes": 28.5,
                "total_pass": 24.3819,
                "accurate_pass": 17.1882,
                "total_long_balls": 13.4263,
                "accurate_long_balls": 6.4098,
                "touches": 33.1731,
                "clearances": 0.9703,
                "ball_recovery": 7.7814,
                "high_claims": 0.5824,
                "punches": 0.739,
                "aerial_won": 0.1587,
                "sweeper_actions": 0.7406,
                "sweeper_accurate": 0.683,
                "saves_inside_box": 0.8285,
                "possession_lost": 7.321,
                "duels_won": 0.6928,
                "duels_lost": 0.0226,
                "total_contest": 0.1273,
                "won_contest": 0.1273,
                "fouls": 0.1485,
                "fouls_drawn": 0.2569,
                "total_own_half_passes": 15.1054,
                "accurate_own_half_passes": 13.0467
              },
              "params": {
                "market_value_eur": 2600000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9978,
                "reference_quality": 0.505,
                "history_matches": 42,
                "history_shrink": 0.1064,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0138)",
              "stats": {
                "saves": 2.5413,
                "goals_prevented": -0.0491,
                "rating": 7.0753,
                "minutes": 28.5,
                "total_pass": 24.3819,
                "accurate_pass": 17.1882,
                "total_long_balls": 13.4263,
                "accurate_long_balls": 6.4098,
                "touches": 33.1731,
                "clearances": 0.9703,
                "ball_recovery": 7.7814,
                "high_claims": 0.5824,
                "punches": 0.739,
                "aerial_won": 0.1587,
                "sweeper_actions": 0.7406,
                "sweeper_accurate": 0.683,
                "saves_inside_box": 0.8285,
                "possession_lost": 7.321,
                "duels_won": 0.6928,
                "duels_lost": 0.0226,
                "total_contest": 0.1273,
                "won_contest": 0.1273,
                "fouls": 0.1479,
                "fouls_drawn": 0.2563,
                "total_own_half_passes": 15.1054,
                "accurate_own_half_passes": 13.0467
              },
              "params": {
                "blend_weight": 0.0138,
                "history_matches": 42,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.3167,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Osasuna"
              },
              "changes": [
                {
                  "stat": "saves",
                  "before": 2.5725,
                  "after": 2.5413
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 28.5 to 4.4 expected minutes (appearance prob 0.13)",
              "stats": {
                "saves": 0.3916,
                "goals_prevented": -0.0076,
                "rating": 7.0753,
                "minutes": 4.39,
                "total_pass": 3.7576,
                "accurate_pass": 2.6489,
                "total_long_balls": 2.0692,
                "accurate_long_balls": 0.9878,
                "touches": 5.1124,
                "clearances": 0.1495,
                "ball_recovery": 1.1992,
                "high_claims": 0.0898,
                "punches": 0.1139,
                "aerial_won": 0.0245,
                "sweeper_actions": 0.1141,
                "sweeper_accurate": 0.1053,
                "saves_inside_box": 0.1277,
                "possession_lost": 1.1283,
                "duels_won": 0.1068,
                "duels_lost": 0.0035,
                "total_contest": 0.0196,
                "won_contest": 0.0196,
                "fouls": 0.0228,
                "fouls_drawn": 0.0395,
                "total_own_half_passes": 2.3279,
                "accurate_own_half_passes": 2.0107,
                "bench_appearance_probability": 0.131,
                "bench_expected_minutes": 4.39
              },
              "params": {
                "expected_minutes": 4.39,
                "projection_minutes": 28.5,
                "minutes_scale": 0.1541,
                "appearance_probability": 0.131
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 0.3916,
                "goals_prevented": -0.0076,
                "rating": 7.0753,
                "minutes": 4.39,
                "total_pass": 3.7576,
                "accurate_pass": 2.6489,
                "total_long_balls": 2.0692,
                "accurate_long_balls": 0.9878,
                "touches": 5.1124,
                "clearances": 0.1495,
                "ball_recovery": 1.1992,
                "high_claims": 0.0898,
                "punches": 0.1139,
                "aerial_won": 0.0245,
                "sweeper_actions": 0.1141,
                "sweeper_accurate": 0.1053,
                "saves_inside_box": 0.1277,
                "possession_lost": 1.1283,
                "duels_won": 0.1068,
                "duels_lost": 0.0035,
                "total_contest": 0.0196,
                "won_contest": 0.0196,
                "fouls": 0.0228,
                "fouls_drawn": 0.0395,
                "total_own_half_passes": 2.3279,
                "accurate_own_half_passes": 2.0107,
                "bench_appearance_probability": 0.131,
                "bench_expected_minutes": 4.39
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "not_projected_to_play",
              "description": "Not among the projected substitutes: no share of the team's goals or assists",
              "stats": {
                "saves": 0.3916,
                "goals_prevented": -0.0076,
                "rating": 7.0753,
                "minutes": 4.39,
                "total_pass": 3.7576,
                "accurate_pass": 2.6489,
                "total_long_balls": 2.0692,
                "accurate_long_balls": 0.9878,
                "touches": 5.1124,
                "clearances": 0.1495,
                "ball_recovery": 1.1992,
                "high_claims": 0.0898,
                "punches": 0.1139,
                "aerial_won": 0.0245,
                "sweeper_actions": 0.1141,
                "sweeper_accurate": 0.1053,
                "saves_inside_box": 0.1277,
                "possession_lost": 1.1283,
                "duels_won": 0.1068,
                "duels_lost": 0.0035,
                "total_contest": 0.0196,
                "won_contest": 0.0196,
                "fouls": 0.0228,
                "fouls_drawn": 0.0395,
                "total_own_half_passes": 2.3279,
                "accurate_own_half_passes": 2.0107,
                "bench_appearance_probability": 0.131,
                "bench_expected_minutes": 4.39,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.774,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "available_bench_not_projected_used",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "appearance_probability": 0.131,
                "projected_substitutes": 4,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 2 by projected rating, fifa_overall 79.0; not used by the projection)",
              "stats": {
                "saves": 0.3916,
                "goals_prevented": -0.0076,
                "rating": 7.0753,
                "minutes": 4.39,
                "total_pass": 3.7576,
                "accurate_pass": 2.6489,
                "total_long_balls": 2.0692,
                "accurate_long_balls": 0.9878,
                "touches": 5.1124,
                "clearances": 0.1495,
                "ball_recovery": 1.1992,
                "high_claims": 0.0898,
                "punches": 0.1139,
                "aerial_won": 0.0245,
                "sweeper_actions": 0.1141,
                "sweeper_accurate": 0.1053,
                "saves_inside_box": 0.1277,
                "possession_lost": 1.1283,
                "duels_won": 0.1068,
                "duels_lost": 0.0035,
                "total_contest": 0.0196,
                "won_contest": 0.0196,
                "fouls": 0.0228,
                "fouls_drawn": 0.0395,
                "total_own_half_passes": 2.3279,
                "accurate_own_half_passes": 2.0107,
                "bench_appearance_probability": 0.131,
                "bench_expected_minutes": 4.39,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.774,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "available_bench_not_projected_used",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 79.0
              },
              "params": {
                "match_squad_rank": 2,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 1581,
                "fifa_rank": 954.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 79.0
              }
            }
          ]
        },
        "Enzo Boyomo": {
          "player_id": 1067582,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 22,
          "height": 181,
          "market_value": 14600000,
          "stats": {
            "interceptions": 0,
            "tackles": 1,
            "tackles_won": 0,
            "clearances": 2,
            "aerial_won": 1,
            "total_shots": 0,
            "rating": 6.7513,
            "minutes": 35,
            "total_pass": 54,
            "accurate_pass": 48,
            "duels_won": 4,
            "total_long_balls": 5,
            "accurate_long_balls": 3,
            "total_own_half_passes": 36,
            "accurate_own_half_passes": 34,
            "total_opp_half_passes": 18,
            "accurate_opp_half_passes": 14,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 68,
            "possession_lost": 6.7171,
            "dispossessed": 0.3444,
            "duels_lost": 4,
            "aerial_lost": 1,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 4,
            "challenges_lost": 0,
            "fouls": 2,
            "fouls_drawn": 0,
            "blocks": 1,
            "goal_rate": 0.009,
            "goals": 0,
            "assist_rate": 0.1177,
            "assists": 0,
            "expected_goals": 0.0411,
            "expected_assists": 0.0153,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0261,
            "ball_carries": 18,
            "total_progression": 53,
            "progressive_carries": 1,
            "key_pass": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.613,
            "bench_expected_minutes": 34.95,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 4,
            "projected_substitution_expected_count": 2.774,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0247,
            "projected_assists": 0,
            "assist_probability": 0.0093,
            "finishing_factor": 0.8,
            "creation_factor": 1.25,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "match_id": 16416335,
              "match_date": "2026-09-16",
              "home_team": "Atlético Madrid",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0041,
                "total_shots": 0,
                "total_pass": 48,
                "accurate_pass": 43,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 7,
                "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": 16416318,
              "match_date": "2026-09-06",
              "home_team": "Deportivo Alavés",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 60,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0033,
                "total_shots": 0,
                "total_pass": 27,
                "accurate_pass": 26,
                "tackles": 3,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 5,
                "aerial_won": 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": 16416314,
              "match_date": "2026-08-31",
              "home_team": "Osasuna",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Getafe",
              "stats": {
                "minutes": 51,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 11,
                "accurate_pass": 8,
                "tackles": 2,
                "tackles_won": 2,
                "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": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083723,
              "match_date": "2026-05-23",
              "home_team": "Getafe",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0035,
                "total_shots": 0,
                "total_pass": 19,
                "accurate_pass": 16,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "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": "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": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.2174,
                "expected_assists": 0.0095,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 2,
                "total_pass": 73,
                "accurate_pass": 67,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083634,
              "match_date": "2026-05-12",
              "home_team": "Osasuna",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0211,
                "total_shots": 0,
                "total_pass": 53,
                "accurate_pass": 50,
                "clearances": 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"
            },
            {
              "match_id": 14083568,
              "match_date": "2026-05-08",
              "home_team": "Levante UD",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.007,
                "total_shots": 0,
                "total_pass": 28,
                "accurate_pass": 26,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 7,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083495,
              "match_date": "2026-05-02",
              "home_team": "Osasuna",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0183,
                "expected_assists": 0.0013,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 28,
                "accurate_pass": 22,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 4,
                "aerial_won": 2,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083231,
              "match_date": "2026-04-26",
              "home_team": "Osasuna",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0638,
                "total_shots": 0,
                "total_pass": 75,
                "accurate_pass": 73,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 5
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083258,
              "match_date": "2026-04-21",
              "home_team": "Athletic Club",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1131,
                "expected_assists": 0.0086,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 97,
                "accurate_pass": 88,
                "clearances": 3,
                "ball_recovery": 5
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 1828,
            "combined_rank_score": 705.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 445.0,
            "sofascore_rating": 6.9,
            "sofascore_appearances": 1.0,
            "fifa_rank": 966.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 9,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7513,
            "source_file": "data/player_rankings.csv",
            "player_name": "Enzo Boyomo",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Benjamin André",
                  "ranking": 1823
                },
                {
                  "player_name": "Konstantinos Mavropanos",
                  "ranking": 1824
                },
                {
                  "player_name": "Nicolás Tagliafico",
                  "ranking": 1825
                },
                {
                  "player_name": "Joaquín Soto",
                  "ranking": 1826
                },
                {
                  "player_name": "Jeon Seong-jin",
                  "ranking": 1827
                }
              ],
              "lower": [
                {
                  "player_name": "Yasin Ayari",
                  "ranking": 1829
                },
                {
                  "player_name": "Fernando Ovelar",
                  "ranking": 1830
                },
                {
                  "player_name": "Diego Sanhueza",
                  "ranking": 1831
                },
                {
                  "player_name": "Aaron Astudillo",
                  "ranking": 1832
                },
                {
                  "player_name": "Valentin Rongier",
                  "ranking": 1833
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.756,
          "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.756,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 34.95,
            "bench_appearance_prob": 0.613,
            "market_value_adjustment": 1.0028,
            "fbref_prior_metrics": {
              "squad": "Osasuna",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 1.0,
              "starts": 0.0,
              "sub_appearances": 1.0,
              "minutes_per_sub": 52.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.04
            },
            "rationale": "Bench projection scaled from XGBoost D_service (33 historical appearances) to 35.0 expected mins (appearance prob 0.61); FBref playing time empirical prior: 1.0 sub appearances, 52.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 0.3433,
                "tackles": 0.6623,
                "tackles_won": 0.3639,
                "clearances": 1.8682,
                "aerial_won": 0.465,
                "total_shots": 0.1457,
                "rating": 6.7513,
                "minutes": 26.69,
                "total_pass": 40.8349,
                "accurate_pass": 36.8779,
                "duels_won": 2.7436,
                "total_long_balls": 3.8855,
                "accurate_long_balls": 2.1444,
                "total_own_half_passes": 27.2533,
                "accurate_own_half_passes": 26.211,
                "total_opp_half_passes": 13.5817,
                "accurate_opp_half_passes": 10.6669,
                "crosses_total": 0.1555,
                "crosses_accurate": 0.0034,
                "touches": 51.7024,
                "possession_lost": 5.1153,
                "dispossessed": 0.3434,
                "duels_lost": 2.9807,
                "aerial_lost": 1.2089,
                "total_contest": 0.2238,
                "won_contest": 0.1359,
                "ball_recovery": 3.2607,
                "challenges_lost": 0.1198,
                "fouls": 1.2457,
                "fouls_drawn": 0.1942,
                "blocks": 0.5002,
                "goals": 0.0069,
                "goal_rate": 0.0069,
                "assists": 0.0899,
                "assist_rate": 0.0899,
                "expected_goals": 0.0305,
                "expected_assists": 0.0111,
                "shots_on_target": 0.1457,
                "big_chances_created": 0.0124,
                "xgot": 0.0194,
                "ball_carries": 13.6417,
                "total_progression": 40.4063,
                "progressive_carries": 0.4492,
                "key_pass": 0.2949,
                "shots_off_target": 0.0
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-11T10:25:50.810190+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 623,
                    "rows": 20487
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1507,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Deportivo Alavés",
                    "minutes": 60.0,
                    "is_starting": true,
                    "weight": 0.1281,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Getafe",
                    "minutes": 51.0,
                    "is_starting": false,
                    "weight": 0.1089,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0926,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0787,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-12",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0669,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-05-08",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0568,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0483,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-04-26",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0411,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-04-21",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0349,
                    "rating": 6.3
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalClearance": 4.5699,
                  "aerialWon": 0.8142,
                  "totalClearance_p90": 5.2285,
                  "totalTackle": 1.5993,
                  "totalPass": 40.8349
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.3433154821395874,
                    "model_output": 0.3433,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3015
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0387
                      },
                      {
                        "name": "touches",
                        "importance": 0.0279
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0248
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0238
                      }
                    ],
                    "decomposition": {
                      "base": 0.859,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4784
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.035
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0094
                        },
                        {
                          "name": "touches",
                          "contribution": 0.008
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0071
                        }
                      ],
                      "others": -0.0126,
                      "total": 0.3433,
                      "log_link": true,
                      "margin_base": -0.152032,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.81414
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.096461
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.026967
                        },
                        {
                          "name": "touches",
                          "margin": 0.0223
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.019853
                        }
                      ],
                      "others_margin": -0.035887
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 0.6623123288154602,
                    "model_output": 0.6623,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2671
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0621
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0475
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0423
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 1.3957,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.7262
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0323
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0247
                        },
                        {
                          "name": "wonTackle",
                          "contribution": 0.0255
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0206
                        }
                      ],
                      "others": -0.0457,
                      "total": 0.6623,
                      "log_link": true,
                      "margin_base": 0.333417,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.734609
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.04947
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.038105
                        },
                        {
                          "name": "wonTackle",
                          "margin": 0.037764
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.029459
                        }
                      ],
                      "others_margin": -0.066684
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.3638812005519867,
                    "model_output": 0.3639,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2228
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0652
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0462
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0412
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.8578,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4496
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.017
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0156
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.015
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0118
                        }
                      ],
                      "others": -0.0161,
                      "total": 0.3639,
                      "log_link": true,
                      "margin_base": -0.153422,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.742723
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.042579
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.039166
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.037547
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.030706
                        }
                      ],
                      "others_margin": -0.043117
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 1.86820387840271,
                    "model_output": 1.8682,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2968
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1597
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0817
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0344
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0202
                      }
                    ],
                    "decomposition": {
                      "base": 3.4412,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -2.1133
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.262
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.1185
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0955
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0863
                        }
                      ],
                      "others": -0.022,
                      "total": 1.8682,
                      "log_link": true,
                      "margin_base": 1.235809,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.952236
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.180048
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.071874
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.054388
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.046727
                        }
                      ],
                      "others_margin": -0.011633
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.4649512469768524,
                    "model_output": 0.465,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1612
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1495
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.087
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0431
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0315
                      }
                    ],
                    "decomposition": {
                      "base": 1.3784,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.863
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0973
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0367
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0398
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0163
                        }
                      ],
                      "others": -0.0459,
                      "total": 0.465,
                      "log_link": true,
                      "margin_base": 0.320928,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.983674
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.209112
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.084136
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.083903
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.032457
                        }
                      ],
                      "others_margin": -0.094461
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.1457,
                    "model_output": 0.1371,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.109
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0656
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0378
                      },
                      {
                        "name": "rating",
                        "importance": 0.0315
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0302
                      }
                    ],
                    "decomposition": {
                      "base": 0.4723,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2367
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0171
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0127
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.008
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0062
                        }
                      ],
                      "others": -0.0545,
                      "total": 0.1371,
                      "log_link": false,
                      "margin_base": 0.47232,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.236654
                        },
                        {
                          "name": "rating",
                          "margin": -0.017068
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.012705
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": -0.007959
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.006207
                        }
                      ],
                      "others_margin": -0.054631
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.751265525817871,
                    "model_output": 6.7513,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0729
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0624
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.059
                      },
                      {
                        "name": "touches",
                        "importance": 0.0384
                      },
                      {
                        "name": "rating",
                        "importance": 0.037
                      }
                    ],
                    "decomposition": {
                      "base": 6.786,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": -0.0152
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0138
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0125
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0088
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0084
                        }
                      ],
                      "others": -0.0104,
                      "total": 6.7513,
                      "log_link": false,
                      "margin_base": 6.785968,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": -0.01522
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.013752
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.012453
                        },
                        {
                          "name": "touches",
                          "margin": 0.008842
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.00837
                        }
                      ],
                      "others_margin": -0.01049
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 33,
                  "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.0028, quality 0.575)",
              "stats": {
                "interceptions": 0.3443,
                "tackles": 0.6642,
                "tackles_won": 0.3649,
                "clearances": 1.8734,
                "aerial_won": 0.4663,
                "total_shots": 0.1461,
                "rating": 6.7513,
                "minutes": 26.69,
                "total_pass": 40.9492,
                "accurate_pass": 36.9812,
                "duels_won": 2.7513,
                "total_long_balls": 3.8964,
                "accurate_long_balls": 2.1504,
                "total_own_half_passes": 27.3296,
                "accurate_own_half_passes": 26.2844,
                "total_opp_half_passes": 13.6197,
                "accurate_opp_half_passes": 10.6968,
                "crosses_total": 0.1559,
                "crosses_accurate": 0.0034,
                "touches": 51.8472,
                "possession_lost": 5.1296,
                "dispossessed": 0.3444,
                "duels_lost": 2.989,
                "aerial_lost": 1.2123,
                "total_contest": 0.2244,
                "won_contest": 0.1363,
                "ball_recovery": 3.2698,
                "challenges_lost": 0.1201,
                "fouls": 1.2492,
                "fouls_drawn": 0.1947,
                "blocks": 0.5016,
                "goals": 0.0069,
                "goal_rate": 0.0069,
                "assists": 0.0902,
                "assist_rate": 0.0902,
                "expected_goals": 0.0306,
                "expected_assists": 0.0111,
                "shots_on_target": 0.1461,
                "big_chances_created": 0.0124,
                "xgot": 0.0195,
                "ball_carries": 13.6799,
                "total_progression": 40.5194,
                "progressive_carries": 0.4505,
                "key_pass": 0.2957,
                "shots_off_target": 0.0
              },
              "params": {
                "market_value_eur": 14600000,
                "quality_factor": 0.5748,
                "boost_factor": 1.0028,
                "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.0034)",
              "stats": {
                "interceptions": 0.3431,
                "tackles": 0.6642,
                "tackles_won": 0.367,
                "clearances": 1.8734,
                "aerial_won": 0.4663,
                "total_shots": 0.1456,
                "rating": 6.7513,
                "minutes": 26.69,
                "total_pass": 40.9492,
                "accurate_pass": 36.9812,
                "duels_won": 2.7513,
                "total_long_balls": 3.8964,
                "accurate_long_balls": 2.1504,
                "total_own_half_passes": 27.3296,
                "accurate_own_half_passes": 26.2844,
                "total_opp_half_passes": 13.6197,
                "accurate_opp_half_passes": 10.6968,
                "crosses_total": 0.1554,
                "crosses_accurate": 0.0034,
                "touches": 51.8472,
                "possession_lost": 5.1296,
                "dispossessed": 0.3444,
                "duels_lost": 2.989,
                "aerial_lost": 1.2123,
                "total_contest": 0.2244,
                "won_contest": 0.1363,
                "ball_recovery": 3.2698,
                "challenges_lost": 0.1201,
                "fouls": 1.2483,
                "fouls_drawn": 0.1957,
                "blocks": 0.5016,
                "goals": 0.0069,
                "goal_rate": 0.0069,
                "assists": 0.0899,
                "assist_rate": 0.0899,
                "expected_goals": 0.0306,
                "expected_assists": 0.0111,
                "shots_on_target": 0.1456,
                "big_chances_created": 0.0124,
                "xgot": 0.0195,
                "ball_carries": 13.6799,
                "total_progression": 40.5194,
                "progressive_carries": 0.4505,
                "key_pass": 0.2957,
                "shots_off_target": 0.0
              },
              "params": {
                "blend_weight": 0.0034,
                "history_matches": 33,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.2966,
                "prior_reliability": 0.04,
                "competition": "La Liga",
                "squad": "Osasuna"
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 26.7 to 35.0 expected minutes (appearance prob 0.61)",
              "stats": {
                "interceptions": 0.4493,
                "tackles": 0.8698,
                "tackles_won": 0.4806,
                "clearances": 2.4532,
                "aerial_won": 0.6106,
                "total_shots": 0.1907,
                "rating": 6.7513,
                "minutes": 34.95,
                "total_pass": 53.6221,
                "accurate_pass": 48.4261,
                "duels_won": 3.6028,
                "total_long_balls": 5.1023,
                "accurate_long_balls": 2.8159,
                "total_own_half_passes": 35.7875,
                "accurate_own_half_passes": 34.4189,
                "total_opp_half_passes": 17.8347,
                "accurate_opp_half_passes": 14.0072,
                "crosses_total": 0.2035,
                "crosses_accurate": 0.0045,
                "touches": 67.8928,
                "possession_lost": 6.7171,
                "dispossessed": 0.3444,
                "duels_lost": 3.914,
                "aerial_lost": 1.2123,
                "total_contest": 0.2938,
                "won_contest": 0.1785,
                "ball_recovery": 4.2817,
                "challenges_lost": 0.1201,
                "fouls": 1.6346,
                "fouls_drawn": 0.2563,
                "blocks": 0.6568,
                "goals": 0.009,
                "goal_rate": 0.009,
                "assists": 0.1177,
                "assist_rate": 0.1177,
                "expected_goals": 0.0401,
                "expected_assists": 0.0145,
                "shots_on_target": 0.1907,
                "big_chances_created": 0.0162,
                "xgot": 0.0255,
                "ball_carries": 17.9135,
                "total_progression": 53.0593,
                "progressive_carries": 0.5899,
                "key_pass": 0.3872,
                "shots_off_target": 0.0,
                "bench_appearance_probability": 0.613,
                "bench_expected_minutes": 34.95
              },
              "params": {
                "expected_minutes": 34.95,
                "projection_minutes": 26.69,
                "minutes_scale": 1.3095,
                "appearance_probability": 0.613
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.4493,
                "tackles": 0.8698,
                "tackles_won": 0.4806,
                "clearances": 2.4532,
                "aerial_won": 0.6106,
                "total_shots": 0.1907,
                "rating": 6.7513,
                "minutes": 34.95,
                "total_pass": 53.6221,
                "accurate_pass": 48.4261,
                "duels_won": 3.6028,
                "total_long_balls": 5.1023,
                "accurate_long_balls": 2.8159,
                "total_own_half_passes": 35.7875,
                "accurate_own_half_passes": 34.4189,
                "total_opp_half_passes": 17.8347,
                "accurate_opp_half_passes": 14.0072,
                "crosses_total": 0.2035,
                "crosses_accurate": 0.0045,
                "touches": 67.8928,
                "possession_lost": 6.7171,
                "dispossessed": 0.3444,
                "duels_lost": 3.914,
                "aerial_lost": 1.2123,
                "total_contest": 0.2938,
                "won_contest": 0.1785,
                "ball_recovery": 4.2817,
                "challenges_lost": 0.1201,
                "fouls": 1.6346,
                "fouls_drawn": 0.2563,
                "blocks": 0.6568,
                "goals": 0.009,
                "goal_rate": 0.009,
                "assists": 0.1177,
                "assist_rate": 0.1177,
                "expected_goals": 0.0401,
                "expected_assists": 0.0145,
                "shots_on_target": 0.1907,
                "big_chances_created": 0.0162,
                "xgot": 0.0255,
                "ball_carries": 17.9135,
                "total_progression": 53.0593,
                "progressive_carries": 0.5899,
                "key_pass": 0.3872,
                "shots_off_target": 0.0,
                "bench_appearance_probability": 0.613,
                "bench_expected_minutes": 34.95
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 0.83 (squad xG sum 0.8154, xG scale 1.0240, xA scale 1.0541, team xA 0.54 = 0.65 x lambda)",
              "stats": {
                "interceptions": 0.4493,
                "tackles": 0.8698,
                "tackles_won": 0.4806,
                "clearances": 2.4532,
                "aerial_won": 0.6106,
                "total_shots": 0.1907,
                "rating": 6.7513,
                "minutes": 34.95,
                "total_pass": 53.6221,
                "accurate_pass": 48.4261,
                "duels_won": 3.6028,
                "total_long_balls": 5.1023,
                "accurate_long_balls": 2.8159,
                "total_own_half_passes": 35.7875,
                "accurate_own_half_passes": 34.4189,
                "total_opp_half_passes": 17.8347,
                "accurate_opp_half_passes": 14.0072,
                "crosses_total": 0.2035,
                "crosses_accurate": 0.0045,
                "touches": 67.8928,
                "possession_lost": 6.7171,
                "dispossessed": 0.3444,
                "duels_lost": 3.914,
                "aerial_lost": 1.2123,
                "total_contest": 0.2938,
                "won_contest": 0.1785,
                "ball_recovery": 4.2817,
                "challenges_lost": 0.1201,
                "fouls": 1.6346,
                "fouls_drawn": 0.2563,
                "blocks": 0.6568,
                "goal_rate": 0.009,
                "goals": 0,
                "assist_rate": 0.1177,
                "assists": 0,
                "expected_goals": 0.0411,
                "expected_assists": 0.0153,
                "shots_on_target": 0.1907,
                "big_chances_created": 0.0162,
                "xgot": 0.0261,
                "ball_carries": 17.9135,
                "total_progression": 53.0593,
                "progressive_carries": 0.5899,
                "key_pass": 0.3872,
                "shots_off_target": 0.0,
                "bench_appearance_probability": 0.613,
                "bench_expected_minutes": 34.95,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.774,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 0.835,
                "squad_xg_sum": 0.8154,
                "squad_xa_sum": 0.5149,
                "team_expected_assists": 0.5427,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.024,
                "xa_scale": 1.0541,
                "opponent_lambda": 1.934,
                "scoreline_reset": true,
                "appearance_weight": 0.613
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 9 by projected rating, fifa_overall 79.0; not used by the projection)",
              "stats": {
                "interceptions": 0.4493,
                "tackles": 0.8698,
                "tackles_won": 0.4806,
                "clearances": 2.4532,
                "aerial_won": 0.6106,
                "total_shots": 0.1907,
                "rating": 6.7513,
                "minutes": 34.95,
                "total_pass": 53.6221,
                "accurate_pass": 48.4261,
                "duels_won": 3.6028,
                "total_long_balls": 5.1023,
                "accurate_long_balls": 2.8159,
                "total_own_half_passes": 35.7875,
                "accurate_own_half_passes": 34.4189,
                "total_opp_half_passes": 17.8347,
                "accurate_opp_half_passes": 14.0072,
                "crosses_total": 0.2035,
                "crosses_accurate": 0.0045,
                "touches": 67.8928,
                "possession_lost": 6.7171,
                "dispossessed": 0.3444,
                "duels_lost": 3.914,
                "aerial_lost": 1.2123,
                "total_contest": 0.2938,
                "won_contest": 0.1785,
                "ball_recovery": 4.2817,
                "challenges_lost": 0.1201,
                "fouls": 1.6346,
                "fouls_drawn": 0.2563,
                "blocks": 0.6568,
                "goal_rate": 0.009,
                "goals": 0,
                "assist_rate": 0.1177,
                "assists": 0,
                "expected_goals": 0.0411,
                "expected_assists": 0.0153,
                "shots_on_target": 0.1907,
                "big_chances_created": 0.0162,
                "xgot": 0.0261,
                "ball_carries": 17.9135,
                "total_progression": 53.0593,
                "progressive_carries": 0.5899,
                "key_pass": 0.3872,
                "shots_off_target": 0.0,
                "bench_appearance_probability": 0.613,
                "bench_expected_minutes": 34.95,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.774,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 1.25,
                "fifa_overall": 79.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": 1828,
                "fifa_rank": 966.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": 0.4493,
                "tackles": 0.8698,
                "tackles_won": 0.4806,
                "clearances": 2.4532,
                "aerial_won": 0.6106,
                "total_shots": 0.1907,
                "rating": 6.7513,
                "minutes": 34.95,
                "total_pass": 53.6221,
                "accurate_pass": 48.4261,
                "duels_won": 3.6028,
                "total_long_balls": 5.1023,
                "accurate_long_balls": 2.8159,
                "total_own_half_passes": 35.7875,
                "accurate_own_half_passes": 34.4189,
                "total_opp_half_passes": 17.8347,
                "accurate_opp_half_passes": 14.0072,
                "crosses_total": 0.2035,
                "crosses_accurate": 0.0045,
                "touches": 67.8928,
                "possession_lost": 6.7171,
                "dispossessed": 0.3444,
                "duels_lost": 3.914,
                "aerial_lost": 1.2123,
                "total_contest": 0.2938,
                "won_contest": 0.1785,
                "ball_recovery": 4.2817,
                "challenges_lost": 0.1201,
                "fouls": 1.6346,
                "fouls_drawn": 0.2563,
                "blocks": 0.6568,
                "goal_rate": 0.009,
                "goals": 0,
                "assist_rate": 0.1177,
                "assists": 0,
                "expected_goals": 0.0411,
                "expected_assists": 0.0153,
                "shots_on_target": 0.1907,
                "big_chances_created": 0.0162,
                "xgot": 0.0261,
                "ball_carries": 17.9135,
                "total_progression": 53.0593,
                "progressive_carries": 0.5899,
                "key_pass": 0.3872,
                "shots_off_target": 0.0,
                "bench_appearance_probability": 0.613,
                "bench_expected_minutes": 34.95,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.774,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0247,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 1.25,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0247,
                "scorer_weight": 0.0202,
                "squad_weight_total": 0.8684,
                "weight_share": 0.0232,
                "finishing_factor": 0.8,
                "appearance_weight": 0.613,
                "weight_rank": 10,
                "eligible_players": 14
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "interceptions": 0.4493,
                "tackles": 0.8698,
                "tackles_won": 0.4806,
                "clearances": 2.4532,
                "aerial_won": 0.6106,
                "total_shots": 0.1907,
                "rating": 6.7513,
                "minutes": 34.95,
                "total_pass": 53.6221,
                "accurate_pass": 48.4261,
                "duels_won": 3.6028,
                "total_long_balls": 5.1023,
                "accurate_long_balls": 2.8159,
                "total_own_half_passes": 35.7875,
                "accurate_own_half_passes": 34.4189,
                "total_opp_half_passes": 17.8347,
                "accurate_opp_half_passes": 14.0072,
                "crosses_total": 0.2035,
                "crosses_accurate": 0.0045,
                "touches": 67.8928,
                "possession_lost": 6.7171,
                "dispossessed": 0.3444,
                "duels_lost": 3.914,
                "aerial_lost": 1.2123,
                "total_contest": 0.2938,
                "won_contest": 0.1785,
                "ball_recovery": 4.2817,
                "challenges_lost": 0.1201,
                "fouls": 1.6346,
                "fouls_drawn": 0.2563,
                "blocks": 0.6568,
                "goal_rate": 0.009,
                "goals": 0,
                "assist_rate": 0.1177,
                "assists": 0,
                "expected_goals": 0.0411,
                "expected_assists": 0.0153,
                "shots_on_target": 0.1907,
                "big_chances_created": 0.0162,
                "xgot": 0.0261,
                "ball_carries": 17.9135,
                "total_progression": 53.0593,
                "progressive_carries": 0.5899,
                "key_pass": 0.3872,
                "shots_off_target": 0.0,
                "bench_appearance_probability": 0.613,
                "bench_expected_minutes": 34.95,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.774,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0247,
                "projected_assists": 0,
                "assist_probability": 0.0093,
                "finishing_factor": 0.8,
                "creation_factor": 1.25,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0093,
                "provider_weight": 0.0117,
                "squad_weight_total": 0.4935,
                "weight_share": 0.0238,
                "creation_factor": 1.25,
                "appearance_weight": 0.613,
                "weight_rank": 13,
                "eligible_players": 14
              }
            }
          ]
        },
        "Jorge Herrando": {
          "player_id": 944225,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 5,
          "height": 192,
          "market_value": 3200000,
          "stats": {
            "interceptions": 0,
            "tackles": 0,
            "tackles_won": 0,
            "clearances": 1,
            "aerial_won": 0,
            "total_shots": 0,
            "rating": 6.7536,
            "minutes": 14,
            "total_pass": 6,
            "accurate_pass": 5,
            "duels_won": 1,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_own_half_passes": 3,
            "accurate_own_half_passes": 3,
            "total_opp_half_passes": 3,
            "accurate_opp_half_passes": 2,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 9,
            "possession_lost": 1.1384,
            "dispossessed": 0.0,
            "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.0017,
            "expected_assists": 0.0012,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 2,
            "total_progression": 1,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.217,
            "bench_expected_minutes": 13.58,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 4,
            "projected_substitution_expected_count": 2.774,
            "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": 78.0
          },
          "latest_10_games": [
            {
              "match_id": 16416314,
              "match_date": "2026-08-31",
              "home_team": "Osasuna",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Getafe",
              "stats": {
                "minutes": 39,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0027,
                "total_shots": 0,
                "total_pass": 30,
                "accurate_pass": 27,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 3,
                "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": 16815992,
              "match_date": "2026-08-27",
              "home_team": "Celta Vigo",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 58,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0048,
                "total_shots": 0,
                "total_pass": 40,
                "accurate_pass": 34,
                "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": 16416296,
              "match_date": "2026-08-24",
              "home_team": "Osasuna",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.202,
                "expected_assists": 0.003,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 42,
                "accurate_pass": 33,
                "interceptions": 3,
                "clearances": 7,
                "aerial_won": 4,
                "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": 14083723,
              "match_date": "2026-05-23",
              "home_team": "Getafe",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Getafe",
              "stats": {
                "minutes": 68,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.002,
                "total_shots": 0,
                "total_pass": 10,
                "accurate_pass": 6,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 8,
                "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": 14083258,
              "match_date": "2026-04-21",
              "home_team": "Athletic Club",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 84,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0029,
                "total_shots": 0,
                "total_pass": 88,
                "accurate_pass": 82,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 3,
                "clearances": 5,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083172,
              "match_date": "2026-04-12",
              "home_team": "Osasuna",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 45,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0067,
                "total_shots": 0,
                "total_pass": 39,
                "accurate_pass": 34,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 4
              },
              "has_player_stats": true
            },
            {
              "match_id": 14081809,
              "match_date": "2026-04-05",
              "home_team": "Deportivo Alavés",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 12,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0003,
                "total_shots": 0,
                "total_pass": 2,
                "accurate_pass": 2,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083652,
              "match_date": "2026-03-15",
              "home_team": "Real Sociedad",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 32,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.008,
                "total_shots": 0,
                "total_pass": 23,
                "accurate_pass": 18,
                "clearances": 3,
                "aerial_won": 3,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true
            },
            {
              "match_id": 14081805,
              "match_date": "2026-03-07",
              "home_team": "Osasuna",
              "away_team": "Mallorca",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Mallorca",
              "stats": {
                "minutes": 77,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0033,
                "total_shots": 0,
                "total_pass": 36,
                "accurate_pass": 31,
                "tackles": 4,
                "tackles_won": 2,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083591,
              "match_date": "2026-03-01",
              "home_team": "Valencia",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Valencia",
              "stats": {
                "minutes": 81,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0015,
                "total_shots": 0,
                "total_pass": 51,
                "accurate_pass": 47,
                "interceptions": 2,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 6
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 1616,
            "combined_rank_score": 887.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 657.0,
            "sofascore_rating": 6.7333,
            "sofascore_appearances": 3.0,
            "fifa_rank": 1117.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 8,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7536,
            "source_file": "data/player_rankings.csv",
            "player_name": "Jorge Herrando",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Piotr Parzyszek",
                  "ranking": 1611
                },
                {
                  "player_name": "Khumoyunmirzo Iminov",
                  "ranking": 1612
                },
                {
                  "player_name": "Shakhboz Juraev",
                  "ranking": 1613
                },
                {
                  "player_name": "Nika Kacharava",
                  "ranking": 1614
                },
                {
                  "player_name": "Andrej Stojchevski",
                  "ranking": 1615
                }
              ],
              "lower": [
                {
                  "player_name": "Giorgi Tsitaishvili",
                  "ranking": 1617
                },
                {
                  "player_name": "Rustambek Fomin",
                  "ranking": 1618
                },
                {
                  "player_name": "Khamidullo Abdunabiev",
                  "ranking": 1619
                },
                {
                  "player_name": "Jovani Welch",
                  "ranking": 1620
                },
                {
                  "player_name": "Orlando Galo",
                  "ranking": 1621
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.771,
          "history_matches": 31,
          "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": 31,
            "data_confidence": 0.771,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 13.58206294284004,
            "bench_appearance_prob": 0.217,
            "market_value_adjustment": 0.9973,
            "fbref_prior_metrics": {
              "squad": "Osasuna",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "sub_appearances": 0.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.14
            },
            "rationale": "Bench projection scaled from XGBoost D_service (31 historical appearances) to 13.6 expected mins (appearance prob 0.22); FBref playing time empirical prior: 0.0 sub appearances, 0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 0.3601,
                "tackles": 0.4919,
                "tackles_won": 0.2793,
                "clearances": 1.7658,
                "aerial_won": 0.5354,
                "total_shots": 0.1087,
                "rating": 6.7536,
                "minutes": 24.44,
                "total_pass": 10.9264,
                "accurate_pass": 9.1122,
                "duels_won": 1.681,
                "total_long_balls": 1.1563,
                "accurate_long_balls": 0.5,
                "total_own_half_passes": 5.8748,
                "accurate_own_half_passes": 5.0002,
                "total_opp_half_passes": 5.0516,
                "accurate_opp_half_passes": 4.112,
                "crosses_total": 0.0679,
                "crosses_accurate": 0.0,
                "touches": 15.6342,
                "possession_lost": 2.054,
                "dispossessed": 0.0,
                "duels_lost": 1.4063,
                "aerial_lost": 0.3263,
                "total_contest": 0.094,
                "won_contest": 0.094,
                "ball_recovery": 0.5843,
                "challenges_lost": 0.382,
                "fouls": 0.698,
                "fouls_drawn": 0.2419,
                "blocks": 0.3458,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0031,
                "expected_assists": 0.0021,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 3.3205,
                "total_progression": 1.04,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1087
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-11T10:25:50.810190+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 623,
                    "rows": 20487
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Getafe",
                    "minutes": 39.0,
                    "is_starting": true,
                    "weight": 0.151,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Celta Vigo",
                    "minutes": 58.0,
                    "is_starting": true,
                    "weight": 0.1283,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1091,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Getafe",
                    "minutes": 68.0,
                    "is_starting": true,
                    "weight": 0.0927,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-04-21",
                    "opponent": "Athletic Club",
                    "minutes": 84.0,
                    "is_starting": true,
                    "weight": 0.0788,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-04-12",
                    "opponent": "Real Betis",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.067,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-04-05",
                    "opponent": "Deportivo Alavés",
                    "minutes": 12.0,
                    "is_starting": false,
                    "weight": 0.0569,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-03-15",
                    "opponent": "Real Sociedad",
                    "minutes": 32.0,
                    "is_starting": false,
                    "weight": 0.0484,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-03-07",
                    "opponent": "Mallorca",
                    "minutes": 77.0,
                    "is_starting": true,
                    "weight": 0.0411,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-03-01",
                    "opponent": "Valencia",
                    "minutes": 81.0,
                    "is_starting": true,
                    "weight": 0.035,
                    "rating": 6.9
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalClearance": 3.6231,
                  "aerialWon": 1.0444,
                  "totalClearance_p90": 5.3846,
                  "totalTackle": 0.76,
                  "totalPass": 33.9673
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.3600623905658722,
                    "model_output": 0.3601,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3015
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0387
                      },
                      {
                        "name": "touches",
                        "importance": 0.0279
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0248
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0238
                      }
                    ],
                    "decomposition": {
                      "base": 0.859,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4684
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0172
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0127
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0105
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.007
                        }
                      ],
                      "others": -0.0085,
                      "total": 0.3601,
                      "log_link": true,
                      "margin_base": -0.152032,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.788031
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.045033
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.033563
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.027676
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.018798
                        }
                      ],
                      "others_margin": -0.023472
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 0.4918835759162903,
                    "model_output": 0.4919,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2671
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0621
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0475
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0423
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 1.3957,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.7481
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0242
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.022
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0193
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0155
                        }
                      ],
                      "others": -0.0747,
                      "total": 0.4919,
                      "log_link": true,
                      "margin_base": 0.333417,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.767807
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.038133
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.035856
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.032547
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.027011
                        }
                      ],
                      "others_margin": -0.141576
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.2793399393558502,
                    "model_output": 0.2793,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2228
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0652
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0462
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0412
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.8578,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4531
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0175
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0159
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0146
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0136
                        }
                      ],
                      "others": -0.0638,
                      "total": 0.2793,
                      "log_link": true,
                      "margin_base": -0.153422,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.751278
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.044104
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.042018
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.040064
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.038964
                        }
                      ],
                      "others_margin": -0.205476
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 1.7657911777496338,
                    "model_output": 1.7658,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2968
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1597
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0817
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0344
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0202
                      }
                    ],
                    "decomposition": {
                      "base": 3.4412,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -2.1264
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.1057
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0826
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0739
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0744
                        }
                      ],
                      "others": 0.1144,
                      "total": 1.7658,
                      "log_link": true,
                      "margin_base": 1.235809,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.962184
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.077323
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.05652
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.048005
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.046123
                        }
                      ],
                      "others_margin": 0.067003
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.5353968143463135,
                    "model_output": 0.5354,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1612
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1495
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.087
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0431
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0315
                      }
                    ],
                    "decomposition": {
                      "base": 1.3784,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.8163
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0925
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0293
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.022
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0205
                        }
                      ],
                      "others": 0.035,
                      "total": 0.5354,
                      "log_link": true,
                      "margin_base": 0.320928,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.896938
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.179781
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.060602
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.043093
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.040072
                        }
                      ],
                      "others_margin": 0.06742
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.10873069614171982,
                    "model_output": 0.1087,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.109
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0656
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0378
                      },
                      {
                        "name": "rating",
                        "importance": 0.0315
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0302
                      }
                    ],
                    "decomposition": {
                      "base": 0.4723,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1971
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0808
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0145
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.011
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0102
                        }
                      ],
                      "others": -0.05,
                      "total": 0.1087,
                      "log_link": false,
                      "margin_base": 0.47232,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.197063
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.080826
                        },
                        {
                          "name": "rating",
                          "margin": -0.014528
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.011034
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.010196
                        }
                      ],
                      "others_margin": -0.049941
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.753585338592529,
                    "model_output": 6.7536,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0729
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0624
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.059
                      },
                      {
                        "name": "touches",
                        "importance": 0.0384
                      },
                      {
                        "name": "rating",
                        "importance": 0.037
                      }
                    ],
                    "decomposition": {
                      "base": 6.786,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": -0.0224
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0127
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.012
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.0067
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0063
                        }
                      ],
                      "others": 0.0017,
                      "total": 6.7536,
                      "log_link": false,
                      "margin_base": 6.785968,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": -0.022363
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.012704
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.012046
                        },
                        {
                          "name": "duelLost",
                          "margin": 0.006712
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.006335
                        }
                      ],
                      "others_margin": 0.001681
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 31,
                  "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 0.9973, quality 0.440)",
              "stats": {
                "interceptions": 0.3591,
                "tackles": 0.4906,
                "tackles_won": 0.2786,
                "clearances": 1.761,
                "aerial_won": 0.534,
                "total_shots": 0.1084,
                "rating": 6.7536,
                "minutes": 24.44,
                "total_pass": 10.8969,
                "accurate_pass": 9.0876,
                "duels_won": 1.6765,
                "total_long_balls": 1.1532,
                "accurate_long_balls": 0.4986,
                "total_own_half_passes": 5.8589,
                "accurate_own_half_passes": 4.9867,
                "total_opp_half_passes": 5.038,
                "accurate_opp_half_passes": 4.1009,
                "crosses_total": 0.0677,
                "crosses_accurate": 0.0,
                "touches": 15.592,
                "possession_lost": 2.0485,
                "dispossessed": 0.0,
                "duels_lost": 1.4025,
                "aerial_lost": 0.3254,
                "total_contest": 0.0937,
                "won_contest": 0.0937,
                "ball_recovery": 0.5827,
                "challenges_lost": 0.381,
                "fouls": 0.6961,
                "fouls_drawn": 0.2412,
                "blocks": 0.3449,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0031,
                "expected_assists": 0.0021,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 3.3115,
                "total_progression": 1.0372,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1084
              },
              "params": {
                "market_value_eur": 3200000,
                "quality_factor": 0.4399,
                "boost_factor": 0.9973,
                "reference_quality": 0.505,
                "history_matches": 31,
                "history_shrink": 0.1389,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0126)",
              "stats": {
                "interceptions": 0.3595,
                "tackles": 0.4906,
                "tackles_won": 0.2767,
                "clearances": 1.761,
                "aerial_won": 0.534,
                "total_shots": 0.1104,
                "rating": 6.7536,
                "minutes": 24.44,
                "total_pass": 10.8969,
                "accurate_pass": 9.0876,
                "duels_won": 1.6765,
                "total_long_balls": 1.1532,
                "accurate_long_balls": 0.4986,
                "total_own_half_passes": 5.8589,
                "accurate_own_half_passes": 4.9867,
                "total_opp_half_passes": 5.038,
                "accurate_opp_half_passes": 4.1009,
                "crosses_total": 0.0668,
                "crosses_accurate": 0.0,
                "touches": 15.592,
                "possession_lost": 2.0485,
                "dispossessed": 0.0,
                "duels_lost": 1.4025,
                "aerial_lost": 0.3254,
                "total_contest": 0.0937,
                "won_contest": 0.0937,
                "ball_recovery": 0.5827,
                "challenges_lost": 0.381,
                "fouls": 0.6922,
                "fouls_drawn": 0.2414,
                "blocks": 0.3449,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0031,
                "expected_assists": 0.0021,
                "shots_on_target": 0.0033,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 3.3115,
                "total_progression": 1.0372,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1084
              },
              "params": {
                "blend_weight": 0.0126,
                "history_matches": 31,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.2716,
                "prior_reliability": 0.14,
                "competition": "La Liga",
                "squad": "Osasuna"
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 24.4 to 13.6 expected minutes (appearance prob 0.22)",
              "stats": {
                "interceptions": 0.1998,
                "tackles": 0.2726,
                "tackles_won": 0.1538,
                "clearances": 0.9786,
                "aerial_won": 0.2968,
                "total_shots": 0.0621,
                "rating": 6.7536,
                "minutes": 13.58,
                "total_pass": 6.0557,
                "accurate_pass": 5.0503,
                "duels_won": 0.9317,
                "total_long_balls": 0.6409,
                "accurate_long_balls": 0.2771,
                "total_own_half_passes": 3.256,
                "accurate_own_half_passes": 2.7713,
                "total_opp_half_passes": 2.7998,
                "accurate_opp_half_passes": 2.279,
                "crosses_total": 0.0371,
                "crosses_accurate": 0.0,
                "touches": 8.665,
                "possession_lost": 1.1384,
                "dispossessed": 0.0,
                "duels_lost": 0.7794,
                "aerial_lost": 0.3254,
                "total_contest": 0.0521,
                "won_contest": 0.0521,
                "ball_recovery": 0.3238,
                "challenges_lost": 0.381,
                "fouls": 0.3847,
                "fouls_drawn": 0.1342,
                "blocks": 0.1917,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0017,
                "expected_assists": 0.0012,
                "shots_on_target": 0.0018,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 1.8403,
                "total_progression": 0.5764,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.0602,
                "bench_appearance_probability": 0.217,
                "bench_expected_minutes": 13.58
              },
              "params": {
                "expected_minutes": 13.58,
                "projection_minutes": 24.44,
                "minutes_scale": 0.5557,
                "appearance_probability": 0.217
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.1998,
                "tackles": 0.2726,
                "tackles_won": 0.1538,
                "clearances": 0.9786,
                "aerial_won": 0.2968,
                "total_shots": 0.0621,
                "rating": 6.7536,
                "minutes": 13.58,
                "total_pass": 6.0557,
                "accurate_pass": 5.0503,
                "duels_won": 0.9317,
                "total_long_balls": 0.6409,
                "accurate_long_balls": 0.2771,
                "total_own_half_passes": 3.256,
                "accurate_own_half_passes": 2.7713,
                "total_opp_half_passes": 2.7998,
                "accurate_opp_half_passes": 2.279,
                "crosses_total": 0.0371,
                "crosses_accurate": 0.0,
                "touches": 8.665,
                "possession_lost": 1.1384,
                "dispossessed": 0.0,
                "duels_lost": 0.7794,
                "aerial_lost": 0.3254,
                "total_contest": 0.0521,
                "won_contest": 0.0521,
                "ball_recovery": 0.3238,
                "challenges_lost": 0.381,
                "fouls": 0.3847,
                "fouls_drawn": 0.1342,
                "blocks": 0.1917,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0017,
                "expected_assists": 0.0012,
                "shots_on_target": 0.0018,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 1.8403,
                "total_progression": 0.5764,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.0602,
                "bench_appearance_probability": 0.217,
                "bench_expected_minutes": 13.58
              },
              "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.1998,
                "tackles": 0.2726,
                "tackles_won": 0.1538,
                "clearances": 0.9786,
                "aerial_won": 0.2968,
                "total_shots": 0.0621,
                "rating": 6.7536,
                "minutes": 13.58,
                "total_pass": 6.0557,
                "accurate_pass": 5.0503,
                "duels_won": 0.9317,
                "total_long_balls": 0.6409,
                "accurate_long_balls": 0.2771,
                "total_own_half_passes": 3.256,
                "accurate_own_half_passes": 2.7713,
                "total_opp_half_passes": 2.7998,
                "accurate_opp_half_passes": 2.279,
                "crosses_total": 0.0371,
                "crosses_accurate": 0.0,
                "touches": 8.665,
                "possession_lost": 1.1384,
                "dispossessed": 0.0,
                "duels_lost": 0.7794,
                "aerial_lost": 0.3254,
                "total_contest": 0.0521,
                "won_contest": 0.0521,
                "ball_recovery": 0.3238,
                "challenges_lost": 0.381,
                "fouls": 0.3847,
                "fouls_drawn": 0.1342,
                "blocks": 0.1917,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0017,
                "expected_assists": 0.0012,
                "shots_on_target": 0.0018,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 1.8403,
                "total_progression": 0.5764,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.0602,
                "bench_appearance_probability": 0.217,
                "bench_expected_minutes": 13.58,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.774,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "appearance_probability": 0.217,
                "projected_substitutes": 4,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 8 by projected rating, fifa_overall 78.0; not used by the projection)",
              "stats": {
                "interceptions": 0.1998,
                "tackles": 0.2726,
                "tackles_won": 0.1538,
                "clearances": 0.9786,
                "aerial_won": 0.2968,
                "total_shots": 0.0621,
                "rating": 6.7536,
                "minutes": 13.58,
                "total_pass": 6.0557,
                "accurate_pass": 5.0503,
                "duels_won": 0.9317,
                "total_long_balls": 0.6409,
                "accurate_long_balls": 0.2771,
                "total_own_half_passes": 3.256,
                "accurate_own_half_passes": 2.7713,
                "total_opp_half_passes": 2.7998,
                "accurate_opp_half_passes": 2.279,
                "crosses_total": 0.0371,
                "crosses_accurate": 0.0,
                "touches": 8.665,
                "possession_lost": 1.1384,
                "dispossessed": 0.0,
                "duels_lost": 0.7794,
                "aerial_lost": 0.3254,
                "total_contest": 0.0521,
                "won_contest": 0.0521,
                "ball_recovery": 0.3238,
                "challenges_lost": 0.381,
                "fouls": 0.3847,
                "fouls_drawn": 0.1342,
                "blocks": 0.1917,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0017,
                "expected_assists": 0.0012,
                "shots_on_target": 0.0018,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 1.8403,
                "total_progression": 0.5764,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.0602,
                "bench_appearance_probability": 0.217,
                "bench_expected_minutes": 13.58,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.774,
                "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": 78.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": 1616,
                "fifa_rank": 1117.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 78.0
              }
            }
          ]
        },
        "Aimar Oroz": {
          "player_id": 985329,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 10,
          "height": 177,
          "market_value": 6900000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.04,
            "assist_rate": 0.05,
            "assists": 0,
            "expected_goals": 0.0318,
            "goal_rate": 0.0325,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.7017,
            "minutes": 15,
            "total_pass": 7,
            "accurate_pass": 6,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 2,
            "accurate_own_half_passes": 2,
            "total_opp_half_passes": 5,
            "accurate_opp_half_passes": 4,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 10,
            "possession_lost": 2.5931,
            "dispossessed": 0.6518,
            "duels_lost": 2,
            "aerial_won": 0,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 3,
            "total_progression": 14,
            "progressive_carries": 1,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.439,
            "bench_expected_minutes": 14.92,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 4,
            "projected_substitution_expected_count": 2.774,
            "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": 16416314,
              "match_date": "2026-08-31",
              "home_team": "Osasuna",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Getafe",
              "stats": {
                "minutes": 71,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0876,
                "expected_assists": 0.0044,
                "total_shots": 1,
                "total_pass": 24,
                "accurate_pass": 18,
                "key_pass": 1,
                "tackles": 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": 16815992,
              "match_date": "2026-08-27",
              "home_team": "Celta Vigo",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 8,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.003,
                "total_shots": 0,
                "total_pass": 6,
                "accurate_pass": 5,
                "duels_won": 1,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416296,
              "match_date": "2026-08-24",
              "home_team": "Osasuna",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 72,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0231,
                "expected_assists": 0.1317,
                "total_shots": 1,
                "total_pass": 19,
                "accurate_pass": 15,
                "key_pass": 3,
                "aerial_won": 1,
                "duels_won": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083723,
              "match_date": "2026-05-23",
              "home_team": "Getafe",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Getafe",
              "stats": {
                "minutes": 82,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0735,
                "total_shots": 0,
                "total_pass": 17,
                "accurate_pass": 10,
                "key_pass": 2,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 10,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083696,
              "match_date": "2026-05-17",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 58,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.158,
                "total_shots": 0,
                "total_pass": 24,
                "accurate_pass": 19,
                "key_pass": 1,
                "aerial_won": 4,
                "duels_won": 7,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083634,
              "match_date": "2026-05-12",
              "home_team": "Osasuna",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 18,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0449,
                "expected_assists": 0.0141,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 11,
                "accurate_pass": 10,
                "key_pass": 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": 14083568,
              "match_date": "2026-05-08",
              "home_team": "Levante UD",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 44,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0182,
                "total_shots": 0,
                "total_pass": 17,
                "accurate_pass": 15,
                "clearances": 1,
                "duels_won": 6
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083495,
              "match_date": "2026-05-02",
              "home_team": "Osasuna",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 20,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0342,
                "total_shots": 0,
                "total_pass": 9,
                "accurate_pass": 7,
                "key_pass": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083231,
              "match_date": "2026-04-26",
              "home_team": "Osasuna",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 62,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0869,
                "total_shots": 0,
                "total_pass": 24,
                "accurate_pass": 19,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 4
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083258,
              "match_date": "2026-04-21",
              "home_team": "Athletic Club",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 78,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1069,
                "total_shots": 0,
                "total_pass": 28,
                "accurate_pass": 23,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "aerial_won": 3,
                "duels_won": 6,
                "ball_recovery": 1
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 3320,
            "combined_rank_score": 1277.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 578.0,
            "sofascore_rating": 6.8,
            "sofascore_appearances": 31.0,
            "fifa_rank": 1976.0,
            "fifa_overall": 76.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 12,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7017,
            "source_file": "data/player_rankings.csv",
            "player_name": "Aimar Oroz",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Rio Ngumoha",
                  "ranking": 3315
                },
                {
                  "player_name": "Kyle Walker-Peters",
                  "ranking": 3316
                },
                {
                  "player_name": "Alberto Costa",
                  "ranking": 3317
                },
                {
                  "player_name": "Tajon Buchanan",
                  "ranking": 3318
                },
                {
                  "player_name": "Dion Drena Beljo",
                  "ranking": 3319
                }
              ],
              "lower": [
                {
                  "player_name": "Konstantinos Koulierakis",
                  "ranking": 3321
                },
                {
                  "player_name": "Óliver Torres",
                  "ranking": 3322
                },
                {
                  "player_name": "Daley Blind",
                  "ranking": 3323
                },
                {
                  "player_name": "Williot Swedberg",
                  "ranking": 3324
                },
                {
                  "player_name": "Leandro Cabrera",
                  "ranking": 3325
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.767,
          "history_matches": 34,
          "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": 34,
            "data_confidence": 0.767,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 14.92,
            "bench_appearance_prob": 0.439,
            "market_value_adjustment": 0.9992,
            "fbref_prior_metrics": {
              "squad": "Osasuna",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 2.0,
              "sub_appearances": 1.0,
              "minutes_per_sub": 9.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.1133
            },
            "rationale": "Bench projection scaled from XGBoost M_service (34 historical appearances) to 14.9 expected mins (appearance prob 0.44); FBref playing time empirical prior: 1.0 sub appearances, 9.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.581,
                "expected_assists": 0.0527,
                "assists": 0.0666,
                "assist_rate": 0.0666,
                "expected_goals": 0.042,
                "goals": 0.0432,
                "goal_rate": 0.0432,
                "shots_on_target": 0.1742,
                "total_shots": 0.4601,
                "rating": 6.7017,
                "minutes": 19.67,
                "total_pass": 9.4978,
                "accurate_pass": 7.6098,
                "duels_won": 1.5178,
                "total_long_balls": 0.4066,
                "accurate_long_balls": 0.2326,
                "total_own_half_passes": 2.6763,
                "accurate_own_half_passes": 2.1397,
                "total_opp_half_passes": 6.8215,
                "accurate_opp_half_passes": 5.4701,
                "crosses_total": 0.2997,
                "crosses_accurate": 0.174,
                "touches": 13.7675,
                "possession_lost": 3.4213,
                "dispossessed": 0.6523,
                "duels_lost": 2.5555,
                "aerial_won": 0.0,
                "aerial_lost": 0.4148,
                "interceptions": 0.0,
                "tackles_won": 0.1479,
                "tackles": 0.2958,
                "clearances": 0.0,
                "total_contest": 0.2408,
                "won_contest": 0.2408,
                "challenges_lost": 0.7881,
                "fouls": 0.7003,
                "fouls_drawn": 0.9812,
                "blocks": 0.0,
                "big_chances_created": 0.1257,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 3.7322,
                "total_progression": 18.6315,
                "progressive_carries": 0.6993,
                "shots_off_target": 0.2858
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-11T10:26:42.530573+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 894,
                    "rows": 23497
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Getafe",
                    "minutes": 71.0,
                    "is_starting": true,
                    "weight": 0.1506,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Celta Vigo",
                    "minutes": 8.0,
                    "is_starting": false,
                    "weight": 0.128,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Levante UD",
                    "minutes": 72.0,
                    "is_starting": true,
                    "weight": 0.1088,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Getafe",
                    "minutes": 82.0,
                    "is_starting": true,
                    "weight": 0.0925,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Espanyol",
                    "minutes": 58.0,
                    "is_starting": true,
                    "weight": 0.0786,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-12",
                    "opponent": "Atlético Madrid",
                    "minutes": 18.0,
                    "is_starting": false,
                    "weight": 0.0668,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-08",
                    "opponent": "Levante UD",
                    "minutes": 44.0,
                    "is_starting": true,
                    "weight": 0.0568,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "FC Barcelona",
                    "minutes": 20.0,
                    "is_starting": false,
                    "weight": 0.0483,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-04-26",
                    "opponent": "Sevilla",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.041,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-04-21",
                    "opponent": "Athletic Club",
                    "minutes": 78.0,
                    "is_starting": true,
                    "weight": 0.0349,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalShots": 0.5785,
                  "creative_index": 0.4815,
                  "expectedGoals": 0.0335,
                  "expectedAssists": 0.0682,
                  "onTargetScoringAttempt": 0.0348
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.5810336470603943,
                    "model_output": 0.581,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1648
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1344
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0672
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0573
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0281
                      }
                    ],
                    "decomposition": {
                      "base": 0.8857,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3853
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0193
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0171
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.017
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0176
                        }
                      ],
                      "others": 0.0482,
                      "total": 0.581,
                      "log_link": true,
                      "margin_base": -0.121432,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.570999
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.039297
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.034919
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.033633
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": 0.03363
                        }
                      ],
                      "others_margin": 0.086599
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.05274725332856178,
                    "model_output": 0.0527,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1094
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1055
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.099
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0603
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0557
                      }
                    ],
                    "decomposition": {
                      "base": 0.0855,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0353
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0028
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0024
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0019
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0019
                        }
                      ],
                      "others": -0.0027,
                      "total": 0.0527,
                      "log_link": true,
                      "margin_base": -2.458929,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.531815
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": 0.053592
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.043552
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.034943
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.034257
                        }
                      ],
                      "others_margin": -0.047958
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.06658171117305756,
                    "model_output": 0.0666,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0515
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0436
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0436
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0319
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.03
                      }
                    ],
                    "decomposition": {
                      "base": 0.0858,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0209
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0068
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0068
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0044
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0034
                        }
                      ],
                      "others": -0.0109,
                      "total": 0.0666,
                      "log_link": true,
                      "margin_base": -2.456317,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.27986
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.099484
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.090669
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.05821
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.044902
                        }
                      ],
                      "others_margin": -0.149991
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.041954223066568375,
                    "model_output": 0.042,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1335
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.086
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0661
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0433
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.0936,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0395
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0065
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.003
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0024
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0013
                        }
                      ],
                      "others": 0.0011,
                      "total": 0.042,
                      "log_link": true,
                      "margin_base": -2.368441,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.54747
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.128283
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.064968
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.054389
                        },
                        {
                          "name": "totalProgression",
                          "margin": -0.030209
                        }
                      ],
                      "others_margin": 0.022583
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.04320313781499863,
                    "model_output": 0.0432,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0863
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0517
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0485
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0373
                      },
                      {
                        "name": "goals",
                        "importance": 0.0275
                      }
                    ],
                    "decomposition": {
                      "base": 0.0966,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0363
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0084
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0047
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0034
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0028
                        }
                      ],
                      "others": -0.0046,
                      "total": 0.0432,
                      "log_link": true,
                      "margin_base": -2.337105,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.471711
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.150302
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.095226
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.068848
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.056251
                        }
                      ],
                      "others_margin": -0.100094
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.17423661053180695,
                    "model_output": 0.1742,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.108
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0886
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0725
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0371
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.324,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1328
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0376
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0082
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0071
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.007
                        }
                      ],
                      "others": 0.0123,
                      "total": 0.1742,
                      "log_link": true,
                      "margin_base": -1.126872,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.527108
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.218938
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.052221
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.042946
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.042044
                        }
                      ],
                      "others_margin": 0.072454
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.4600808918476105,
                    "model_output": 0.4601,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1275
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1232
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0542
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0485
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0257
                      }
                    ],
                    "decomposition": {
                      "base": 0.99,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.361
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.2223
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.028
                        },
                        {
                          "name": "dispossessed",
                          "contribution": 0.0246
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0238
                        }
                      ],
                      "others": 0.0806,
                      "total": 0.4601,
                      "log_link": false,
                      "margin_base": 0.989981,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.360969
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.222306
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.027966
                        },
                        {
                          "name": "dispossessed",
                          "margin": 0.024553
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.023815
                        }
                      ],
                      "others_margin": 0.080603
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.701669692993164,
                    "model_output": 6.7017,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0898
                      },
                      {
                        "name": "rating",
                        "importance": 0.0801
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0397
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0337
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0318
                      }
                    ],
                    "decomposition": {
                      "base": 6.8504,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0776
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0276
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0251
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0088
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0056
                        }
                      ],
                      "others": -0.004,
                      "total": 6.7017,
                      "log_link": false,
                      "margin_base": 6.850356,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.07761
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.027632
                        },
                        {
                          "name": "rating",
                          "margin": -0.025121
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": -0.008766
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.005637
                        }
                      ],
                      "others_margin": -0.003921
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 34,
                  "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.9992, quality 0.485)",
              "stats": {
                "key_pass": 0.5806,
                "expected_assists": 0.0527,
                "assists": 0.0665,
                "assist_rate": 0.0665,
                "expected_goals": 0.0419,
                "goals": 0.0432,
                "goal_rate": 0.0432,
                "shots_on_target": 0.1741,
                "total_shots": 0.4597,
                "rating": 6.7017,
                "minutes": 19.67,
                "total_pass": 9.4902,
                "accurate_pass": 7.6037,
                "duels_won": 1.5166,
                "total_long_balls": 0.4063,
                "accurate_long_balls": 0.2324,
                "total_own_half_passes": 2.6742,
                "accurate_own_half_passes": 2.138,
                "total_opp_half_passes": 6.816,
                "accurate_opp_half_passes": 5.4657,
                "crosses_total": 0.2995,
                "crosses_accurate": 0.1739,
                "touches": 13.7565,
                "possession_lost": 3.4186,
                "dispossessed": 0.6518,
                "duels_lost": 2.5535,
                "aerial_won": 0.0,
                "aerial_lost": 0.4145,
                "interceptions": 0.0,
                "tackles_won": 0.1478,
                "tackles": 0.2956,
                "clearances": 0.0,
                "total_contest": 0.2406,
                "won_contest": 0.2406,
                "challenges_lost": 0.7875,
                "fouls": 0.6997,
                "fouls_drawn": 0.9804,
                "blocks": 0.0,
                "big_chances_created": 0.1256,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 3.7292,
                "total_progression": 18.6166,
                "progressive_carries": 0.6987,
                "shots_off_target": 0.2856
              },
              "params": {
                "market_value_eur": 6900000,
                "quality_factor": 0.4854,
                "boost_factor": 0.9992,
                "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.0094)",
              "stats": {
                "key_pass": 0.5806,
                "expected_assists": 0.0527,
                "assists": 0.0659,
                "assist_rate": 0.0659,
                "expected_goals": 0.0419,
                "goals": 0.0428,
                "goal_rate": 0.0428,
                "shots_on_target": 0.1725,
                "total_shots": 0.4578,
                "rating": 6.7017,
                "minutes": 19.67,
                "total_pass": 9.4902,
                "accurate_pass": 7.6037,
                "duels_won": 1.5166,
                "total_long_balls": 0.4063,
                "accurate_long_balls": 0.2324,
                "total_own_half_passes": 2.6742,
                "accurate_own_half_passes": 2.138,
                "total_opp_half_passes": 6.816,
                "accurate_opp_half_passes": 5.4657,
                "crosses_total": 0.3003,
                "crosses_accurate": 0.1739,
                "touches": 13.7565,
                "possession_lost": 3.4186,
                "dispossessed": 0.6518,
                "duels_lost": 2.5535,
                "aerial_won": 0.0,
                "aerial_lost": 0.4145,
                "interceptions": 0.0,
                "tackles_won": 0.1464,
                "tackles": 0.2956,
                "clearances": 0.0,
                "total_contest": 0.2406,
                "won_contest": 0.2406,
                "challenges_lost": 0.7875,
                "fouls": 0.6955,
                "fouls_drawn": 0.9784,
                "blocks": 0.0,
                "big_chances_created": 0.1256,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 3.7292,
                "total_progression": 18.6166,
                "progressive_carries": 0.6987,
                "shots_off_target": 0.2856
              },
              "params": {
                "blend_weight": 0.0094,
                "history_matches": 34,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.2186,
                "prior_reliability": 0.1133,
                "competition": "La Liga",
                "squad": "Osasuna"
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 19.7 to 14.9 expected minutes (appearance prob 0.44)",
              "stats": {
                "key_pass": 0.4404,
                "expected_assists": 0.04,
                "assists": 0.05,
                "assist_rate": 0.05,
                "expected_goals": 0.0318,
                "goals": 0.0325,
                "goal_rate": 0.0325,
                "shots_on_target": 0.1308,
                "total_shots": 0.3475,
                "rating": 6.7017,
                "minutes": 14.92,
                "total_pass": 7.1985,
                "accurate_pass": 5.7675,
                "duels_won": 1.1504,
                "total_long_balls": 0.3082,
                "accurate_long_balls": 0.1763,
                "total_own_half_passes": 2.0284,
                "accurate_own_half_passes": 1.6217,
                "total_opp_half_passes": 5.17,
                "accurate_opp_half_passes": 4.1458,
                "crosses_total": 0.2278,
                "crosses_accurate": 0.1319,
                "touches": 10.4345,
                "possession_lost": 2.5931,
                "dispossessed": 0.6518,
                "duels_lost": 1.9369,
                "aerial_won": 0.0,
                "aerial_lost": 0.4145,
                "interceptions": 0.0,
                "tackles_won": 0.111,
                "tackles": 0.2242,
                "clearances": 0.0,
                "total_contest": 0.1825,
                "won_contest": 0.1825,
                "challenges_lost": 0.7875,
                "fouls": 0.5275,
                "fouls_drawn": 0.7421,
                "blocks": 0.0,
                "big_chances_created": 0.0953,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 2.8287,
                "total_progression": 14.121,
                "progressive_carries": 0.53,
                "shots_off_target": 0.2166,
                "bench_appearance_probability": 0.439,
                "bench_expected_minutes": 14.92
              },
              "params": {
                "expected_minutes": 14.92,
                "projection_minutes": 19.67,
                "minutes_scale": 0.7585,
                "appearance_probability": 0.439
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.4404,
                "expected_assists": 0.04,
                "assists": 0.05,
                "assist_rate": 0.05,
                "expected_goals": 0.0318,
                "goals": 0.0325,
                "goal_rate": 0.0325,
                "shots_on_target": 0.1308,
                "total_shots": 0.3475,
                "rating": 6.7017,
                "minutes": 14.92,
                "total_pass": 7.1985,
                "accurate_pass": 5.7675,
                "duels_won": 1.1504,
                "total_long_balls": 0.3082,
                "accurate_long_balls": 0.1763,
                "total_own_half_passes": 2.0284,
                "accurate_own_half_passes": 1.6217,
                "total_opp_half_passes": 5.17,
                "accurate_opp_half_passes": 4.1458,
                "crosses_total": 0.2278,
                "crosses_accurate": 0.1319,
                "touches": 10.4345,
                "possession_lost": 2.5931,
                "dispossessed": 0.6518,
                "duels_lost": 1.9369,
                "aerial_won": 0.0,
                "aerial_lost": 0.4145,
                "interceptions": 0.0,
                "tackles_won": 0.111,
                "tackles": 0.2242,
                "clearances": 0.0,
                "total_contest": 0.1825,
                "won_contest": 0.1825,
                "challenges_lost": 0.7875,
                "fouls": 0.5275,
                "fouls_drawn": 0.7421,
                "blocks": 0.0,
                "big_chances_created": 0.0953,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 2.8287,
                "total_progression": 14.121,
                "progressive_carries": 0.53,
                "shots_off_target": 0.2166,
                "bench_appearance_probability": 0.439,
                "bench_expected_minutes": 14.92
              },
              "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.4404,
                "expected_assists": 0.04,
                "assist_rate": 0.05,
                "assists": 0,
                "expected_goals": 0.0318,
                "goal_rate": 0.0325,
                "goals": 0,
                "shots_on_target": 0.1308,
                "total_shots": 0.3475,
                "rating": 6.7017,
                "minutes": 14.92,
                "total_pass": 7.1985,
                "accurate_pass": 5.7675,
                "duels_won": 1.1504,
                "total_long_balls": 0.3082,
                "accurate_long_balls": 0.1763,
                "total_own_half_passes": 2.0284,
                "accurate_own_half_passes": 1.6217,
                "total_opp_half_passes": 5.17,
                "accurate_opp_half_passes": 4.1458,
                "crosses_total": 0.2278,
                "crosses_accurate": 0.1319,
                "touches": 10.4345,
                "possession_lost": 2.5931,
                "dispossessed": 0.6518,
                "duels_lost": 1.9369,
                "aerial_won": 0.0,
                "aerial_lost": 0.4145,
                "interceptions": 0.0,
                "tackles_won": 0.111,
                "tackles": 0.2242,
                "clearances": 0.0,
                "total_contest": 0.1825,
                "won_contest": 0.1825,
                "challenges_lost": 0.7875,
                "fouls": 0.5275,
                "fouls_drawn": 0.7421,
                "blocks": 0.0,
                "big_chances_created": 0.0953,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 2.8287,
                "total_progression": 14.121,
                "progressive_carries": 0.53,
                "shots_off_target": 0.2166,
                "bench_appearance_probability": 0.439,
                "bench_expected_minutes": 14.92,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.774,
                "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.439,
                "projected_substitutes": 4,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 12 by projected rating, fifa_overall 76.0; not used by the projection)",
              "stats": {
                "key_pass": 0.4404,
                "expected_assists": 0.04,
                "assist_rate": 0.05,
                "assists": 0,
                "expected_goals": 0.0318,
                "goal_rate": 0.0325,
                "goals": 0,
                "shots_on_target": 0.1308,
                "total_shots": 0.3475,
                "rating": 6.7017,
                "minutes": 14.92,
                "total_pass": 7.1985,
                "accurate_pass": 5.7675,
                "duels_won": 1.1504,
                "total_long_balls": 0.3082,
                "accurate_long_balls": 0.1763,
                "total_own_half_passes": 2.0284,
                "accurate_own_half_passes": 1.6217,
                "total_opp_half_passes": 5.17,
                "accurate_opp_half_passes": 4.1458,
                "crosses_total": 0.2278,
                "crosses_accurate": 0.1319,
                "touches": 10.4345,
                "possession_lost": 2.5931,
                "dispossessed": 0.6518,
                "duels_lost": 1.9369,
                "aerial_won": 0.0,
                "aerial_lost": 0.4145,
                "interceptions": 0.0,
                "tackles_won": 0.111,
                "tackles": 0.2242,
                "clearances": 0.0,
                "total_contest": 0.1825,
                "won_contest": 0.1825,
                "challenges_lost": 0.7875,
                "fouls": 0.5275,
                "fouls_drawn": 0.7421,
                "blocks": 0.0,
                "big_chances_created": 0.0953,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 2.8287,
                "total_progression": 14.121,
                "progressive_carries": 0.53,
                "shots_off_target": 0.2166,
                "bench_appearance_probability": 0.439,
                "bench_expected_minutes": 14.92,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.774,
                "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": 12,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3320,
                "fifa_rank": 1976.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 76.0
              }
            }
          ]
        },
        "Lucas Torró": {
          "player_id": 187313,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 6,
          "height": 190,
          "market_value": 2700000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0258,
            "assist_rate": 0.0337,
            "assists": 0,
            "expected_goals": 0.0472,
            "goal_rate": 0.0442,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.6838,
            "minutes": 18,
            "total_pass": 8,
            "accurate_pass": 7,
            "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": 4,
            "accurate_opp_half_passes": 3,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 11,
            "possession_lost": 2.0548,
            "dispossessed": 0.0,
            "duels_lost": 1,
            "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": 1,
            "fouls_drawn": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 3,
            "total_progression": 0,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.564,
            "bench_expected_minutes": 18.14,
            "projected_substitution_order": 4,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 4,
            "projected_substitution_expected_count": 2.774,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.026,
            "projected_assists": 0,
            "assist_probability": 0.0144,
            "finishing_factor": 0.9802,
            "creation_factor": 1.1235,
            "fifa_overall": 76.0
          },
          "latest_10_games": [
            {
              "match_id": 16416305,
              "match_date": "2026-09-19",
              "home_team": "Osasuna",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 21,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0106,
                "total_shots": 0,
                "total_pass": 12,
                "accurate_pass": 11,
                "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": 16416335,
              "match_date": "2026-09-16",
              "home_team": "Atlético Madrid",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0162,
                "total_shots": 0,
                "total_pass": 27,
                "accurate_pass": 17,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 2,
                "aerial_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"
            },
            {
              "match_id": 16416314,
              "match_date": "2026-08-31",
              "home_team": "Osasuna",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Getafe",
              "stats": {
                "minutes": 19,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0028,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 11,
                "tackles": 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": 16815992,
              "match_date": "2026-08-27",
              "home_team": "Celta Vigo",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0633,
                "expected_assists": 0.0182,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 54,
                "accurate_pass": 45,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 4,
                "aerial_won": 3,
                "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": 16416296,
              "match_date": "2026-08-24",
              "home_team": "Osasuna",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 9,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "total_pass": 5,
                "accurate_pass": 4,
                "clearances": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083723,
              "match_date": "2026-05-23",
              "home_team": "Getafe",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Getafe",
              "stats": {
                "minutes": 68,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1626,
                "expected_assists": 0.006,
                "total_shots": 4,
                "shots_on_target": 2,
                "shots_off_target": 2,
                "total_pass": 16,
                "accurate_pass": 9,
                "tackles": 3,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 7,
                "duels_won": 10,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083696,
              "match_date": "2026-05-17",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 58,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1181,
                "expected_assists": 0.033,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 20,
                "accurate_pass": 14,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 5,
                "duels_won": 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": 14083634,
              "match_date": "2026-05-12",
              "home_team": "Osasuna",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 72,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0836,
                "expected_assists": 0.0422,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 39,
                "accurate_pass": 31,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083568,
              "match_date": "2026-05-08",
              "home_team": "Levante UD",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 28,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0005,
                "total_shots": 0,
                "total_pass": 5,
                "accurate_pass": 3,
                "key_pass": 1,
                "clearances": 2,
                "aerial_won": 3,
                "duels_won": 3
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083495,
              "match_date": "2026-05-02",
              "home_team": "Osasuna",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 85,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0249,
                "expected_assists": 0.0014,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 19,
                "accurate_pass": 11,
                "tackles": 3,
                "tackles_won": 1,
                "interceptions": 2,
                "aerial_won": 3,
                "duels_won": 7
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 3360,
            "combined_rank_score": 1309.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 665.0,
            "sofascore_rating": 6.7281,
            "sofascore_appearances": 34.0,
            "fifa_rank": 1953.0,
            "fifa_overall": 76.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 13,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6838,
            "source_file": "data/player_rankings.csv",
            "player_name": "Lucas Torró",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Soufiane Rahimi",
                  "ranking": 3355
                },
                {
                  "player_name": "Héctor Bellerín",
                  "ranking": 3356
                },
                {
                  "player_name": "Lucas Perri",
                  "ranking": 3357
                },
                {
                  "player_name": "Billy Gilmour",
                  "ranking": 3358
                },
                {
                  "player_name": "Bernardo",
                  "ranking": 3359
                }
              ],
              "lower": [
                {
                  "player_name": "Kyle Walker",
                  "ranking": 3361
                },
                {
                  "player_name": "Nikola Moro",
                  "ranking": 3362
                },
                {
                  "player_name": "Ayden Heaven",
                  "ranking": 3363
                },
                {
                  "player_name": "Aron Dønnum",
                  "ranking": 3364
                },
                {
                  "player_name": "Iñaki Peña",
                  "ranking": 3365
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.763,
          "history_matches": 39,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 39,
            "data_confidence": 0.763,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 18.14,
            "bench_appearance_prob": 0.564,
            "market_value_adjustment": 0.9977,
            "fbref_prior_metrics": {
              "squad": "Osasuna",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 1.0,
              "sub_appearances": 2.0,
              "minutes_per_sub": 15.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.0867
            },
            "rationale": "Bench projection scaled from XGBoost M_service (39 historical appearances) to 18.1 expected mins (appearance prob 0.56); FBref playing time empirical prior: 2.0 sub appearances, 15.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.2474,
                "expected_assists": 0.0216,
                "assists": 0.0298,
                "assist_rate": 0.0298,
                "expected_goals": 0.0405,
                "goals": 0.0391,
                "goal_rate": 0.0391,
                "shots_on_target": 0.122,
                "total_shots": 0.4018,
                "rating": 6.6838,
                "minutes": 15.91,
                "total_pass": 7.2863,
                "accurate_pass": 6.1663,
                "duels_won": 0.8892,
                "total_long_balls": 0.2047,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 3.7218,
                "accurate_own_half_passes": 3.5171,
                "total_opp_half_passes": 3.5645,
                "accurate_opp_half_passes": 2.6492,
                "crosses_total": 0.2408,
                "crosses_accurate": 0.0,
                "touches": 9.967,
                "possession_lost": 1.8064,
                "dispossessed": 0.0,
                "duels_lost": 1.1301,
                "aerial_won": 0.4437,
                "aerial_lost": 0.3887,
                "interceptions": 0.2408,
                "tackles_won": 0.0,
                "tackles": 0.2047,
                "clearances": 0.4698,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.2047,
                "fouls": 0.5366,
                "fouls_drawn": 0.2408,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 2.6118,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2798
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-11T10:26:42.530573+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 894,
                    "rows": 23497
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Rayo Vallecano",
                    "minutes": 21.0,
                    "is_starting": false,
                    "weight": 0.1503,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1277,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Getafe",
                    "minutes": 19.0,
                    "is_starting": false,
                    "weight": 0.1086,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0923,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Levante UD",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 0.0784,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Getafe",
                    "minutes": 68.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Espanyol",
                    "minutes": 58.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-12",
                    "opponent": "Atlético Madrid",
                    "minutes": 72.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-08",
                    "opponent": "Levante UD",
                    "minutes": 28.0,
                    "is_starting": false,
                    "weight": 0.0409,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "FC Barcelona",
                    "minutes": 85.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.1
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalShots": 0.7238,
                  "creative_index": 0.1514,
                  "expectedGoals": 0.0344,
                  "expectedAssists": 0.0127,
                  "onTargetScoringAttempt": 0.2112
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.24739709496498108,
                    "model_output": 0.2474,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1648
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1344
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0672
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0573
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0281
                      }
                    ],
                    "decomposition": {
                      "base": 0.8857,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4158
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0486
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0382
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0337
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0255
                        }
                      ],
                      "others": -0.0765,
                      "total": 0.2474,
                      "log_link": true,
                      "margin_base": -0.121432,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.633965
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.109087
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.095132
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.091986
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.075678
                        }
                      ],
                      "others_margin": -0.269481
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.021568000316619873,
                    "model_output": 0.0216,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1094
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1055
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.099
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0603
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0557
                      }
                    ],
                    "decomposition": {
                      "base": 0.0855,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0335
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0113
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0047
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0025
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0021
                        }
                      ],
                      "others": -0.0098,
                      "total": 0.0216,
                      "log_link": true,
                      "margin_base": -2.458929,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.496378
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.245501
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.123893
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.07215
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.064132
                        }
                      ],
                      "others_margin": -0.375561
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.02984161674976349,
                    "model_output": 0.0298,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0515
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0436
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0436
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0319
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.03
                      }
                    ],
                    "decomposition": {
                      "base": 0.0858,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.023
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0087
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0052
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": -0.004
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0028
                        }
                      ],
                      "others": -0.0123,
                      "total": 0.0298,
                      "log_link": true,
                      "margin_base": -2.456317,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.312121
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.149067
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.101777
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": -0.08448
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.064312
                        }
                      ],
                      "others_margin": -0.343777
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.04048825800418854,
                    "model_output": 0.0405,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1335
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.086
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0661
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0433
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.0936,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0387
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0049
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0024
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0021
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0018
                        }
                      ],
                      "others": -0.0032,
                      "total": 0.0405,
                      "log_link": true,
                      "margin_base": -2.368441,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.533062
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.093169
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.049249
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.044585
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.039677
                        }
                      ],
                      "others_margin": -0.078562
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.03912847489118576,
                    "model_output": 0.0391,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0863
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0517
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0485
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0373
                      },
                      {
                        "name": "goals",
                        "importance": 0.0275
                      }
                    ],
                    "decomposition": {
                      "base": 0.0966,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0336
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.005
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0032
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0028
                        },
                        {
                          "name": "goals",
                          "contribution": -0.002
                        }
                      ],
                      "others": -0.0109,
                      "total": 0.0391,
                      "log_link": true,
                      "margin_base": -2.337105,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.427577
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.083175
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.057031
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.052237
                        },
                        {
                          "name": "goals",
                          "margin": -0.039241
                        }
                      ],
                      "others_margin": -0.24454
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.12197568267583847,
                    "model_output": 0.122,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.108
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0886
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0725
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0371
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.324,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.157
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0101
                        },
                        {
                          "name": "dispossessed",
                          "contribution": -0.0046
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.004
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0035
                        }
                      ],
                      "others": -0.0228,
                      "total": 0.122,
                      "log_link": true,
                      "margin_base": -1.126872,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.662401
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.062041
                        },
                        {
                          "name": "dispossessed",
                          "margin": -0.02949
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.026338
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.024193
                        }
                      ],
                      "others_margin": -0.172598
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.401823490858078,
                    "model_output": 0.4018,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1275
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1232
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0542
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0485
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0257
                      }
                    ],
                    "decomposition": {
                      "base": 0.99,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3922
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.052
                        },
                        {
                          "name": "dispossessed",
                          "contribution": -0.037
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0326
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0198
                        }
                      ],
                      "others": -0.0546,
                      "total": 0.4018,
                      "log_link": false,
                      "margin_base": 0.989981,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.392207
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.05199
                        },
                        {
                          "name": "dispossessed",
                          "margin": -0.036985
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.032641
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.019812
                        }
                      ],
                      "others_margin": -0.054522
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.683804988861084,
                    "model_output": 6.6838,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0898
                      },
                      {
                        "name": "rating",
                        "importance": 0.0801
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0397
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0337
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0318
                      }
                    ],
                    "decomposition": {
                      "base": 6.8504,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0737
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0308
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.024
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0064
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0059
                        }
                      ],
                      "others": -0.0258,
                      "total": 6.6838,
                      "log_link": false,
                      "margin_base": 6.850356,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.073698
                        },
                        {
                          "name": "rating",
                          "margin": -0.030792
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.023992
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.006378
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.005899
                        }
                      ],
                      "others_margin": -0.025792
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 39,
                  "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.9977, quality 0.437)",
              "stats": {
                "key_pass": 0.2468,
                "expected_assists": 0.0215,
                "assists": 0.0298,
                "assist_rate": 0.0298,
                "expected_goals": 0.0404,
                "goals": 0.039,
                "goal_rate": 0.039,
                "shots_on_target": 0.1217,
                "total_shots": 0.4009,
                "rating": 6.6838,
                "minutes": 15.91,
                "total_pass": 7.2695,
                "accurate_pass": 6.1521,
                "duels_won": 0.8872,
                "total_long_balls": 0.2042,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 3.7132,
                "accurate_own_half_passes": 3.509,
                "total_opp_half_passes": 3.5563,
                "accurate_opp_half_passes": 2.6431,
                "crosses_total": 0.2402,
                "crosses_accurate": 0.0,
                "touches": 9.9441,
                "possession_lost": 1.8022,
                "dispossessed": 0.0,
                "duels_lost": 1.1275,
                "aerial_won": 0.4427,
                "aerial_lost": 0.3878,
                "interceptions": 0.2402,
                "tackles_won": 0.0,
                "tackles": 0.2042,
                "clearances": 0.4687,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.2042,
                "fouls": 0.5354,
                "fouls_drawn": 0.2402,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 2.6058,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2792
              },
              "params": {
                "market_value_eur": 2700000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9977,
                "reference_quality": 0.505,
                "history_matches": 39,
                "history_shrink": 0.1136,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0064)",
              "stats": {
                "key_pass": 0.2468,
                "expected_assists": 0.0215,
                "assists": 0.0296,
                "assist_rate": 0.0296,
                "expected_goals": 0.0404,
                "goals": 0.0388,
                "goal_rate": 0.0388,
                "shots_on_target": 0.1209,
                "total_shots": 0.3992,
                "rating": 6.6838,
                "minutes": 15.91,
                "total_pass": 7.2695,
                "accurate_pass": 6.1521,
                "duels_won": 0.8872,
                "total_long_balls": 0.2042,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 3.7132,
                "accurate_own_half_passes": 3.509,
                "total_opp_half_passes": 3.5563,
                "accurate_opp_half_passes": 2.6431,
                "crosses_total": 0.2387,
                "crosses_accurate": 0.0,
                "touches": 9.9441,
                "possession_lost": 1.8022,
                "dispossessed": 0.0,
                "duels_lost": 1.1275,
                "aerial_won": 0.4427,
                "aerial_lost": 0.3878,
                "interceptions": 0.2387,
                "tackles_won": 0.0017,
                "tackles": 0.2042,
                "clearances": 0.4687,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.2042,
                "fouls": 0.5328,
                "fouls_drawn": 0.2387,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 2.6058,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2792
              },
              "params": {
                "blend_weight": 0.0064,
                "history_matches": 39,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.1768,
                "prior_reliability": 0.0867,
                "competition": "La Liga",
                "squad": "Osasuna"
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 15.9 to 18.1 expected minutes (appearance prob 0.56)",
              "stats": {
                "key_pass": 0.2814,
                "expected_assists": 0.0245,
                "assists": 0.0337,
                "assist_rate": 0.0337,
                "expected_goals": 0.0461,
                "goals": 0.0442,
                "goal_rate": 0.0442,
                "shots_on_target": 0.1378,
                "total_shots": 0.4562,
                "rating": 6.6838,
                "minutes": 18.14,
                "total_pass": 8.2884,
                "accurate_pass": 7.0144,
                "duels_won": 1.0116,
                "total_long_balls": 0.2328,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 4.2337,
                "accurate_own_half_passes": 4.0008,
                "total_opp_half_passes": 4.0548,
                "accurate_opp_half_passes": 3.0136,
                "crosses_total": 0.2722,
                "crosses_accurate": 0.0,
                "touches": 11.3379,
                "possession_lost": 2.0548,
                "dispossessed": 0.0,
                "duels_lost": 1.2855,
                "aerial_won": 0.5048,
                "aerial_lost": 0.3878,
                "interceptions": 0.2722,
                "tackles_won": 0.0019,
                "tackles": 0.2328,
                "clearances": 0.5344,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.2042,
                "fouls": 0.6075,
                "fouls_drawn": 0.2722,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 2.971,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.3183,
                "bench_appearance_probability": 0.564,
                "bench_expected_minutes": 18.14
              },
              "params": {
                "expected_minutes": 18.14,
                "projection_minutes": 15.91,
                "minutes_scale": 1.1402,
                "appearance_probability": 0.564
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.2814,
                "expected_assists": 0.0245,
                "assists": 0.0337,
                "assist_rate": 0.0337,
                "expected_goals": 0.0461,
                "goals": 0.0442,
                "goal_rate": 0.0442,
                "shots_on_target": 0.1378,
                "total_shots": 0.4562,
                "rating": 6.6838,
                "minutes": 18.14,
                "total_pass": 8.2884,
                "accurate_pass": 7.0144,
                "duels_won": 1.0116,
                "total_long_balls": 0.2328,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 4.2337,
                "accurate_own_half_passes": 4.0008,
                "total_opp_half_passes": 4.0548,
                "accurate_opp_half_passes": 3.0136,
                "crosses_total": 0.2722,
                "crosses_accurate": 0.0,
                "touches": 11.3379,
                "possession_lost": 2.0548,
                "dispossessed": 0.0,
                "duels_lost": 1.2855,
                "aerial_won": 0.5048,
                "aerial_lost": 0.3878,
                "interceptions": 0.2722,
                "tackles_won": 0.0019,
                "tackles": 0.2328,
                "clearances": 0.5344,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.2042,
                "fouls": 0.6075,
                "fouls_drawn": 0.2722,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 2.971,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.3183,
                "bench_appearance_probability": 0.564,
                "bench_expected_minutes": 18.14
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 0.83 (squad xG sum 0.8154, xG scale 1.0240, xA scale 1.0541, team xA 0.54 = 0.65 x lambda)",
              "stats": {
                "key_pass": 0.2814,
                "expected_assists": 0.0258,
                "assist_rate": 0.0337,
                "assists": 0,
                "expected_goals": 0.0472,
                "goal_rate": 0.0442,
                "goals": 0,
                "shots_on_target": 0.1378,
                "total_shots": 0.4562,
                "rating": 6.6838,
                "minutes": 18.14,
                "total_pass": 8.2884,
                "accurate_pass": 7.0144,
                "duels_won": 1.0116,
                "total_long_balls": 0.2328,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 4.2337,
                "accurate_own_half_passes": 4.0008,
                "total_opp_half_passes": 4.0548,
                "accurate_opp_half_passes": 3.0136,
                "crosses_total": 0.2722,
                "crosses_accurate": 0.0,
                "touches": 11.3379,
                "possession_lost": 2.0548,
                "dispossessed": 0.0,
                "duels_lost": 1.2855,
                "aerial_won": 0.5048,
                "aerial_lost": 0.3878,
                "interceptions": 0.2722,
                "tackles_won": 0.0019,
                "tackles": 0.2328,
                "clearances": 0.5344,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.2042,
                "fouls": 0.6075,
                "fouls_drawn": 0.2722,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 2.971,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.3183,
                "bench_appearance_probability": 0.564,
                "bench_expected_minutes": 18.14,
                "projected_substitution_order": 4,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.774,
                "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.9802,
                "creation_factor": 1.1235
              },
              "params": {
                "team_lambda": 0.835,
                "squad_xg_sum": 0.8154,
                "squad_xa_sum": 0.5149,
                "team_expected_assists": 0.5427,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.024,
                "xa_scale": 1.0541,
                "opponent_lambda": 1.934,
                "scoreline_reset": true,
                "appearance_weight": 0.564
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 13 by projected rating, fifa_overall 76.0; not used by the projection)",
              "stats": {
                "key_pass": 0.2814,
                "expected_assists": 0.0258,
                "assist_rate": 0.0337,
                "assists": 0,
                "expected_goals": 0.0472,
                "goal_rate": 0.0442,
                "goals": 0,
                "shots_on_target": 0.1378,
                "total_shots": 0.4562,
                "rating": 6.6838,
                "minutes": 18.14,
                "total_pass": 8.2884,
                "accurate_pass": 7.0144,
                "duels_won": 1.0116,
                "total_long_balls": 0.2328,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 4.2337,
                "accurate_own_half_passes": 4.0008,
                "total_opp_half_passes": 4.0548,
                "accurate_opp_half_passes": 3.0136,
                "crosses_total": 0.2722,
                "crosses_accurate": 0.0,
                "touches": 11.3379,
                "possession_lost": 2.0548,
                "dispossessed": 0.0,
                "duels_lost": 1.2855,
                "aerial_won": 0.5048,
                "aerial_lost": 0.3878,
                "interceptions": 0.2722,
                "tackles_won": 0.0019,
                "tackles": 0.2328,
                "clearances": 0.5344,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.2042,
                "fouls": 0.6075,
                "fouls_drawn": 0.2722,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 2.971,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.3183,
                "bench_appearance_probability": 0.564,
                "bench_expected_minutes": 18.14,
                "projected_substitution_order": 4,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.774,
                "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.9802,
                "creation_factor": 1.1235,
                "fifa_overall": 76.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": 3360,
                "fifa_rank": 1953.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 76.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "key_pass": 0.2814,
                "expected_assists": 0.0258,
                "assist_rate": 0.0337,
                "assists": 0,
                "expected_goals": 0.0472,
                "goal_rate": 0.0442,
                "goals": 0,
                "shots_on_target": 0.1378,
                "total_shots": 0.4562,
                "rating": 6.6838,
                "minutes": 18.14,
                "total_pass": 8.2884,
                "accurate_pass": 7.0144,
                "duels_won": 1.0116,
                "total_long_balls": 0.2328,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 4.2337,
                "accurate_own_half_passes": 4.0008,
                "total_opp_half_passes": 4.0548,
                "accurate_opp_half_passes": 3.0136,
                "crosses_total": 0.2722,
                "crosses_accurate": 0.0,
                "touches": 11.3379,
                "possession_lost": 2.0548,
                "dispossessed": 0.0,
                "duels_lost": 1.2855,
                "aerial_won": 0.5048,
                "aerial_lost": 0.3878,
                "interceptions": 0.2722,
                "tackles_won": 0.0019,
                "tackles": 0.2328,
                "clearances": 0.5344,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.2042,
                "fouls": 0.6075,
                "fouls_drawn": 0.2722,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 2.971,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.3183,
                "bench_appearance_probability": 0.564,
                "bench_expected_minutes": 18.14,
                "projected_substitution_order": 4,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.774,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.026,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9802,
                "creation_factor": 1.1235,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.026,
                "scorer_weight": 0.0261,
                "squad_weight_total": 0.8684,
                "weight_share": 0.03,
                "finishing_factor": 0.9802,
                "appearance_weight": 0.564,
                "weight_rank": 8,
                "eligible_players": 14
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "key_pass": 0.2814,
                "expected_assists": 0.0258,
                "assist_rate": 0.0337,
                "assists": 0,
                "expected_goals": 0.0472,
                "goal_rate": 0.0442,
                "goals": 0,
                "shots_on_target": 0.1378,
                "total_shots": 0.4562,
                "rating": 6.6838,
                "minutes": 18.14,
                "total_pass": 8.2884,
                "accurate_pass": 7.0144,
                "duels_won": 1.0116,
                "total_long_balls": 0.2328,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 4.2337,
                "accurate_own_half_passes": 4.0008,
                "total_opp_half_passes": 4.0548,
                "accurate_opp_half_passes": 3.0136,
                "crosses_total": 0.2722,
                "crosses_accurate": 0.0,
                "touches": 11.3379,
                "possession_lost": 2.0548,
                "dispossessed": 0.0,
                "duels_lost": 1.2855,
                "aerial_won": 0.5048,
                "aerial_lost": 0.3878,
                "interceptions": 0.2722,
                "tackles_won": 0.0019,
                "tackles": 0.2328,
                "clearances": 0.5344,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.2042,
                "fouls": 0.6075,
                "fouls_drawn": 0.2722,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 2.971,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.3183,
                "bench_appearance_probability": 0.564,
                "bench_expected_minutes": 18.14,
                "projected_substitution_order": 4,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.774,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.026,
                "projected_assists": 0,
                "assist_probability": 0.0144,
                "finishing_factor": 0.9802,
                "creation_factor": 1.1235,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0144,
                "provider_weight": 0.0163,
                "squad_weight_total": 0.4935,
                "weight_share": 0.0331,
                "creation_factor": 1.1235,
                "appearance_weight": 0.564,
                "weight_rank": 10,
                "eligible_players": 14
              }
            }
          ]
        },
        "Romain Del Castillo": {
          "player_id": 825681,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 20,
          "height": 172,
          "market_value": 6400000,
          "stats": {
            "expected_goals": 0.0975,
            "goal_rate": 0.0654,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0402,
            "key_pass": 0,
            "rating": 6.5842,
            "minutes": 25,
            "total_pass": 9,
            "accurate_pass": 9,
            "duels_won": 3,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 7,
            "accurate_opp_half_passes": 7,
            "crosses_total": 2,
            "crosses_accurate": 0,
            "touches": 14,
            "possession_lost": 1.9771,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 1,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "offsides": 0,
            "ball_carries": 3,
            "total_progression": 6,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.566,
            "bench_expected_minutes": 25.46,
            "projected_substitution_order": 3,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 4,
            "projected_substitution_expected_count": 2.774,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0526,
            "projected_assists": 0,
            "assist_probability": 0.0223,
            "finishing_factor": 0.8,
            "creation_factor": 0.8,
            "fifa_overall": 76.0
          },
          "latest_10_games": [
            {
              "match_id": 16416335,
              "match_date": "2026-09-16",
              "home_team": "Atlético Madrid",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 16,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0011,
                "total_shots": 0,
                "total_pass": 6,
                "accurate_pass": 6,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416327,
              "match_date": "2026-09-12",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 19,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.028,
                "total_shots": 0,
                "total_pass": 8,
                "accurate_pass": 8,
                "tackles": 1,
                "tackles_won": 1,
                "aerial_won": 1,
                "duels_won": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 3024,
            "combined_rank_score": 1002.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": 0.0,
            "fifa_rank": 1827.0,
            "fifa_overall": 76.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 18,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.5842,
            "source_file": "data/player_rankings.csv",
            "player_name": "Romain Del Castillo",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Antonee Burke-Gilroy",
                  "ranking": 3019
                },
                {
                  "player_name": "Kim Min-Joon",
                  "ranking": 3020
                },
                {
                  "player_name": "Jasir Asani",
                  "ranking": 3021
                },
                {
                  "player_name": "Robert Andrich",
                  "ranking": 3022
                },
                {
                  "player_name": "Stav Torial",
                  "ranking": 3023
                }
              ],
              "lower": [
                {
                  "player_name": "Alberto Riccardi",
                  "ranking": 3025
                },
                {
                  "player_name": "Dong-geon No",
                  "ranking": 3026
                },
                {
                  "player_name": "Alexander Pastene",
                  "ranking": 3027
                },
                {
                  "player_name": "Dumitru Celeadnic",
                  "ranking": 3028
                },
                {
                  "player_name": "Leo Kapilevich",
                  "ranking": 3029
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.375,
          "history_matches": 2,
          "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": 2,
            "data_confidence": 0.375,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 25.458124038509048,
            "bench_appearance_prob": 0.5662783653867749,
            "market_value_adjustment": 0.9945,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (2 historical appearances) to 25.5 expected mins (appearance prob 0.57)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.0703,
                "goals": 0.0483,
                "goal_rate": 0.0483,
                "shots_on_target": 0.2298,
                "total_shots": 0.5587,
                "expected_assists": 0.0282,
                "key_pass": 0.2051,
                "rating": 6.5842,
                "minutes": 18.69,
                "total_pass": 6.9189,
                "accurate_pass": 6.9189,
                "duels_won": 1.9189,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 5.2973,
                "accurate_opp_half_passes": 5.2973,
                "crosses_total": 1.4595,
                "crosses_accurate": 0.0,
                "touches": 10.2973,
                "possession_lost": 1.4595,
                "dispossessed": 0.0,
                "duels_lost": 0.0,
                "aerial_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.5405,
                "challenges_lost": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.4595,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.4595,
                "tackles": 0.4595,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 2.0,
                "total_progression": 4.3298,
                "progressive_carries": 0.0,
                "shots_off_target": 0.3289
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-11T10:27:16.278802+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 604,
                    "rows": 15537
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Atlético Madrid",
                    "minutes": 16.0,
                    "is_starting": false,
                    "weight": 0.5405,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Espanyol",
                    "minutes": 19.0,
                    "is_starting": false,
                    "weight": 0.4595,
                    "rating": 6.9
                  }
                ],
                "feature_row": {
                  "history_matches": 2.0,
                  "is_starting_11": 0.0,
                  "expectedGoals": 0.0,
                  "totalOppositionHalfPasses": 5.2973,
                  "accurateOppositionHalfPasses": 5.2973,
                  "accuratePass": 6.9189,
                  "totalShots": 0.0
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.0702844113111496,
                    "model_output": 0.0703,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.282
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0894
                      },
                      {
                        "name": "goals",
                        "importance": 0.0352
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0258
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0248
                      }
                    ],
                    "decomposition": {
                      "base": 0.1978,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0812
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0184
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0086
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.0069
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0051
                        }
                      ],
                      "others": -0.0073,
                      "total": 0.0703,
                      "log_link": true,
                      "margin_base": -1.62027,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.52801
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.171506
                        },
                        {
                          "name": "goals",
                          "margin": -0.091608
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": -0.079934
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.063466
                        }
                      ],
                      "others_margin": -0.100411
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.04828757420182228,
                    "model_output": 0.0483,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.121
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0861
                      },
                      {
                        "name": "goals",
                        "importance": 0.0516
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0267
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0267
                      }
                    ],
                    "decomposition": {
                      "base": 0.2032,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0792
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0244
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.0096
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0084
                        },
                        {
                          "name": "shot_waste_rate",
                          "contribution": -0.006
                        }
                      ],
                      "others": -0.0273,
                      "total": 0.0483,
                      "log_link": true,
                      "margin_base": -1.593696,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.493751
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.219055
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": -0.10159
                        },
                        {
                          "name": "goals",
                          "margin": -0.097411
                        },
                        {
                          "name": "shot_waste_rate",
                          "margin": -0.076211
                        }
                      ],
                      "others_margin": -0.448867
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.22977915406227112,
                    "model_output": 0.2298,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2113
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0717
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0497
                      },
                      {
                        "name": "goals",
                        "importance": 0.0454
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.5367,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1824
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0296
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0215
                        },
                        {
                          "name": "goals",
                          "contribution": -0.014
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0115
                        }
                      ],
                      "others": -0.0479,
                      "total": 0.2298,
                      "log_link": true,
                      "margin_base": -0.622283,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.415419
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.087167
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.068559
                        },
                        {
                          "name": "goals",
                          "margin": -0.047195
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.040641
                        }
                      ],
                      "others_margin": -0.189374
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5586977601051331,
                    "model_output": 0.5587,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2764
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0561
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.043
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0394
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0354
                      }
                    ],
                    "decomposition": {
                      "base": 1.3728,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4732
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0975
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0502
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0428
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0375
                        }
                      ],
                      "others": -0.1129,
                      "total": 0.5587,
                      "log_link": false,
                      "margin_base": 1.372807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.473157
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.097502
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.050189
                        },
                        {
                          "name": "goals",
                          "margin": -0.042755
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.037457
                        }
                      ],
                      "others_margin": -0.113048
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.028181025758385658,
                    "model_output": 0.0282,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1017
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0772
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0688
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0665
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0563
                      }
                    ],
                    "decomposition": {
                      "base": 0.0639,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.018
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0051
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0042
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0035
                        },
                        {
                          "name": "aerialLost",
                          "contribution": 0.0021
                        }
                      ],
                      "others": -0.007,
                      "total": 0.0282,
                      "log_link": true,
                      "margin_base": -2.751197,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.331575
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.117663
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.109227
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.099246
                        },
                        {
                          "name": "aerialLost",
                          "margin": 0.062748
                        }
                      ],
                      "others_margin": -0.222947
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.2050638496875763,
                    "model_output": 0.2051,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1626
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1193
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0628
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0553
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0328
                      }
                    ],
                    "decomposition": {
                      "base": 0.6728,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2836
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0543
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0294
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0231
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0204
                        }
                      ],
                      "others": -0.0569,
                      "total": 0.2051,
                      "log_link": true,
                      "margin_base": -0.396376,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.547288
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.150139
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.091778
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.07873
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.075056
                        }
                      ],
                      "others_margin": -0.245067
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.584155082702637,
                    "model_output": 6.5842,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0639
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0556
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0431
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0431
                      },
                      {
                        "name": "rating",
                        "importance": 0.039
                      }
                    ],
                    "decomposition": {
                      "base": 6.7636,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0443
                        },
                        {
                          "name": "dispossessed",
                          "contribution": -0.0183
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0138
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0127
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.012
                        }
                      ],
                      "others": -0.0783,
                      "total": 6.5842,
                      "log_link": false,
                      "margin_base": 6.763607,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.04434
                        },
                        {
                          "name": "dispossessed",
                          "margin": -0.018287
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.013824
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.01265
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.011986
                        }
                      ],
                      "others_margin": -0.078364
                    }
                  }
                ],
                "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.9945, quality 0.479)",
              "stats": {
                "expected_goals": 0.0699,
                "goals": 0.048,
                "goal_rate": 0.048,
                "shots_on_target": 0.2285,
                "total_shots": 0.5556,
                "expected_assists": 0.028,
                "key_pass": 0.2039,
                "rating": 6.5842,
                "minutes": 18.69,
                "total_pass": 6.8808,
                "accurate_pass": 6.8808,
                "duels_won": 1.9083,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 5.2682,
                "accurate_opp_half_passes": 5.2682,
                "crosses_total": 1.4515,
                "crosses_accurate": 0.0,
                "touches": 10.2407,
                "possession_lost": 1.4515,
                "dispossessed": 0.0,
                "duels_lost": 0.0,
                "aerial_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.5375,
                "challenges_lost": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.457,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.457,
                "tackles": 0.457,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 1.989,
                "total_progression": 4.306,
                "progressive_carries": 0.0,
                "shots_off_target": 0.3271
              },
              "params": {
                "market_value_eur": 6400000,
                "quality_factor": 0.4793,
                "boost_factor": 0.9945,
                "reference_quality": 0.505,
                "history_matches": 2,
                "history_shrink": 0.7143,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 18.7 to 25.5 expected minutes (appearance prob 0.57)",
              "stats": {
                "expected_goals": 0.0952,
                "goals": 0.0654,
                "goal_rate": 0.0654,
                "shots_on_target": 0.3112,
                "total_shots": 0.7568,
                "expected_assists": 0.0381,
                "key_pass": 0.2777,
                "rating": 6.5842,
                "minutes": 25.46,
                "total_pass": 9.3725,
                "accurate_pass": 9.3725,
                "duels_won": 2.5993,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 7.1759,
                "accurate_opp_half_passes": 7.1759,
                "crosses_total": 1.9771,
                "crosses_accurate": 0.0,
                "touches": 13.9491,
                "possession_lost": 1.9771,
                "dispossessed": 0.0,
                "duels_lost": 0.0,
                "aerial_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.7321,
                "challenges_lost": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.6225,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.6225,
                "tackles": 0.6225,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 2.7093,
                "total_progression": 5.8653,
                "progressive_carries": 0.0,
                "shots_off_target": 0.4456,
                "bench_appearance_probability": 0.566,
                "bench_expected_minutes": 25.46
              },
              "params": {
                "expected_minutes": 25.46,
                "projection_minutes": 18.69,
                "minutes_scale": 1.3621,
                "appearance_probability": 0.566
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0952,
                "goals": 0.0654,
                "goal_rate": 0.0654,
                "shots_on_target": 0.3112,
                "total_shots": 0.7568,
                "expected_assists": 0.0381,
                "key_pass": 0.2777,
                "rating": 6.5842,
                "minutes": 25.46,
                "total_pass": 9.3725,
                "accurate_pass": 9.3725,
                "duels_won": 2.5993,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 7.1759,
                "accurate_opp_half_passes": 7.1759,
                "crosses_total": 1.9771,
                "crosses_accurate": 0.0,
                "touches": 13.9491,
                "possession_lost": 1.9771,
                "dispossessed": 0.0,
                "duels_lost": 0.0,
                "aerial_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.7321,
                "challenges_lost": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.6225,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.6225,
                "tackles": 0.6225,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 2.7093,
                "total_progression": 5.8653,
                "progressive_carries": 0.0,
                "shots_off_target": 0.4456,
                "bench_appearance_probability": 0.566,
                "bench_expected_minutes": 25.46
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 0.83 (squad xG sum 0.8154, xG scale 1.0240, xA scale 1.0541, team xA 0.54 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.0975,
                "goal_rate": 0.0654,
                "goals": 0,
                "shots_on_target": 0.3112,
                "total_shots": 0.7568,
                "expected_assists": 0.0402,
                "key_pass": 0.2777,
                "rating": 6.5842,
                "minutes": 25.46,
                "total_pass": 9.3725,
                "accurate_pass": 9.3725,
                "duels_won": 2.5993,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 7.1759,
                "accurate_opp_half_passes": 7.1759,
                "crosses_total": 1.9771,
                "crosses_accurate": 0.0,
                "touches": 13.9491,
                "possession_lost": 1.9771,
                "dispossessed": 0.0,
                "duels_lost": 0.0,
                "aerial_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.7321,
                "challenges_lost": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.6225,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.6225,
                "tackles": 0.6225,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 2.7093,
                "total_progression": 5.8653,
                "progressive_carries": 0.0,
                "shots_off_target": 0.4456,
                "bench_appearance_probability": 0.566,
                "bench_expected_minutes": 25.46,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.774,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 0.835,
                "squad_xg_sum": 0.8154,
                "squad_xa_sum": 0.5149,
                "team_expected_assists": 0.5427,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.024,
                "xa_scale": 1.0541,
                "opponent_lambda": 1.934,
                "scoreline_reset": true,
                "appearance_weight": 0.566
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 18 by projected rating, fifa_overall 76.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.0975,
                "goal_rate": 0.0654,
                "goals": 0,
                "shots_on_target": 0.3112,
                "total_shots": 0.7568,
                "expected_assists": 0.0402,
                "key_pass": 0.2777,
                "rating": 6.5842,
                "minutes": 25.46,
                "total_pass": 9.3725,
                "accurate_pass": 9.3725,
                "duels_won": 2.5993,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 7.1759,
                "accurate_opp_half_passes": 7.1759,
                "crosses_total": 1.9771,
                "crosses_accurate": 0.0,
                "touches": 13.9491,
                "possession_lost": 1.9771,
                "dispossessed": 0.0,
                "duels_lost": 0.0,
                "aerial_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.7321,
                "challenges_lost": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.6225,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.6225,
                "tackles": 0.6225,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 2.7093,
                "total_progression": 5.8653,
                "progressive_carries": 0.0,
                "shots_off_target": 0.4456,
                "bench_appearance_probability": 0.566,
                "bench_expected_minutes": 25.46,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.774,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 76.0
              },
              "params": {
                "match_squad_rank": 18,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3024,
                "fifa_rank": 1827.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 76.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "expected_goals": 0.0975,
                "goal_rate": 0.0654,
                "goals": 0,
                "shots_on_target": 0.3112,
                "total_shots": 0.7568,
                "expected_assists": 0.0402,
                "key_pass": 0.2777,
                "rating": 6.5842,
                "minutes": 25.46,
                "total_pass": 9.3725,
                "accurate_pass": 9.3725,
                "duels_won": 2.5993,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 7.1759,
                "accurate_opp_half_passes": 7.1759,
                "crosses_total": 1.9771,
                "crosses_accurate": 0.0,
                "touches": 13.9491,
                "possession_lost": 1.9771,
                "dispossessed": 0.0,
                "duels_lost": 0.0,
                "aerial_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.7321,
                "challenges_lost": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.6225,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.6225,
                "tackles": 0.6225,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 2.7093,
                "total_progression": 5.8653,
                "progressive_carries": 0.0,
                "shots_off_target": 0.4456,
                "bench_appearance_probability": 0.566,
                "bench_expected_minutes": 25.46,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.774,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0526,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0526,
                "scorer_weight": 0.0441,
                "squad_weight_total": 0.8684,
                "weight_share": 0.0508,
                "finishing_factor": 0.8,
                "appearance_weight": 0.566,
                "weight_rank": 4,
                "eligible_players": 14
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "expected_goals": 0.0975,
                "goal_rate": 0.0654,
                "goals": 0,
                "shots_on_target": 0.3112,
                "total_shots": 0.7568,
                "expected_assists": 0.0402,
                "key_pass": 0.2777,
                "rating": 6.5842,
                "minutes": 25.46,
                "total_pass": 9.3725,
                "accurate_pass": 9.3725,
                "duels_won": 2.5993,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 7.1759,
                "accurate_opp_half_passes": 7.1759,
                "crosses_total": 1.9771,
                "crosses_accurate": 0.0,
                "touches": 13.9491,
                "possession_lost": 1.9771,
                "dispossessed": 0.0,
                "duels_lost": 0.0,
                "aerial_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.7321,
                "challenges_lost": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.6225,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.6225,
                "tackles": 0.6225,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 2.7093,
                "total_progression": 5.8653,
                "progressive_carries": 0.0,
                "shots_off_target": 0.4456,
                "bench_appearance_probability": 0.566,
                "bench_expected_minutes": 25.46,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.774,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0526,
                "projected_assists": 0,
                "assist_probability": 0.0223,
                "finishing_factor": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0223,
                "provider_weight": 0.0182,
                "squad_weight_total": 0.4935,
                "weight_share": 0.0369,
                "creation_factor": 0.8,
                "appearance_weight": 0.566,
                "weight_rank": 8,
                "eligible_players": 14
              }
            }
          ]
        },
        "Jonathan Dubasin": {
          "player_id": 1094517,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 21,
          "height": 180,
          "market_value": 4300000,
          "stats": {
            "expected_goals": 0.0667,
            "goal_rate": 0.0549,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0268,
            "key_pass": 0,
            "rating": 6.6186,
            "minutes": 27,
            "total_pass": 14,
            "accurate_pass": 11,
            "duels_won": 1,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "total_opp_half_passes": 11,
            "accurate_opp_half_passes": 8,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 20,
            "possession_lost": 4.7106,
            "dispossessed": 0.6261,
            "duels_lost": 3,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 2,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 1,
            "xgot": 0.1173,
            "offsides": 0,
            "ball_carries": 5,
            "total_progression": 25,
            "progressive_carries": 1,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.592,
            "bench_expected_minutes": 26.81,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 4,
            "projected_substitution_expected_count": 2.774,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0382,
            "projected_assists": 0,
            "assist_probability": 0.0157,
            "finishing_factor": 0.9114,
            "creation_factor": 0.8,
            "fifa_overall": 77.0
          },
          "latest_10_games": [
            {
              "match_id": 16416305,
              "match_date": "2026-09-19",
              "home_team": "Osasuna",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 21,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0051,
                "total_shots": 0,
                "total_pass": 8,
                "accurate_pass": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416335,
              "match_date": "2026-09-16",
              "home_team": "Atlético Madrid",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 59,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0101,
                "total_shots": 0,
                "total_pass": 26,
                "accurate_pass": 23,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416327,
              "match_date": "2026-09-12",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 30,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.5036,
                "expected_assists": 0.0167,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 21,
                "accurate_pass": 19,
                "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": 16416318,
              "match_date": "2026-09-06",
              "home_team": "Deportivo Alavés",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 30,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0262,
                "total_shots": 0,
                "total_pass": 17,
                "accurate_pass": 13,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416314,
              "match_date": "2026-08-31",
              "home_team": "Osasuna",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Getafe",
              "stats": {
                "minutes": 45,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.4988,
                "expected_assists": 0.0232,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 18,
                "accurate_pass": 11,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16815992,
              "match_date": "2026-08-27",
              "home_team": "Celta Vigo",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 58,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0913,
                "total_shots": 0,
                "total_pass": 22,
                "accurate_pass": 18,
                "key_pass": 2,
                "tackles": 1,
                "interceptions": 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": 16416296,
              "match_date": "2026-08-24",
              "home_team": "Osasuna",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 10,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0002,
                "total_shots": 0,
                "total_pass": 1,
                "accurate_pass": 1,
                "interceptions": 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": 2777,
            "combined_rank_score": 1181.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 959.0,
            "sofascore_rating": 6.4,
            "sofascore_appearances": 3.0,
            "fifa_rank": 1404.0,
            "fifa_overall": 77.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 16,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6186,
            "source_file": "data/player_rankings.csv",
            "player_name": "Jonathan Dubasin",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Edson Carioca",
                  "ranking": 2772
                },
                {
                  "player_name": "André Luis",
                  "ranking": 2773
                },
                {
                  "player_name": "Antonio Galeano",
                  "ranking": 2774
                },
                {
                  "player_name": "Franco Cáceres",
                  "ranking": 2775
                },
                {
                  "player_name": "Edvin Muratović",
                  "ranking": 2776
                }
              ],
              "lower": [
                {
                  "player_name": "Gorka Carrera Zarranz",
                  "ranking": 2778
                },
                {
                  "player_name": "Germán Cano",
                  "ranking": 2779
                },
                {
                  "player_name": "Javokhir Jorayev",
                  "ranking": 2780
                },
                {
                  "player_name": "Sayfiddin Sodikov",
                  "ranking": 2781
                },
                {
                  "player_name": "Gabriel Sloane-Rodrigues",
                  "ranking": 2782
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.701,
          "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.701,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 26.81,
            "bench_appearance_prob": 0.592,
            "market_value_adjustment": 0.9936,
            "fbref_prior_metrics": {
              "squad": "Osasuna",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 1.0,
              "sub_appearances": 2.0,
              "minutes_per_sub": 28.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.0867
            },
            "rationale": "Bench projection scaled from XGBoost F_service (7 historical appearances) to 26.8 expected mins (appearance prob 0.59); FBref playing time empirical prior: 2.0 sub appearances, 28.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.0614,
                "goals": 0.053,
                "goal_rate": 0.053,
                "shots_on_target": 0.2636,
                "total_shots": 0.5,
                "expected_assists": 0.0239,
                "key_pass": 0.3437,
                "rating": 6.6186,
                "minutes": 25.17,
                "total_pass": 13.4035,
                "accurate_pass": 10.7371,
                "duels_won": 0.9156,
                "total_long_balls": 1.2248,
                "accurate_long_balls": 0.728,
                "total_opp_half_passes": 9.9567,
                "accurate_opp_half_passes": 7.8162,
                "crosses_total": 0.424,
                "crosses_accurate": 0.0,
                "touches": 18.7735,
                "possession_lost": 4.4509,
                "dispossessed": 0.6301,
                "duels_lost": 2.4798,
                "aerial_lost": 0.3312,
                "total_contest": 0.2292,
                "won_contest": 0.0,
                "ball_recovery": 1.5104,
                "challenges_lost": 0.6593,
                "fouls": 0.6301,
                "fouls_drawn": 0.1656,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.1408,
                "tackles_won": 0.1948,
                "tackles": 0.3896,
                "clearances": 0.0,
                "blocks": 0.2292,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.7673,
                "xgot": 0.1082,
                "offsides": 0.0,
                "ball_carries": 4.4333,
                "total_progression": 23.5052,
                "progressive_carries": 1.1177,
                "shots_off_target": 0.2363
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-11T10:27:16.278802+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 604,
                    "rows": 15537
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Rayo Vallecano",
                    "minutes": 21.0,
                    "is_starting": false,
                    "weight": 0.2208,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Atlético Madrid",
                    "minutes": 59.0,
                    "is_starting": true,
                    "weight": 0.1877,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Espanyol",
                    "minutes": 30.0,
                    "is_starting": false,
                    "weight": 0.1595,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Deportivo Alavés",
                    "minutes": 30.0,
                    "is_starting": false,
                    "weight": 0.1356,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Getafe",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.1152,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Celta Vigo",
                    "minutes": 58.0,
                    "is_starting": true,
                    "weight": 0.098,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Levante UD",
                    "minutes": 10.0,
                    "is_starting": false,
                    "weight": 0.0833,
                    "rating": 6.5
                  }
                ],
                "feature_row": {
                  "history_matches": 7.0,
                  "is_starting_11": 0.0,
                  "expectedGoals": 0.1378,
                  "totalOppositionHalfPasses": 11.039,
                  "accurateOppositionHalfPasses": 8.6594,
                  "accuratePass": 13.7691,
                  "totalShots": 0.5495
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.06144718453288078,
                    "model_output": 0.0614,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.282
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0894
                      },
                      {
                        "name": "goals",
                        "importance": 0.0352
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0258
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0248
                      }
                    ],
                    "decomposition": {
                      "base": 0.1978,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0909
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0157
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0089
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0043
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0036
                        }
                      ],
                      "others": -0.013,
                      "total": 0.0614,
                      "log_link": true,
                      "margin_base": -1.62027,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.615263
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.15901
                        },
                        {
                          "name": "goals",
                          "margin": -0.102357
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.054072
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.046886
                        }
                      ],
                      "others_margin": -0.191718
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.05302491784095764,
                    "model_output": 0.053,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.121
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0861
                      },
                      {
                        "name": "goals",
                        "importance": 0.0516
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0267
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0267
                      }
                    ],
                    "decomposition": {
                      "base": 0.2032,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0988
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0181
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0105
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0055
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0046
                        }
                      ],
                      "others": -0.0127,
                      "total": 0.053,
                      "log_link": true,
                      "margin_base": -1.593696,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.666081
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.189885
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.13
                        },
                        {
                          "name": "goals",
                          "margin": -0.074989
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.068308
                        }
                      ],
                      "others_margin": -0.214036
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.26362910866737366,
                    "model_output": 0.2636,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2113
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0717
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0497
                      },
                      {
                        "name": "goals",
                        "importance": 0.0454
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.5367,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2069
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0278
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0159
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0133
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": -0.0109
                        }
                      ],
                      "others": 0.0017,
                      "total": 0.2636,
                      "log_link": true,
                      "margin_base": -0.622283,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.486798
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.088183
                        },
                        {
                          "name": "goals",
                          "margin": -0.054046
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.047774
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": -0.040866
                        }
                      ],
                      "others_margin": 0.006737
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.49996793270111084,
                    "model_output": 0.5,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2764
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0561
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.043
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0394
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0354
                      }
                    ],
                    "decomposition": {
                      "base": 1.3728,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4873
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1192
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0418
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0356
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0347
                        }
                      ],
                      "others": -0.1542,
                      "total": 0.5,
                      "log_link": false,
                      "margin_base": 1.372807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.487334
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.119176
                        },
                        {
                          "name": "goals",
                          "margin": -0.041778
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.035604
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.034739
                        }
                      ],
                      "others_margin": -0.154208
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.02394578605890274,
                    "model_output": 0.0239,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1017
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0772
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0688
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0665
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0563
                      }
                    ],
                    "decomposition": {
                      "base": 0.0639,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0224
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0064
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0032
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0027
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.002
                        }
                      ],
                      "others": -0.0073,
                      "total": 0.0239,
                      "log_link": true,
                      "margin_base": -2.751197,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.432516
                        },
                        {
                          "name": "rating",
                          "margin": -0.168755
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.094729
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.08829
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.067934
                        }
                      ],
                      "others_margin": -0.264409
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.34366077184677124,
                    "model_output": 0.3437,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1626
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1193
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0628
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0553
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0328
                      }
                    ],
                    "decomposition": {
                      "base": 0.6728,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2619
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0232
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0217
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0185
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0167
                        }
                      ],
                      "others": -0.0205,
                      "total": 0.3437,
                      "log_link": true,
                      "margin_base": -0.396376,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.493058
                        },
                        {
                          "name": "rating",
                          "margin": -0.058017
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.057725
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.051888
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.046845
                        }
                      ],
                      "others_margin": -0.057882
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.618565559387207,
                    "model_output": 6.6186,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0639
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0556
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0431
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0431
                      },
                      {
                        "name": "rating",
                        "importance": 0.039
                      }
                    ],
                    "decomposition": {
                      "base": 6.7636,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0513
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0236
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0127
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.0122
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0088
                        }
                      ],
                      "others": -0.0608,
                      "total": 6.6186,
                      "log_link": false,
                      "margin_base": 6.763607,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.051318
                        },
                        {
                          "name": "rating",
                          "margin": -0.023625
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.012662
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.012227
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.008816
                        }
                      ],
                      "others_margin": -0.060847
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 7,
                  "role_matches": 5,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9936, quality 0.454)",
              "stats": {
                "expected_goals": 0.0611,
                "goals": 0.0527,
                "goal_rate": 0.0527,
                "shots_on_target": 0.2619,
                "total_shots": 0.4968,
                "expected_assists": 0.0238,
                "key_pass": 0.3415,
                "rating": 6.6186,
                "minutes": 25.17,
                "total_pass": 13.3177,
                "accurate_pass": 10.6684,
                "duels_won": 0.9097,
                "total_long_balls": 1.217,
                "accurate_long_balls": 0.7233,
                "total_opp_half_passes": 9.893,
                "accurate_opp_half_passes": 7.7662,
                "crosses_total": 0.4213,
                "crosses_accurate": 0.0,
                "touches": 18.6533,
                "possession_lost": 4.4224,
                "dispossessed": 0.6261,
                "duels_lost": 2.4639,
                "aerial_lost": 0.3291,
                "total_contest": 0.2277,
                "won_contest": 0.0,
                "ball_recovery": 1.5007,
                "challenges_lost": 0.6551,
                "fouls": 0.6261,
                "fouls_drawn": 0.1645,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.1399,
                "tackles_won": 0.1936,
                "tackles": 0.3871,
                "clearances": 0.0,
                "blocks": 0.2277,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.7624,
                "xgot": 0.1075,
                "offsides": 0.0,
                "ball_carries": 4.4049,
                "total_progression": 23.3548,
                "progressive_carries": 1.1105,
                "shots_off_target": 0.2348
              },
              "params": {
                "market_value_eur": 4300000,
                "quality_factor": 0.4535,
                "boost_factor": 0.9936,
                "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.0235)",
              "stats": {
                "expected_goals": 0.0611,
                "goals": 0.0515,
                "goal_rate": 0.0515,
                "shots_on_target": 0.261,
                "total_shots": 0.4956,
                "expected_assists": 0.0238,
                "key_pass": 0.3415,
                "rating": 6.6186,
                "minutes": 25.17,
                "total_pass": 13.3177,
                "accurate_pass": 10.6684,
                "duels_won": 0.9097,
                "total_long_balls": 1.217,
                "accurate_long_balls": 0.7233,
                "total_opp_half_passes": 9.893,
                "accurate_opp_half_passes": 7.7662,
                "crosses_total": 0.4165,
                "crosses_accurate": 0.0,
                "touches": 18.6533,
                "possession_lost": 4.4224,
                "dispossessed": 0.6261,
                "duels_lost": 2.4639,
                "aerial_lost": 0.3291,
                "total_contest": 0.2277,
                "won_contest": 0.0,
                "ball_recovery": 1.5007,
                "challenges_lost": 0.6551,
                "fouls": 0.6215,
                "fouls_drawn": 0.1657,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.1518,
                "tackles_won": 0.1891,
                "tackles": 0.3871,
                "clearances": 0.0,
                "blocks": 0.2277,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.7624,
                "xgot": 0.1075,
                "offsides": 0.0,
                "ball_carries": 4.4049,
                "total_progression": 23.3548,
                "progressive_carries": 1.1105,
                "shots_off_target": 0.2348
              },
              "params": {
                "blend_weight": 0.0235,
                "history_matches": 7,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.2797,
                "prior_reliability": 0.0867,
                "competition": "La Liga",
                "squad": "Osasuna"
              },
              "changes": [
                {
                  "stat": "interceptionWon",
                  "before": 0.1399,
                  "after": 0.1518
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 25.2 to 26.8 expected minutes (appearance prob 0.59)",
              "stats": {
                "expected_goals": 0.0651,
                "goals": 0.0549,
                "goal_rate": 0.0549,
                "shots_on_target": 0.278,
                "total_shots": 0.5281,
                "expected_assists": 0.0254,
                "key_pass": 0.3638,
                "rating": 6.6186,
                "minutes": 26.81,
                "total_pass": 14.1854,
                "accurate_pass": 11.3635,
                "duels_won": 0.969,
                "total_long_balls": 1.2963,
                "accurate_long_balls": 0.7704,
                "total_opp_half_passes": 10.5376,
                "accurate_opp_half_passes": 8.2722,
                "crosses_total": 0.4436,
                "crosses_accurate": 0.0,
                "touches": 19.8687,
                "possession_lost": 4.7106,
                "dispossessed": 0.6261,
                "duels_lost": 2.6244,
                "aerial_lost": 0.3291,
                "total_contest": 0.2425,
                "won_contest": 0.0,
                "ball_recovery": 1.5985,
                "challenges_lost": 0.6551,
                "fouls": 0.662,
                "fouls_drawn": 0.1765,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.1617,
                "tackles_won": 0.2014,
                "tackles": 0.4123,
                "clearances": 0.0,
                "blocks": 0.2425,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.8121,
                "xgot": 0.1145,
                "offsides": 0.0,
                "ball_carries": 4.6919,
                "total_progression": 24.8765,
                "progressive_carries": 1.1829,
                "shots_off_target": 0.2501,
                "bench_appearance_probability": 0.592,
                "bench_expected_minutes": 26.81
              },
              "params": {
                "expected_minutes": 26.81,
                "projection_minutes": 25.17,
                "minutes_scale": 1.0652,
                "appearance_probability": 0.592
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0651,
                "goals": 0.0549,
                "goal_rate": 0.0549,
                "shots_on_target": 0.278,
                "total_shots": 0.5281,
                "expected_assists": 0.0254,
                "key_pass": 0.3638,
                "rating": 6.6186,
                "minutes": 26.81,
                "total_pass": 14.1854,
                "accurate_pass": 11.3635,
                "duels_won": 0.969,
                "total_long_balls": 1.2963,
                "accurate_long_balls": 0.7704,
                "total_opp_half_passes": 10.5376,
                "accurate_opp_half_passes": 8.2722,
                "crosses_total": 0.4436,
                "crosses_accurate": 0.0,
                "touches": 19.8687,
                "possession_lost": 4.7106,
                "dispossessed": 0.6261,
                "duels_lost": 2.6244,
                "aerial_lost": 0.3291,
                "total_contest": 0.2425,
                "won_contest": 0.0,
                "ball_recovery": 1.5985,
                "challenges_lost": 0.6551,
                "fouls": 0.662,
                "fouls_drawn": 0.1765,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.1617,
                "tackles_won": 0.2014,
                "tackles": 0.4123,
                "clearances": 0.0,
                "blocks": 0.2425,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.8121,
                "xgot": 0.1145,
                "offsides": 0.0,
                "ball_carries": 4.6919,
                "total_progression": 24.8765,
                "progressive_carries": 1.1829,
                "shots_off_target": 0.2501,
                "bench_appearance_probability": 0.592,
                "bench_expected_minutes": 26.81
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 0.83 (squad xG sum 0.8154, xG scale 1.0240, xA scale 1.0541, team xA 0.54 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.0667,
                "goal_rate": 0.0549,
                "goals": 0,
                "shots_on_target": 0.278,
                "total_shots": 0.5281,
                "expected_assists": 0.0268,
                "key_pass": 0.3638,
                "rating": 6.6186,
                "minutes": 26.81,
                "total_pass": 14.1854,
                "accurate_pass": 11.3635,
                "duels_won": 0.969,
                "total_long_balls": 1.2963,
                "accurate_long_balls": 0.7704,
                "total_opp_half_passes": 10.5376,
                "accurate_opp_half_passes": 8.2722,
                "crosses_total": 0.4436,
                "crosses_accurate": 0.0,
                "touches": 19.8687,
                "possession_lost": 4.7106,
                "dispossessed": 0.6261,
                "duels_lost": 2.6244,
                "aerial_lost": 0.3291,
                "total_contest": 0.2425,
                "won_contest": 0.0,
                "ball_recovery": 1.5985,
                "challenges_lost": 0.6551,
                "fouls": 0.662,
                "fouls_drawn": 0.1765,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.1617,
                "tackles_won": 0.2014,
                "tackles": 0.4123,
                "clearances": 0.0,
                "blocks": 0.2425,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.8121,
                "xgot": 0.1173,
                "offsides": 0.0,
                "ball_carries": 4.6919,
                "total_progression": 24.8765,
                "progressive_carries": 1.1829,
                "shots_off_target": 0.2501,
                "bench_appearance_probability": 0.592,
                "bench_expected_minutes": 26.81,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.774,
                "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.9114,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 0.835,
                "squad_xg_sum": 0.8154,
                "squad_xa_sum": 0.5149,
                "team_expected_assists": 0.5427,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.024,
                "xa_scale": 1.0541,
                "opponent_lambda": 1.934,
                "scoreline_reset": true,
                "appearance_weight": 0.592
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 16 by projected rating, fifa_overall 77.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.0667,
                "goal_rate": 0.0549,
                "goals": 0,
                "shots_on_target": 0.278,
                "total_shots": 0.5281,
                "expected_assists": 0.0268,
                "key_pass": 0.3638,
                "rating": 6.6186,
                "minutes": 26.81,
                "total_pass": 14.1854,
                "accurate_pass": 11.3635,
                "duels_won": 0.969,
                "total_long_balls": 1.2963,
                "accurate_long_balls": 0.7704,
                "total_opp_half_passes": 10.5376,
                "accurate_opp_half_passes": 8.2722,
                "crosses_total": 0.4436,
                "crosses_accurate": 0.0,
                "touches": 19.8687,
                "possession_lost": 4.7106,
                "dispossessed": 0.6261,
                "duels_lost": 2.6244,
                "aerial_lost": 0.3291,
                "total_contest": 0.2425,
                "won_contest": 0.0,
                "ball_recovery": 1.5985,
                "challenges_lost": 0.6551,
                "fouls": 0.662,
                "fouls_drawn": 0.1765,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.1617,
                "tackles_won": 0.2014,
                "tackles": 0.4123,
                "clearances": 0.0,
                "blocks": 0.2425,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.8121,
                "xgot": 0.1173,
                "offsides": 0.0,
                "ball_carries": 4.6919,
                "total_progression": 24.8765,
                "progressive_carries": 1.1829,
                "shots_off_target": 0.2501,
                "bench_appearance_probability": 0.592,
                "bench_expected_minutes": 26.81,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.774,
                "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.9114,
                "creation_factor": 0.8,
                "fifa_overall": 77.0
              },
              "params": {
                "match_squad_rank": 16,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 2777,
                "fifa_rank": 1404.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 77.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "expected_goals": 0.0667,
                "goal_rate": 0.0549,
                "goals": 0,
                "shots_on_target": 0.278,
                "total_shots": 0.5281,
                "expected_assists": 0.0268,
                "key_pass": 0.3638,
                "rating": 6.6186,
                "minutes": 26.81,
                "total_pass": 14.1854,
                "accurate_pass": 11.3635,
                "duels_won": 0.969,
                "total_long_balls": 1.2963,
                "accurate_long_balls": 0.7704,
                "total_opp_half_passes": 10.5376,
                "accurate_opp_half_passes": 8.2722,
                "crosses_total": 0.4436,
                "crosses_accurate": 0.0,
                "touches": 19.8687,
                "possession_lost": 4.7106,
                "dispossessed": 0.6261,
                "duels_lost": 2.6244,
                "aerial_lost": 0.3291,
                "total_contest": 0.2425,
                "won_contest": 0.0,
                "ball_recovery": 1.5985,
                "challenges_lost": 0.6551,
                "fouls": 0.662,
                "fouls_drawn": 0.1765,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.1617,
                "tackles_won": 0.2014,
                "tackles": 0.4123,
                "clearances": 0.0,
                "blocks": 0.2425,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.8121,
                "xgot": 0.1173,
                "offsides": 0.0,
                "ball_carries": 4.6919,
                "total_progression": 24.8765,
                "progressive_carries": 1.1829,
                "shots_off_target": 0.2501,
                "bench_appearance_probability": 0.592,
                "bench_expected_minutes": 26.81,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.774,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0382,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9114,
                "creation_factor": 0.8,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0382,
                "scorer_weight": 0.036,
                "squad_weight_total": 0.8684,
                "weight_share": 0.0414,
                "finishing_factor": 0.9114,
                "appearance_weight": 0.592,
                "weight_rank": 7,
                "eligible_players": 14
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "expected_goals": 0.0667,
                "goal_rate": 0.0549,
                "goals": 0,
                "shots_on_target": 0.278,
                "total_shots": 0.5281,
                "expected_assists": 0.0268,
                "key_pass": 0.3638,
                "rating": 6.6186,
                "minutes": 26.81,
                "total_pass": 14.1854,
                "accurate_pass": 11.3635,
                "duels_won": 0.969,
                "total_long_balls": 1.2963,
                "accurate_long_balls": 0.7704,
                "total_opp_half_passes": 10.5376,
                "accurate_opp_half_passes": 8.2722,
                "crosses_total": 0.4436,
                "crosses_accurate": 0.0,
                "touches": 19.8687,
                "possession_lost": 4.7106,
                "dispossessed": 0.6261,
                "duels_lost": 2.6244,
                "aerial_lost": 0.3291,
                "total_contest": 0.2425,
                "won_contest": 0.0,
                "ball_recovery": 1.5985,
                "challenges_lost": 0.6551,
                "fouls": 0.662,
                "fouls_drawn": 0.1765,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.1617,
                "tackles_won": 0.2014,
                "tackles": 0.4123,
                "clearances": 0.0,
                "blocks": 0.2425,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.8121,
                "xgot": 0.1173,
                "offsides": 0.0,
                "ball_carries": 4.6919,
                "total_progression": 24.8765,
                "progressive_carries": 1.1829,
                "shots_off_target": 0.2501,
                "bench_appearance_probability": 0.592,
                "bench_expected_minutes": 26.81,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.774,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0382,
                "projected_assists": 0,
                "assist_probability": 0.0157,
                "finishing_factor": 0.9114,
                "creation_factor": 0.8,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0157,
                "provider_weight": 0.0127,
                "squad_weight_total": 0.4935,
                "weight_share": 0.0257,
                "creation_factor": 0.8,
                "appearance_weight": 0.592,
                "weight_rank": 12,
                "eligible_players": 14
              }
            }
          ]
        }
      },
      "substitutes": {
        "Enzo Boyomo": {
          "player_id": 1067582,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 22,
          "height": 181,
          "market_value": 14600000,
          "stats": {
            "interceptions": 0,
            "tackles": 1,
            "tackles_won": 0,
            "clearances": 2,
            "aerial_won": 1,
            "total_shots": 0,
            "rating": 6.7513,
            "minutes": 35,
            "total_pass": 54,
            "accurate_pass": 48,
            "duels_won": 4,
            "total_long_balls": 5,
            "accurate_long_balls": 3,
            "total_own_half_passes": 36,
            "accurate_own_half_passes": 34,
            "total_opp_half_passes": 18,
            "accurate_opp_half_passes": 14,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 68,
            "possession_lost": 6.7171,
            "dispossessed": 0.3444,
            "duels_lost": 4,
            "aerial_lost": 1,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 4,
            "challenges_lost": 0,
            "fouls": 2,
            "fouls_drawn": 0,
            "blocks": 1,
            "goal_rate": 0.009,
            "goals": 0,
            "assist_rate": 0.1177,
            "assists": 0,
            "expected_goals": 0.0411,
            "expected_assists": 0.0153,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0261,
            "ball_carries": 18,
            "total_progression": 53,
            "progressive_carries": 1,
            "key_pass": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.613,
            "bench_expected_minutes": 34.95,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 4,
            "projected_substitution_expected_count": 2.774,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0247,
            "projected_assists": 0,
            "assist_probability": 0.0093,
            "finishing_factor": 0.8,
            "creation_factor": 1.25,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "match_id": 16416335,
              "match_date": "2026-09-16",
              "home_team": "Atlético Madrid",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0041,
                "total_shots": 0,
                "total_pass": 48,
                "accurate_pass": 43,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 7,
                "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": 16416318,
              "match_date": "2026-09-06",
              "home_team": "Deportivo Alavés",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 60,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0033,
                "total_shots": 0,
                "total_pass": 27,
                "accurate_pass": 26,
                "tackles": 3,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 5,
                "aerial_won": 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": 16416314,
              "match_date": "2026-08-31",
              "home_team": "Osasuna",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Getafe",
              "stats": {
                "minutes": 51,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 11,
                "accurate_pass": 8,
                "tackles": 2,
                "tackles_won": 2,
                "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": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083723,
              "match_date": "2026-05-23",
              "home_team": "Getafe",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0035,
                "total_shots": 0,
                "total_pass": 19,
                "accurate_pass": 16,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "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": "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": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.2174,
                "expected_assists": 0.0095,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 2,
                "total_pass": 73,
                "accurate_pass": 67,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083634,
              "match_date": "2026-05-12",
              "home_team": "Osasuna",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0211,
                "total_shots": 0,
                "total_pass": 53,
                "accurate_pass": 50,
                "clearances": 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"
            },
            {
              "match_id": 14083568,
              "match_date": "2026-05-08",
              "home_team": "Levante UD",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.007,
                "total_shots": 0,
                "total_pass": 28,
                "accurate_pass": 26,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 7,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083495,
              "match_date": "2026-05-02",
              "home_team": "Osasuna",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0183,
                "expected_assists": 0.0013,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 28,
                "accurate_pass": 22,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 4,
                "aerial_won": 2,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083231,
              "match_date": "2026-04-26",
              "home_team": "Osasuna",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0638,
                "total_shots": 0,
                "total_pass": 75,
                "accurate_pass": 73,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 5
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083258,
              "match_date": "2026-04-21",
              "home_team": "Athletic Club",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1131,
                "expected_assists": 0.0086,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 97,
                "accurate_pass": 88,
                "clearances": 3,
                "ball_recovery": 5
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 1828,
            "combined_rank_score": 705.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 445.0,
            "sofascore_rating": 6.9,
            "sofascore_appearances": 1.0,
            "fifa_rank": 966.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 9,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7513,
            "source_file": "data/player_rankings.csv",
            "player_name": "Enzo Boyomo",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Benjamin André",
                  "ranking": 1823
                },
                {
                  "player_name": "Konstantinos Mavropanos",
                  "ranking": 1824
                },
                {
                  "player_name": "Nicolás Tagliafico",
                  "ranking": 1825
                },
                {
                  "player_name": "Joaquín Soto",
                  "ranking": 1826
                },
                {
                  "player_name": "Jeon Seong-jin",
                  "ranking": 1827
                }
              ],
              "lower": [
                {
                  "player_name": "Yasin Ayari",
                  "ranking": 1829
                },
                {
                  "player_name": "Fernando Ovelar",
                  "ranking": 1830
                },
                {
                  "player_name": "Diego Sanhueza",
                  "ranking": 1831
                },
                {
                  "player_name": "Aaron Astudillo",
                  "ranking": 1832
                },
                {
                  "player_name": "Valentin Rongier",
                  "ranking": 1833
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.756,
          "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.756,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 34.95,
            "bench_appearance_prob": 0.613,
            "market_value_adjustment": 1.0028,
            "fbref_prior_metrics": {
              "squad": "Osasuna",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 1.0,
              "starts": 0.0,
              "sub_appearances": 1.0,
              "minutes_per_sub": 52.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.04
            },
            "rationale": "Bench projection scaled from XGBoost D_service (33 historical appearances) to 35.0 expected mins (appearance prob 0.61); FBref playing time empirical prior: 1.0 sub appearances, 52.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 0.3433,
                "tackles": 0.6623,
                "tackles_won": 0.3639,
                "clearances": 1.8682,
                "aerial_won": 0.465,
                "total_shots": 0.1457,
                "rating": 6.7513,
                "minutes": 26.69,
                "total_pass": 40.8349,
                "accurate_pass": 36.8779,
                "duels_won": 2.7436,
                "total_long_balls": 3.8855,
                "accurate_long_balls": 2.1444,
                "total_own_half_passes": 27.2533,
                "accurate_own_half_passes": 26.211,
                "total_opp_half_passes": 13.5817,
                "accurate_opp_half_passes": 10.6669,
                "crosses_total": 0.1555,
                "crosses_accurate": 0.0034,
                "touches": 51.7024,
                "possession_lost": 5.1153,
                "dispossessed": 0.3434,
                "duels_lost": 2.9807,
                "aerial_lost": 1.2089,
                "total_contest": 0.2238,
                "won_contest": 0.1359,
                "ball_recovery": 3.2607,
                "challenges_lost": 0.1198,
                "fouls": 1.2457,
                "fouls_drawn": 0.1942,
                "blocks": 0.5002,
                "goals": 0.0069,
                "goal_rate": 0.0069,
                "assists": 0.0899,
                "assist_rate": 0.0899,
                "expected_goals": 0.0305,
                "expected_assists": 0.0111,
                "shots_on_target": 0.1457,
                "big_chances_created": 0.0124,
                "xgot": 0.0194,
                "ball_carries": 13.6417,
                "total_progression": 40.4063,
                "progressive_carries": 0.4492,
                "key_pass": 0.2949,
                "shots_off_target": 0.0
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-11T10:25:50.810190+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 623,
                    "rows": 20487
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1507,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Deportivo Alavés",
                    "minutes": 60.0,
                    "is_starting": true,
                    "weight": 0.1281,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Getafe",
                    "minutes": 51.0,
                    "is_starting": false,
                    "weight": 0.1089,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0926,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0787,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-12",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0669,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-05-08",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0568,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0483,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-04-26",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0411,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-04-21",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0349,
                    "rating": 6.3
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalClearance": 4.5699,
                  "aerialWon": 0.8142,
                  "totalClearance_p90": 5.2285,
                  "totalTackle": 1.5993,
                  "totalPass": 40.8349
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.3433154821395874,
                    "model_output": 0.3433,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.3015
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0387
                      },
                      {
                        "name": "touches",
                        "importance": 0.0279
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0248
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0238
                      }
                    ],
                    "decomposition": {
                      "base": 0.859,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4784
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.035
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0094
                        },
                        {
                          "name": "touches",
                          "contribution": 0.008
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0071
                        }
                      ],
                      "others": -0.0126,
                      "total": 0.3433,
                      "log_link": true,
                      "margin_base": -0.152032,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.81414
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.096461
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.026967
                        },
                        {
                          "name": "touches",
                          "margin": 0.0223
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.019853
                        }
                      ],
                      "others_margin": -0.035887
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 0.6623123288154602,
                    "model_output": 0.6623,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2671
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0621
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0475
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0423
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 1.3957,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.7262
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0323
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0247
                        },
                        {
                          "name": "wonTackle",
                          "contribution": 0.0255
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0206
                        }
                      ],
                      "others": -0.0457,
                      "total": 0.6623,
                      "log_link": true,
                      "margin_base": 0.333417,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.734609
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.04947
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.038105
                        },
                        {
                          "name": "wonTackle",
                          "margin": 0.037764
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.029459
                        }
                      ],
                      "others_margin": -0.066684
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.3638812005519867,
                    "model_output": 0.3639,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2228
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0652
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0462
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0412
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.8578,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4496
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.017
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0156
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.015
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0118
                        }
                      ],
                      "others": -0.0161,
                      "total": 0.3639,
                      "log_link": true,
                      "margin_base": -0.153422,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.742723
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.042579
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.039166
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.037547
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.030706
                        }
                      ],
                      "others_margin": -0.043117
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 1.86820387840271,
                    "model_output": 1.8682,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2968
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1597
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0817
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0344
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0202
                      }
                    ],
                    "decomposition": {
                      "base": 3.4412,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -2.1133
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.262
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.1185
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0955
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0863
                        }
                      ],
                      "others": -0.022,
                      "total": 1.8682,
                      "log_link": true,
                      "margin_base": 1.235809,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.952236
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.180048
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.071874
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.054388
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.046727
                        }
                      ],
                      "others_margin": -0.011633
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.4649512469768524,
                    "model_output": 0.465,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1612
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1495
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.087
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0431
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0315
                      }
                    ],
                    "decomposition": {
                      "base": 1.3784,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.863
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0973
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0367
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0398
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0163
                        }
                      ],
                      "others": -0.0459,
                      "total": 0.465,
                      "log_link": true,
                      "margin_base": 0.320928,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.983674
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.209112
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.084136
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.083903
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.032457
                        }
                      ],
                      "others_margin": -0.094461
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.1457,
                    "model_output": 0.1371,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.109
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0656
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0378
                      },
                      {
                        "name": "rating",
                        "importance": 0.0315
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0302
                      }
                    ],
                    "decomposition": {
                      "base": 0.4723,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2367
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0171
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0127
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.008
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0062
                        }
                      ],
                      "others": -0.0545,
                      "total": 0.1371,
                      "log_link": false,
                      "margin_base": 0.47232,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.236654
                        },
                        {
                          "name": "rating",
                          "margin": -0.017068
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.012705
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": -0.007959
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.006207
                        }
                      ],
                      "others_margin": -0.054631
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.751265525817871,
                    "model_output": 6.7513,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0729
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0624
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.059
                      },
                      {
                        "name": "touches",
                        "importance": 0.0384
                      },
                      {
                        "name": "rating",
                        "importance": 0.037
                      }
                    ],
                    "decomposition": {
                      "base": 6.786,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": -0.0152
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0138
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0125
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0088
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0084
                        }
                      ],
                      "others": -0.0104,
                      "total": 6.7513,
                      "log_link": false,
                      "margin_base": 6.785968,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": -0.01522
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.013752
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.012453
                        },
                        {
                          "name": "touches",
                          "margin": 0.008842
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.00837
                        }
                      ],
                      "others_margin": -0.01049
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 33,
                  "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.0028, quality 0.575)",
              "stats": {
                "interceptions": 0.3443,
                "tackles": 0.6642,
                "tackles_won": 0.3649,
                "clearances": 1.8734,
                "aerial_won": 0.4663,
                "total_shots": 0.1461,
                "rating": 6.7513,
                "minutes": 26.69,
                "total_pass": 40.9492,
                "accurate_pass": 36.9812,
                "duels_won": 2.7513,
                "total_long_balls": 3.8964,
                "accurate_long_balls": 2.1504,
                "total_own_half_passes": 27.3296,
                "accurate_own_half_passes": 26.2844,
                "total_opp_half_passes": 13.6197,
                "accurate_opp_half_passes": 10.6968,
                "crosses_total": 0.1559,
                "crosses_accurate": 0.0034,
                "touches": 51.8472,
                "possession_lost": 5.1296,
                "dispossessed": 0.3444,
                "duels_lost": 2.989,
                "aerial_lost": 1.2123,
                "total_contest": 0.2244,
                "won_contest": 0.1363,
                "ball_recovery": 3.2698,
                "challenges_lost": 0.1201,
                "fouls": 1.2492,
                "fouls_drawn": 0.1947,
                "blocks": 0.5016,
                "goals": 0.0069,
                "goal_rate": 0.0069,
                "assists": 0.0902,
                "assist_rate": 0.0902,
                "expected_goals": 0.0306,
                "expected_assists": 0.0111,
                "shots_on_target": 0.1461,
                "big_chances_created": 0.0124,
                "xgot": 0.0195,
                "ball_carries": 13.6799,
                "total_progression": 40.5194,
                "progressive_carries": 0.4505,
                "key_pass": 0.2957,
                "shots_off_target": 0.0
              },
              "params": {
                "market_value_eur": 14600000,
                "quality_factor": 0.5748,
                "boost_factor": 1.0028,
                "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.0034)",
              "stats": {
                "interceptions": 0.3431,
                "tackles": 0.6642,
                "tackles_won": 0.367,
                "clearances": 1.8734,
                "aerial_won": 0.4663,
                "total_shots": 0.1456,
                "rating": 6.7513,
                "minutes": 26.69,
                "total_pass": 40.9492,
                "accurate_pass": 36.9812,
                "duels_won": 2.7513,
                "total_long_balls": 3.8964,
                "accurate_long_balls": 2.1504,
                "total_own_half_passes": 27.3296,
                "accurate_own_half_passes": 26.2844,
                "total_opp_half_passes": 13.6197,
                "accurate_opp_half_passes": 10.6968,
                "crosses_total": 0.1554,
                "crosses_accurate": 0.0034,
                "touches": 51.8472,
                "possession_lost": 5.1296,
                "dispossessed": 0.3444,
                "duels_lost": 2.989,
                "aerial_lost": 1.2123,
                "total_contest": 0.2244,
                "won_contest": 0.1363,
                "ball_recovery": 3.2698,
                "challenges_lost": 0.1201,
                "fouls": 1.2483,
                "fouls_drawn": 0.1957,
                "blocks": 0.5016,
                "goals": 0.0069,
                "goal_rate": 0.0069,
                "assists": 0.0899,
                "assist_rate": 0.0899,
                "expected_goals": 0.0306,
                "expected_assists": 0.0111,
                "shots_on_target": 0.1456,
                "big_chances_created": 0.0124,
                "xgot": 0.0195,
                "ball_carries": 13.6799,
                "total_progression": 40.5194,
                "progressive_carries": 0.4505,
                "key_pass": 0.2957,
                "shots_off_target": 0.0
              },
              "params": {
                "blend_weight": 0.0034,
                "history_matches": 33,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.2966,
                "prior_reliability": 0.04,
                "competition": "La Liga",
                "squad": "Osasuna"
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 26.7 to 35.0 expected minutes (appearance prob 0.61)",
              "stats": {
                "interceptions": 0.4493,
                "tackles": 0.8698,
                "tackles_won": 0.4806,
                "clearances": 2.4532,
                "aerial_won": 0.6106,
                "total_shots": 0.1907,
                "rating": 6.7513,
                "minutes": 34.95,
                "total_pass": 53.6221,
                "accurate_pass": 48.4261,
                "duels_won": 3.6028,
                "total_long_balls": 5.1023,
                "accurate_long_balls": 2.8159,
                "total_own_half_passes": 35.7875,
                "accurate_own_half_passes": 34.4189,
                "total_opp_half_passes": 17.8347,
                "accurate_opp_half_passes": 14.0072,
                "crosses_total": 0.2035,
                "crosses_accurate": 0.0045,
                "touches": 67.8928,
                "possession_lost": 6.7171,
                "dispossessed": 0.3444,
                "duels_lost": 3.914,
                "aerial_lost": 1.2123,
                "total_contest": 0.2938,
                "won_contest": 0.1785,
                "ball_recovery": 4.2817,
                "challenges_lost": 0.1201,
                "fouls": 1.6346,
                "fouls_drawn": 0.2563,
                "blocks": 0.6568,
                "goals": 0.009,
                "goal_rate": 0.009,
                "assists": 0.1177,
                "assist_rate": 0.1177,
                "expected_goals": 0.0401,
                "expected_assists": 0.0145,
                "shots_on_target": 0.1907,
                "big_chances_created": 0.0162,
                "xgot": 0.0255,
                "ball_carries": 17.9135,
                "total_progression": 53.0593,
                "progressive_carries": 0.5899,
                "key_pass": 0.3872,
                "shots_off_target": 0.0,
                "bench_appearance_probability": 0.613,
                "bench_expected_minutes": 34.95
              },
              "params": {
                "expected_minutes": 34.95,
                "projection_minutes": 26.69,
                "minutes_scale": 1.3095,
                "appearance_probability": 0.613
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.4493,
                "tackles": 0.8698,
                "tackles_won": 0.4806,
                "clearances": 2.4532,
                "aerial_won": 0.6106,
                "total_shots": 0.1907,
                "rating": 6.7513,
                "minutes": 34.95,
                "total_pass": 53.6221,
                "accurate_pass": 48.4261,
                "duels_won": 3.6028,
                "total_long_balls": 5.1023,
                "accurate_long_balls": 2.8159,
                "total_own_half_passes": 35.7875,
                "accurate_own_half_passes": 34.4189,
                "total_opp_half_passes": 17.8347,
                "accurate_opp_half_passes": 14.0072,
                "crosses_total": 0.2035,
                "crosses_accurate": 0.0045,
                "touches": 67.8928,
                "possession_lost": 6.7171,
                "dispossessed": 0.3444,
                "duels_lost": 3.914,
                "aerial_lost": 1.2123,
                "total_contest": 0.2938,
                "won_contest": 0.1785,
                "ball_recovery": 4.2817,
                "challenges_lost": 0.1201,
                "fouls": 1.6346,
                "fouls_drawn": 0.2563,
                "blocks": 0.6568,
                "goals": 0.009,
                "goal_rate": 0.009,
                "assists": 0.1177,
                "assist_rate": 0.1177,
                "expected_goals": 0.0401,
                "expected_assists": 0.0145,
                "shots_on_target": 0.1907,
                "big_chances_created": 0.0162,
                "xgot": 0.0255,
                "ball_carries": 17.9135,
                "total_progression": 53.0593,
                "progressive_carries": 0.5899,
                "key_pass": 0.3872,
                "shots_off_target": 0.0,
                "bench_appearance_probability": 0.613,
                "bench_expected_minutes": 34.95
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 0.83 (squad xG sum 0.8154, xG scale 1.0240, xA scale 1.0541, team xA 0.54 = 0.65 x lambda)",
              "stats": {
                "interceptions": 0.4493,
                "tackles": 0.8698,
                "tackles_won": 0.4806,
                "clearances": 2.4532,
                "aerial_won": 0.6106,
                "total_shots": 0.1907,
                "rating": 6.7513,
                "minutes": 34.95,
                "total_pass": 53.6221,
                "accurate_pass": 48.4261,
                "duels_won": 3.6028,
                "total_long_balls": 5.1023,
                "accurate_long_balls": 2.8159,
                "total_own_half_passes": 35.7875,
                "accurate_own_half_passes": 34.4189,
                "total_opp_half_passes": 17.8347,
                "accurate_opp_half_passes": 14.0072,
                "crosses_total": 0.2035,
                "crosses_accurate": 0.0045,
                "touches": 67.8928,
                "possession_lost": 6.7171,
                "dispossessed": 0.3444,
                "duels_lost": 3.914,
                "aerial_lost": 1.2123,
                "total_contest": 0.2938,
                "won_contest": 0.1785,
                "ball_recovery": 4.2817,
                "challenges_lost": 0.1201,
                "fouls": 1.6346,
                "fouls_drawn": 0.2563,
                "blocks": 0.6568,
                "goal_rate": 0.009,
                "goals": 0,
                "assist_rate": 0.1177,
                "assists": 0,
                "expected_goals": 0.0411,
                "expected_assists": 0.0153,
                "shots_on_target": 0.1907,
                "big_chances_created": 0.0162,
                "xgot": 0.0261,
                "ball_carries": 17.9135,
                "total_progression": 53.0593,
                "progressive_carries": 0.5899,
                "key_pass": 0.3872,
                "shots_off_target": 0.0,
                "bench_appearance_probability": 0.613,
                "bench_expected_minutes": 34.95,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.774,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 0.835,
                "squad_xg_sum": 0.8154,
                "squad_xa_sum": 0.5149,
                "team_expected_assists": 0.5427,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.024,
                "xa_scale": 1.0541,
                "opponent_lambda": 1.934,
                "scoreline_reset": true,
                "appearance_weight": 0.613
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 9 by projected rating, fifa_overall 79.0; not used by the projection)",
              "stats": {
                "interceptions": 0.4493,
                "tackles": 0.8698,
                "tackles_won": 0.4806,
                "clearances": 2.4532,
                "aerial_won": 0.6106,
                "total_shots": 0.1907,
                "rating": 6.7513,
                "minutes": 34.95,
                "total_pass": 53.6221,
                "accurate_pass": 48.4261,
                "duels_won": 3.6028,
                "total_long_balls": 5.1023,
                "accurate_long_balls": 2.8159,
                "total_own_half_passes": 35.7875,
                "accurate_own_half_passes": 34.4189,
                "total_opp_half_passes": 17.8347,
                "accurate_opp_half_passes": 14.0072,
                "crosses_total": 0.2035,
                "crosses_accurate": 0.0045,
                "touches": 67.8928,
                "possession_lost": 6.7171,
                "dispossessed": 0.3444,
                "duels_lost": 3.914,
                "aerial_lost": 1.2123,
                "total_contest": 0.2938,
                "won_contest": 0.1785,
                "ball_recovery": 4.2817,
                "challenges_lost": 0.1201,
                "fouls": 1.6346,
                "fouls_drawn": 0.2563,
                "blocks": 0.6568,
                "goal_rate": 0.009,
                "goals": 0,
                "assist_rate": 0.1177,
                "assists": 0,
                "expected_goals": 0.0411,
                "expected_assists": 0.0153,
                "shots_on_target": 0.1907,
                "big_chances_created": 0.0162,
                "xgot": 0.0261,
                "ball_carries": 17.9135,
                "total_progression": 53.0593,
                "progressive_carries": 0.5899,
                "key_pass": 0.3872,
                "shots_off_target": 0.0,
                "bench_appearance_probability": 0.613,
                "bench_expected_minutes": 34.95,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.774,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 1.25,
                "fifa_overall": 79.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": 1828,
                "fifa_rank": 966.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": 0.4493,
                "tackles": 0.8698,
                "tackles_won": 0.4806,
                "clearances": 2.4532,
                "aerial_won": 0.6106,
                "total_shots": 0.1907,
                "rating": 6.7513,
                "minutes": 34.95,
                "total_pass": 53.6221,
                "accurate_pass": 48.4261,
                "duels_won": 3.6028,
                "total_long_balls": 5.1023,
                "accurate_long_balls": 2.8159,
                "total_own_half_passes": 35.7875,
                "accurate_own_half_passes": 34.4189,
                "total_opp_half_passes": 17.8347,
                "accurate_opp_half_passes": 14.0072,
                "crosses_total": 0.2035,
                "crosses_accurate": 0.0045,
                "touches": 67.8928,
                "possession_lost": 6.7171,
                "dispossessed": 0.3444,
                "duels_lost": 3.914,
                "aerial_lost": 1.2123,
                "total_contest": 0.2938,
                "won_contest": 0.1785,
                "ball_recovery": 4.2817,
                "challenges_lost": 0.1201,
                "fouls": 1.6346,
                "fouls_drawn": 0.2563,
                "blocks": 0.6568,
                "goal_rate": 0.009,
                "goals": 0,
                "assist_rate": 0.1177,
                "assists": 0,
                "expected_goals": 0.0411,
                "expected_assists": 0.0153,
                "shots_on_target": 0.1907,
                "big_chances_created": 0.0162,
                "xgot": 0.0261,
                "ball_carries": 17.9135,
                "total_progression": 53.0593,
                "progressive_carries": 0.5899,
                "key_pass": 0.3872,
                "shots_off_target": 0.0,
                "bench_appearance_probability": 0.613,
                "bench_expected_minutes": 34.95,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.774,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0247,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 1.25,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0247,
                "scorer_weight": 0.0202,
                "squad_weight_total": 0.8684,
                "weight_share": 0.0232,
                "finishing_factor": 0.8,
                "appearance_weight": 0.613,
                "weight_rank": 10,
                "eligible_players": 14
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "interceptions": 0.4493,
                "tackles": 0.8698,
                "tackles_won": 0.4806,
                "clearances": 2.4532,
                "aerial_won": 0.6106,
                "total_shots": 0.1907,
                "rating": 6.7513,
                "minutes": 34.95,
                "total_pass": 53.6221,
                "accurate_pass": 48.4261,
                "duels_won": 3.6028,
                "total_long_balls": 5.1023,
                "accurate_long_balls": 2.8159,
                "total_own_half_passes": 35.7875,
                "accurate_own_half_passes": 34.4189,
                "total_opp_half_passes": 17.8347,
                "accurate_opp_half_passes": 14.0072,
                "crosses_total": 0.2035,
                "crosses_accurate": 0.0045,
                "touches": 67.8928,
                "possession_lost": 6.7171,
                "dispossessed": 0.3444,
                "duels_lost": 3.914,
                "aerial_lost": 1.2123,
                "total_contest": 0.2938,
                "won_contest": 0.1785,
                "ball_recovery": 4.2817,
                "challenges_lost": 0.1201,
                "fouls": 1.6346,
                "fouls_drawn": 0.2563,
                "blocks": 0.6568,
                "goal_rate": 0.009,
                "goals": 0,
                "assist_rate": 0.1177,
                "assists": 0,
                "expected_goals": 0.0411,
                "expected_assists": 0.0153,
                "shots_on_target": 0.1907,
                "big_chances_created": 0.0162,
                "xgot": 0.0261,
                "ball_carries": 17.9135,
                "total_progression": 53.0593,
                "progressive_carries": 0.5899,
                "key_pass": 0.3872,
                "shots_off_target": 0.0,
                "bench_appearance_probability": 0.613,
                "bench_expected_minutes": 34.95,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.774,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0247,
                "projected_assists": 0,
                "assist_probability": 0.0093,
                "finishing_factor": 0.8,
                "creation_factor": 1.25,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0093,
                "provider_weight": 0.0117,
                "squad_weight_total": 0.4935,
                "weight_share": 0.0238,
                "creation_factor": 1.25,
                "appearance_weight": 0.613,
                "weight_rank": 13,
                "eligible_players": 14
              }
            }
          ]
        },
        "Jonathan Dubasin": {
          "player_id": 1094517,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 21,
          "height": 180,
          "market_value": 4300000,
          "stats": {
            "expected_goals": 0.0667,
            "goal_rate": 0.0549,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0268,
            "key_pass": 0,
            "rating": 6.6186,
            "minutes": 27,
            "total_pass": 14,
            "accurate_pass": 11,
            "duels_won": 1,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "total_opp_half_passes": 11,
            "accurate_opp_half_passes": 8,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 20,
            "possession_lost": 4.7106,
            "dispossessed": 0.6261,
            "duels_lost": 3,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 2,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 1,
            "xgot": 0.1173,
            "offsides": 0,
            "ball_carries": 5,
            "total_progression": 25,
            "progressive_carries": 1,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.592,
            "bench_expected_minutes": 26.81,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 4,
            "projected_substitution_expected_count": 2.774,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0382,
            "projected_assists": 0,
            "assist_probability": 0.0157,
            "finishing_factor": 0.9114,
            "creation_factor": 0.8,
            "fifa_overall": 77.0
          },
          "latest_10_games": [
            {
              "match_id": 16416305,
              "match_date": "2026-09-19",
              "home_team": "Osasuna",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 21,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0051,
                "total_shots": 0,
                "total_pass": 8,
                "accurate_pass": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416335,
              "match_date": "2026-09-16",
              "home_team": "Atlético Madrid",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 59,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0101,
                "total_shots": 0,
                "total_pass": 26,
                "accurate_pass": 23,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416327,
              "match_date": "2026-09-12",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 30,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.5036,
                "expected_assists": 0.0167,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 21,
                "accurate_pass": 19,
                "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": 16416318,
              "match_date": "2026-09-06",
              "home_team": "Deportivo Alavés",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 30,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0262,
                "total_shots": 0,
                "total_pass": 17,
                "accurate_pass": 13,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416314,
              "match_date": "2026-08-31",
              "home_team": "Osasuna",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Getafe",
              "stats": {
                "minutes": 45,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.4988,
                "expected_assists": 0.0232,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 18,
                "accurate_pass": 11,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16815992,
              "match_date": "2026-08-27",
              "home_team": "Celta Vigo",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 58,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0913,
                "total_shots": 0,
                "total_pass": 22,
                "accurate_pass": 18,
                "key_pass": 2,
                "tackles": 1,
                "interceptions": 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": 16416296,
              "match_date": "2026-08-24",
              "home_team": "Osasuna",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 10,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0002,
                "total_shots": 0,
                "total_pass": 1,
                "accurate_pass": 1,
                "interceptions": 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": 2777,
            "combined_rank_score": 1181.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 959.0,
            "sofascore_rating": 6.4,
            "sofascore_appearances": 3.0,
            "fifa_rank": 1404.0,
            "fifa_overall": 77.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 16,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6186,
            "source_file": "data/player_rankings.csv",
            "player_name": "Jonathan Dubasin",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Edson Carioca",
                  "ranking": 2772
                },
                {
                  "player_name": "André Luis",
                  "ranking": 2773
                },
                {
                  "player_name": "Antonio Galeano",
                  "ranking": 2774
                },
                {
                  "player_name": "Franco Cáceres",
                  "ranking": 2775
                },
                {
                  "player_name": "Edvin Muratović",
                  "ranking": 2776
                }
              ],
              "lower": [
                {
                  "player_name": "Gorka Carrera Zarranz",
                  "ranking": 2778
                },
                {
                  "player_name": "Germán Cano",
                  "ranking": 2779
                },
                {
                  "player_name": "Javokhir Jorayev",
                  "ranking": 2780
                },
                {
                  "player_name": "Sayfiddin Sodikov",
                  "ranking": 2781
                },
                {
                  "player_name": "Gabriel Sloane-Rodrigues",
                  "ranking": 2782
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.701,
          "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.701,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 26.81,
            "bench_appearance_prob": 0.592,
            "market_value_adjustment": 0.9936,
            "fbref_prior_metrics": {
              "squad": "Osasuna",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 1.0,
              "sub_appearances": 2.0,
              "minutes_per_sub": 28.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.0867
            },
            "rationale": "Bench projection scaled from XGBoost F_service (7 historical appearances) to 26.8 expected mins (appearance prob 0.59); FBref playing time empirical prior: 2.0 sub appearances, 28.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.0614,
                "goals": 0.053,
                "goal_rate": 0.053,
                "shots_on_target": 0.2636,
                "total_shots": 0.5,
                "expected_assists": 0.0239,
                "key_pass": 0.3437,
                "rating": 6.6186,
                "minutes": 25.17,
                "total_pass": 13.4035,
                "accurate_pass": 10.7371,
                "duels_won": 0.9156,
                "total_long_balls": 1.2248,
                "accurate_long_balls": 0.728,
                "total_opp_half_passes": 9.9567,
                "accurate_opp_half_passes": 7.8162,
                "crosses_total": 0.424,
                "crosses_accurate": 0.0,
                "touches": 18.7735,
                "possession_lost": 4.4509,
                "dispossessed": 0.6301,
                "duels_lost": 2.4798,
                "aerial_lost": 0.3312,
                "total_contest": 0.2292,
                "won_contest": 0.0,
                "ball_recovery": 1.5104,
                "challenges_lost": 0.6593,
                "fouls": 0.6301,
                "fouls_drawn": 0.1656,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.1408,
                "tackles_won": 0.1948,
                "tackles": 0.3896,
                "clearances": 0.0,
                "blocks": 0.2292,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.7673,
                "xgot": 0.1082,
                "offsides": 0.0,
                "ball_carries": 4.4333,
                "total_progression": 23.5052,
                "progressive_carries": 1.1177,
                "shots_off_target": 0.2363
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-11T10:27:16.278802+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 604,
                    "rows": 15537
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Rayo Vallecano",
                    "minutes": 21.0,
                    "is_starting": false,
                    "weight": 0.2208,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Atlético Madrid",
                    "minutes": 59.0,
                    "is_starting": true,
                    "weight": 0.1877,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Espanyol",
                    "minutes": 30.0,
                    "is_starting": false,
                    "weight": 0.1595,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Deportivo Alavés",
                    "minutes": 30.0,
                    "is_starting": false,
                    "weight": 0.1356,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Getafe",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.1152,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Celta Vigo",
                    "minutes": 58.0,
                    "is_starting": true,
                    "weight": 0.098,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Levante UD",
                    "minutes": 10.0,
                    "is_starting": false,
                    "weight": 0.0833,
                    "rating": 6.5
                  }
                ],
                "feature_row": {
                  "history_matches": 7.0,
                  "is_starting_11": 0.0,
                  "expectedGoals": 0.1378,
                  "totalOppositionHalfPasses": 11.039,
                  "accurateOppositionHalfPasses": 8.6594,
                  "accuratePass": 13.7691,
                  "totalShots": 0.5495
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.06144718453288078,
                    "model_output": 0.0614,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.282
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0894
                      },
                      {
                        "name": "goals",
                        "importance": 0.0352
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0258
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0248
                      }
                    ],
                    "decomposition": {
                      "base": 0.1978,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0909
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0157
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0089
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0043
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0036
                        }
                      ],
                      "others": -0.013,
                      "total": 0.0614,
                      "log_link": true,
                      "margin_base": -1.62027,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.615263
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.15901
                        },
                        {
                          "name": "goals",
                          "margin": -0.102357
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.054072
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.046886
                        }
                      ],
                      "others_margin": -0.191718
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.05302491784095764,
                    "model_output": 0.053,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.121
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0861
                      },
                      {
                        "name": "goals",
                        "importance": 0.0516
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0267
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0267
                      }
                    ],
                    "decomposition": {
                      "base": 0.2032,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0988
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0181
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0105
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0055
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0046
                        }
                      ],
                      "others": -0.0127,
                      "total": 0.053,
                      "log_link": true,
                      "margin_base": -1.593696,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.666081
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.189885
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.13
                        },
                        {
                          "name": "goals",
                          "margin": -0.074989
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.068308
                        }
                      ],
                      "others_margin": -0.214036
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.26362910866737366,
                    "model_output": 0.2636,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2113
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0717
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0497
                      },
                      {
                        "name": "goals",
                        "importance": 0.0454
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.5367,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2069
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0278
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0159
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0133
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": -0.0109
                        }
                      ],
                      "others": 0.0017,
                      "total": 0.2636,
                      "log_link": true,
                      "margin_base": -0.622283,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.486798
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.088183
                        },
                        {
                          "name": "goals",
                          "margin": -0.054046
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.047774
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": -0.040866
                        }
                      ],
                      "others_margin": 0.006737
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.49996793270111084,
                    "model_output": 0.5,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2764
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0561
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.043
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0394
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0354
                      }
                    ],
                    "decomposition": {
                      "base": 1.3728,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4873
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1192
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0418
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0356
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0347
                        }
                      ],
                      "others": -0.1542,
                      "total": 0.5,
                      "log_link": false,
                      "margin_base": 1.372807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.487334
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.119176
                        },
                        {
                          "name": "goals",
                          "margin": -0.041778
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.035604
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.034739
                        }
                      ],
                      "others_margin": -0.154208
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.02394578605890274,
                    "model_output": 0.0239,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1017
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0772
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0688
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0665
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0563
                      }
                    ],
                    "decomposition": {
                      "base": 0.0639,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0224
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0064
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0032
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0027
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.002
                        }
                      ],
                      "others": -0.0073,
                      "total": 0.0239,
                      "log_link": true,
                      "margin_base": -2.751197,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.432516
                        },
                        {
                          "name": "rating",
                          "margin": -0.168755
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.094729
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.08829
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.067934
                        }
                      ],
                      "others_margin": -0.264409
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.34366077184677124,
                    "model_output": 0.3437,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1626
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1193
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0628
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0553
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0328
                      }
                    ],
                    "decomposition": {
                      "base": 0.6728,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2619
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0232
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0217
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0185
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0167
                        }
                      ],
                      "others": -0.0205,
                      "total": 0.3437,
                      "log_link": true,
                      "margin_base": -0.396376,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.493058
                        },
                        {
                          "name": "rating",
                          "margin": -0.058017
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.057725
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.051888
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.046845
                        }
                      ],
                      "others_margin": -0.057882
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.618565559387207,
                    "model_output": 6.6186,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0639
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0556
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0431
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0431
                      },
                      {
                        "name": "rating",
                        "importance": 0.039
                      }
                    ],
                    "decomposition": {
                      "base": 6.7636,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0513
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0236
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0127
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.0122
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0088
                        }
                      ],
                      "others": -0.0608,
                      "total": 6.6186,
                      "log_link": false,
                      "margin_base": 6.763607,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.051318
                        },
                        {
                          "name": "rating",
                          "margin": -0.023625
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.012662
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.012227
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.008816
                        }
                      ],
                      "others_margin": -0.060847
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 7,
                  "role_matches": 5,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9936, quality 0.454)",
              "stats": {
                "expected_goals": 0.0611,
                "goals": 0.0527,
                "goal_rate": 0.0527,
                "shots_on_target": 0.2619,
                "total_shots": 0.4968,
                "expected_assists": 0.0238,
                "key_pass": 0.3415,
                "rating": 6.6186,
                "minutes": 25.17,
                "total_pass": 13.3177,
                "accurate_pass": 10.6684,
                "duels_won": 0.9097,
                "total_long_balls": 1.217,
                "accurate_long_balls": 0.7233,
                "total_opp_half_passes": 9.893,
                "accurate_opp_half_passes": 7.7662,
                "crosses_total": 0.4213,
                "crosses_accurate": 0.0,
                "touches": 18.6533,
                "possession_lost": 4.4224,
                "dispossessed": 0.6261,
                "duels_lost": 2.4639,
                "aerial_lost": 0.3291,
                "total_contest": 0.2277,
                "won_contest": 0.0,
                "ball_recovery": 1.5007,
                "challenges_lost": 0.6551,
                "fouls": 0.6261,
                "fouls_drawn": 0.1645,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.1399,
                "tackles_won": 0.1936,
                "tackles": 0.3871,
                "clearances": 0.0,
                "blocks": 0.2277,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.7624,
                "xgot": 0.1075,
                "offsides": 0.0,
                "ball_carries": 4.4049,
                "total_progression": 23.3548,
                "progressive_carries": 1.1105,
                "shots_off_target": 0.2348
              },
              "params": {
                "market_value_eur": 4300000,
                "quality_factor": 0.4535,
                "boost_factor": 0.9936,
                "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.0235)",
              "stats": {
                "expected_goals": 0.0611,
                "goals": 0.0515,
                "goal_rate": 0.0515,
                "shots_on_target": 0.261,
                "total_shots": 0.4956,
                "expected_assists": 0.0238,
                "key_pass": 0.3415,
                "rating": 6.6186,
                "minutes": 25.17,
                "total_pass": 13.3177,
                "accurate_pass": 10.6684,
                "duels_won": 0.9097,
                "total_long_balls": 1.217,
                "accurate_long_balls": 0.7233,
                "total_opp_half_passes": 9.893,
                "accurate_opp_half_passes": 7.7662,
                "crosses_total": 0.4165,
                "crosses_accurate": 0.0,
                "touches": 18.6533,
                "possession_lost": 4.4224,
                "dispossessed": 0.6261,
                "duels_lost": 2.4639,
                "aerial_lost": 0.3291,
                "total_contest": 0.2277,
                "won_contest": 0.0,
                "ball_recovery": 1.5007,
                "challenges_lost": 0.6551,
                "fouls": 0.6215,
                "fouls_drawn": 0.1657,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.1518,
                "tackles_won": 0.1891,
                "tackles": 0.3871,
                "clearances": 0.0,
                "blocks": 0.2277,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.7624,
                "xgot": 0.1075,
                "offsides": 0.0,
                "ball_carries": 4.4049,
                "total_progression": 23.3548,
                "progressive_carries": 1.1105,
                "shots_off_target": 0.2348
              },
              "params": {
                "blend_weight": 0.0235,
                "history_matches": 7,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.2797,
                "prior_reliability": 0.0867,
                "competition": "La Liga",
                "squad": "Osasuna"
              },
              "changes": [
                {
                  "stat": "interceptionWon",
                  "before": 0.1399,
                  "after": 0.1518
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 25.2 to 26.8 expected minutes (appearance prob 0.59)",
              "stats": {
                "expected_goals": 0.0651,
                "goals": 0.0549,
                "goal_rate": 0.0549,
                "shots_on_target": 0.278,
                "total_shots": 0.5281,
                "expected_assists": 0.0254,
                "key_pass": 0.3638,
                "rating": 6.6186,
                "minutes": 26.81,
                "total_pass": 14.1854,
                "accurate_pass": 11.3635,
                "duels_won": 0.969,
                "total_long_balls": 1.2963,
                "accurate_long_balls": 0.7704,
                "total_opp_half_passes": 10.5376,
                "accurate_opp_half_passes": 8.2722,
                "crosses_total": 0.4436,
                "crosses_accurate": 0.0,
                "touches": 19.8687,
                "possession_lost": 4.7106,
                "dispossessed": 0.6261,
                "duels_lost": 2.6244,
                "aerial_lost": 0.3291,
                "total_contest": 0.2425,
                "won_contest": 0.0,
                "ball_recovery": 1.5985,
                "challenges_lost": 0.6551,
                "fouls": 0.662,
                "fouls_drawn": 0.1765,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.1617,
                "tackles_won": 0.2014,
                "tackles": 0.4123,
                "clearances": 0.0,
                "blocks": 0.2425,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.8121,
                "xgot": 0.1145,
                "offsides": 0.0,
                "ball_carries": 4.6919,
                "total_progression": 24.8765,
                "progressive_carries": 1.1829,
                "shots_off_target": 0.2501,
                "bench_appearance_probability": 0.592,
                "bench_expected_minutes": 26.81
              },
              "params": {
                "expected_minutes": 26.81,
                "projection_minutes": 25.17,
                "minutes_scale": 1.0652,
                "appearance_probability": 0.592
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0651,
                "goals": 0.0549,
                "goal_rate": 0.0549,
                "shots_on_target": 0.278,
                "total_shots": 0.5281,
                "expected_assists": 0.0254,
                "key_pass": 0.3638,
                "rating": 6.6186,
                "minutes": 26.81,
                "total_pass": 14.1854,
                "accurate_pass": 11.3635,
                "duels_won": 0.969,
                "total_long_balls": 1.2963,
                "accurate_long_balls": 0.7704,
                "total_opp_half_passes": 10.5376,
                "accurate_opp_half_passes": 8.2722,
                "crosses_total": 0.4436,
                "crosses_accurate": 0.0,
                "touches": 19.8687,
                "possession_lost": 4.7106,
                "dispossessed": 0.6261,
                "duels_lost": 2.6244,
                "aerial_lost": 0.3291,
                "total_contest": 0.2425,
                "won_contest": 0.0,
                "ball_recovery": 1.5985,
                "challenges_lost": 0.6551,
                "fouls": 0.662,
                "fouls_drawn": 0.1765,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.1617,
                "tackles_won": 0.2014,
                "tackles": 0.4123,
                "clearances": 0.0,
                "blocks": 0.2425,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.8121,
                "xgot": 0.1145,
                "offsides": 0.0,
                "ball_carries": 4.6919,
                "total_progression": 24.8765,
                "progressive_carries": 1.1829,
                "shots_off_target": 0.2501,
                "bench_appearance_probability": 0.592,
                "bench_expected_minutes": 26.81
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 0.83 (squad xG sum 0.8154, xG scale 1.0240, xA scale 1.0541, team xA 0.54 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.0667,
                "goal_rate": 0.0549,
                "goals": 0,
                "shots_on_target": 0.278,
                "total_shots": 0.5281,
                "expected_assists": 0.0268,
                "key_pass": 0.3638,
                "rating": 6.6186,
                "minutes": 26.81,
                "total_pass": 14.1854,
                "accurate_pass": 11.3635,
                "duels_won": 0.969,
                "total_long_balls": 1.2963,
                "accurate_long_balls": 0.7704,
                "total_opp_half_passes": 10.5376,
                "accurate_opp_half_passes": 8.2722,
                "crosses_total": 0.4436,
                "crosses_accurate": 0.0,
                "touches": 19.8687,
                "possession_lost": 4.7106,
                "dispossessed": 0.6261,
                "duels_lost": 2.6244,
                "aerial_lost": 0.3291,
                "total_contest": 0.2425,
                "won_contest": 0.0,
                "ball_recovery": 1.5985,
                "challenges_lost": 0.6551,
                "fouls": 0.662,
                "fouls_drawn": 0.1765,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.1617,
                "tackles_won": 0.2014,
                "tackles": 0.4123,
                "clearances": 0.0,
                "blocks": 0.2425,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.8121,
                "xgot": 0.1173,
                "offsides": 0.0,
                "ball_carries": 4.6919,
                "total_progression": 24.8765,
                "progressive_carries": 1.1829,
                "shots_off_target": 0.2501,
                "bench_appearance_probability": 0.592,
                "bench_expected_minutes": 26.81,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.774,
                "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.9114,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 0.835,
                "squad_xg_sum": 0.8154,
                "squad_xa_sum": 0.5149,
                "team_expected_assists": 0.5427,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.024,
                "xa_scale": 1.0541,
                "opponent_lambda": 1.934,
                "scoreline_reset": true,
                "appearance_weight": 0.592
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 16 by projected rating, fifa_overall 77.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.0667,
                "goal_rate": 0.0549,
                "goals": 0,
                "shots_on_target": 0.278,
                "total_shots": 0.5281,
                "expected_assists": 0.0268,
                "key_pass": 0.3638,
                "rating": 6.6186,
                "minutes": 26.81,
                "total_pass": 14.1854,
                "accurate_pass": 11.3635,
                "duels_won": 0.969,
                "total_long_balls": 1.2963,
                "accurate_long_balls": 0.7704,
                "total_opp_half_passes": 10.5376,
                "accurate_opp_half_passes": 8.2722,
                "crosses_total": 0.4436,
                "crosses_accurate": 0.0,
                "touches": 19.8687,
                "possession_lost": 4.7106,
                "dispossessed": 0.6261,
                "duels_lost": 2.6244,
                "aerial_lost": 0.3291,
                "total_contest": 0.2425,
                "won_contest": 0.0,
                "ball_recovery": 1.5985,
                "challenges_lost": 0.6551,
                "fouls": 0.662,
                "fouls_drawn": 0.1765,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.1617,
                "tackles_won": 0.2014,
                "tackles": 0.4123,
                "clearances": 0.0,
                "blocks": 0.2425,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.8121,
                "xgot": 0.1173,
                "offsides": 0.0,
                "ball_carries": 4.6919,
                "total_progression": 24.8765,
                "progressive_carries": 1.1829,
                "shots_off_target": 0.2501,
                "bench_appearance_probability": 0.592,
                "bench_expected_minutes": 26.81,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.774,
                "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.9114,
                "creation_factor": 0.8,
                "fifa_overall": 77.0
              },
              "params": {
                "match_squad_rank": 16,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 2777,
                "fifa_rank": 1404.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 77.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "expected_goals": 0.0667,
                "goal_rate": 0.0549,
                "goals": 0,
                "shots_on_target": 0.278,
                "total_shots": 0.5281,
                "expected_assists": 0.0268,
                "key_pass": 0.3638,
                "rating": 6.6186,
                "minutes": 26.81,
                "total_pass": 14.1854,
                "accurate_pass": 11.3635,
                "duels_won": 0.969,
                "total_long_balls": 1.2963,
                "accurate_long_balls": 0.7704,
                "total_opp_half_passes": 10.5376,
                "accurate_opp_half_passes": 8.2722,
                "crosses_total": 0.4436,
                "crosses_accurate": 0.0,
                "touches": 19.8687,
                "possession_lost": 4.7106,
                "dispossessed": 0.6261,
                "duels_lost": 2.6244,
                "aerial_lost": 0.3291,
                "total_contest": 0.2425,
                "won_contest": 0.0,
                "ball_recovery": 1.5985,
                "challenges_lost": 0.6551,
                "fouls": 0.662,
                "fouls_drawn": 0.1765,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.1617,
                "tackles_won": 0.2014,
                "tackles": 0.4123,
                "clearances": 0.0,
                "blocks": 0.2425,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.8121,
                "xgot": 0.1173,
                "offsides": 0.0,
                "ball_carries": 4.6919,
                "total_progression": 24.8765,
                "progressive_carries": 1.1829,
                "shots_off_target": 0.2501,
                "bench_appearance_probability": 0.592,
                "bench_expected_minutes": 26.81,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.774,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0382,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9114,
                "creation_factor": 0.8,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0382,
                "scorer_weight": 0.036,
                "squad_weight_total": 0.8684,
                "weight_share": 0.0414,
                "finishing_factor": 0.9114,
                "appearance_weight": 0.592,
                "weight_rank": 7,
                "eligible_players": 14
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "expected_goals": 0.0667,
                "goal_rate": 0.0549,
                "goals": 0,
                "shots_on_target": 0.278,
                "total_shots": 0.5281,
                "expected_assists": 0.0268,
                "key_pass": 0.3638,
                "rating": 6.6186,
                "minutes": 26.81,
                "total_pass": 14.1854,
                "accurate_pass": 11.3635,
                "duels_won": 0.969,
                "total_long_balls": 1.2963,
                "accurate_long_balls": 0.7704,
                "total_opp_half_passes": 10.5376,
                "accurate_opp_half_passes": 8.2722,
                "crosses_total": 0.4436,
                "crosses_accurate": 0.0,
                "touches": 19.8687,
                "possession_lost": 4.7106,
                "dispossessed": 0.6261,
                "duels_lost": 2.6244,
                "aerial_lost": 0.3291,
                "total_contest": 0.2425,
                "won_contest": 0.0,
                "ball_recovery": 1.5985,
                "challenges_lost": 0.6551,
                "fouls": 0.662,
                "fouls_drawn": 0.1765,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.1617,
                "tackles_won": 0.2014,
                "tackles": 0.4123,
                "clearances": 0.0,
                "blocks": 0.2425,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.8121,
                "xgot": 0.1173,
                "offsides": 0.0,
                "ball_carries": 4.6919,
                "total_progression": 24.8765,
                "progressive_carries": 1.1829,
                "shots_off_target": 0.2501,
                "bench_appearance_probability": 0.592,
                "bench_expected_minutes": 26.81,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.774,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0382,
                "projected_assists": 0,
                "assist_probability": 0.0157,
                "finishing_factor": 0.9114,
                "creation_factor": 0.8,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0157,
                "provider_weight": 0.0127,
                "squad_weight_total": 0.4935,
                "weight_share": 0.0257,
                "creation_factor": 0.8,
                "appearance_weight": 0.592,
                "weight_rank": 12,
                "eligible_players": 14
              }
            }
          ]
        },
        "Romain Del Castillo": {
          "player_id": 825681,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 20,
          "height": 172,
          "market_value": 6400000,
          "stats": {
            "expected_goals": 0.0975,
            "goal_rate": 0.0654,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0402,
            "key_pass": 0,
            "rating": 6.5842,
            "minutes": 25,
            "total_pass": 9,
            "accurate_pass": 9,
            "duels_won": 3,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 7,
            "accurate_opp_half_passes": 7,
            "crosses_total": 2,
            "crosses_accurate": 0,
            "touches": 14,
            "possession_lost": 1.9771,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 1,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "offsides": 0,
            "ball_carries": 3,
            "total_progression": 6,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.566,
            "bench_expected_minutes": 25.46,
            "projected_substitution_order": 3,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 4,
            "projected_substitution_expected_count": 2.774,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0526,
            "projected_assists": 0,
            "assist_probability": 0.0223,
            "finishing_factor": 0.8,
            "creation_factor": 0.8,
            "fifa_overall": 76.0
          },
          "latest_10_games": [
            {
              "match_id": 16416335,
              "match_date": "2026-09-16",
              "home_team": "Atlético Madrid",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 16,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0011,
                "total_shots": 0,
                "total_pass": 6,
                "accurate_pass": 6,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416327,
              "match_date": "2026-09-12",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 19,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.028,
                "total_shots": 0,
                "total_pass": 8,
                "accurate_pass": 8,
                "tackles": 1,
                "tackles_won": 1,
                "aerial_won": 1,
                "duels_won": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 3024,
            "combined_rank_score": 1002.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": 0.0,
            "fifa_rank": 1827.0,
            "fifa_overall": 76.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 18,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.5842,
            "source_file": "data/player_rankings.csv",
            "player_name": "Romain Del Castillo",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Antonee Burke-Gilroy",
                  "ranking": 3019
                },
                {
                  "player_name": "Kim Min-Joon",
                  "ranking": 3020
                },
                {
                  "player_name": "Jasir Asani",
                  "ranking": 3021
                },
                {
                  "player_name": "Robert Andrich",
                  "ranking": 3022
                },
                {
                  "player_name": "Stav Torial",
                  "ranking": 3023
                }
              ],
              "lower": [
                {
                  "player_name": "Alberto Riccardi",
                  "ranking": 3025
                },
                {
                  "player_name": "Dong-geon No",
                  "ranking": 3026
                },
                {
                  "player_name": "Alexander Pastene",
                  "ranking": 3027
                },
                {
                  "player_name": "Dumitru Celeadnic",
                  "ranking": 3028
                },
                {
                  "player_name": "Leo Kapilevich",
                  "ranking": 3029
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.375,
          "history_matches": 2,
          "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": 2,
            "data_confidence": 0.375,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 25.458124038509048,
            "bench_appearance_prob": 0.5662783653867749,
            "market_value_adjustment": 0.9945,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (2 historical appearances) to 25.5 expected mins (appearance prob 0.57)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.0703,
                "goals": 0.0483,
                "goal_rate": 0.0483,
                "shots_on_target": 0.2298,
                "total_shots": 0.5587,
                "expected_assists": 0.0282,
                "key_pass": 0.2051,
                "rating": 6.5842,
                "minutes": 18.69,
                "total_pass": 6.9189,
                "accurate_pass": 6.9189,
                "duels_won": 1.9189,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 5.2973,
                "accurate_opp_half_passes": 5.2973,
                "crosses_total": 1.4595,
                "crosses_accurate": 0.0,
                "touches": 10.2973,
                "possession_lost": 1.4595,
                "dispossessed": 0.0,
                "duels_lost": 0.0,
                "aerial_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.5405,
                "challenges_lost": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.4595,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.4595,
                "tackles": 0.4595,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 2.0,
                "total_progression": 4.3298,
                "progressive_carries": 0.0,
                "shots_off_target": 0.3289
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-11T10:27:16.278802+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 604,
                    "rows": 15537
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Atlético Madrid",
                    "minutes": 16.0,
                    "is_starting": false,
                    "weight": 0.5405,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Espanyol",
                    "minutes": 19.0,
                    "is_starting": false,
                    "weight": 0.4595,
                    "rating": 6.9
                  }
                ],
                "feature_row": {
                  "history_matches": 2.0,
                  "is_starting_11": 0.0,
                  "expectedGoals": 0.0,
                  "totalOppositionHalfPasses": 5.2973,
                  "accurateOppositionHalfPasses": 5.2973,
                  "accuratePass": 6.9189,
                  "totalShots": 0.0
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.0702844113111496,
                    "model_output": 0.0703,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.282
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0894
                      },
                      {
                        "name": "goals",
                        "importance": 0.0352
                      },
                      {
                        "name": "bigChanceMissed",
                        "importance": 0.0258
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0248
                      }
                    ],
                    "decomposition": {
                      "base": 0.1978,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0812
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0184
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0086
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.0069
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0051
                        }
                      ],
                      "others": -0.0073,
                      "total": 0.0703,
                      "log_link": true,
                      "margin_base": -1.62027,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.52801
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.171506
                        },
                        {
                          "name": "goals",
                          "margin": -0.091608
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": -0.079934
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.063466
                        }
                      ],
                      "others_margin": -0.100411
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.04828757420182228,
                    "model_output": 0.0483,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.121
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0861
                      },
                      {
                        "name": "goals",
                        "importance": 0.0516
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0267
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0267
                      }
                    ],
                    "decomposition": {
                      "base": 0.2032,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0792
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0244
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.0096
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0084
                        },
                        {
                          "name": "shot_waste_rate",
                          "contribution": -0.006
                        }
                      ],
                      "others": -0.0273,
                      "total": 0.0483,
                      "log_link": true,
                      "margin_base": -1.593696,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.493751
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.219055
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": -0.10159
                        },
                        {
                          "name": "goals",
                          "margin": -0.097411
                        },
                        {
                          "name": "shot_waste_rate",
                          "margin": -0.076211
                        }
                      ],
                      "others_margin": -0.448867
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.22977915406227112,
                    "model_output": 0.2298,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2113
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0717
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0497
                      },
                      {
                        "name": "goals",
                        "importance": 0.0454
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.5367,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1824
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0296
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0215
                        },
                        {
                          "name": "goals",
                          "contribution": -0.014
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0115
                        }
                      ],
                      "others": -0.0479,
                      "total": 0.2298,
                      "log_link": true,
                      "margin_base": -0.622283,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.415419
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.087167
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.068559
                        },
                        {
                          "name": "goals",
                          "margin": -0.047195
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.040641
                        }
                      ],
                      "others_margin": -0.189374
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5586977601051331,
                    "model_output": 0.5587,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2764
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0561
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.043
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0394
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0354
                      }
                    ],
                    "decomposition": {
                      "base": 1.3728,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4732
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0975
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0502
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0428
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0375
                        }
                      ],
                      "others": -0.1129,
                      "total": 0.5587,
                      "log_link": false,
                      "margin_base": 1.372807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.473157
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.097502
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.050189
                        },
                        {
                          "name": "goals",
                          "margin": -0.042755
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.037457
                        }
                      ],
                      "others_margin": -0.113048
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.028181025758385658,
                    "model_output": 0.0282,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1017
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0772
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0688
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0665
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0563
                      }
                    ],
                    "decomposition": {
                      "base": 0.0639,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.018
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0051
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0042
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0035
                        },
                        {
                          "name": "aerialLost",
                          "contribution": 0.0021
                        }
                      ],
                      "others": -0.007,
                      "total": 0.0282,
                      "log_link": true,
                      "margin_base": -2.751197,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.331575
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.117663
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.109227
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.099246
                        },
                        {
                          "name": "aerialLost",
                          "margin": 0.062748
                        }
                      ],
                      "others_margin": -0.222947
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.2050638496875763,
                    "model_output": 0.2051,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1626
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1193
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0628
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0553
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0328
                      }
                    ],
                    "decomposition": {
                      "base": 0.6728,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2836
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0543
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0294
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0231
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0204
                        }
                      ],
                      "others": -0.0569,
                      "total": 0.2051,
                      "log_link": true,
                      "margin_base": -0.396376,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.547288
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.150139
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.091778
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.07873
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.075056
                        }
                      ],
                      "others_margin": -0.245067
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.584155082702637,
                    "model_output": 6.5842,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0639
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0556
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0431
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0431
                      },
                      {
                        "name": "rating",
                        "importance": 0.039
                      }
                    ],
                    "decomposition": {
                      "base": 6.7636,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0443
                        },
                        {
                          "name": "dispossessed",
                          "contribution": -0.0183
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0138
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0127
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.012
                        }
                      ],
                      "others": -0.0783,
                      "total": 6.5842,
                      "log_link": false,
                      "margin_base": 6.763607,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.04434
                        },
                        {
                          "name": "dispossessed",
                          "margin": -0.018287
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.013824
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.01265
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.011986
                        }
                      ],
                      "others_margin": -0.078364
                    }
                  }
                ],
                "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.9945, quality 0.479)",
              "stats": {
                "expected_goals": 0.0699,
                "goals": 0.048,
                "goal_rate": 0.048,
                "shots_on_target": 0.2285,
                "total_shots": 0.5556,
                "expected_assists": 0.028,
                "key_pass": 0.2039,
                "rating": 6.5842,
                "minutes": 18.69,
                "total_pass": 6.8808,
                "accurate_pass": 6.8808,
                "duels_won": 1.9083,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 5.2682,
                "accurate_opp_half_passes": 5.2682,
                "crosses_total": 1.4515,
                "crosses_accurate": 0.0,
                "touches": 10.2407,
                "possession_lost": 1.4515,
                "dispossessed": 0.0,
                "duels_lost": 0.0,
                "aerial_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.5375,
                "challenges_lost": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.457,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.457,
                "tackles": 0.457,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 1.989,
                "total_progression": 4.306,
                "progressive_carries": 0.0,
                "shots_off_target": 0.3271
              },
              "params": {
                "market_value_eur": 6400000,
                "quality_factor": 0.4793,
                "boost_factor": 0.9945,
                "reference_quality": 0.505,
                "history_matches": 2,
                "history_shrink": 0.7143,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 18.7 to 25.5 expected minutes (appearance prob 0.57)",
              "stats": {
                "expected_goals": 0.0952,
                "goals": 0.0654,
                "goal_rate": 0.0654,
                "shots_on_target": 0.3112,
                "total_shots": 0.7568,
                "expected_assists": 0.0381,
                "key_pass": 0.2777,
                "rating": 6.5842,
                "minutes": 25.46,
                "total_pass": 9.3725,
                "accurate_pass": 9.3725,
                "duels_won": 2.5993,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 7.1759,
                "accurate_opp_half_passes": 7.1759,
                "crosses_total": 1.9771,
                "crosses_accurate": 0.0,
                "touches": 13.9491,
                "possession_lost": 1.9771,
                "dispossessed": 0.0,
                "duels_lost": 0.0,
                "aerial_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.7321,
                "challenges_lost": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.6225,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.6225,
                "tackles": 0.6225,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 2.7093,
                "total_progression": 5.8653,
                "progressive_carries": 0.0,
                "shots_off_target": 0.4456,
                "bench_appearance_probability": 0.566,
                "bench_expected_minutes": 25.46
              },
              "params": {
                "expected_minutes": 25.46,
                "projection_minutes": 18.69,
                "minutes_scale": 1.3621,
                "appearance_probability": 0.566
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0952,
                "goals": 0.0654,
                "goal_rate": 0.0654,
                "shots_on_target": 0.3112,
                "total_shots": 0.7568,
                "expected_assists": 0.0381,
                "key_pass": 0.2777,
                "rating": 6.5842,
                "minutes": 25.46,
                "total_pass": 9.3725,
                "accurate_pass": 9.3725,
                "duels_won": 2.5993,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 7.1759,
                "accurate_opp_half_passes": 7.1759,
                "crosses_total": 1.9771,
                "crosses_accurate": 0.0,
                "touches": 13.9491,
                "possession_lost": 1.9771,
                "dispossessed": 0.0,
                "duels_lost": 0.0,
                "aerial_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.7321,
                "challenges_lost": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.6225,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.6225,
                "tackles": 0.6225,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 2.7093,
                "total_progression": 5.8653,
                "progressive_carries": 0.0,
                "shots_off_target": 0.4456,
                "bench_appearance_probability": 0.566,
                "bench_expected_minutes": 25.46
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 0.83 (squad xG sum 0.8154, xG scale 1.0240, xA scale 1.0541, team xA 0.54 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.0975,
                "goal_rate": 0.0654,
                "goals": 0,
                "shots_on_target": 0.3112,
                "total_shots": 0.7568,
                "expected_assists": 0.0402,
                "key_pass": 0.2777,
                "rating": 6.5842,
                "minutes": 25.46,
                "total_pass": 9.3725,
                "accurate_pass": 9.3725,
                "duels_won": 2.5993,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 7.1759,
                "accurate_opp_half_passes": 7.1759,
                "crosses_total": 1.9771,
                "crosses_accurate": 0.0,
                "touches": 13.9491,
                "possession_lost": 1.9771,
                "dispossessed": 0.0,
                "duels_lost": 0.0,
                "aerial_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.7321,
                "challenges_lost": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.6225,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.6225,
                "tackles": 0.6225,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 2.7093,
                "total_progression": 5.8653,
                "progressive_carries": 0.0,
                "shots_off_target": 0.4456,
                "bench_appearance_probability": 0.566,
                "bench_expected_minutes": 25.46,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.774,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 0.835,
                "squad_xg_sum": 0.8154,
                "squad_xa_sum": 0.5149,
                "team_expected_assists": 0.5427,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.024,
                "xa_scale": 1.0541,
                "opponent_lambda": 1.934,
                "scoreline_reset": true,
                "appearance_weight": 0.566
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 18 by projected rating, fifa_overall 76.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.0975,
                "goal_rate": 0.0654,
                "goals": 0,
                "shots_on_target": 0.3112,
                "total_shots": 0.7568,
                "expected_assists": 0.0402,
                "key_pass": 0.2777,
                "rating": 6.5842,
                "minutes": 25.46,
                "total_pass": 9.3725,
                "accurate_pass": 9.3725,
                "duels_won": 2.5993,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 7.1759,
                "accurate_opp_half_passes": 7.1759,
                "crosses_total": 1.9771,
                "crosses_accurate": 0.0,
                "touches": 13.9491,
                "possession_lost": 1.9771,
                "dispossessed": 0.0,
                "duels_lost": 0.0,
                "aerial_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.7321,
                "challenges_lost": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.6225,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.6225,
                "tackles": 0.6225,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 2.7093,
                "total_progression": 5.8653,
                "progressive_carries": 0.0,
                "shots_off_target": 0.4456,
                "bench_appearance_probability": 0.566,
                "bench_expected_minutes": 25.46,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.774,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 76.0
              },
              "params": {
                "match_squad_rank": 18,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3024,
                "fifa_rank": 1827.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 76.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "expected_goals": 0.0975,
                "goal_rate": 0.0654,
                "goals": 0,
                "shots_on_target": 0.3112,
                "total_shots": 0.7568,
                "expected_assists": 0.0402,
                "key_pass": 0.2777,
                "rating": 6.5842,
                "minutes": 25.46,
                "total_pass": 9.3725,
                "accurate_pass": 9.3725,
                "duels_won": 2.5993,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 7.1759,
                "accurate_opp_half_passes": 7.1759,
                "crosses_total": 1.9771,
                "crosses_accurate": 0.0,
                "touches": 13.9491,
                "possession_lost": 1.9771,
                "dispossessed": 0.0,
                "duels_lost": 0.0,
                "aerial_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.7321,
                "challenges_lost": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.6225,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.6225,
                "tackles": 0.6225,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 2.7093,
                "total_progression": 5.8653,
                "progressive_carries": 0.0,
                "shots_off_target": 0.4456,
                "bench_appearance_probability": 0.566,
                "bench_expected_minutes": 25.46,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.774,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0526,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0526,
                "scorer_weight": 0.0441,
                "squad_weight_total": 0.8684,
                "weight_share": 0.0508,
                "finishing_factor": 0.8,
                "appearance_weight": 0.566,
                "weight_rank": 4,
                "eligible_players": 14
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "expected_goals": 0.0975,
                "goal_rate": 0.0654,
                "goals": 0,
                "shots_on_target": 0.3112,
                "total_shots": 0.7568,
                "expected_assists": 0.0402,
                "key_pass": 0.2777,
                "rating": 6.5842,
                "minutes": 25.46,
                "total_pass": 9.3725,
                "accurate_pass": 9.3725,
                "duels_won": 2.5993,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 7.1759,
                "accurate_opp_half_passes": 7.1759,
                "crosses_total": 1.9771,
                "crosses_accurate": 0.0,
                "touches": 13.9491,
                "possession_lost": 1.9771,
                "dispossessed": 0.0,
                "duels_lost": 0.0,
                "aerial_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.7321,
                "challenges_lost": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.6225,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.6225,
                "tackles": 0.6225,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 2.7093,
                "total_progression": 5.8653,
                "progressive_carries": 0.0,
                "shots_off_target": 0.4456,
                "bench_appearance_probability": 0.566,
                "bench_expected_minutes": 25.46,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.774,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0526,
                "projected_assists": 0,
                "assist_probability": 0.0223,
                "finishing_factor": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0223,
                "provider_weight": 0.0182,
                "squad_weight_total": 0.4935,
                "weight_share": 0.0369,
                "creation_factor": 0.8,
                "appearance_weight": 0.566,
                "weight_rank": 8,
                "eligible_players": 14
              }
            }
          ]
        },
        "Lucas Torró": {
          "player_id": 187313,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 6,
          "height": 190,
          "market_value": 2700000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0258,
            "assist_rate": 0.0337,
            "assists": 0,
            "expected_goals": 0.0472,
            "goal_rate": 0.0442,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.6838,
            "minutes": 18,
            "total_pass": 8,
            "accurate_pass": 7,
            "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": 4,
            "accurate_opp_half_passes": 3,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 11,
            "possession_lost": 2.0548,
            "dispossessed": 0.0,
            "duels_lost": 1,
            "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": 1,
            "fouls_drawn": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 3,
            "total_progression": 0,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.564,
            "bench_expected_minutes": 18.14,
            "projected_substitution_order": 4,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 4,
            "projected_substitution_expected_count": 2.774,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.026,
            "projected_assists": 0,
            "assist_probability": 0.0144,
            "finishing_factor": 0.9802,
            "creation_factor": 1.1235,
            "fifa_overall": 76.0
          },
          "latest_10_games": [
            {
              "match_id": 16416305,
              "match_date": "2026-09-19",
              "home_team": "Osasuna",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 21,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0106,
                "total_shots": 0,
                "total_pass": 12,
                "accurate_pass": 11,
                "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": 16416335,
              "match_date": "2026-09-16",
              "home_team": "Atlético Madrid",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0162,
                "total_shots": 0,
                "total_pass": 27,
                "accurate_pass": 17,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 2,
                "aerial_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"
            },
            {
              "match_id": 16416314,
              "match_date": "2026-08-31",
              "home_team": "Osasuna",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Getafe",
              "stats": {
                "minutes": 19,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0028,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 11,
                "tackles": 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": 16815992,
              "match_date": "2026-08-27",
              "home_team": "Celta Vigo",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0633,
                "expected_assists": 0.0182,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 54,
                "accurate_pass": 45,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 4,
                "aerial_won": 3,
                "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": 16416296,
              "match_date": "2026-08-24",
              "home_team": "Osasuna",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 9,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "total_pass": 5,
                "accurate_pass": 4,
                "clearances": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083723,
              "match_date": "2026-05-23",
              "home_team": "Getafe",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Getafe",
              "stats": {
                "minutes": 68,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1626,
                "expected_assists": 0.006,
                "total_shots": 4,
                "shots_on_target": 2,
                "shots_off_target": 2,
                "total_pass": 16,
                "accurate_pass": 9,
                "tackles": 3,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 7,
                "duels_won": 10,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083696,
              "match_date": "2026-05-17",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 58,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1181,
                "expected_assists": 0.033,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 20,
                "accurate_pass": 14,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 5,
                "duels_won": 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": 14083634,
              "match_date": "2026-05-12",
              "home_team": "Osasuna",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 72,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0836,
                "expected_assists": 0.0422,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 39,
                "accurate_pass": 31,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083568,
              "match_date": "2026-05-08",
              "home_team": "Levante UD",
              "away_team": "Osasuna",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Osasuna",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 28,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0005,
                "total_shots": 0,
                "total_pass": 5,
                "accurate_pass": 3,
                "key_pass": 1,
                "clearances": 2,
                "aerial_won": 3,
                "duels_won": 3
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083495,
              "match_date": "2026-05-02",
              "home_team": "Osasuna",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Osasuna",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 85,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0249,
                "expected_assists": 0.0014,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 19,
                "accurate_pass": 11,
                "tackles": 3,
                "tackles_won": 1,
                "interceptions": 2,
                "aerial_won": 3,
                "duels_won": 7
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 3360,
            "combined_rank_score": 1309.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 665.0,
            "sofascore_rating": 6.7281,
            "sofascore_appearances": 34.0,
            "fifa_rank": 1953.0,
            "fifa_overall": 76.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 13,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6838,
            "source_file": "data/player_rankings.csv",
            "player_name": "Lucas Torró",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Soufiane Rahimi",
                  "ranking": 3355
                },
                {
                  "player_name": "Héctor Bellerín",
                  "ranking": 3356
                },
                {
                  "player_name": "Lucas Perri",
                  "ranking": 3357
                },
                {
                  "player_name": "Billy Gilmour",
                  "ranking": 3358
                },
                {
                  "player_name": "Bernardo",
                  "ranking": 3359
                }
              ],
              "lower": [
                {
                  "player_name": "Kyle Walker",
                  "ranking": 3361
                },
                {
                  "player_name": "Nikola Moro",
                  "ranking": 3362
                },
                {
                  "player_name": "Ayden Heaven",
                  "ranking": 3363
                },
                {
                  "player_name": "Aron Dønnum",
                  "ranking": 3364
                },
                {
                  "player_name": "Iñaki Peña",
                  "ranking": 3365
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.763,
          "history_matches": 39,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 39,
            "data_confidence": 0.763,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 18.14,
            "bench_appearance_prob": 0.564,
            "market_value_adjustment": 0.9977,
            "fbref_prior_metrics": {
              "squad": "Osasuna",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 1.0,
              "sub_appearances": 2.0,
              "minutes_per_sub": 15.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.0867
            },
            "rationale": "Bench projection scaled from XGBoost M_service (39 historical appearances) to 18.1 expected mins (appearance prob 0.56); FBref playing time empirical prior: 2.0 sub appearances, 15.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.2474,
                "expected_assists": 0.0216,
                "assists": 0.0298,
                "assist_rate": 0.0298,
                "expected_goals": 0.0405,
                "goals": 0.0391,
                "goal_rate": 0.0391,
                "shots_on_target": 0.122,
                "total_shots": 0.4018,
                "rating": 6.6838,
                "minutes": 15.91,
                "total_pass": 7.2863,
                "accurate_pass": 6.1663,
                "duels_won": 0.8892,
                "total_long_balls": 0.2047,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 3.7218,
                "accurate_own_half_passes": 3.5171,
                "total_opp_half_passes": 3.5645,
                "accurate_opp_half_passes": 2.6492,
                "crosses_total": 0.2408,
                "crosses_accurate": 0.0,
                "touches": 9.967,
                "possession_lost": 1.8064,
                "dispossessed": 0.0,
                "duels_lost": 1.1301,
                "aerial_won": 0.4437,
                "aerial_lost": 0.3887,
                "interceptions": 0.2408,
                "tackles_won": 0.0,
                "tackles": 0.2047,
                "clearances": 0.4698,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.2047,
                "fouls": 0.5366,
                "fouls_drawn": 0.2408,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 2.6118,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2798
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-11T10:26:42.530573+00:00",
                  "trained_on": {
                    "matches": 1337,
                    "players": 894,
                    "rows": 23497
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Rayo Vallecano",
                    "minutes": 21.0,
                    "is_starting": false,
                    "weight": 0.1503,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1277,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Getafe",
                    "minutes": 19.0,
                    "is_starting": false,
                    "weight": 0.1086,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0923,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Levante UD",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 0.0784,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Getafe",
                    "minutes": 68.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Espanyol",
                    "minutes": 58.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-12",
                    "opponent": "Atlético Madrid",
                    "minutes": 72.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-08",
                    "opponent": "Levante UD",
                    "minutes": 28.0,
                    "is_starting": false,
                    "weight": 0.0409,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "FC Barcelona",
                    "minutes": 85.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.1
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalShots": 0.7238,
                  "creative_index": 0.1514,
                  "expectedGoals": 0.0344,
                  "expectedAssists": 0.0127,
                  "onTargetScoringAttempt": 0.2112
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.24739709496498108,
                    "model_output": 0.2474,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1648
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1344
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0672
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0573
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0281
                      }
                    ],
                    "decomposition": {
                      "base": 0.8857,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4158
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0486
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0382
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0337
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0255
                        }
                      ],
                      "others": -0.0765,
                      "total": 0.2474,
                      "log_link": true,
                      "margin_base": -0.121432,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.633965
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.109087
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.095132
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.091986
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.075678
                        }
                      ],
                      "others_margin": -0.269481
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.021568000316619873,
                    "model_output": 0.0216,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1094
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1055
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.099
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0603
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0557
                      }
                    ],
                    "decomposition": {
                      "base": 0.0855,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0335
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0113
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0047
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0025
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0021
                        }
                      ],
                      "others": -0.0098,
                      "total": 0.0216,
                      "log_link": true,
                      "margin_base": -2.458929,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.496378
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.245501
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.123893
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.07215
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.064132
                        }
                      ],
                      "others_margin": -0.375561
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.02984161674976349,
                    "model_output": 0.0298,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0515
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0436
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0436
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0319
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.03
                      }
                    ],
                    "decomposition": {
                      "base": 0.0858,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.023
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0087
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0052
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": -0.004
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0028
                        }
                      ],
                      "others": -0.0123,
                      "total": 0.0298,
                      "log_link": true,
                      "margin_base": -2.456317,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.312121
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.149067
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.101777
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": -0.08448
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.064312
                        }
                      ],
                      "others_margin": -0.343777
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.04048825800418854,
                    "model_output": 0.0405,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1335
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.086
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0661
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0433
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.0936,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0387
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0049
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0024
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0021
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0018
                        }
                      ],
                      "others": -0.0032,
                      "total": 0.0405,
                      "log_link": true,
                      "margin_base": -2.368441,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.533062
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.093169
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.049249
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.044585
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.039677
                        }
                      ],
                      "others_margin": -0.078562
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.03912847489118576,
                    "model_output": 0.0391,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0863
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0517
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0485
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0373
                      },
                      {
                        "name": "goals",
                        "importance": 0.0275
                      }
                    ],
                    "decomposition": {
                      "base": 0.0966,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0336
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.005
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0032
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0028
                        },
                        {
                          "name": "goals",
                          "contribution": -0.002
                        }
                      ],
                      "others": -0.0109,
                      "total": 0.0391,
                      "log_link": true,
                      "margin_base": -2.337105,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.427577
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.083175
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.057031
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.052237
                        },
                        {
                          "name": "goals",
                          "margin": -0.039241
                        }
                      ],
                      "others_margin": -0.24454
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.12197568267583847,
                    "model_output": 0.122,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.108
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0886
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0725
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0371
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0265
                      }
                    ],
                    "decomposition": {
                      "base": 0.324,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.157
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0101
                        },
                        {
                          "name": "dispossessed",
                          "contribution": -0.0046
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.004
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0035
                        }
                      ],
                      "others": -0.0228,
                      "total": 0.122,
                      "log_link": true,
                      "margin_base": -1.126872,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.662401
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.062041
                        },
                        {
                          "name": "dispossessed",
                          "margin": -0.02949
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.026338
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.024193
                        }
                      ],
                      "others_margin": -0.172598
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.401823490858078,
                    "model_output": 0.4018,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1275
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1232
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0542
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0485
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0257
                      }
                    ],
                    "decomposition": {
                      "base": 0.99,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3922
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.052
                        },
                        {
                          "name": "dispossessed",
                          "contribution": -0.037
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0326
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0198
                        }
                      ],
                      "others": -0.0546,
                      "total": 0.4018,
                      "log_link": false,
                      "margin_base": 0.989981,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.392207
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.05199
                        },
                        {
                          "name": "dispossessed",
                          "margin": -0.036985
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.032641
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.019812
                        }
                      ],
                      "others_margin": -0.054522
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.683804988861084,
                    "model_output": 6.6838,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0898
                      },
                      {
                        "name": "rating",
                        "importance": 0.0801
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0397
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0337
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0318
                      }
                    ],
                    "decomposition": {
                      "base": 6.8504,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0737
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0308
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.024
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0064
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0059
                        }
                      ],
                      "others": -0.0258,
                      "total": 6.6838,
                      "log_link": false,
                      "margin_base": 6.850356,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.073698
                        },
                        {
                          "name": "rating",
                          "margin": -0.030792
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.023992
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.006378
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.005899
                        }
                      ],
                      "others_margin": -0.025792
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 39,
                  "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.9977, quality 0.437)",
              "stats": {
                "key_pass": 0.2468,
                "expected_assists": 0.0215,
                "assists": 0.0298,
                "assist_rate": 0.0298,
                "expected_goals": 0.0404,
                "goals": 0.039,
                "goal_rate": 0.039,
                "shots_on_target": 0.1217,
                "total_shots": 0.4009,
                "rating": 6.6838,
                "minutes": 15.91,
                "total_pass": 7.2695,
                "accurate_pass": 6.1521,
                "duels_won": 0.8872,
                "total_long_balls": 0.2042,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 3.7132,
                "accurate_own_half_passes": 3.509,
                "total_opp_half_passes": 3.5563,
                "accurate_opp_half_passes": 2.6431,
                "crosses_total": 0.2402,
                "crosses_accurate": 0.0,
                "touches": 9.9441,
                "possession_lost": 1.8022,
                "dispossessed": 0.0,
                "duels_lost": 1.1275,
                "aerial_won": 0.4427,
                "aerial_lost": 0.3878,
                "interceptions": 0.2402,
                "tackles_won": 0.0,
                "tackles": 0.2042,
                "clearances": 0.4687,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.2042,
                "fouls": 0.5354,
                "fouls_drawn": 0.2402,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 2.6058,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2792
              },
              "params": {
                "market_value_eur": 2700000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9977,
                "reference_quality": 0.505,
                "history_matches": 39,
                "history_shrink": 0.1136,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0064)",
              "stats": {
                "key_pass": 0.2468,
                "expected_assists": 0.0215,
                "assists": 0.0296,
                "assist_rate": 0.0296,
                "expected_goals": 0.0404,
                "goals": 0.0388,
                "goal_rate": 0.0388,
                "shots_on_target": 0.1209,
                "total_shots": 0.3992,
                "rating": 6.6838,
                "minutes": 15.91,
                "total_pass": 7.2695,
                "accurate_pass": 6.1521,
                "duels_won": 0.8872,
                "total_long_balls": 0.2042,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 3.7132,
                "accurate_own_half_passes": 3.509,
                "total_opp_half_passes": 3.5563,
                "accurate_opp_half_passes": 2.6431,
                "crosses_total": 0.2387,
                "crosses_accurate": 0.0,
                "touches": 9.9441,
                "possession_lost": 1.8022,
                "dispossessed": 0.0,
                "duels_lost": 1.1275,
                "aerial_won": 0.4427,
                "aerial_lost": 0.3878,
                "interceptions": 0.2387,
                "tackles_won": 0.0017,
                "tackles": 0.2042,
                "clearances": 0.4687,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.2042,
                "fouls": 0.5328,
                "fouls_drawn": 0.2387,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 2.6058,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2792
              },
              "params": {
                "blend_weight": 0.0064,
                "history_matches": 39,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.1768,
                "prior_reliability": 0.0867,
                "competition": "La Liga",
                "squad": "Osasuna"
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 15.9 to 18.1 expected minutes (appearance prob 0.56)",
              "stats": {
                "key_pass": 0.2814,
                "expected_assists": 0.0245,
                "assists": 0.0337,
                "assist_rate": 0.0337,
                "expected_goals": 0.0461,
                "goals": 0.0442,
                "goal_rate": 0.0442,
                "shots_on_target": 0.1378,
                "total_shots": 0.4562,
                "rating": 6.6838,
                "minutes": 18.14,
                "total_pass": 8.2884,
                "accurate_pass": 7.0144,
                "duels_won": 1.0116,
                "total_long_balls": 0.2328,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 4.2337,
                "accurate_own_half_passes": 4.0008,
                "total_opp_half_passes": 4.0548,
                "accurate_opp_half_passes": 3.0136,
                "crosses_total": 0.2722,
                "crosses_accurate": 0.0,
                "touches": 11.3379,
                "possession_lost": 2.0548,
                "dispossessed": 0.0,
                "duels_lost": 1.2855,
                "aerial_won": 0.5048,
                "aerial_lost": 0.3878,
                "interceptions": 0.2722,
                "tackles_won": 0.0019,
                "tackles": 0.2328,
                "clearances": 0.5344,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.2042,
                "fouls": 0.6075,
                "fouls_drawn": 0.2722,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 2.971,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.3183,
                "bench_appearance_probability": 0.564,
                "bench_expected_minutes": 18.14
              },
              "params": {
                "expected_minutes": 18.14,
                "projection_minutes": 15.91,
                "minutes_scale": 1.1402,
                "appearance_probability": 0.564
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.2814,
                "expected_assists": 0.0245,
                "assists": 0.0337,
                "assist_rate": 0.0337,
                "expected_goals": 0.0461,
                "goals": 0.0442,
                "goal_rate": 0.0442,
                "shots_on_target": 0.1378,
                "total_shots": 0.4562,
                "rating": 6.6838,
                "minutes": 18.14,
                "total_pass": 8.2884,
                "accurate_pass": 7.0144,
                "duels_won": 1.0116,
                "total_long_balls": 0.2328,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 4.2337,
                "accurate_own_half_passes": 4.0008,
                "total_opp_half_passes": 4.0548,
                "accurate_opp_half_passes": 3.0136,
                "crosses_total": 0.2722,
                "crosses_accurate": 0.0,
                "touches": 11.3379,
                "possession_lost": 2.0548,
                "dispossessed": 0.0,
                "duels_lost": 1.2855,
                "aerial_won": 0.5048,
                "aerial_lost": 0.3878,
                "interceptions": 0.2722,
                "tackles_won": 0.0019,
                "tackles": 0.2328,
                "clearances": 0.5344,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.2042,
                "fouls": 0.6075,
                "fouls_drawn": 0.2722,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 2.971,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.3183,
                "bench_appearance_probability": 0.564,
                "bench_expected_minutes": 18.14
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 0.83 (squad xG sum 0.8154, xG scale 1.0240, xA scale 1.0541, team xA 0.54 = 0.65 x lambda)",
              "stats": {
                "key_pass": 0.2814,
                "expected_assists": 0.0258,
                "assist_rate": 0.0337,
                "assists": 0,
                "expected_goals": 0.0472,
                "goal_rate": 0.0442,
                "goals": 0,
                "shots_on_target": 0.1378,
                "total_shots": 0.4562,
                "rating": 6.6838,
                "minutes": 18.14,
                "total_pass": 8.2884,
                "accurate_pass": 7.0144,
                "duels_won": 1.0116,
                "total_long_balls": 0.2328,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 4.2337,
                "accurate_own_half_passes": 4.0008,
                "total_opp_half_passes": 4.0548,
                "accurate_opp_half_passes": 3.0136,
                "crosses_total": 0.2722,
                "crosses_accurate": 0.0,
                "touches": 11.3379,
                "possession_lost": 2.0548,
                "dispossessed": 0.0,
                "duels_lost": 1.2855,
                "aerial_won": 0.5048,
                "aerial_lost": 0.3878,
                "interceptions": 0.2722,
                "tackles_won": 0.0019,
                "tackles": 0.2328,
                "clearances": 0.5344,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.2042,
                "fouls": 0.6075,
                "fouls_drawn": 0.2722,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 2.971,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.3183,
                "bench_appearance_probability": 0.564,
                "bench_expected_minutes": 18.14,
                "projected_substitution_order": 4,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.774,
                "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.9802,
                "creation_factor": 1.1235
              },
              "params": {
                "team_lambda": 0.835,
                "squad_xg_sum": 0.8154,
                "squad_xa_sum": 0.5149,
                "team_expected_assists": 0.5427,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.024,
                "xa_scale": 1.0541,
                "opponent_lambda": 1.934,
                "scoreline_reset": true,
                "appearance_weight": 0.564
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 13 by projected rating, fifa_overall 76.0; not used by the projection)",
              "stats": {
                "key_pass": 0.2814,
                "expected_assists": 0.0258,
                "assist_rate": 0.0337,
                "assists": 0,
                "expected_goals": 0.0472,
                "goal_rate": 0.0442,
                "goals": 0,
                "shots_on_target": 0.1378,
                "total_shots": 0.4562,
                "rating": 6.6838,
                "minutes": 18.14,
                "total_pass": 8.2884,
                "accurate_pass": 7.0144,
                "duels_won": 1.0116,
                "total_long_balls": 0.2328,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 4.2337,
                "accurate_own_half_passes": 4.0008,
                "total_opp_half_passes": 4.0548,
                "accurate_opp_half_passes": 3.0136,
                "crosses_total": 0.2722,
                "crosses_accurate": 0.0,
                "touches": 11.3379,
                "possession_lost": 2.0548,
                "dispossessed": 0.0,
                "duels_lost": 1.2855,
                "aerial_won": 0.5048,
                "aerial_lost": 0.3878,
                "interceptions": 0.2722,
                "tackles_won": 0.0019,
                "tackles": 0.2328,
                "clearances": 0.5344,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.2042,
                "fouls": 0.6075,
                "fouls_drawn": 0.2722,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 2.971,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.3183,
                "bench_appearance_probability": 0.564,
                "bench_expected_minutes": 18.14,
                "projected_substitution_order": 4,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.774,
                "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.9802,
                "creation_factor": 1.1235,
                "fifa_overall": 76.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": 3360,
                "fifa_rank": 1953.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 76.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "key_pass": 0.2814,
                "expected_assists": 0.0258,
                "assist_rate": 0.0337,
                "assists": 0,
                "expected_goals": 0.0472,
                "goal_rate": 0.0442,
                "goals": 0,
                "shots_on_target": 0.1378,
                "total_shots": 0.4562,
                "rating": 6.6838,
                "minutes": 18.14,
                "total_pass": 8.2884,
                "accurate_pass": 7.0144,
                "duels_won": 1.0116,
                "total_long_balls": 0.2328,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 4.2337,
                "accurate_own_half_passes": 4.0008,
                "total_opp_half_passes": 4.0548,
                "accurate_opp_half_passes": 3.0136,
                "crosses_total": 0.2722,
                "crosses_accurate": 0.0,
                "touches": 11.3379,
                "possession_lost": 2.0548,
                "dispossessed": 0.0,
                "duels_lost": 1.2855,
                "aerial_won": 0.5048,
                "aerial_lost": 0.3878,
                "interceptions": 0.2722,
                "tackles_won": 0.0019,
                "tackles": 0.2328,
                "clearances": 0.5344,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.2042,
                "fouls": 0.6075,
                "fouls_drawn": 0.2722,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 2.971,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.3183,
                "bench_appearance_probability": 0.564,
                "bench_expected_minutes": 18.14,
                "projected_substitution_order": 4,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.774,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.026,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9802,
                "creation_factor": 1.1235,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.026,
                "scorer_weight": 0.0261,
                "squad_weight_total": 0.8684,
                "weight_share": 0.03,
                "finishing_factor": 0.9802,
                "appearance_weight": 0.564,
                "weight_rank": 8,
                "eligible_players": 14
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "key_pass": 0.2814,
                "expected_assists": 0.0258,
                "assist_rate": 0.0337,
                "assists": 0,
                "expected_goals": 0.0472,
                "goal_rate": 0.0442,
                "goals": 0,
                "shots_on_target": 0.1378,
                "total_shots": 0.4562,
                "rating": 6.6838,
                "minutes": 18.14,
                "total_pass": 8.2884,
                "accurate_pass": 7.0144,
                "duels_won": 1.0116,
                "total_long_balls": 0.2328,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 4.2337,
                "accurate_own_half_passes": 4.0008,
                "total_opp_half_passes": 4.0548,
                "accurate_opp_half_passes": 3.0136,
                "crosses_total": 0.2722,
                "crosses_accurate": 0.0,
                "touches": 11.3379,
                "possession_lost": 2.0548,
                "dispossessed": 0.0,
                "duels_lost": 1.2855,
                "aerial_won": 0.5048,
                "aerial_lost": 0.3878,
                "interceptions": 0.2722,
                "tackles_won": 0.0019,
                "tackles": 0.2328,
                "clearances": 0.5344,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.2042,
                "fouls": 0.6075,
                "fouls_drawn": 0.2722,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 2.971,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.3183,
                "bench_appearance_probability": 0.564,
                "bench_expected_minutes": 18.14,
                "projected_substitution_order": 4,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.774,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.026,
                "projected_assists": 0,
                "assist_probability": 0.0144,
                "finishing_factor": 0.9802,
                "creation_factor": 1.1235,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0144,
                "provider_weight": 0.0163,
                "squad_weight_total": 0.4935,
                "weight_share": 0.0331,
                "creation_factor": 1.1235,
                "appearance_weight": 0.564,
                "weight_rank": 10,
                "eligible_players": 14
              }
            }
          ]
        }
      },
      "team_totals": {
        "projected_goals": 0,
        "expected_goals": 0.83,
        "expected_assists": 0.54,
        "total_shots": 9,
        "shots_on_target": 1,
        "total_passes": 436,
        "interceptions": 8,
        "tackles": 16,
        "avg_rating": 6.79,
        "possession_estimated_pct": 49.9,
        "pressing_actions_per_90": 6.1
      }
    }
  },
  "antagonist_report": {
    "home_attacking_duels": [
      {
        "attacker": "Abdessamad Ezzalzouli",
        "attacker_role": "LW",
        "attacker_market_value": 43000000,
        "attacker_height": 177,
        "attacker_skill_quality": 0.796,
        "defenders": [
          "Asier Osambela"
        ],
        "defender_roles": [
          "RB"
        ],
        "def_skill_quality_avg": 0.437,
        "duel_zone": "Left Wing vs Right Back — Flank Battle",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.605,
        "xg_contribution": 0.3704,
        "xg_multiplier": 1.1841,
        "shots_in_zone": 2.2,
        "dribbles_attempted": 4,
        "dribbles_successful": 2.1,
        "aerial_duels": 2,
        "aerial_won": 1.0,
        "crosses_in_zone": 2.5,
        "fouls_drawn": 1.1,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Asier Osambela",
            "role": "RB",
            "market_value": 1000000,
            "tackles_attempted": 1.9,
            "tackles_won": 1.4,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 1.0,
            "defensive_success_rate": 0.395
          }
        ],
        "duel_analysis": "Abdessamad Ezzalzouli (LW) is slightly favored against Asier Osambela in a direct 1v1 contest. Duel win probability: 61%. The quality gap is significant (€43M vs €1M avg). Matchup xG multiplier ×1.18 (×1.00 = his usual level). Projected xG contribution: 0.370 — creating consistent moderate threat."
      },
      {
        "attacker": "Antony",
        "attacker_role": "RW",
        "attacker_market_value": 37000000,
        "attacker_height": 172,
        "attacker_skill_quality": 0.764,
        "defenders": [
          "Unai Santos"
        ],
        "defender_roles": [
          "LB"
        ],
        "def_skill_quality_avg": 0.437,
        "duel_zone": "Right Wing vs Left Back — Flank Battle",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.595,
        "xg_contribution": 0.258,
        "xg_multiplier": 1.1691,
        "shots_in_zone": 2.2,
        "dribbles_attempted": 4,
        "dribbles_successful": 2.1,
        "aerial_duels": 2,
        "aerial_won": 0.8,
        "crosses_in_zone": 2.5,
        "fouls_drawn": 1.1,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Unai Santos",
            "role": "LB",
            "market_value": 105000,
            "tackles_attempted": 1.9,
            "tackles_won": 1.4,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 1.1,
            "defensive_success_rate": 0.405
          }
        ],
        "duel_analysis": "Antony (RW) is slightly favored against Unai Santos in a direct 1v1 contest. Duel win probability: 60%. The quality gap is significant (€37M vs €0M avg). Matchup xG multiplier ×1.17 (×1.00 = his usual level). Projected xG contribution: 0.258 — creating consistent moderate threat."
      },
      {
        "attacker": "Cucho Hernández",
        "attacker_role": "ST",
        "attacker_market_value": 16500000,
        "attacker_height": 175,
        "attacker_skill_quality": 0.595,
        "defenders": [
          "Abel Bretones",
          "Alejandro Catena"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.44,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.205,
        "xg_contribution": 0.3232,
        "xg_multiplier": 1.0075,
        "shots_in_zone": 2.1,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.4,
        "aerial_duels": 3,
        "aerial_won": 1.4,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.6,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Abel Bretones",
            "role": "CB",
            "market_value": 3400000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.9,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.795
          },
          {
            "player": "Alejandro Catena",
            "role": "CB",
            "market_value": 2700000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.9,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.795
          }
        ],
        "duel_analysis": "Cucho Hernández (ST) is evenly matched against Abel Bretones and Alejandro Catena in a 2-defender block. Duel win probability: 21%.  Matchup xG multiplier ×1.01 (×1.00 = his usual level). Projected xG contribution: 0.323 — with neither side clearly dominant."
      },
      {
        "attacker": "Marc Roca",
        "attacker_role": "CDM",
        "attacker_market_value": 4200000,
        "attacker_height": 184,
        "attacker_skill_quality": 0.452,
        "defenders": [
          "Iker Muñoz"
        ],
        "defender_roles": [
          "CDM"
        ],
        "def_skill_quality_avg": 0.437,
        "duel_zone": "CDM vs CDM",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.451,
        "xg_contribution": 0.0398,
        "xg_multiplier": 1.0453,
        "shots_in_zone": 1.0,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.8,
        "aerial_duels": 2,
        "aerial_won": 1.1,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.1,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Iker Muñoz",
            "role": "CDM",
            "market_value": 1800000,
            "tackles_attempted": 1.9,
            "tackles_won": 1.5,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.9,
            "defensive_success_rate": 0.549
          }
        ],
        "duel_analysis": "Marc Roca (CDM) is evenly matched against Iker Muñoz in a direct 1v1 contest. Duel win probability: 45%.  Matchup xG multiplier ×1.05 (×1.00 = his usual level). Projected xG contribution: 0.040 — with neither side clearly dominant."
      },
      {
        "attacker": "Isco",
        "attacker_role": "CM",
        "attacker_market_value": 3600000,
        "attacker_height": 176,
        "attacker_skill_quality": 0.445,
        "defenders": [
          "Iker Muñoz"
        ],
        "defender_roles": [
          "CDM"
        ],
        "def_skill_quality_avg": 0.437,
        "duel_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.444,
        "xg_contribution": 0.1221,
        "xg_multiplier": 0.9906,
        "shots_in_zone": 1.6,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.8,
        "aerial_duels": 2,
        "aerial_won": 0.9,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.1,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Iker Muñoz",
            "role": "CDM",
            "market_value": 1800000,
            "tackles_attempted": 1.9,
            "tackles_won": 1.5,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 1.1,
            "defensive_success_rate": 0.556
          }
        ],
        "duel_analysis": "Isco (CM) is evenly matched against Iker Muñoz in a direct 1v1 contest. Duel win probability: 44%.  Matchup xG multiplier ×0.99 (×1.00 = his usual level). Projected xG contribution: 0.122 — with neither side clearly dominant."
      },
      {
        "attacker": "Pablo Fornals",
        "attacker_role": "CM",
        "attacker_market_value": 8400000,
        "attacker_height": 178,
        "attacker_skill_quality": 0.503,
        "defenders": [
          "Iker Muñoz"
        ],
        "defender_roles": [
          "CDM"
        ],
        "def_skill_quality_avg": 0.437,
        "duel_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.481,
        "xg_contribution": 0.0805,
        "xg_multiplier": 1.0452,
        "shots_in_zone": 1.7,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.8,
        "aerial_duels": 2,
        "aerial_won": 1.0,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.1,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Iker Muñoz",
            "role": "CDM",
            "market_value": 1800000,
            "tackles_attempted": 1.9,
            "tackles_won": 1.5,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 1.0,
            "defensive_success_rate": 0.519
          }
        ],
        "duel_analysis": "Pablo Fornals (CM) is evenly matched against Iker Muñoz in a direct 1v1 contest. Duel win probability: 48%.  Matchup xG multiplier ×1.05 (×1.00 = his usual level). Projected xG contribution: 0.080 — with neither side clearly dominant."
      }
    ],
    "away_attacking_duels": [
      {
        "attacker": "Moi Gómez",
        "attacker_role": "LW",
        "attacker_market_value": 1600000,
        "attacker_height": 174,
        "attacker_skill_quality": 0.437,
        "defenders": [
          "Héctor Bellerín"
        ],
        "defender_roles": [
          "RB"
        ],
        "def_skill_quality_avg": 0.437,
        "duel_zone": "Left Wing vs Right Back — Flank Battle",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.461,
        "xg_contribution": 0.0359,
        "xg_multiplier": 0.9718,
        "shots_in_zone": 1.9,
        "dribbles_attempted": 3,
        "dribbles_successful": 1.2,
        "aerial_duels": 2,
        "aerial_won": 0.9,
        "crosses_in_zone": 1.9,
        "fouls_drawn": 1.1,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Héctor Bellerín",
            "role": "RB",
            "market_value": 2500000,
            "tackles_attempted": 1.9,
            "tackles_won": 1.5,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 1.1,
            "defensive_success_rate": 0.539
          }
        ],
        "duel_analysis": "Moi Gómez (LW) is evenly matched against Héctor Bellerín in a direct 1v1 contest. Duel win probability: 46%.  Matchup xG multiplier ×0.97 (×1.00 = his usual level). Projected xG contribution: 0.036 — with neither side clearly dominant."
      },
      {
        "attacker": "Ante Budimir",
        "attacker_role": "ST",
        "attacker_market_value": 2600000,
        "attacker_height": 190,
        "attacker_skill_quality": 0.437,
        "defenders": [
          "Natan",
          "Diego Llorente"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.562,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.18,
        "xg_contribution": 0.3692,
        "xg_multiplier": 0.9153,
        "shots_in_zone": 2.0,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.3,
        "aerial_duels": 3,
        "aerial_won": 2.0,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.4,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Natan",
            "role": "CB",
            "market_value": 26000000,
            "tackles_attempted": 1.1,
            "tackles_won": 1.0,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 1.1,
            "clearances_in_zone": 1.0,
            "aerial_duels_won": 0.5,
            "defensive_success_rate": 0.82
          },
          {
            "player": "Diego Llorente",
            "role": "CB",
            "market_value": 2600000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.9,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 0.5,
            "defensive_success_rate": 0.82
          }
        ],
        "duel_analysis": "Ante Budimir (ST) faces tough defensive resistance against Natan and Diego Llorente in a 2-defender block. Duel win probability: 18%.  Matchup xG multiplier ×0.92 (×1.00 = his usual level). Projected xG contribution: 0.369 — and is restricted in space and time on the ball."
      },
      {
        "attacker": "Rubén García",
        "attacker_role": "ST",
        "attacker_market_value": 1700000,
        "attacker_height": 171,
        "attacker_skill_quality": 0.437,
        "defenders": [
          "Natan",
          "Diego Llorente"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.562,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.18,
        "xg_contribution": 0.1039,
        "xg_multiplier": 0.8066,
        "shots_in_zone": 2.0,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.3,
        "aerial_duels": 3,
        "aerial_won": 1.2,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.4,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Natan",
            "role": "CB",
            "market_value": 26000000,
            "tackles_attempted": 1.1,
            "tackles_won": 1.0,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 1.1,
            "clearances_in_zone": 1.0,
            "aerial_duels_won": 0.9,
            "defensive_success_rate": 0.82
          },
          {
            "player": "Diego Llorente",
            "role": "CB",
            "market_value": 2600000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.9,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 0.9,
            "defensive_success_rate": 0.82
          }
        ],
        "duel_analysis": "Rubén García (ST) faces tough defensive resistance against Natan and Diego Llorente in a 2-defender block. Duel win probability: 18%.  Matchup xG multiplier ×0.81 (×1.00 = his usual level). Projected xG contribution: 0.104 — and is restricted in space and time on the ball."
      },
      {
        "attacker": "Iker Muñoz",
        "attacker_role": "CDM",
        "attacker_market_value": 1800000,
        "attacker_height": 179,
        "attacker_skill_quality": 0.437,
        "defenders": [
          "Isco"
        ],
        "defender_roles": [
          "CM"
        ],
        "def_skill_quality_avg": 0.445,
        "duel_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.406,
        "xg_contribution": 0.035,
        "xg_multiplier": 1.0094,
        "shots_in_zone": 1.0,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.7,
        "aerial_duels": 2,
        "aerial_won": 1.0,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.2,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Isco",
            "role": "CM",
            "market_value": 3600000,
            "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.0,
            "defensive_success_rate": 0.594
          }
        ],
        "duel_analysis": "Iker Muñoz (CDM) is evenly matched against Isco in a direct 1v1 contest. Duel win probability: 41%.  Matchup xG multiplier ×1.01 (×1.00 = his usual level). Projected xG contribution: 0.035 — with neither side clearly dominant."
      },
      {
        "attacker": "Jon Moncayola",
        "attacker_role": "CDM",
        "attacker_market_value": 7300000,
        "attacker_height": 182,
        "attacker_skill_quality": 0.49,
        "defenders": [
          "Isco"
        ],
        "defender_roles": [
          "CM"
        ],
        "def_skill_quality_avg": 0.445,
        "duel_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.449,
        "xg_contribution": 0.0409,
        "xg_multiplier": 1.0723,
        "shots_in_zone": 1.0,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.8,
        "aerial_duels": 2,
        "aerial_won": 1.1,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.1,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Isco",
            "role": "CM",
            "market_value": 3600000,
            "tackles_attempted": 1.9,
            "tackles_won": 1.5,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.9,
            "defensive_success_rate": 0.551
          }
        ],
        "duel_analysis": "Jon Moncayola (CDM) is slightly favored against Isco in a direct 1v1 contest. Duel win probability: 45%.  Matchup xG multiplier ×1.07 (×1.00 = his usual level). Projected xG contribution: 0.041 — creating consistent moderate threat."
      }
    ],
    "midfield_battle": {
      "home_midfield_power": 0.467,
      "away_midfield_power": 0.455,
      "home_creative_power": 0.492,
      "away_creative_power": 0.387,
      "home_defensive_power": 0.384,
      "away_defensive_power": 0.387,
      "home_dominance_ratio": 0.506,
      "home_midfield_count": 3,
      "away_midfield_count": 3,
      "home_midfield_players": [
        "Isco",
        "Marc Roca",
        "Pablo Fornals"
      ],
      "away_midfield_players": [
        "Iker Muñoz",
        "Jon Moncayola",
        "Moi Gómez"
      ],
      "possession_advantage": "neutral",
      "estimated_possession_home_pct": 50.1,
      "estimated_possession_away_pct": 49.9,
      "home_pressing_actions_per_90": 6.1,
      "away_pressing_actions_per_90": 6.1,
      "home_key_passes_projected": 4.5,
      "away_key_passes_projected": 3.8,
      "home_throughball_threat": 2.1,
      "away_throughball_threat": 1.8,
      "key_personal_duel": "Pablo Fornals vs Jon Moncayola",
      "midfield_lambda_factor_home": 1.01,
      "midfield_lambda_factor_away": 0.999
    },
    "formation_analysis": {
      "home_formation": "4-3-3",
      "away_formation": "4-2-3-1",
      "home_tactical_bonus": 0.03,
      "away_tactical_bonus": -0.01,
      "formation_verdict": "Tactical parity between 4-3-3 and 4-2-3-1. Match outcome driven primarily by individual player quality."
    },
    "home_lambda": 1.934,
    "away_lambda": 0.835,
    "home_top_threat_zones": [
      "Left Wing vs Right Back — Flank Battle",
      "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle"
    ],
    "away_top_threat_zones": [
      "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
      "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle"
    ],
    "home_player_antagonists": {
      "Abdessamad Ezzalzouli": {
        "opponents": [
          "Asier Osambela"
        ],
        "primary_zone": "Left Wing vs Right Back — Flank Battle",
        "source": "attacking_duel"
      },
      "Antony": {
        "opponents": [
          "Unai Santos"
        ],
        "primary_zone": "Right Wing vs Left Back — Flank Battle",
        "source": "attacking_duel"
      },
      "Cucho Hernández": {
        "opponents": [
          "Abel Bretones",
          "Alejandro Catena"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Marc Roca": {
        "opponents": [
          "Iker Muñoz"
        ],
        "primary_zone": "CDM vs CDM",
        "source": "attacking_duel, midfield_pairing"
      },
      "Isco": {
        "opponents": [
          "Iker Muñoz",
          "Jon Moncayola"
        ],
        "primary_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "source": "attacking_duel, defensive_duel, midfield_pairing"
      },
      "Pablo Fornals": {
        "opponents": [
          "Iker Muñoz",
          "Moi Gómez"
        ],
        "primary_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "source": "attacking_duel, midfield_pairing"
      },
      "Héctor Bellerín": {
        "opponents": [
          "Moi Gómez"
        ],
        "primary_zone": "Left Wing vs Right Back — Flank Battle",
        "source": "defensive_duel"
      },
      "Natan": {
        "opponents": [
          "Ante Budimir",
          "Rubén García"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Diego Llorente": {
        "opponents": [
          "Ante Budimir",
          "Rubén García"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Álvaro Valles": {
        "opponents": [
          "Ante Budimir",
          "Rubén García"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      },
      "Fran García": {
        "opponents": [
          "Ante Budimir"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      }
    },
    "away_player_antagonists": {
      "Asier Osambela": {
        "opponents": [
          "Abdessamad Ezzalzouli"
        ],
        "primary_zone": "Left Wing vs Right Back — Flank Battle",
        "source": "defensive_duel"
      },
      "Unai Santos": {
        "opponents": [
          "Antony"
        ],
        "primary_zone": "Right Wing vs Left Back — Flank Battle",
        "source": "defensive_duel"
      },
      "Abel Bretones": {
        "opponents": [
          "Cucho Hernández"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Alejandro Catena": {
        "opponents": [
          "Cucho Hernández"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Iker Muñoz": {
        "opponents": [
          "Marc Roca",
          "Isco",
          "Pablo Fornals"
        ],
        "primary_zone": "CDM vs CDM",
        "source": "defensive_duel, attacking_duel, midfield_pairing"
      },
      "Moi Gómez": {
        "opponents": [
          "Héctor Bellerín",
          "Pablo Fornals"
        ],
        "primary_zone": "Left Wing vs Right Back — Flank Battle",
        "source": "attacking_duel, midfield_pairing"
      },
      "Ante Budimir": {
        "opponents": [
          "Natan",
          "Diego Llorente"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Rubén García": {
        "opponents": [
          "Natan",
          "Diego Llorente"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Jon Moncayola": {
        "opponents": [
          "Isco"
        ],
        "primary_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
        "source": "attacking_duel, midfield_pairing"
      },
      "Aitor Fernández": {
        "opponents": [
          "Abdessamad Ezzalzouli",
          "Antony"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      },
      "Iñigo Arguibide": {
        "opponents": [
          "Abdessamad Ezzalzouli"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      }
    },
    "key_tactical_insight": "Midfield is evenly contested — Pablo Fornals vs Jon Moncayola will be the pivotal duel. Total antagonist xG — Home: 1.19, Away: 0.58. Home danger zone: Left Wing vs Right Back — Flank Battle. Away danger zone: Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle.",
    "lambda_factors": {
      "league_anchor": 1.35,
      "home_advantage_factor": 1.15,
      "home_gk_opposition_factor": 1.0107,
      "away_gk_opposition_factor": 0.993,
      "home_set_piece_bonus": 0.0495,
      "away_set_piece_bonus": 0.154,
      "home_defensive_solidity_vs": 0.9959,
      "away_defensive_solidity_vs": 0.9861,
      "home_midfield_factor": 1.01,
      "away_midfield_factor": 0.999,
      "stage_discount": 1.0,
      "quality_gap_applied": true,
      "home_avg_quality": 0.5602,
      "away_avg_quality": 0.4432,
      "avg_quality_gap": 0.117,
      "squad_value_gap_log": 1.5814,
      "top5_value_gap_log": 1.623,
      "attack_value_gap_log": 1.5909,
      "elite_count_gap": 1,
      "combined_quality_gap": 0.3284,
      "stronger_lambda_boost": 0.1806,
      "weaker_lambda_suppression": 0.1051,
      "home_lambda_chain": [
        {
          "label": "league_anchor",
          "value": 1.35
        },
        {
          "label": "duel_blend",
          "raw_xg": 1.194,
          "n_duels": 6,
          "duel_confidence": 0.75,
          "result": 1.233
        },
        {
          "label": "midfield_factor",
          "factor": 1.01,
          "result": 1.2453
        },
        {
          "label": "formation_bonus",
          "factor": 1.03,
          "result": 1.2827
        },
        {
          "label": "home_advantage",
          "factor": 1.15,
          "result": 1.4751
        },
        {
          "label": "standing_factor",
          "factor": 1.0198,
          "result": 1.5043
        },
        {
          "label": "gk_opposition",
          "factor": 1.0107,
          "result": 1.5203
        },
        {
          "label": "defensive_solidity",
          "factor": 0.9959,
          "result": 1.5141
        },
        {
          "label": "set_piece_bonus",
          "bonus": 0.0495,
          "result": 1.5636
        },
        {
          "label": "engine_clamp",
          "pre": 1.5636,
          "result": 1.5636,
          "band": [
            0.6,
            4.0
          ],
          "clamped": false
        },
        {
          "label": "quality_gap",
          "applied": true,
          "combined_quality_gap": 0.3284,
          "factor": 1.1806,
          "pre": 1.5636,
          "result": 1.8461
        },
        {
          "label": "stage_discount",
          "applied": false,
          "factor": 1.0,
          "result": 1.8461
        },
        {
          "label": "bench_bonus",
          "side": "home",
          "bonus": 0.2174,
          "result": 2.0634
        },
        {
          "label": "fbref_blend",
          "side": "home",
          "applied": true,
          "blending_weight": 0.228,
          "empirical_lambda": 0.9877,
          "result": 1.8181
        },
        {
          "label": "router_clamp",
          "pre": 1.8181,
          "result": 1.818,
          "band": [
            0.65,
            4.8
          ]
        },
        {
          "label": "h2h_adjustment",
          "applied": true,
          "multiplier": 1.0286,
          "pre": 1.818,
          "result": 1.87,
          "available": true
        },
        {
          "label": "mismatch_pressure",
          "applied": true,
          "factor": 1.0871,
          "pre": 1.87,
          "result": 2.033
        },
        {
          "label": "underdog_floor",
          "applied": false,
          "mode": "disabled_ablation",
          "result": 2.033
        },
        {
          "label": "redistribution",
          "applied": true,
          "factor": 0.9512,
          "input_total": 2.769,
          "result": 1.9338
        },
        {
          "label": "final_clamp",
          "applied": true,
          "pre": 1.9338,
          "result": 1.934,
          "band": [
            0.65,
            4.8
          ]
        },
        {
          "label": "competition_calibration",
          "applied": false,
          "reason": "no_sofascore_matches_data",
          "samples": 0,
          "scale": 1.0,
          "observed_total_goals": 0.0,
          "result": 1.934
        }
      ],
      "away_lambda_chain": [
        {
          "label": "league_anchor",
          "value": 1.35
        },
        {
          "label": "duel_blend",
          "raw_xg": 0.5849,
          "n_duels": 5,
          "duel_confidence": 0.75,
          "result": 0.7762
        },
        {
          "label": "midfield_factor",
          "factor": 0.999,
          "result": 0.7754
        },
        {
          "label": "formation_bonus",
          "factor": 0.99,
          "result": 0.7676
        },
        {
          "label": "home_advantage",
          "factor": 1.0,
          "result": 0.7676
        },
        {
          "label": "standing_factor",
          "factor": 0.882,
          "result": 0.6771
        },
        {
          "label": "gk_opposition",
          "factor": 0.993,
          "result": 0.6723
        },
        {
          "label": "defensive_solidity",
          "factor": 0.9861,
          "result": 0.663
        },
        {
          "label": "set_piece_bonus",
          "bonus": 0.154,
          "result": 0.817
        },
        {
          "label": "engine_clamp",
          "pre": 0.817,
          "result": 0.817,
          "band": [
            0.6,
            4.0
          ],
          "clamped": false
        },
        {
          "label": "quality_gap",
          "applied": true,
          "combined_quality_gap": 0.3284,
          "factor": 0.8949,
          "pre": 0.817,
          "result": 0.7311
        },
        {
          "label": "stage_discount",
          "applied": false,
          "factor": 1.0,
          "result": 0.7311
        },
        {
          "label": "bench_bonus",
          "side": "away",
          "bonus": 0.1762,
          "result": 0.9072
        },
        {
          "label": "fbref_blend",
          "side": "away",
          "applied": true,
          "blending_weight": 0.228,
          "empirical_lambda": 0.9852,
          "result": 0.925
        },
        {
          "label": "router_clamp",
          "pre": 0.925,
          "result": 0.925,
          "band": [
            0.65,
            4.8
          ]
        },
        {
          "label": "h2h_adjustment",
          "applied": true,
          "multiplier": 0.9714,
          "pre": 0.925,
          "result": 0.8985,
          "available": true
        },
        {
          "label": "mismatch_pressure",
          "applied": true,
          "factor": 0.9772,
          "pre": 0.8985,
          "result": 0.878
        },
        {
          "label": "underdog_floor",
          "applied": false,
          "mode": "disabled_ablation",
          "result": 0.878
        },
        {
          "label": "redistribution",
          "applied": true,
          "factor": 0.9512,
          "input_total": 2.769,
          "result": 0.8352
        },
        {
          "label": "final_clamp",
          "applied": true,
          "pre": 0.8352,
          "result": 0.835,
          "band": [
            0.65,
            4.8
          ]
        },
        {
          "label": "competition_calibration",
          "applied": false,
          "reason": "no_sofascore_matches_data",
          "samples": 0,
          "scale": 1.0,
          "observed_total_goals": 0.0,
          "result": 0.835
        }
      ],
      "home_bench_lambda_bonus": 0.2174,
      "away_bench_lambda_bonus": 0.1762,
      "home_bench_players_modelled": 7,
      "away_bench_players_modelled": 7,
      "fbref_team_priors": {
        "applied": true,
        "home_squad": "Real Betis",
        "away_squad": "Osasuna",
        "home_goals_per90": 1.3333333333333333,
        "away_goals_against_per90": 1.0,
        "away_goals_per90": 1.0,
        "home_goals_against_per90": 1.33,
        "home_empirical_lambda": 0.988,
        "away_empirical_lambda": 0.985,
        "blending_weight": 0.228
      },
      "mismatch_score_pressure_applied": true,
      "mismatch_score_pressure_gap": 0.3284,
      "mismatch_favorite_lambda_boost": 1.0871,
      "mismatch_underdog_lambda_factor": 0.9772,
      "pre_mismatch_home_lambda": 1.87,
      "pre_mismatch_away_lambda": 0.8985,
      "competitive_underdog_floor_applied": false,
      "competitive_underdog_floor": 1.0,
      "competitive_underdog_floor_mode": "disabled_ablation",
      "pre_competitive_floor_home_lambda": 2.033,
      "pre_competitive_floor_away_lambda": 0.878,
      "pre_calibration_home_lambda": 1.8181,
      "pre_calibration_away_lambda": 0.925,
      "competition_calibration_applied": false,
      "competition_calibration_reason": "no_sofascore_matches_data",
      "competition_calibration_samples": 0,
      "competition_observed_total_goals": 0.0,
      "competition_calibration_scale": 1.0,
      "neutral_share_preserved": false,
      "final_home_lambda": 1.934,
      "final_away_lambda": 0.835
    }
  },
  "home_standing": {
    "available": true,
    "team_position": 4,
    "opponent_position": 14,
    "standing_lambda_multiplier": 1.0198,
    "attack_index": 1.0,
    "defense_concede_index": 1.033,
    "form_multiplier": 1.033,
    "team_attack_rate_contextual": 1.5,
    "opp_defense_rate_contextual": 1.55,
    "team_ppg": 1.87,
    "opponent_ppg": 1.25
  },
  "away_standing": {
    "available": true,
    "team_position": 14,
    "opponent_position": 4,
    "standing_lambda_multiplier": 0.882,
    "attack_index": 0.8,
    "defense_concede_index": 0.926,
    "form_multiplier": 0.967,
    "team_attack_rate_contextual": 1.2,
    "opp_defense_rate_contextual": 1.39,
    "team_ppg": 1.25,
    "opponent_ppg": 1.87
  },
  "xgboost_reasoning": {
    "summary": "Antagonist + XGBoost match analysis for Real Betis vs Osasuna. Player statistics regressed using position-specific XGBoost models (G, D, M, F) with 2026-2027 FBref priors. Micro-duels resolved across 4-3-3 vs 4-2-3-1 (duel lambdas: Home 1.818, Away 0.925). Final calibrated Poisson lambdas: Home 1.934, Away 0.835 (most likely score 1-0).",
    "competition": "LaLiga",
    "model_coverage": {
      "home_starters_count": 11,
      "home_xgboost_players": 11,
      "home_fbref_players": 9,
      "away_starters_count": 11,
      "away_xgboost_players": 11,
      "away_fbref_players": 8,
      "home_bench_modelled": 7,
      "away_bench_modelled": 7
    },
    "team_priors": {
      "applied": true,
      "home_squad": "Real Betis",
      "away_squad": "Osasuna",
      "home_goals_per90": 1.3333333333333333,
      "away_goals_against_per90": 1.0,
      "away_goals_per90": 1.0,
      "home_goals_against_per90": 1.33,
      "home_empirical_lambda": 0.988,
      "away_empirical_lambda": 0.985,
      "blending_weight": 0.228
    },
    "pipeline_stages": [
      "1. XGBoost player regressions for volume & event rates with market-value quality scaling",
      "2. Multi-source prior blending (FBref 2026-2027 tables + Sofascore season history)",
      "3. Antagonist formation duel matrix resolving 1v1 and zonal matchups",
      "4. Team-level prior calibration (FBref possession and attack/defense efficiencies)",
      "5. Bivariate Poisson matrix with Dixon-Coles low-score correction"
    ],
    "final_lambdas": {
      "home_lambda": 1.934,
      "away_lambda": 0.835,
      "micro_duel_home_lambda": 1.818,
      "micro_duel_away_lambda": 0.925
    },
    "calibration_and_pressure": {
      "competition_calibration_applied": false,
      "competition_calibration_scale": 1.0,
      "mismatch_pressure_applied": true,
      "underdog_floor_applied": false
    }
  },
  "timestamp": "2026-10-11T13:31:38Z",
  "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
  }
}