{
  "match_info": {
    "home_team": "Real Sociedad",
    "away_team": "Deportivo",
    "tournament": "LaLiga",
    "date": "20261011",
    "timezone": "America/New_York",
    "home_formation": "4-4-2",
    "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.1489,
    "match_resolution": "regulation",
    "predicted_winner": "Real Sociedad",
    "tiebreaker": {
      "applies": false,
      "method": "none",
      "regulation_draw_probability": 0.2638,
      "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.1489
      },
      {
        "score": "1-1",
        "probability": 0.1214
      },
      {
        "score": "2-0",
        "probability": 0.1122
      },
      {
        "score": "0-0",
        "probability": 0.1008
      },
      {
        "score": "2-1",
        "probability": 0.0903
      }
    ],
    "scoreline_probabilities": {
      "0-0": 0.1008,
      "0-1": 0.0796,
      "0-2": 0.0324,
      "0-3": 0.0087,
      "0-4": 0.0017,
      "1-0": 0.1489,
      "1-1": 0.1214,
      "1-2": 0.0485,
      "1-3": 0.013,
      "1-4": 0.0026,
      "2-0": 0.1122,
      "2-1": 0.0903,
      "2-2": 0.0363,
      "2-3": 0.0098,
      "2-4": 0.002,
      "3-0": 0.056,
      "3-1": 0.0451,
      "3-2": 0.0181,
      "3-3": 0.0049,
      "3-4": 0.001,
      "4-0": 0.021,
      "4-1": 0.0169,
      "4-2": 0.0068,
      "4-3": 0.0018,
      "5-0": 0.0063,
      "5-1": 0.0051,
      "5-2": 0.002,
      "5-3": 0.0005,
      "6-0": 0.0016,
      "6-1": 0.0013,
      "6-2": 0.0005
    },
    "outcome": {
      "home_win": 0.5355,
      "draw": 0.2638,
      "away_win": 0.2007
    },
    "markets": {
      "over_2_5_goals": 0.4048,
      "under_2_5_goals": 0.5952,
      "btts_yes": 0.4301,
      "btts_no": 0.5699,
      "home_clean_sheet": 0.4471,
      "away_clean_sheet": 0.2236
    },
    "home_ratings": {
      "DR": 6.74,
      "MCR": 6.91,
      "ATR": 6.87,
      "GK": 7.1
    },
    "away_ratings": {
      "DR": 6.8,
      "MCR": 7.04,
      "ATR": 6.74,
      "GK": 7.08
    },
    "insights": {
      "summary": "Antagonist matchup analysis for Real Sociedad vs Deportivo. Most likely scoreline: 1-0. Lambdas derived from 6 home and 6 away individual player duels. Head-to-head: Real Sociedad 4W-5D-1L vs Deportivo over 10 meetings.",
      "key_player": "Projected scorer(s): Mikel Oyarzabal",
      "tactical_analysis": "Tactical parity between 4-4-2 and 4-2-3-1. Match outcome driven primarily by individual player quality. Midfield is evenly contested — Luka Sučić vs Lorenzo Amatucci will be the pivotal duel. Total antagonist xG — Home: 0.92, Away: 0.50. Home danger zone: Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle. Away danger zone: Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle."
    },
    "confidence": 0.74,
    "home_lambda": 1.498,
    "away_lambda": 0.805,
    "h2h": {
      "available": true,
      "meetings": 10,
      "home_wins": 4,
      "away_wins": 1,
      "draws": 5,
      "home_multiplier": 1.0214,
      "away_multiplier": 0.9786
    },
    "modal_scoreline": null,
    "modal_scoreline_probability": null,
    "headline_policy": null
  },
  "pregame_baseline": {
    "fair_win_probability": {
      "home_win": 0.5355,
      "draw": 0.2638,
      "away_win": 0.2007
    },
    "favorite": "Real Sociedad",
    "favorite_win_probability": 0.5355,
    "fair_spread": 0.693,
    "fair_total": 2.303,
    "prop_estimates": [
      {
        "market": "team_total_goals",
        "selection": "Real Sociedad",
        "estimate": 1.498,
        "probability": null,
        "unit": "goals"
      },
      {
        "market": "team_total_goals",
        "selection": "Deportivo",
        "estimate": 0.805,
        "probability": null,
        "unit": "goals"
      },
      {
        "market": "over_2_5_goals",
        "selection": "yes",
        "estimate": 2.5,
        "probability": 0.4048,
        "unit": "probability"
      },
      {
        "market": "both_teams_to_score",
        "selection": "yes",
        "estimate": 1.0,
        "probability": 0.4301,
        "unit": "probability"
      },
      {
        "market": "clean_sheet",
        "selection": "Real Sociedad",
        "estimate": 1.0,
        "probability": 0.4471,
        "unit": "probability"
      },
      {
        "market": "clean_sheet",
        "selection": "Deportivo",
        "estimate": 1.0,
        "probability": 0.2236,
        "unit": "probability"
      },
      {
        "market": "anytime_goal",
        "selection": "Mikel Oyarzabal (Real Sociedad)",
        "estimate": 0.2773,
        "probability": 0.2422,
        "unit": "xG"
      },
      {
        "market": "anytime_goal",
        "selection": "Bil Nsongo (Deportivo)",
        "estimate": 0.1319,
        "probability": 0.1236,
        "unit": "xG"
      },
      {
        "market": "assist",
        "selection": "Sergio Gómez (Real Sociedad)",
        "estimate": 0.1533,
        "probability": 0.1421,
        "unit": "xA"
      },
      {
        "market": "assist",
        "selection": "Mario Soriano (Deportivo)",
        "estimate": 0.1179,
        "probability": 0.1112,
        "unit": "xA"
      }
    ],
    "expected_pace": {
      "tempo": "balanced",
      "expected_total_goals": 2.303,
      "expected_total_shots": 25,
      "expected_total_passes": 880,
      "expected_pressing_actions_per_90": 12.9,
      "possession_home_pct": 50.0,
      "possession_away_pct": 50.0,
      "notes": "possession projects near even"
    },
    "expected_game_script": {
      "favorite": "Real Sociedad",
      "favorite_win_probability": 0.5355,
      "script": "Real Sociedad is the fair winner side, but the baseline remains narrow: fair spread +0.69 goals and fair total 2.30.",
      "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; Deportivo must keep the match inside one goal.",
      "late_game": "A Real Sociedad lead likely shifts toward control and counters; a draw state keeps set pieces and transition chances live."
    },
    "key_matchup_thesis": "Real Sociedad chance creation leans on Mikel Oyarzabal against José María Giménez, Lucas Noubi in Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle; possession projects near even.",
    "expected_rotation_usage_behavior": [
      "Real Sociedad: starters carry the main goal usage through Mikel Oyarzabal; bench watchlist: Jon Gorrotxategi, Orri Óskarsson.",
      "Deportivo: starters carry the main goal usage through the highest xG attackers; bench watchlist: Marc Casadó, Adama Traoré, David Mella.",
      "Assist usage should flow through Sergio Gómez; late lineup changes should re-score these allocations."
    ],
    "pregame_play_by_play": [
      "0-15: Real Sociedad 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.15 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 Deportivo 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 Sociedad.",
      "Deportivo 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 Sociedad": {
      "formation": "4-4-2",
      "players": {
        "Mikel Oyarzabal": {
          "player_id": 823622,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 10,
          "height": 181,
          "market_value": 27000000,
          "stats": {
            "expected_goals": 0.2773,
            "goal_rate": 0.2691,
            "goals": 1,
            "shots_on_target": 1,
            "total_shots": 2,
            "expected_assists": 0.1329,
            "key_pass": 1,
            "rating": 6.9196,
            "minutes": 79,
            "total_pass": 25,
            "accurate_pass": 19,
            "duels_won": 4,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "total_opp_half_passes": 16,
            "accurate_opp_half_passes": 12,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 39,
            "possession_lost": 10.9803,
            "dispossessed": 1.0623,
            "duels_lost": 4,
            "aerial_lost": 1,
            "total_contest": 1,
            "won_contest": 0,
            "ball_recovery": 3,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 1,
            "assist_rate": 0.1707,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 1,
            "xgot": 0.3186,
            "offsides": 0,
            "ball_carries": 13,
            "total_progression": 59,
            "progressive_carries": 3,
            "shots_off_target": 1,
            "duel_xg_multiplier": 1.1254,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.5,
            "aerial_won": 2,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.285,
            "pressing_faced": "LOW",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "José María Giménez, Lucas Noubi",
            "opponent_faced": "José María Giménez, Lucas Noubi",
            "antagonist_source": "attacking_duel",
            "projected_goals": 1,
            "goal_probability": 0.2422,
            "projected_assists": 0,
            "assist_probability": 0.1244,
            "finishing_factor": 1.0854,
            "creation_factor": 1.25,
            "fifa_overall": 90.0
          },
          "latest_10_games": [
            {
              "match_id": 16416297,
              "match_date": "2026-09-20",
              "home_team": "Valencia",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Valencia",
              "stats": {
                "minutes": 61,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.5377,
                "expected_assists": 0.1525,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 2,
                "total_pass": 12,
                "accurate_pass": 10,
                "key_pass": 4,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416332,
              "match_date": "2026-09-13",
              "home_team": "Real Sociedad",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 79,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0366,
                "expected_assists": 0.0379,
                "total_shots": 1,
                "total_pass": 23,
                "accurate_pass": 18,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "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": 16416319,
              "match_date": "2026-09-07",
              "home_team": "Elche",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Elche",
              "stats": {
                "minutes": 70,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.09,
                "total_shots": 0,
                "total_pass": 22,
                "accurate_pass": 18,
                "tackles": 1,
                "tackles_won": 1,
                "aerial_won": 2,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416340,
              "match_date": "2026-09-03",
              "home_team": "Real Sociedad",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1853,
                "expected_assists": 0.0318,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 32,
                "accurate_pass": 24,
                "key_pass": 1,
                "tackles": 1,
                "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": 16416310,
              "match_date": "2026-08-29",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 89,
                "rating": 7.3,
                "assist_rate": 2.0,
                "assists": 2,
                "expected_goals": 0.1597,
                "expected_assists": 0.4623,
                "total_shots": 4,
                "shots_on_target": 2,
                "total_pass": 27,
                "accurate_pass": 18,
                "key_pass": 2,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421051,
              "match_date": "2026-08-26",
              "home_team": "Real Madrid",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 57,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1764,
                "expected_assists": 0.0268,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 26,
                "accurate_pass": 21,
                "key_pass": 1,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416293,
              "match_date": "2026-08-21",
              "home_team": "Real Betis",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 32,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0735,
                "total_shots": 0,
                "total_pass": 17,
                "accurate_pass": 15,
                "key_pass": 1,
                "interceptions": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083719,
              "match_date": "2026-05-23",
              "home_team": "Espanyol",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 13,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0072,
                "total_shots": 0,
                "total_pass": 8,
                "accurate_pass": 4,
                "clearances": 2,
                "aerial_won": 2,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083687,
              "match_date": "2026-05-17",
              "home_team": "Real Sociedad",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Valencia",
              "stats": {
                "minutes": 33,
                "rating": 7.3,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.0267,
                "expected_assists": 0.2839,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 12,
                "accurate_pass": 10,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 2,
                "duels_won": 5,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083624,
              "match_date": "2026-05-14",
              "home_team": "Girona FC",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0275,
                "total_shots": 0,
                "total_pass": 26,
                "accurate_pass": 22,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 1,
                "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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 31,
            "combined_rank_score": 26.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 40.0,
            "sofascore_rating": 7.8667,
            "sofascore_appearances": 6.0,
            "fifa_rank": 13.0,
            "fifa_overall": 90.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 5,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9196,
            "source_file": "data/player_rankings.csv",
            "player_name": "Mikel Oyarzabal",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Joshua Kimmich",
                  "ranking": 26
                },
                {
                  "player_name": "Ljupche Doriev",
                  "ranking": 27
                },
                {
                  "player_name": "Rafael Romo",
                  "ranking": 28
                },
                {
                  "player_name": "Michael Olise",
                  "ranking": 29
                },
                {
                  "player_name": "Marko Arnautović",
                  "ranking": 30
                }
              ],
              "lower": [
                {
                  "player_name": "Vitinha",
                  "ranking": 32
                },
                {
                  "player_name": "Fermín López",
                  "ranking": 33
                },
                {
                  "player_name": "Bianneider Tamayo",
                  "ranking": 34
                },
                {
                  "player_name": "Virgil van Dijk",
                  "ranking": 35
                },
                {
                  "player_name": "Remo Freuler",
                  "ranking": 36
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.78,
          "history_matches": 41,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 41,
            "data_confidence": 0.78,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0062,
            "fbref_prior_metrics": {
              "squad": "Real Sociedad",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 4.0,
              "starts": 3.0,
              "minutes": 268.0,
              "goals_per90": 0.0,
              "assists_per90": 0.6666666666666666,
              "shots_per90": 2.35,
              "shots_on_target_pct": 57.1,
              "prior_reliability": 0.2
            },
            "rationale": "XGBoost regressor (F_service) evaluated 41 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Real Sociedad, rel: 0.20, gls/90: 0.0, ast/90: 0.6666666666666666)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.2155,
                "goals": 0.241,
                "goal_rate": 0.241,
                "shots_on_target": 0.7017,
                "total_shots": 1.9043,
                "expected_assists": 0.114,
                "key_pass": 1.2377,
                "rating": 6.9196,
                "minutes": 78.87,
                "total_pass": 24.5882,
                "accurate_pass": 19.1483,
                "duels_won": 3.682,
                "total_long_balls": 1.1278,
                "accurate_long_balls": 0.7285,
                "total_opp_half_passes": 15.9637,
                "accurate_opp_half_passes": 11.5279,
                "crosses_total": 0.326,
                "crosses_accurate": 0.0972,
                "touches": 38.4128,
                "possession_lost": 10.9126,
                "dispossessed": 1.0558,
                "duels_lost": 4.0637,
                "aerial_lost": 0.8769,
                "total_contest": 1.3204,
                "won_contest": 0.4783,
                "ball_recovery": 2.9339,
                "challenges_lost": 0.4581,
                "fouls": 0.8595,
                "fouls_drawn": 1.1682,
                "assists": 0.1638,
                "assist_rate": 0.1638,
                "interceptions": 0.3577,
                "tackles_won": 0.8046,
                "tackles": 0.9832,
                "clearances": 0.3032,
                "blocks": 0.0258,
                "big_chances_created": 0.1742,
                "big_chances_missed": 0.6672,
                "xgot": 0.2477,
                "offsides": 0.1352,
                "ball_carries": 12.6601,
                "total_progression": 58.4512,
                "progressive_carries": 3.0263,
                "shots_off_target": 1.2026
              },
              "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": "Valencia",
                    "minutes": 61.0,
                    "is_starting": true,
                    "weight": 0.1502,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Atlético Madrid",
                    "minutes": 79.0,
                    "is_starting": true,
                    "weight": 0.1277,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-07",
                    "opponent": "Elche",
                    "minutes": 70.0,
                    "is_starting": true,
                    "weight": 0.1085,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-03",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0922,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Espanyol",
                    "minutes": 89.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-26",
                    "opponent": "Real Madrid",
                    "minutes": 57.0,
                    "is_starting": true,
                    "weight": 0.0666,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Betis",
                    "minutes": 32.0,
                    "is_starting": false,
                    "weight": 0.0566,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Espanyol",
                    "minutes": 13.0,
                    "is_starting": false,
                    "weight": 0.0481,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Valencia",
                    "minutes": 33.0,
                    "is_starting": false,
                    "weight": 0.0409,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Girona FC",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "expectedGoals": 0.2343,
                  "totalOppositionHalfPasses": 14.5106,
                  "accurateOppositionHalfPasses": 10.4549,
                  "accuratePass": 17.3014,
                  "totalShots": 1.5867
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.21546003222465515,
                    "model_output": 0.2155,
                    "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.0633
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0433
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0279
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.019
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0126
                        }
                      ],
                      "others": -0.0294,
                      "total": 0.2155,
                      "log_link": true,
                      "margin_base": -1.62027,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.277769
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.153292
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.095941
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.071063
                        },
                        {
                          "name": "goals",
                          "margin": -0.050282
                        }
                      ],
                      "others_margin": -0.128486
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.2409907728433609,
                    "model_output": 0.241,
                    "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.0683
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.038
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0329
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0257
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0212
                        }
                      ],
                      "others": 0.0113,
                      "total": 0.241,
                      "log_link": true,
                      "margin_base": -1.593696,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.289843
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.131117
                        },
                        {
                          "name": "goals",
                          "margin": -0.112402
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.097661
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.088336
                        }
                      ],
                      "others_margin": 0.048137
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.7016904950141907,
                    "model_output": 0.7017,
                    "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.1756
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0671
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0453
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0296
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.0247
                        }
                      ],
                      "others": 0.0161,
                      "total": 0.7017,
                      "log_link": true,
                      "margin_base": -0.622283,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.28299
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.098896
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.067852
                        },
                        {
                          "name": "goals",
                          "margin": -0.043774
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.036639
                        }
                      ],
                      "others_margin": 0.023209
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.9043103456497192,
                    "model_output": 1.9043,
                    "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.4733
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.1021
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0796
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0668
                        },
                        {
                          "name": "big_chance_conversion",
                          "contribution": 0.0315
                        }
                      ],
                      "others": -0.0626,
                      "total": 1.9043,
                      "log_link": false,
                      "margin_base": 1.372807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.473259
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.102069
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.079626
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.066797
                        },
                        {
                          "name": "big_chance_conversion",
                          "margin": 0.031515
                        }
                      ],
                      "others_margin": -0.062509
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.11403858661651611,
                    "model_output": 0.114,
                    "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.0108
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0104
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0093
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0051
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0048
                        }
                      ],
                      "others": 0.0097,
                      "total": 0.114,
                      "log_link": true,
                      "margin_base": -2.751197,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.155962
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.130932
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.104193
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.052978
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.047087
                        }
                      ],
                      "others_margin": 0.088826
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 1.2376679182052612,
                    "model_output": 1.2377,
                    "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.222
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.1019
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0599
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.038
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0377
                        }
                      ],
                      "others": 0.1054,
                      "total": 1.2377,
                      "log_link": true,
                      "margin_base": -0.396376,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.285173
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.107874
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.058333
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.035323
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.033823
                        }
                      ],
                      "others_margin": 0.089079
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.919580459594727,
                    "model_output": 6.9196,
                    "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.0717
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0554
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.0159
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0112
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0103
                        }
                      ],
                      "others": 0.0139,
                      "total": 6.9196,
                      "log_link": false,
                      "margin_base": 6.763607,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.071668
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.055376
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.01589
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.011244
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.010271
                        }
                      ],
                      "others_margin": 0.014012
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 41,
                  "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.0062, quality 0.694)",
              "stats": {
                "expected_goals": 0.2168,
                "goals": 0.2425,
                "goal_rate": 0.2425,
                "shots_on_target": 0.706,
                "total_shots": 1.9161,
                "expected_assists": 0.1147,
                "key_pass": 1.2453,
                "rating": 6.9196,
                "minutes": 78.87,
                "total_pass": 24.7406,
                "accurate_pass": 19.267,
                "duels_won": 3.7048,
                "total_long_balls": 1.1348,
                "accurate_long_balls": 0.733,
                "total_opp_half_passes": 16.0627,
                "accurate_opp_half_passes": 11.5994,
                "crosses_total": 0.328,
                "crosses_accurate": 0.0978,
                "touches": 38.651,
                "possession_lost": 10.9803,
                "dispossessed": 1.0623,
                "duels_lost": 4.0889,
                "aerial_lost": 0.8823,
                "total_contest": 1.3286,
                "won_contest": 0.4813,
                "ball_recovery": 2.9521,
                "challenges_lost": 0.4609,
                "fouls": 0.8648,
                "fouls_drawn": 1.1754,
                "assists": 0.1648,
                "assist_rate": 0.1648,
                "interceptions": 0.3599,
                "tackles_won": 0.8096,
                "tackles": 0.9893,
                "clearances": 0.3051,
                "blocks": 0.026,
                "big_chances_created": 0.1753,
                "big_chances_missed": 0.6713,
                "xgot": 0.2492,
                "offsides": 0.136,
                "ball_carries": 12.7386,
                "total_progression": 58.8136,
                "progressive_carries": 3.0451,
                "shots_off_target": 1.2101
              },
              "params": {
                "market_value_eur": 27000000,
                "quality_factor": 0.6941,
                "boost_factor": 1.0062,
                "reference_quality": 0.505,
                "history_matches": 41,
                "history_shrink": 0.1087,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0141)",
              "stats": {
                "expected_goals": 0.2168,
                "goals": 0.2391,
                "goal_rate": 0.2391,
                "shots_on_target": 0.7126,
                "total_shots": 1.9181,
                "expected_assists": 0.1147,
                "key_pass": 1.2453,
                "rating": 6.9196,
                "minutes": 78.87,
                "total_pass": 24.7406,
                "accurate_pass": 19.267,
                "duels_won": 3.7048,
                "total_long_balls": 1.1348,
                "accurate_long_balls": 0.733,
                "total_opp_half_passes": 16.0627,
                "accurate_opp_half_passes": 11.5994,
                "crosses_total": 0.3316,
                "crosses_accurate": 0.0978,
                "touches": 38.651,
                "possession_lost": 10.9803,
                "dispossessed": 1.0623,
                "duels_lost": 4.0889,
                "aerial_lost": 0.8823,
                "total_contest": 1.3286,
                "won_contest": 0.4813,
                "ball_recovery": 2.9521,
                "challenges_lost": 0.4609,
                "fouls": 0.8608,
                "fouls_drawn": 1.1877,
                "assists": 0.1707,
                "assist_rate": 0.1707,
                "interceptions": 0.3589,
                "tackles_won": 0.7982,
                "tackles": 0.9893,
                "clearances": 0.3051,
                "blocks": 0.026,
                "big_chances_created": 0.1753,
                "big_chances_missed": 0.6713,
                "xgot": 0.2492,
                "offsides": 0.1341,
                "ball_carries": 12.7386,
                "total_progression": 58.8136,
                "progressive_carries": 3.0451,
                "shots_off_target": 1.2101
              },
              "params": {
                "blend_weight": 0.0141,
                "history_matches": 41,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.8763,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Real Sociedad"
              },
              "changes": [
                {
                  "stat": "wasFouled",
                  "before": 1.1754,
                  "after": 1.1877
                },
                {
                  "stat": "wonTackle",
                  "before": 0.8096,
                  "after": 0.7982
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.706,
                  "after": 0.7126
                },
                {
                  "stat": "goalAssist",
                  "before": 0.1648,
                  "after": 0.1707
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.2168,
                "goals": 0.2391,
                "goal_rate": 0.2391,
                "shots_on_target": 0.7126,
                "total_shots": 1.9227,
                "expected_assists": 0.1147,
                "key_pass": 1.2453,
                "rating": 6.9196,
                "minutes": 78.87,
                "total_pass": 24.7406,
                "accurate_pass": 19.267,
                "duels_won": 3.7048,
                "total_long_balls": 1.1348,
                "accurate_long_balls": 0.733,
                "total_opp_half_passes": 16.0627,
                "accurate_opp_half_passes": 11.5994,
                "crosses_total": 0.3316,
                "crosses_accurate": 0.0978,
                "touches": 38.651,
                "possession_lost": 10.9803,
                "dispossessed": 1.0623,
                "duels_lost": 4.0889,
                "aerial_lost": 0.8823,
                "total_contest": 1.3286,
                "won_contest": 0.4813,
                "ball_recovery": 2.9521,
                "challenges_lost": 0.4609,
                "fouls": 0.8608,
                "fouls_drawn": 1.1877,
                "assists": 0.1707,
                "assist_rate": 0.1707,
                "interceptions": 0.3589,
                "tackles_won": 0.7982,
                "tackles": 0.9893,
                "clearances": 0.3051,
                "blocks": 0.026,
                "big_chances_created": 0.1753,
                "big_chances_missed": 0.6713,
                "xgot": 0.2492,
                "offsides": 0.1341,
                "ball_carries": 12.7386,
                "total_progression": 58.8136,
                "progressive_carries": 3.0451,
                "shots_off_target": 1.2101
              },
              "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.244,
                "goals": 0.2691,
                "goal_rate": 0.2691,
                "shots_on_target": 0.802,
                "total_shots": 2.1638,
                "expected_assists": 0.1147,
                "key_pass": 1.2453,
                "rating": 6.9196,
                "minutes": 78.87,
                "total_pass": 24.7406,
                "accurate_pass": 19.267,
                "duels_won": 3.7048,
                "total_long_balls": 1.1348,
                "accurate_long_balls": 0.733,
                "total_opp_half_passes": 16.0627,
                "accurate_opp_half_passes": 11.5994,
                "crosses_total": 0.3316,
                "crosses_accurate": 0.0978,
                "touches": 38.651,
                "possession_lost": 10.9803,
                "dispossessed": 1.0623,
                "duels_lost": 4.0889,
                "aerial_lost": 0.8823,
                "total_contest": 1.3286,
                "won_contest": 0.4813,
                "ball_recovery": 2.9521,
                "challenges_lost": 0.4609,
                "fouls": 0.8608,
                "fouls_drawn": 1.1877,
                "assists": 0.1707,
                "assist_rate": 0.1707,
                "interceptions": 0.3589,
                "tackles_won": 0.7982,
                "tackles": 0.9893,
                "clearances": 0.3051,
                "blocks": 0.026,
                "big_chances_created": 0.1753,
                "big_chances_missed": 0.7555,
                "xgot": 0.2804,
                "offsides": 0.1341,
                "ball_carries": 12.7386,
                "total_progression": 58.8136,
                "progressive_carries": 3.0451,
                "shots_off_target": 1.3618,
                "duel_xg_multiplier": 1.1254,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "aerial_won": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.285,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "José María Giménez, Lucas Noubi",
                "opponent_faced": "José María Giménez, Lucas Noubi",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "José María Giménez, Lucas Noubi",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.285,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v2",
                  "xg_multiplier": 1.1254,
                  "skill_edge": 0.0993,
                  "height_edge": -0.014,
                  "attacker_skill": 0.6941,
                  "defender_skill": 0.4735,
                  "attacker_role": "ST",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "José María Giménez",
                      "market_value": 5800000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.4955
                    },
                    {
                      "player": "Lucas Noubi",
                      "market_value": 3100000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.4515
                    }
                  ],
                  "xg_override": 0.244
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.9227,
                  "after": 2.1638
                },
                {
                  "stat": "shotOffTarget",
                  "before": 1.2101,
                  "after": 1.3618
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.7126,
                  "after": 0.802
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 0.6713,
                  "after": 0.7555
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.2492,
                  "after": 0.2804
                },
                {
                  "stat": "goals",
                  "before": 0.2391,
                  "after": 0.2691
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.2168,
                  "after": 0.244
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.50 (squad xG sum 1.3182, xG scale 1.1364, xA scale 1.1588, team xA 0.97 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.2773,
                "goal_rate": 0.2691,
                "goals": 0,
                "shots_on_target": 0.802,
                "total_shots": 2.1638,
                "expected_assists": 0.1329,
                "key_pass": 1.2453,
                "rating": 6.9196,
                "minutes": 78.87,
                "total_pass": 24.7406,
                "accurate_pass": 19.267,
                "duels_won": 3.7048,
                "total_long_balls": 1.1348,
                "accurate_long_balls": 0.733,
                "total_opp_half_passes": 16.0627,
                "accurate_opp_half_passes": 11.5994,
                "crosses_total": 0.3316,
                "crosses_accurate": 0.0978,
                "touches": 38.651,
                "possession_lost": 10.9803,
                "dispossessed": 1.0623,
                "duels_lost": 4.0889,
                "aerial_lost": 0.8823,
                "total_contest": 1.3286,
                "won_contest": 0.4813,
                "ball_recovery": 2.9521,
                "challenges_lost": 0.4609,
                "fouls": 0.8608,
                "fouls_drawn": 1.1877,
                "assist_rate": 0.1707,
                "assists": 0,
                "interceptions": 0.3589,
                "tackles_won": 0.7982,
                "tackles": 0.9893,
                "clearances": 0.3051,
                "blocks": 0.026,
                "big_chances_created": 0.1753,
                "big_chances_missed": 0.7555,
                "xgot": 0.3186,
                "offsides": 0.1341,
                "ball_carries": 12.7386,
                "total_progression": 58.8136,
                "progressive_carries": 3.0451,
                "shots_off_target": 1.3618,
                "duel_xg_multiplier": 1.1254,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "aerial_won": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.285,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "José María Giménez, Lucas Noubi",
                "opponent_faced": "José María Giménez, Lucas Noubi",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0854,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 1.498,
                "squad_xg_sum": 1.3182,
                "squad_xa_sum": 0.8402,
                "team_expected_assists": 0.9737,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1364,
                "xa_scale": 1.1588,
                "opponent_lambda": 0.805,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.244,
                  "after": 0.2773
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1147,
                  "after": 0.1329
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 5 by projected rating, fifa_overall 90.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.2773,
                "goal_rate": 0.2691,
                "goals": 0,
                "shots_on_target": 0.802,
                "total_shots": 2.1638,
                "expected_assists": 0.1329,
                "key_pass": 1.2453,
                "rating": 6.9196,
                "minutes": 78.87,
                "total_pass": 24.7406,
                "accurate_pass": 19.267,
                "duels_won": 3.7048,
                "total_long_balls": 1.1348,
                "accurate_long_balls": 0.733,
                "total_opp_half_passes": 16.0627,
                "accurate_opp_half_passes": 11.5994,
                "crosses_total": 0.3316,
                "crosses_accurate": 0.0978,
                "touches": 38.651,
                "possession_lost": 10.9803,
                "dispossessed": 1.0623,
                "duels_lost": 4.0889,
                "aerial_lost": 0.8823,
                "total_contest": 1.3286,
                "won_contest": 0.4813,
                "ball_recovery": 2.9521,
                "challenges_lost": 0.4609,
                "fouls": 0.8608,
                "fouls_drawn": 1.1877,
                "assist_rate": 0.1707,
                "assists": 0,
                "interceptions": 0.3589,
                "tackles_won": 0.7982,
                "tackles": 0.9893,
                "clearances": 0.3051,
                "blocks": 0.026,
                "big_chances_created": 0.1753,
                "big_chances_missed": 0.7555,
                "xgot": 0.3186,
                "offsides": 0.1341,
                "ball_carries": 12.7386,
                "total_progression": 58.8136,
                "progressive_carries": 3.0451,
                "shots_off_target": 1.3618,
                "duel_xg_multiplier": 1.1254,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "aerial_won": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.285,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "José María Giménez, Lucas Noubi",
                "opponent_faced": "José María Giménez, Lucas Noubi",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0854,
                "creation_factor": 1.25,
                "fifa_overall": 90.0
              },
              "params": {
                "match_squad_rank": 5,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 31,
                "fifa_rank": 13.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 90.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.2773,
                "goal_rate": 0.2691,
                "goals": 1,
                "shots_on_target": 0.802,
                "total_shots": 2.1638,
                "expected_assists": 0.1329,
                "key_pass": 1.2453,
                "rating": 6.9196,
                "minutes": 78.87,
                "total_pass": 24.7406,
                "accurate_pass": 19.267,
                "duels_won": 3.7048,
                "total_long_balls": 1.1348,
                "accurate_long_balls": 0.733,
                "total_opp_half_passes": 16.0627,
                "accurate_opp_half_passes": 11.5994,
                "crosses_total": 0.3316,
                "crosses_accurate": 0.0978,
                "touches": 38.651,
                "possession_lost": 10.9803,
                "dispossessed": 1.0623,
                "duels_lost": 4.0889,
                "aerial_lost": 0.8823,
                "total_contest": 1.3286,
                "won_contest": 0.4813,
                "ball_recovery": 2.9521,
                "challenges_lost": 0.4609,
                "fouls": 0.8608,
                "fouls_drawn": 1.1877,
                "assist_rate": 0.1707,
                "assists": 0,
                "interceptions": 0.3589,
                "tackles_won": 0.7982,
                "tackles": 0.9893,
                "clearances": 0.3051,
                "blocks": 0.026,
                "big_chances_created": 0.1753,
                "big_chances_missed": 0.7555,
                "xgot": 0.3186,
                "offsides": 0.1341,
                "ball_carries": 12.7386,
                "total_progression": 58.8136,
                "progressive_carries": 3.0451,
                "shots_off_target": 1.3618,
                "duel_xg_multiplier": 1.1254,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "aerial_won": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.285,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "José María Giménez, Lucas Noubi",
                "opponent_faced": "José María Giménez, Lucas Noubi",
                "antagonist_source": "attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.2422,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0854,
                "creation_factor": 1.25,
                "fifa_overall": 90.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 1,
                "goal_probability": 0.2422,
                "scorer_weight": 0.301,
                "squad_weight_total": 1.6252,
                "weight_share": 0.1852,
                "finishing_factor": 1.0854,
                "appearance_weight": 1.0,
                "weight_rank": 1,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Mikel Oyarzabal",
                    "weight": 0.301,
                    "already": 0,
                    "effective_weight": 0.301,
                    "runner_up": "Luka Sučić",
                    "runner_up_effective_weight": 0.2755
                  }
                ]
              }
            },
            {
              "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.2773,
                "goal_rate": 0.2691,
                "goals": 1,
                "shots_on_target": 0.802,
                "total_shots": 2.1638,
                "expected_assists": 0.1329,
                "key_pass": 1.2453,
                "rating": 6.9196,
                "minutes": 78.87,
                "total_pass": 24.7406,
                "accurate_pass": 19.267,
                "duels_won": 3.7048,
                "total_long_balls": 1.1348,
                "accurate_long_balls": 0.733,
                "total_opp_half_passes": 16.0627,
                "accurate_opp_half_passes": 11.5994,
                "crosses_total": 0.3316,
                "crosses_accurate": 0.0978,
                "touches": 38.651,
                "possession_lost": 10.9803,
                "dispossessed": 1.0623,
                "duels_lost": 4.0889,
                "aerial_lost": 0.8823,
                "total_contest": 1.3286,
                "won_contest": 0.4813,
                "ball_recovery": 2.9521,
                "challenges_lost": 0.4609,
                "fouls": 0.8608,
                "fouls_drawn": 1.1877,
                "assist_rate": 0.1707,
                "assists": 0,
                "interceptions": 0.3589,
                "tackles_won": 0.7982,
                "tackles": 0.9893,
                "clearances": 0.3051,
                "blocks": 0.026,
                "big_chances_created": 0.1753,
                "big_chances_missed": 0.7555,
                "xgot": 0.3186,
                "offsides": 0.1341,
                "ball_carries": 12.7386,
                "total_progression": 58.8136,
                "progressive_carries": 3.0451,
                "shots_off_target": 1.3618,
                "duel_xg_multiplier": 1.1254,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "aerial_won": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.285,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "José María Giménez, Lucas Noubi",
                "opponent_faced": "José María Giménez, Lucas Noubi",
                "antagonist_source": "attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.2422,
                "projected_assists": 0,
                "assist_probability": 0.1244,
                "finishing_factor": 1.0854,
                "creation_factor": 1.25,
                "fifa_overall": 90.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1244,
                "provider_weight": 0.1661,
                "squad_weight_total": 1.0056,
                "weight_share": 0.1652,
                "creation_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 2,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Sergio Gómez",
                    "weight": 0.1771,
                    "already": 0,
                    "effective_weight": 0.1771,
                    "runner_up": "Carlos Soler",
                    "runner_up_effective_weight": 0.1401,
                    "blocked_own_goal": [
                      "Mikel Oyarzabal"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Luka Sučić": {
          "player_id": 949156,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 24,
          "height": 185,
          "market_value": 16300000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.1431,
            "assist_rate": 0.1154,
            "assists": 0,
            "expected_goals": 0.229,
            "goal_rate": 0.2526,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 2,
            "rating": 7.0021,
            "minutes": 83,
            "total_pass": 35,
            "accurate_pass": 31,
            "duels_won": 3,
            "total_long_balls": 3,
            "accurate_long_balls": 2,
            "total_own_half_passes": 13,
            "accurate_own_half_passes": 12,
            "total_opp_half_passes": 23,
            "accurate_opp_half_passes": 19,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 47,
            "possession_lost": 8.1278,
            "dispossessed": 0.6643,
            "duels_lost": 4,
            "aerial_won": 1,
            "aerial_lost": 1,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 0,
            "total_contest": 2,
            "won_contest": 1,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.4775,
            "ball_carries": 19,
            "total_progression": 54,
            "progressive_carries": 2,
            "shots_off_target": 1,
            "duel_xg_multiplier": 1.1385,
            "dribbles_attempted": 2,
            "dribbles_successful": 1.0,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.544,
            "pressing_faced": "LOW",
            "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
            "numerical_situation": "1v1",
            "opponent_defenders": "Lorenzo Amatucci",
            "opponent_faced": "Lorenzo Amatucci",
            "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.2047,
            "projected_assists": 0,
            "assist_probability": 0.1333,
            "finishing_factor": 1.2032,
            "creation_factor": 0.9533,
            "fifa_overall": 76.0
          },
          "latest_10_games": [
            {
              "match_id": 16416297,
              "match_date": "2026-09-20",
              "home_team": "Valencia",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Valencia",
              "stats": {
                "minutes": 87,
                "rating": 7.6,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1746,
                "expected_assists": 0.2711,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 36,
                "accurate_pass": 34,
                "key_pass": 3,
                "interceptions": 1,
                "duels_won": 1,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416332,
              "match_date": "2026-09-13",
              "home_team": "Real Sociedad",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0924,
                "expected_assists": 0.2147,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 44,
                "accurate_pass": 40,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416319,
              "match_date": "2026-09-07",
              "home_team": "Elche",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 8.5,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2155,
                "expected_assists": 0.0665,
                "total_shots": 4,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 36,
                "accurate_pass": 29,
                "key_pass": 1,
                "tackles": 4,
                "tackles_won": 2,
                "aerial_won": 2,
                "duels_won": 10,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416340,
              "match_date": "2026-09-03",
              "home_team": "Real Sociedad",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 29,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0456,
                "expected_assists": 0.0381,
                "total_shots": 2,
                "total_pass": 16,
                "accurate_pass": 13,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416310,
              "match_date": "2026-08-29",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 78,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0458,
                "expected_assists": 0.0199,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 27,
                "accurate_pass": 22,
                "key_pass": 2,
                "tackles": 2,
                "tackles_won": 2,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421051,
              "match_date": "2026-08-26",
              "home_team": "Real Madrid",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1179,
                "expected_assists": 0.1689,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 56,
                "accurate_pass": 55,
                "key_pass": 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": 16416293,
              "match_date": "2026-08-21",
              "home_team": "Real Betis",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 87,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.25,
                "expected_assists": 0.0084,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 32,
                "accurate_pass": 29,
                "key_pass": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083719,
              "match_date": "2026-05-23",
              "home_team": "Espanyol",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.4355,
                "expected_assists": 0.0184,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 2,
                "total_pass": 35,
                "accurate_pass": 27,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083687,
              "match_date": "2026-05-17",
              "home_team": "Real Sociedad",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Valencia",
              "stats": {
                "minutes": 33,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0101,
                "total_shots": 0,
                "total_pass": 11,
                "accurate_pass": 8,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083624,
              "match_date": "2026-05-14",
              "home_team": "Girona FC",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0138,
                "expected_assists": 0.0227,
                "total_shots": 1,
                "total_pass": 39,
                "accurate_pass": 30,
                "tackles": 5,
                "tackles_won": 2,
                "clearances": 1,
                "duels_won": 6,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 3134,
            "combined_rank_score": 1102.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 229.0,
            "sofascore_rating": 7.15,
            "sofascore_appearances": 2.0,
            "fifa_rank": 1975.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": 7.0021,
            "source_file": "data/player_rankings.csv",
            "player_name": "Luka Sučić",
            "ranking_neighbors": {
              "upper": [
                {
                  "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
                }
              ],
              "lower": [
                {
                  "player_name": "Che Adams",
                  "ranking": 3135
                },
                {
                  "player_name": "Carlos Vicente",
                  "ranking": 3136
                },
                {
                  "player_name": "Lautaro Di Lollo",
                  "ranking": 3137
                },
                {
                  "player_name": "Hugo Larsson",
                  "ranking": 3138
                },
                {
                  "player_name": "Kasper Dolberg",
                  "ranking": 3139
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.781,
          "history_matches": 29,
          "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": 29,
            "data_confidence": 0.781,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0039,
            "fbref_prior_metrics": {
              "squad": "Real Sociedad",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 4.0,
              "starts": 3.0,
              "minutes": 283.0,
              "goals_per90": 0.3225806451612903,
              "assists_per90": 0.0,
              "shots_per90": 2.23,
              "shots_on_target_pct": 28.6,
              "prior_reliability": 0.2067
            },
            "rationale": "XGBoost regressor (M_service) evaluated 29 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Real Sociedad, rel: 0.21, gls/90: 0.3225806451612903, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1.224,
                "expected_assists": 0.123,
                "assists": 0.1172,
                "assist_rate": 0.1172,
                "expected_goals": 0.1763,
                "goals": 0.2194,
                "goal_rate": 0.2194,
                "shots_on_target": 0.6844,
                "total_shots": 1.7575,
                "rating": 7.0021,
                "minutes": 83.49,
                "total_pass": 35.201,
                "accurate_pass": 30.538,
                "duels_won": 3.4143,
                "total_long_balls": 2.9808,
                "accurate_long_balls": 2.2234,
                "total_own_half_passes": 12.7061,
                "accurate_own_half_passes": 11.7264,
                "total_opp_half_passes": 22.4949,
                "accurate_opp_half_passes": 18.8116,
                "crosses_total": 0.6663,
                "crosses_accurate": 0.0846,
                "touches": 46.4646,
                "possession_lost": 8.0962,
                "dispossessed": 0.6617,
                "duels_lost": 3.9506,
                "aerial_won": 0.6241,
                "aerial_lost": 0.7885,
                "interceptions": 0.4416,
                "tackles_won": 0.6754,
                "tackles": 1.3153,
                "clearances": 0.4925,
                "total_contest": 2.0198,
                "won_contest": 1.1015,
                "challenges_lost": 0.9206,
                "fouls": 0.6991,
                "fouls_drawn": 0.3734,
                "blocks": 0.0519,
                "big_chances_created": 0.3241,
                "big_chances_missed": 0.2678,
                "xgot": 0.3677,
                "ball_carries": 18.7495,
                "total_progression": 53.6175,
                "progressive_carries": 2.18,
                "shots_off_target": 1.0731
              },
              "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": "Valencia",
                    "minutes": 87.0,
                    "is_starting": true,
                    "weight": 0.1514,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1287,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-09-07",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1094,
                    "rating": 8.5
                  },
                  {
                    "match_date": "2026-09-03",
                    "opponent": "Celta Vigo",
                    "minutes": 29.0,
                    "is_starting": false,
                    "weight": 0.093,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Espanyol",
                    "minutes": 78.0,
                    "is_starting": true,
                    "weight": 0.079,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-26",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0672,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Betis",
                    "minutes": 87.0,
                    "is_starting": true,
                    "weight": 0.0571,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0485,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Valencia",
                    "minutes": 33.0,
                    "is_starting": false,
                    "weight": 0.0412,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Girona FC",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0351,
                    "rating": 6.9
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalShots": 1.8736,
                  "creative_index": 0.4603,
                  "expectedGoals": 0.1253,
                  "expectedAssists": 0.1033,
                  "onTargetScoringAttempt": 0.7263
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.2240190505981445,
                    "model_output": 1.224,
                    "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.1114
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0726
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0697
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0506
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0414
                        }
                      ],
                      "others": 0.1378,
                      "total": 1.224,
                      "log_link": true,
                      "margin_base": -0.121432,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.118471
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.075586
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.072705
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.049641
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.038868
                        }
                      ],
                      "others_margin": 0.119472
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.12301371246576309,
                    "model_output": 0.123,
                    "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.0115
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0076
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0076
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0049
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.004
                        }
                      ],
                      "others": 0.0171,
                      "total": 0.123,
                      "log_link": true,
                      "margin_base": -2.458929,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.126379
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.081507
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.081479
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.048878
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.038087
                        }
                      ],
                      "others_margin": 0.150153
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.117207370698452,
                    "model_output": 0.1172,
                    "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": "progressiveBallCarriesCount",
                          "contribution": 0.0097
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0081
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0086
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.007
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.006
                        }
                      ],
                      "others": 0.004,
                      "total": 0.1172,
                      "log_link": true,
                      "margin_base": -2.456317,
                      "item_margins": [
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.107159
                        },
                        {
                          "name": "goals",
                          "margin": 0.08156
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.079376
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.060225
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.051817
                        }
                      ],
                      "others_margin": 0.036005
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.17627976834774017,
                    "model_output": 0.1763,
                    "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.0224
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0231
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0186
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.013
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0113
                        }
                      ],
                      "others": -0.0057,
                      "total": 0.1763,
                      "log_link": true,
                      "margin_base": -2.368441,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": 0.214749
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.181393
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.125547
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.078923
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.064202
                        }
                      ],
                      "others_margin": -0.032054
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.21941614151000977,
                    "model_output": 0.2194,
                    "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": "totalShots",
                          "contribution": 0.0289
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0229
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0207
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.017
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0182
                        }
                      ],
                      "others": 0.0151,
                      "total": 0.2194,
                      "log_link": true,
                      "margin_base": -2.337105,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.26182
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.167288
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.130593
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.096074
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.093081
                        }
                      ],
                      "others_margin": 0.071465
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.6843835711479187,
                    "model_output": 0.6844,
                    "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.0978
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0717
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.073
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0447
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0199
                        }
                      ],
                      "others": 0.0533,
                      "total": 0.6844,
                      "log_link": true,
                      "margin_base": -1.126872,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.263811
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.157036
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.138003
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.07596
                        },
                        {
                          "name": "goals",
                          "margin": 0.032005
                        }
                      ],
                      "others_margin": 0.08082
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.7574453353881836,
                    "model_output": 1.7574,
                    "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.4391
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1667
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0666
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0464
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0432
                        }
                      ],
                      "others": 0.0054,
                      "total": 1.7574,
                      "log_link": false,
                      "margin_base": 0.989981,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.439133
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.166662
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.066629
                        },
                        {
                          "name": "goals",
                          "margin": 0.046357
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.043168
                        }
                      ],
                      "others_margin": 0.005513
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.002084255218506,
                    "model_output": 7.0021,
                    "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.0722
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0386
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0265
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0263
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0163
                        }
                      ],
                      "others": -0.0282,
                      "total": 7.0021,
                      "log_link": false,
                      "margin_base": 6.850356,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": 0.072231
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.038635
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.026485
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.026255
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.016345
                        }
                      ],
                      "others_margin": -0.028223
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 29,
                  "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.0039, quality 0.593)",
              "stats": {
                "key_pass": 1.2288,
                "expected_assists": 0.1235,
                "assists": 0.1177,
                "assist_rate": 0.1177,
                "expected_goals": 0.177,
                "goals": 0.2203,
                "goal_rate": 0.2203,
                "shots_on_target": 0.6871,
                "total_shots": 1.7644,
                "rating": 7.0021,
                "minutes": 83.49,
                "total_pass": 35.3383,
                "accurate_pass": 30.6571,
                "duels_won": 3.4276,
                "total_long_balls": 2.9924,
                "accurate_long_balls": 2.2321,
                "total_own_half_passes": 12.7557,
                "accurate_own_half_passes": 11.7721,
                "total_opp_half_passes": 22.5826,
                "accurate_opp_half_passes": 18.885,
                "crosses_total": 0.6689,
                "crosses_accurate": 0.0849,
                "touches": 46.6458,
                "possession_lost": 8.1278,
                "dispossessed": 0.6643,
                "duels_lost": 3.966,
                "aerial_won": 0.6265,
                "aerial_lost": 0.7916,
                "interceptions": 0.4433,
                "tackles_won": 0.678,
                "tackles": 1.3204,
                "clearances": 0.4944,
                "total_contest": 2.0277,
                "won_contest": 1.1058,
                "challenges_lost": 0.9242,
                "fouls": 0.7018,
                "fouls_drawn": 0.3749,
                "blocks": 0.0521,
                "big_chances_created": 0.3254,
                "big_chances_missed": 0.2688,
                "xgot": 0.3691,
                "ball_carries": 18.8226,
                "total_progression": 53.8266,
                "progressive_carries": 2.1885,
                "shots_off_target": 1.0773
              },
              "params": {
                "market_value_eur": 16300000,
                "quality_factor": 0.5932,
                "boost_factor": 1.0039,
                "reference_quality": 0.505,
                "history_matches": 29,
                "history_shrink": 0.1471,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0198)",
              "stats": {
                "key_pass": 1.2288,
                "expected_assists": 0.1235,
                "assists": 0.1154,
                "assist_rate": 0.1154,
                "expected_goals": 0.177,
                "goals": 0.2219,
                "goal_rate": 0.2219,
                "shots_on_target": 0.6853,
                "total_shots": 1.7704,
                "rating": 7.0021,
                "minutes": 83.49,
                "total_pass": 35.3383,
                "accurate_pass": 30.6571,
                "duels_won": 3.4276,
                "total_long_balls": 2.9924,
                "accurate_long_balls": 2.2321,
                "total_own_half_passes": 12.7557,
                "accurate_own_half_passes": 11.7721,
                "total_opp_half_passes": 22.5826,
                "accurate_opp_half_passes": 18.885,
                "crosses_total": 0.6912,
                "crosses_accurate": 0.0849,
                "touches": 46.6458,
                "possession_lost": 8.1278,
                "dispossessed": 0.6643,
                "duels_lost": 3.966,
                "aerial_won": 0.6265,
                "aerial_lost": 0.7916,
                "interceptions": 0.4345,
                "tackles_won": 0.6764,
                "tackles": 1.3204,
                "clearances": 0.4944,
                "total_contest": 2.0277,
                "won_contest": 1.1058,
                "challenges_lost": 0.9242,
                "fouls": 0.7057,
                "fouls_drawn": 0.3734,
                "blocks": 0.0521,
                "big_chances_created": 0.3254,
                "big_chances_missed": 0.2688,
                "xgot": 0.3691,
                "ball_carries": 18.8226,
                "total_progression": 53.8266,
                "progressive_carries": 2.1885,
                "shots_off_target": 1.0773
              },
              "params": {
                "blend_weight": 0.0198,
                "history_matches": 29,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9277,
                "prior_reliability": 0.2067,
                "competition": "La Liga",
                "squad": "Real Sociedad"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 0.6689,
                  "after": 0.6912
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.4433,
                  "after": 0.4345
                },
                {
                  "stat": "totalShots",
                  "before": 1.7644,
                  "after": 1.7704
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1.2288,
                "expected_assists": 0.1235,
                "assists": 0.1154,
                "assist_rate": 0.1154,
                "expected_goals": 0.177,
                "goals": 0.2219,
                "goal_rate": 0.2219,
                "shots_on_target": 0.6853,
                "total_shots": 1.7704,
                "rating": 7.0021,
                "minutes": 83.49,
                "total_pass": 35.3383,
                "accurate_pass": 30.6571,
                "duels_won": 3.4276,
                "total_long_balls": 2.9924,
                "accurate_long_balls": 2.2321,
                "total_own_half_passes": 12.7557,
                "accurate_own_half_passes": 11.7721,
                "total_opp_half_passes": 22.5826,
                "accurate_opp_half_passes": 18.885,
                "crosses_total": 0.6912,
                "crosses_accurate": 0.0849,
                "touches": 46.6458,
                "possession_lost": 8.1278,
                "dispossessed": 0.6643,
                "duels_lost": 3.966,
                "aerial_won": 0.6265,
                "aerial_lost": 0.7916,
                "interceptions": 0.4345,
                "tackles_won": 0.6764,
                "tackles": 1.3204,
                "clearances": 0.4944,
                "total_contest": 2.0277,
                "won_contest": 1.1058,
                "challenges_lost": 0.9242,
                "fouls": 0.7057,
                "fouls_drawn": 0.3734,
                "blocks": 0.0521,
                "big_chances_created": 0.3254,
                "big_chances_missed": 0.2688,
                "xgot": 0.3691,
                "ball_carries": 18.8226,
                "total_progression": 53.8266,
                "progressive_carries": 2.1885,
                "shots_off_target": 1.0773
              },
              "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.2288,
                "expected_assists": 0.1235,
                "assists": 0.1154,
                "assist_rate": 0.1154,
                "expected_goals": 0.2015,
                "goals": 0.2526,
                "goal_rate": 0.2526,
                "shots_on_target": 0.7802,
                "total_shots": 2.0156,
                "rating": 7.0021,
                "minutes": 83.49,
                "total_pass": 35.3383,
                "accurate_pass": 30.6571,
                "duels_won": 3.4276,
                "total_long_balls": 2.9924,
                "accurate_long_balls": 2.2321,
                "total_own_half_passes": 12.7557,
                "accurate_own_half_passes": 11.7721,
                "total_opp_half_passes": 22.5826,
                "accurate_opp_half_passes": 18.885,
                "crosses_total": 0.6912,
                "crosses_accurate": 0.0849,
                "touches": 46.6458,
                "possession_lost": 8.1278,
                "dispossessed": 0.6643,
                "duels_lost": 3.966,
                "aerial_won": 1.2,
                "aerial_lost": 0.7916,
                "interceptions": 0.4345,
                "tackles_won": 0.6764,
                "tackles": 1.3204,
                "clearances": 0.4944,
                "total_contest": 2.0277,
                "won_contest": 1.1058,
                "challenges_lost": 0.9242,
                "fouls": 0.7057,
                "fouls_drawn": 0.3734,
                "blocks": 0.0521,
                "big_chances_created": 0.3254,
                "big_chances_missed": 0.306,
                "xgot": 0.4202,
                "ball_carries": 18.8226,
                "total_progression": 53.8266,
                "progressive_carries": 2.1885,
                "shots_off_target": 1.2265,
                "duel_xg_multiplier": 1.1385,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 1.0,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.544,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Lorenzo Amatucci",
                "opponent_faced": "Lorenzo Amatucci",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Lorenzo Amatucci",
                  "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                  "duel_win_rate": 0.544,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 1.1385,
                  "skill_edge": 0.0422,
                  "height_edge": 0.052,
                  "attacker_skill": 0.6121,
                  "defender_skill": 0.5183,
                  "attacker_role": "CM",
                  "attacker_mv_price_index": 0.9,
                  "defender_adjusted_parts": [
                    {
                      "player": "Lorenzo Amatucci",
                      "market_value": 8199999,
                      "role": "CDM",
                      "price_index": 0.85,
                      "adjusted_quality": 0.5183
                    }
                  ],
                  "xg_override": 0.2015
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.6265,
                  "after": 1.2
                },
                {
                  "stat": "totalShots",
                  "before": 1.7704,
                  "after": 2.0156
                },
                {
                  "stat": "shotOffTarget",
                  "before": 1.0773,
                  "after": 1.2265
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.6853,
                  "after": 0.7802
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.3691,
                  "after": 0.4202
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 0.2688,
                  "after": 0.306
                },
                {
                  "stat": "goals",
                  "before": 0.2219,
                  "after": 0.2526
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.177,
                  "after": 0.2015
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.50 (squad xG sum 1.3182, xG scale 1.1364, xA scale 1.1588, team xA 0.97 = 0.65 x lambda)",
              "stats": {
                "key_pass": 1.2288,
                "expected_assists": 0.1431,
                "assist_rate": 0.1154,
                "assists": 0,
                "expected_goals": 0.229,
                "goal_rate": 0.2526,
                "goals": 0,
                "shots_on_target": 0.7802,
                "total_shots": 2.0156,
                "rating": 7.0021,
                "minutes": 83.49,
                "total_pass": 35.3383,
                "accurate_pass": 30.6571,
                "duels_won": 3.4276,
                "total_long_balls": 2.9924,
                "accurate_long_balls": 2.2321,
                "total_own_half_passes": 12.7557,
                "accurate_own_half_passes": 11.7721,
                "total_opp_half_passes": 22.5826,
                "accurate_opp_half_passes": 18.885,
                "crosses_total": 0.6912,
                "crosses_accurate": 0.0849,
                "touches": 46.6458,
                "possession_lost": 8.1278,
                "dispossessed": 0.6643,
                "duels_lost": 3.966,
                "aerial_won": 1.2,
                "aerial_lost": 0.7916,
                "interceptions": 0.4345,
                "tackles_won": 0.6764,
                "tackles": 1.3204,
                "clearances": 0.4944,
                "total_contest": 2.0277,
                "won_contest": 1.1058,
                "challenges_lost": 0.9242,
                "fouls": 0.7057,
                "fouls_drawn": 0.3734,
                "blocks": 0.0521,
                "big_chances_created": 0.3254,
                "big_chances_missed": 0.306,
                "xgot": 0.4775,
                "ball_carries": 18.8226,
                "total_progression": 53.8266,
                "progressive_carries": 2.1885,
                "shots_off_target": 1.2265,
                "duel_xg_multiplier": 1.1385,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 1.0,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.544,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Lorenzo Amatucci",
                "opponent_faced": "Lorenzo Amatucci",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.2032,
                "creation_factor": 0.9533
              },
              "params": {
                "team_lambda": 1.498,
                "squad_xg_sum": 1.3182,
                "squad_xa_sum": 0.8402,
                "team_expected_assists": 0.9737,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1364,
                "xa_scale": 1.1588,
                "opponent_lambda": 0.805,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.2015,
                  "after": 0.229
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1235,
                  "after": 0.1431
                }
              ]
            },
            {
              "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.2288,
                "expected_assists": 0.1431,
                "assist_rate": 0.1154,
                "assists": 0,
                "expected_goals": 0.229,
                "goal_rate": 0.2526,
                "goals": 0,
                "shots_on_target": 0.7802,
                "total_shots": 2.0156,
                "rating": 7.0021,
                "minutes": 83.49,
                "total_pass": 35.3383,
                "accurate_pass": 30.6571,
                "duels_won": 3.4276,
                "total_long_balls": 2.9924,
                "accurate_long_balls": 2.2321,
                "total_own_half_passes": 12.7557,
                "accurate_own_half_passes": 11.7721,
                "total_opp_half_passes": 22.5826,
                "accurate_opp_half_passes": 18.885,
                "crosses_total": 0.6912,
                "crosses_accurate": 0.0849,
                "touches": 46.6458,
                "possession_lost": 8.1278,
                "dispossessed": 0.6643,
                "duels_lost": 3.966,
                "aerial_won": 1.2,
                "aerial_lost": 0.7916,
                "interceptions": 0.4345,
                "tackles_won": 0.6764,
                "tackles": 1.3204,
                "clearances": 0.4944,
                "total_contest": 2.0277,
                "won_contest": 1.1058,
                "challenges_lost": 0.9242,
                "fouls": 0.7057,
                "fouls_drawn": 0.3734,
                "blocks": 0.0521,
                "big_chances_created": 0.3254,
                "big_chances_missed": 0.306,
                "xgot": 0.4775,
                "ball_carries": 18.8226,
                "total_progression": 53.8266,
                "progressive_carries": 2.1885,
                "shots_off_target": 1.2265,
                "duel_xg_multiplier": 1.1385,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 1.0,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.544,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Lorenzo Amatucci",
                "opponent_faced": "Lorenzo Amatucci",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.2032,
                "creation_factor": 0.9533,
                "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": 3134,
                "fifa_rank": 1975.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 76.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 1.2288,
                "expected_assists": 0.1431,
                "assist_rate": 0.1154,
                "assists": 0,
                "expected_goals": 0.229,
                "goal_rate": 0.2526,
                "goals": 0,
                "shots_on_target": 0.7802,
                "total_shots": 2.0156,
                "rating": 7.0021,
                "minutes": 83.49,
                "total_pass": 35.3383,
                "accurate_pass": 30.6571,
                "duels_won": 3.4276,
                "total_long_balls": 2.9924,
                "accurate_long_balls": 2.2321,
                "total_own_half_passes": 12.7557,
                "accurate_own_half_passes": 11.7721,
                "total_opp_half_passes": 22.5826,
                "accurate_opp_half_passes": 18.885,
                "crosses_total": 0.6912,
                "crosses_accurate": 0.0849,
                "touches": 46.6458,
                "possession_lost": 8.1278,
                "dispossessed": 0.6643,
                "duels_lost": 3.966,
                "aerial_won": 1.2,
                "aerial_lost": 0.7916,
                "interceptions": 0.4345,
                "tackles_won": 0.6764,
                "tackles": 1.3204,
                "clearances": 0.4944,
                "total_contest": 2.0277,
                "won_contest": 1.1058,
                "challenges_lost": 0.9242,
                "fouls": 0.7057,
                "fouls_drawn": 0.3734,
                "blocks": 0.0521,
                "big_chances_created": 0.3254,
                "big_chances_missed": 0.306,
                "xgot": 0.4775,
                "ball_carries": 18.8226,
                "total_progression": 53.8266,
                "progressive_carries": 2.1885,
                "shots_off_target": 1.2265,
                "duel_xg_multiplier": 1.1385,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 1.0,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.544,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Lorenzo Amatucci",
                "opponent_faced": "Lorenzo Amatucci",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.2047,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.2032,
                "creation_factor": 0.9533,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.2047,
                "scorer_weight": 0.2755,
                "squad_weight_total": 1.6252,
                "weight_share": 0.1695,
                "finishing_factor": 1.2032,
                "appearance_weight": 1.0,
                "weight_rank": 2,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Mikel Oyarzabal",
                    "weight": 0.301,
                    "already": 0,
                    "effective_weight": 0.301,
                    "runner_up": "Luka Sučić",
                    "runner_up_effective_weight": 0.2755
                  }
                ]
              }
            },
            {
              "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.2288,
                "expected_assists": 0.1431,
                "assist_rate": 0.1154,
                "assists": 0,
                "expected_goals": 0.229,
                "goal_rate": 0.2526,
                "goals": 0,
                "shots_on_target": 0.7802,
                "total_shots": 2.0156,
                "rating": 7.0021,
                "minutes": 83.49,
                "total_pass": 35.3383,
                "accurate_pass": 30.6571,
                "duels_won": 3.4276,
                "total_long_balls": 2.9924,
                "accurate_long_balls": 2.2321,
                "total_own_half_passes": 12.7557,
                "accurate_own_half_passes": 11.7721,
                "total_opp_half_passes": 22.5826,
                "accurate_opp_half_passes": 18.885,
                "crosses_total": 0.6912,
                "crosses_accurate": 0.0849,
                "touches": 46.6458,
                "possession_lost": 8.1278,
                "dispossessed": 0.6643,
                "duels_lost": 3.966,
                "aerial_won": 1.2,
                "aerial_lost": 0.7916,
                "interceptions": 0.4345,
                "tackles_won": 0.6764,
                "tackles": 1.3204,
                "clearances": 0.4944,
                "total_contest": 2.0277,
                "won_contest": 1.1058,
                "challenges_lost": 0.9242,
                "fouls": 0.7057,
                "fouls_drawn": 0.3734,
                "blocks": 0.0521,
                "big_chances_created": 0.3254,
                "big_chances_missed": 0.306,
                "xgot": 0.4775,
                "ball_carries": 18.8226,
                "total_progression": 53.8266,
                "progressive_carries": 2.1885,
                "shots_off_target": 1.2265,
                "duel_xg_multiplier": 1.1385,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 1.0,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.544,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Lorenzo Amatucci",
                "opponent_faced": "Lorenzo Amatucci",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.2047,
                "projected_assists": 0,
                "assist_probability": 0.1333,
                "finishing_factor": 1.2032,
                "creation_factor": 0.9533,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1333,
                "provider_weight": 0.1364,
                "squad_weight_total": 1.0056,
                "weight_share": 0.1357,
                "creation_factor": 0.9533,
                "appearance_weight": 1.0,
                "weight_rank": 4,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Sergio Gómez",
                    "weight": 0.1771,
                    "already": 0,
                    "effective_weight": 0.1771,
                    "runner_up": "Carlos Soler",
                    "runner_up_effective_weight": 0.1401,
                    "blocked_own_goal": [
                      "Mikel Oyarzabal"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Gonçalo Guedes": {
          "player_id": 280979,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 11,
          "height": 179,
          "market_value": 5700000,
          "stats": {
            "expected_goals": 0.1615,
            "goal_rate": 0.1546,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 2,
            "expected_assists": 0.1398,
            "key_pass": 1,
            "rating": 6.8504,
            "minutes": 77,
            "total_pass": 25,
            "accurate_pass": 20,
            "duels_won": 4,
            "total_long_balls": 2,
            "accurate_long_balls": 2,
            "total_opp_half_passes": 19,
            "accurate_opp_half_passes": 15,
            "crosses_total": 2,
            "crosses_accurate": 0,
            "touches": 43,
            "possession_lost": 11.8847,
            "dispossessed": 1.1745,
            "duels_lost": 6,
            "aerial_lost": 1,
            "total_contest": 2,
            "won_contest": 1,
            "ball_recovery": 3,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 2,
            "assist_rate": 0.1156,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.2414,
            "offsides": 1,
            "ball_carries": 15,
            "total_progression": 51,
            "progressive_carries": 2,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.9659,
            "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": "José María Giménez, Lucas Noubi",
            "opponent_faced": "José María Giménez, Lucas Noubi",
            "antagonist_source": "attacking_duel",
            "projected_goals": 0,
            "goal_probability": 0.1491,
            "projected_assists": 0,
            "assist_probability": 0.1305,
            "finishing_factor": 1.0651,
            "creation_factor": 0.9707,
            "fifa_overall": 81.0
          },
          "latest_10_games": [
            {
              "match_id": 16416297,
              "match_date": "2026-09-20",
              "home_team": "Valencia",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1485,
                "expected_assists": 0.0956,
                "total_shots": 3,
                "shots_on_target": 1,
                "total_pass": 27,
                "accurate_pass": 23,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 7,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416332,
              "match_date": "2026-09-13",
              "home_team": "Real Sociedad",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 72,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0216,
                "expected_assists": 0.0284,
                "total_shots": 1,
                "total_pass": 35,
                "accurate_pass": 29,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 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": 16416319,
              "match_date": "2026-09-07",
              "home_team": "Elche",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Elche",
              "stats": {
                "minutes": 58,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0199,
                "expected_assists": 0.05,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 15,
                "accurate_pass": 13,
                "key_pass": 1,
                "tackles": 1,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416340,
              "match_date": "2026-09-03",
              "home_team": "Real Sociedad",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 19,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0406,
                "expected_assists": 0.035,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 3,
                "accurate_pass": 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": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416310,
              "match_date": "2026-08-29",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 12,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3407,
                "expected_assists": 0.0364,
                "total_shots": 3,
                "shots_on_target": 3,
                "total_pass": 5,
                "accurate_pass": 4,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421051,
              "match_date": "2026-08-26",
              "home_team": "Real Madrid",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 16,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.033,
                "expected_assists": 0.0501,
                "total_shots": 1,
                "total_pass": 10,
                "accurate_pass": 9,
                "key_pass": 1,
                "tackles": 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": 14083687,
              "match_date": "2026-05-17",
              "home_team": "Real Sociedad",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Valencia",
              "stats": {
                "minutes": 11,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0081,
                "total_shots": 0,
                "total_pass": 7,
                "accurate_pass": 4,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083152,
              "match_date": "2026-04-11",
              "home_team": "Real Sociedad",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 45,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1098,
                "expected_assists": 0.2497,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 10,
                "accurate_pass": 6,
                "key_pass": 1,
                "interceptions": 1,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083701,
              "match_date": "2026-04-04",
              "home_team": "Real Sociedad",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 85,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.5025,
                "expected_assists": 0.1952,
                "total_shots": 5,
                "shots_on_target": 1,
                "shots_off_target": 3,
                "total_pass": 25,
                "accurate_pass": 22,
                "key_pass": 2,
                "clearances": 1,
                "duels_won": 6,
                "ball_recovery": 2
              },
              "has_player_stats": true
            },
            {
              "match_id": 14081808,
              "match_date": "2026-03-20",
              "home_team": "Villarreal",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.024,
                "expected_assists": 0.0473,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 38,
                "accurate_pass": 26,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 6,
                "ball_recovery": 4
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 961,
            "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": 32.0,
            "fifa_rank": 517.0,
            "fifa_overall": 81.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 6,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8504,
            "source_file": "data/player_rankings.csv",
            "player_name": "Gonçalo Guedes",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Eduardo Camavinga",
                  "ranking": 956
                },
                {
                  "player_name": "Giuliano Simeone",
                  "ranking": 957
                },
                {
                  "player_name": "Gerónimo Rulli",
                  "ranking": 958
                },
                {
                  "player_name": "Mohamed Simakan",
                  "ranking": 959
                },
                {
                  "player_name": "Nico González",
                  "ranking": 960
                }
              ],
              "lower": [
                {
                  "player_name": "Samuel Klein",
                  "ranking": 962
                },
                {
                  "player_name": "Dani Ceballos",
                  "ranking": 963
                },
                {
                  "player_name": "Han-been Yang",
                  "ranking": 964
                },
                {
                  "player_name": "Alexsey Kozlov",
                  "ranking": 965
                },
                {
                  "player_name": "Ji-hun Cho",
                  "ranking": 966
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.756,
          "history_matches": 38,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 38,
            "data_confidence": 0.756,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9988,
            "fbref_prior_metrics": {
              "squad": "Real Sociedad",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 0.0,
              "minutes": 50.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 10.8,
              "shots_on_target_pct": 50.0,
              "prior_reliability": 0.04
            },
            "rationale": "XGBoost regressor (F_service) evaluated 38 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Real Sociedad, rel: 0.04, 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.1472,
                "goals": 0.1608,
                "goal_rate": 0.1608,
                "shots_on_target": 0.5849,
                "total_shots": 1.7208,
                "expected_assists": 0.1208,
                "key_pass": 1.136,
                "rating": 6.8504,
                "minutes": 77.14,
                "total_pass": 25.3412,
                "accurate_pass": 20.4703,
                "duels_won": 4.3125,
                "total_long_balls": 2.1695,
                "accurate_long_balls": 1.5336,
                "total_opp_half_passes": 18.7643,
                "accurate_opp_half_passes": 14.7766,
                "crosses_total": 2.1929,
                "crosses_accurate": 0.355,
                "touches": 42.865,
                "possession_lost": 11.899,
                "dispossessed": 1.1759,
                "duels_lost": 5.5867,
                "aerial_lost": 1.1803,
                "total_contest": 1.9889,
                "won_contest": 0.99,
                "ball_recovery": 2.9738,
                "challenges_lost": 1.3336,
                "fouls": 0.9164,
                "fouls_drawn": 1.8484,
                "assists": 0.1161,
                "assist_rate": 0.1161,
                "interceptions": 0.2014,
                "tackles_won": 0.6868,
                "tackles": 1.1349,
                "clearances": 0.2968,
                "blocks": 0.0,
                "big_chances_created": 0.2256,
                "big_chances_missed": 0.1291,
                "xgot": 0.2202,
                "offsides": 0.831,
                "ball_carries": 14.9688,
                "total_progression": 51.4058,
                "progressive_carries": 2.135,
                "shots_off_target": 1.1359
              },
              "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": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1503,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Atlético Madrid",
                    "minutes": 72.0,
                    "is_starting": true,
                    "weight": 0.1278,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-07",
                    "opponent": "Elche",
                    "minutes": 58.0,
                    "is_starting": true,
                    "weight": 0.1086,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-03",
                    "opponent": "Celta Vigo",
                    "minutes": 19.0,
                    "is_starting": false,
                    "weight": 0.0923,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Espanyol",
                    "minutes": 12.0,
                    "is_starting": false,
                    "weight": 0.0785,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-26",
                    "opponent": "Real Madrid",
                    "minutes": 16.0,
                    "is_starting": false,
                    "weight": 0.0667,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Valencia",
                    "minutes": 11.0,
                    "is_starting": false,
                    "weight": 0.0567,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-04-11",
                    "opponent": "Deportivo Alavés",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.0482,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-04-04",
                    "opponent": "Levante UD",
                    "minutes": 85.0,
                    "is_starting": true,
                    "weight": 0.041,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-03-20",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.1
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "expectedGoals": 0.11,
                  "totalOppositionHalfPasses": 14.2672,
                  "accurateOppositionHalfPasses": 11.3348,
                  "accuratePass": 15.2397,
                  "totalShots": 1.8128
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.14724117517471313,
                    "model_output": 0.1472,
                    "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.0638
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0516
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0177
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.01
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0079
                        }
                      ],
                      "others": -0.0272,
                      "total": 0.1472,
                      "log_link": true,
                      "margin_base": -1.62027,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.279531
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.21981
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.08794
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": -0.053321
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.044438
                        }
                      ],
                      "others_margin": -0.169435
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.16079863905906677,
                    "model_output": 0.1608,
                    "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.0739
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0436
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0331
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0137
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0092
                        }
                      ],
                      "others": -0.0167,
                      "total": 0.1608,
                      "log_link": true,
                      "margin_base": -1.593696,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.310227
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.171244
                        },
                        {
                          "name": "goals",
                          "margin": -0.152845
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.070765
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.050757
                        }
                      ],
                      "others_margin": -0.098522
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.5849389433860779,
                    "model_output": 0.5849,
                    "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.1631
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0594
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0484
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0328
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0284
                        }
                      ],
                      "others": -0.0115,
                      "total": 0.5849,
                      "log_link": true,
                      "margin_base": -0.622283,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.265364
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.088677
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.07856
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.05396
                        },
                        {
                          "name": "goals",
                          "margin": -0.046514
                        }
                      ],
                      "others_margin": -0.019539
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.7208361625671387,
                    "model_output": 1.7208,
                    "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.461
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0966
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0794
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0639
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.052
                        }
                      ],
                      "others": -0.1183,
                      "total": 1.7208,
                      "log_link": false,
                      "margin_base": 1.372807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.460983
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.096611
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.079421
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.063905
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": 0.052
                        }
                      ],
                      "others_margin": -0.118239
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.12075106799602509,
                    "model_output": 0.1208,
                    "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.0126
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0107
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0089
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0096
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0061
                        }
                      ],
                      "others": 0.009,
                      "total": 0.1208,
                      "log_link": true,
                      "margin_base": -2.751197,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.180673
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.131087
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.096946
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.095001
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.056082
                        }
                      ],
                      "others_margin": 0.077385
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 1.1359649896621704,
                    "model_output": 1.136,
                    "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.1876
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0877
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0627
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0432
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.036
                        }
                      ],
                      "others": 0.118,
                      "total": 1.136,
                      "log_link": true,
                      "margin_base": -0.396376,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.245961
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.09704
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.064023
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.041816
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.034721
                        }
                      ],
                      "others_margin": 0.109739
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.850398540496826,
                    "model_output": 6.8504,
                    "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.0549
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0192
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.014
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0135
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0128
                        }
                      ],
                      "others": -0.002,
                      "total": 6.8504,
                      "log_link": false,
                      "margin_base": 6.763607,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.05488
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.019241
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": 0.014037
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.013524
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.01277
                        }
                      ],
                      "others_margin": -0.002121
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 38,
                  "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.9988, quality 0.471)",
              "stats": {
                "expected_goals": 0.1471,
                "goals": 0.1606,
                "goal_rate": 0.1606,
                "shots_on_target": 0.5842,
                "total_shots": 1.7188,
                "expected_assists": 0.1206,
                "key_pass": 1.1346,
                "rating": 6.8504,
                "minutes": 77.14,
                "total_pass": 25.3108,
                "accurate_pass": 20.4457,
                "duels_won": 4.3073,
                "total_long_balls": 2.1669,
                "accurate_long_balls": 1.5318,
                "total_opp_half_passes": 18.7418,
                "accurate_opp_half_passes": 14.7589,
                "crosses_total": 2.1903,
                "crosses_accurate": 0.3546,
                "touches": 42.8136,
                "possession_lost": 11.8847,
                "dispossessed": 1.1745,
                "duels_lost": 5.58,
                "aerial_lost": 1.1789,
                "total_contest": 1.9865,
                "won_contest": 0.9888,
                "ball_recovery": 2.9702,
                "challenges_lost": 1.332,
                "fouls": 0.9153,
                "fouls_drawn": 1.8462,
                "assists": 0.116,
                "assist_rate": 0.116,
                "interceptions": 0.2012,
                "tackles_won": 0.686,
                "tackles": 1.1335,
                "clearances": 0.2964,
                "blocks": 0.0,
                "big_chances_created": 0.2253,
                "big_chances_missed": 0.1289,
                "xgot": 0.2199,
                "offsides": 0.83,
                "ball_carries": 14.9508,
                "total_progression": 51.3441,
                "progressive_carries": 2.1324,
                "shots_off_target": 1.1345
              },
              "params": {
                "market_value_eur": 5700000,
                "quality_factor": 0.4708,
                "boost_factor": 0.9988,
                "reference_quality": 0.505,
                "history_matches": 38,
                "history_shrink": 0.1163,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0030)",
              "stats": {
                "expected_goals": 0.1471,
                "goals": 0.1601,
                "goal_rate": 0.1601,
                "shots_on_target": 0.5964,
                "total_shots": 1.7416,
                "expected_assists": 0.1206,
                "key_pass": 1.1346,
                "rating": 6.8504,
                "minutes": 77.14,
                "total_pass": 25.3108,
                "accurate_pass": 20.4457,
                "duels_won": 4.3073,
                "total_long_balls": 2.1669,
                "accurate_long_balls": 1.5318,
                "total_opp_half_passes": 18.7418,
                "accurate_opp_half_passes": 14.7589,
                "crosses_total": 2.188,
                "crosses_accurate": 0.3546,
                "touches": 42.8136,
                "possession_lost": 11.8847,
                "dispossessed": 1.1745,
                "duels_lost": 5.58,
                "aerial_lost": 1.1789,
                "total_contest": 1.9865,
                "won_contest": 0.9888,
                "ball_recovery": 2.9702,
                "challenges_lost": 1.332,
                "fouls": 0.9125,
                "fouls_drawn": 1.8449,
                "assists": 0.1156,
                "assist_rate": 0.1156,
                "interceptions": 0.2006,
                "tackles_won": 0.6882,
                "tackles": 1.1335,
                "clearances": 0.2964,
                "blocks": 0.0,
                "big_chances_created": 0.2253,
                "big_chances_missed": 0.1289,
                "xgot": 0.2199,
                "offsides": 0.8275,
                "ball_carries": 14.9508,
                "total_progression": 51.3441,
                "progressive_carries": 2.1324,
                "shots_off_target": 1.1345
              },
              "params": {
                "blend_weight": 0.003,
                "history_matches": 38,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.8571,
                "prior_reliability": 0.04,
                "competition": "La Liga",
                "squad": "Real Sociedad"
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.7188,
                  "after": 1.7416
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.5842,
                  "after": 0.5964
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1471,
                "goals": 0.1601,
                "goal_rate": 0.1601,
                "shots_on_target": 0.5964,
                "total_shots": 1.7416,
                "expected_assists": 0.1206,
                "key_pass": 1.1346,
                "rating": 6.8504,
                "minutes": 77.14,
                "total_pass": 25.3108,
                "accurate_pass": 20.4457,
                "duels_won": 4.3073,
                "total_long_balls": 2.1669,
                "accurate_long_balls": 1.5318,
                "total_opp_half_passes": 18.7418,
                "accurate_opp_half_passes": 14.7589,
                "crosses_total": 2.188,
                "crosses_accurate": 0.3546,
                "touches": 42.8136,
                "possession_lost": 11.8847,
                "dispossessed": 1.1745,
                "duels_lost": 5.58,
                "aerial_lost": 1.1789,
                "total_contest": 1.9865,
                "won_contest": 0.9888,
                "ball_recovery": 2.9702,
                "challenges_lost": 1.332,
                "fouls": 0.9125,
                "fouls_drawn": 1.8449,
                "assists": 0.1156,
                "assist_rate": 0.1156,
                "interceptions": 0.2006,
                "tackles_won": 0.6882,
                "tackles": 1.1335,
                "clearances": 0.2964,
                "blocks": 0.0,
                "big_chances_created": 0.2253,
                "big_chances_missed": 0.1289,
                "xgot": 0.2199,
                "offsides": 0.8275,
                "ball_carries": 14.9508,
                "total_progression": 51.3441,
                "progressive_carries": 2.1324,
                "shots_off_target": 1.1345
              },
              "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.1421,
                "goals": 0.1546,
                "goal_rate": 0.1546,
                "shots_on_target": 0.5761,
                "total_shots": 1.6822,
                "expected_assists": 0.1206,
                "key_pass": 1.1346,
                "rating": 6.8504,
                "minutes": 77.14,
                "total_pass": 25.3108,
                "accurate_pass": 20.4457,
                "duels_won": 4.3073,
                "total_long_balls": 2.1669,
                "accurate_long_balls": 1.5318,
                "total_opp_half_passes": 18.7418,
                "accurate_opp_half_passes": 14.7589,
                "crosses_total": 2.188,
                "crosses_accurate": 0.3546,
                "touches": 42.8136,
                "possession_lost": 11.8847,
                "dispossessed": 1.1745,
                "duels_lost": 5.58,
                "aerial_lost": 1.1789,
                "total_contest": 1.9865,
                "won_contest": 0.9888,
                "ball_recovery": 2.9702,
                "challenges_lost": 1.332,
                "fouls": 0.9125,
                "fouls_drawn": 1.8449,
                "assists": 0.1156,
                "assist_rate": 0.1156,
                "interceptions": 0.2006,
                "tackles_won": 0.6882,
                "tackles": 1.1335,
                "clearances": 0.2964,
                "blocks": 0.0,
                "big_chances_created": 0.2253,
                "big_chances_missed": 0.1245,
                "xgot": 0.2124,
                "offsides": 0.8275,
                "ball_carries": 14.9508,
                "total_progression": 51.3441,
                "progressive_carries": 2.1324,
                "shots_off_target": 1.0958,
                "duel_xg_multiplier": 0.9659,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.5,
                "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": "José María Giménez, Lucas Noubi",
                "opponent_faced": "José María Giménez, Lucas Noubi",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "José María Giménez, Lucas Noubi",
                  "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.9659,
                  "skill_edge": -0.0012,
                  "height_edge": -0.022,
                  "attacker_skill": 0.4708,
                  "defender_skill": 0.4735,
                  "attacker_role": "ST",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "José María Giménez",
                      "market_value": 5800000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.4955
                    },
                    {
                      "player": "Lucas Noubi",
                      "market_value": 3100000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.4515
                    }
                  ],
                  "xg_override": 0.1421
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.7416,
                  "after": 1.6822
                },
                {
                  "stat": "shotOffTarget",
                  "before": 1.1345,
                  "after": 1.0958
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.5964,
                  "after": 0.5761
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.2199,
                  "after": 0.2124
                },
                {
                  "stat": "goals",
                  "before": 0.1601,
                  "after": 0.1546
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.1471,
                  "after": 0.1421
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.50 (squad xG sum 1.3182, xG scale 1.1364, xA scale 1.1588, team xA 0.97 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.1615,
                "goal_rate": 0.1546,
                "goals": 0,
                "shots_on_target": 0.5761,
                "total_shots": 1.6822,
                "expected_assists": 0.1398,
                "key_pass": 1.1346,
                "rating": 6.8504,
                "minutes": 77.14,
                "total_pass": 25.3108,
                "accurate_pass": 20.4457,
                "duels_won": 4.3073,
                "total_long_balls": 2.1669,
                "accurate_long_balls": 1.5318,
                "total_opp_half_passes": 18.7418,
                "accurate_opp_half_passes": 14.7589,
                "crosses_total": 2.188,
                "crosses_accurate": 0.3546,
                "touches": 42.8136,
                "possession_lost": 11.8847,
                "dispossessed": 1.1745,
                "duels_lost": 5.58,
                "aerial_lost": 1.1789,
                "total_contest": 1.9865,
                "won_contest": 0.9888,
                "ball_recovery": 2.9702,
                "challenges_lost": 1.332,
                "fouls": 0.9125,
                "fouls_drawn": 1.8449,
                "assist_rate": 0.1156,
                "assists": 0,
                "interceptions": 0.2006,
                "tackles_won": 0.6882,
                "tackles": 1.1335,
                "clearances": 0.2964,
                "blocks": 0.0,
                "big_chances_created": 0.2253,
                "big_chances_missed": 0.1245,
                "xgot": 0.2414,
                "offsides": 0.8275,
                "ball_carries": 14.9508,
                "total_progression": 51.3441,
                "progressive_carries": 2.1324,
                "shots_off_target": 1.0958,
                "duel_xg_multiplier": 0.9659,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.5,
                "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": "José María Giménez, Lucas Noubi",
                "opponent_faced": "José María Giménez, Lucas Noubi",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0651,
                "creation_factor": 0.9707
              },
              "params": {
                "team_lambda": 1.498,
                "squad_xg_sum": 1.3182,
                "squad_xa_sum": 0.8402,
                "team_expected_assists": 0.9737,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1364,
                "xa_scale": 1.1588,
                "opponent_lambda": 0.805,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1421,
                  "after": 0.1615
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1206,
                  "after": 0.1398
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 6 by projected rating, fifa_overall 81.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.1615,
                "goal_rate": 0.1546,
                "goals": 0,
                "shots_on_target": 0.5761,
                "total_shots": 1.6822,
                "expected_assists": 0.1398,
                "key_pass": 1.1346,
                "rating": 6.8504,
                "minutes": 77.14,
                "total_pass": 25.3108,
                "accurate_pass": 20.4457,
                "duels_won": 4.3073,
                "total_long_balls": 2.1669,
                "accurate_long_balls": 1.5318,
                "total_opp_half_passes": 18.7418,
                "accurate_opp_half_passes": 14.7589,
                "crosses_total": 2.188,
                "crosses_accurate": 0.3546,
                "touches": 42.8136,
                "possession_lost": 11.8847,
                "dispossessed": 1.1745,
                "duels_lost": 5.58,
                "aerial_lost": 1.1789,
                "total_contest": 1.9865,
                "won_contest": 0.9888,
                "ball_recovery": 2.9702,
                "challenges_lost": 1.332,
                "fouls": 0.9125,
                "fouls_drawn": 1.8449,
                "assist_rate": 0.1156,
                "assists": 0,
                "interceptions": 0.2006,
                "tackles_won": 0.6882,
                "tackles": 1.1335,
                "clearances": 0.2964,
                "blocks": 0.0,
                "big_chances_created": 0.2253,
                "big_chances_missed": 0.1245,
                "xgot": 0.2414,
                "offsides": 0.8275,
                "ball_carries": 14.9508,
                "total_progression": 51.3441,
                "progressive_carries": 2.1324,
                "shots_off_target": 1.0958,
                "duel_xg_multiplier": 0.9659,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.5,
                "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": "José María Giménez, Lucas Noubi",
                "opponent_faced": "José María Giménez, Lucas Noubi",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0651,
                "creation_factor": 0.9707,
                "fifa_overall": 81.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": 961,
                "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: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.1615,
                "goal_rate": 0.1546,
                "goals": 0,
                "shots_on_target": 0.5761,
                "total_shots": 1.6822,
                "expected_assists": 0.1398,
                "key_pass": 1.1346,
                "rating": 6.8504,
                "minutes": 77.14,
                "total_pass": 25.3108,
                "accurate_pass": 20.4457,
                "duels_won": 4.3073,
                "total_long_balls": 2.1669,
                "accurate_long_balls": 1.5318,
                "total_opp_half_passes": 18.7418,
                "accurate_opp_half_passes": 14.7589,
                "crosses_total": 2.188,
                "crosses_accurate": 0.3546,
                "touches": 42.8136,
                "possession_lost": 11.8847,
                "dispossessed": 1.1745,
                "duels_lost": 5.58,
                "aerial_lost": 1.1789,
                "total_contest": 1.9865,
                "won_contest": 0.9888,
                "ball_recovery": 2.9702,
                "challenges_lost": 1.332,
                "fouls": 0.9125,
                "fouls_drawn": 1.8449,
                "assist_rate": 0.1156,
                "assists": 0,
                "interceptions": 0.2006,
                "tackles_won": 0.6882,
                "tackles": 1.1335,
                "clearances": 0.2964,
                "blocks": 0.0,
                "big_chances_created": 0.2253,
                "big_chances_missed": 0.1245,
                "xgot": 0.2414,
                "offsides": 0.8275,
                "ball_carries": 14.9508,
                "total_progression": 51.3441,
                "progressive_carries": 2.1324,
                "shots_off_target": 1.0958,
                "duel_xg_multiplier": 0.9659,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.5,
                "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": "José María Giménez, Lucas Noubi",
                "opponent_faced": "José María Giménez, Lucas Noubi",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.1491,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0651,
                "creation_factor": 0.9707,
                "fifa_overall": 81.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.1491,
                "scorer_weight": 0.172,
                "squad_weight_total": 1.6252,
                "weight_share": 0.1058,
                "finishing_factor": 1.0651,
                "appearance_weight": 1.0,
                "weight_rank": 4,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Mikel Oyarzabal",
                    "weight": 0.301,
                    "already": 0,
                    "effective_weight": 0.301,
                    "runner_up": "Luka Sučić",
                    "runner_up_effective_weight": 0.2755
                  }
                ]
              }
            },
            {
              "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.1615,
                "goal_rate": 0.1546,
                "goals": 0,
                "shots_on_target": 0.5761,
                "total_shots": 1.6822,
                "expected_assists": 0.1398,
                "key_pass": 1.1346,
                "rating": 6.8504,
                "minutes": 77.14,
                "total_pass": 25.3108,
                "accurate_pass": 20.4457,
                "duels_won": 4.3073,
                "total_long_balls": 2.1669,
                "accurate_long_balls": 1.5318,
                "total_opp_half_passes": 18.7418,
                "accurate_opp_half_passes": 14.7589,
                "crosses_total": 2.188,
                "crosses_accurate": 0.3546,
                "touches": 42.8136,
                "possession_lost": 11.8847,
                "dispossessed": 1.1745,
                "duels_lost": 5.58,
                "aerial_lost": 1.1789,
                "total_contest": 1.9865,
                "won_contest": 0.9888,
                "ball_recovery": 2.9702,
                "challenges_lost": 1.332,
                "fouls": 0.9125,
                "fouls_drawn": 1.8449,
                "assist_rate": 0.1156,
                "assists": 0,
                "interceptions": 0.2006,
                "tackles_won": 0.6882,
                "tackles": 1.1335,
                "clearances": 0.2964,
                "blocks": 0.0,
                "big_chances_created": 0.2253,
                "big_chances_missed": 0.1245,
                "xgot": 0.2414,
                "offsides": 0.8275,
                "ball_carries": 14.9508,
                "total_progression": 51.3441,
                "progressive_carries": 2.1324,
                "shots_off_target": 1.0958,
                "duel_xg_multiplier": 0.9659,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.5,
                "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": "José María Giménez, Lucas Noubi",
                "opponent_faced": "José María Giménez, Lucas Noubi",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.1491,
                "projected_assists": 0,
                "assist_probability": 0.1305,
                "finishing_factor": 1.0651,
                "creation_factor": 0.9707,
                "fifa_overall": 81.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1305,
                "provider_weight": 0.1357,
                "squad_weight_total": 1.0056,
                "weight_share": 0.1349,
                "creation_factor": 0.9707,
                "appearance_weight": 1.0,
                "weight_rank": 5,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Sergio Gómez",
                    "weight": 0.1771,
                    "already": 0,
                    "effective_weight": 0.1771,
                    "runner_up": "Carlos Soler",
                    "runner_up_effective_weight": 0.1401,
                    "blocked_own_goal": [
                      "Mikel Oyarzabal"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Carlos Soler": {
          "player_id": 832427,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 18,
          "height": 180,
          "market_value": 6600000,
          "stats": {
            "key_pass": 2,
            "expected_assists": 0.1533,
            "assist_rate": 0.1166,
            "assists": 0,
            "expected_goals": 0.1406,
            "goal_rate": 0.136,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.9394,
            "minutes": 86,
            "total_pass": 46,
            "accurate_pass": 40,
            "duels_won": 2,
            "total_long_balls": 3,
            "accurate_long_balls": 2,
            "total_own_half_passes": 19,
            "accurate_own_half_passes": 18,
            "total_opp_half_passes": 27,
            "accurate_opp_half_passes": 22,
            "crosses_total": 3,
            "crosses_accurate": 1,
            "touches": 58,
            "possession_lost": 10.6664,
            "dispossessed": 0.7176,
            "duels_lost": 3,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 1,
            "tackles_won": 0,
            "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.2151,
            "ball_carries": 14,
            "total_progression": 42,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "duel_xg_multiplier": 1.0587,
            "dribbles_attempted": 3,
            "dribbles_successful": 1.3,
            "crosses_attempted": 2.1,
            "duel_win_rate": 0.5,
            "pressing_faced": "LOW",
            "matchup_zone": "Left Mid vs Right Back — Wide Channel",
            "numerical_situation": "1v1",
            "opponent_defenders": "Ximo Navarro",
            "opponent_faced": "Ximo Navarro",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.1312,
            "projected_assists": 0,
            "assist_probability": 0.1421,
            "finishing_factor": 1.0708,
            "creation_factor": 0.9139,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "match_id": 16416297,
              "match_date": "2026-09-20",
              "home_team": "Valencia",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 8.2,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.9645,
                "expected_assists": 0.1993,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 39,
                "accurate_pass": 35,
                "key_pass": 2,
                "tackles": 2,
                "interceptions": 1,
                "duels_won": 5,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416332,
              "match_date": "2026-09-13",
              "home_team": "Real Sociedad",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 78,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0152,
                "expected_assists": 0.0245,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 48,
                "accurate_pass": 40,
                "key_pass": 2,
                "duels_won": 1,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416319,
              "match_date": "2026-09-07",
              "home_team": "Elche",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.2017,
                "total_shots": 0,
                "total_pass": 38,
                "accurate_pass": 35,
                "key_pass": 2,
                "interceptions": 1,
                "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": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416340,
              "match_date": "2026-09-03",
              "home_team": "Real Sociedad",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 8,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0153,
                "total_shots": 0,
                "total_pass": 4,
                "accurate_pass": 4,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416310,
              "match_date": "2026-08-29",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.056,
                "expected_assists": 0.1916,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 49,
                "accurate_pass": 44,
                "key_pass": 3,
                "tackles": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421051,
              "match_date": "2026-08-26",
              "home_team": "Real Madrid",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 24,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0174,
                "total_shots": 0,
                "total_pass": 23,
                "accurate_pass": 21,
                "tackles": 3,
                "tackles_won": 1,
                "clearances": 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": 16416293,
              "match_date": "2026-08-21",
              "home_team": "Real Betis",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.028,
                "total_shots": 0,
                "total_pass": 62,
                "accurate_pass": 55,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 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": 14083719,
              "match_date": "2026-05-23",
              "home_team": "Espanyol",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 89,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0189,
                "total_shots": 0,
                "total_pass": 47,
                "accurate_pass": 38,
                "tackles": 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": 14083687,
              "match_date": "2026-05-17",
              "home_team": "Real Sociedad",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2147,
                "expected_assists": 0.085,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 53,
                "accurate_pass": 43,
                "key_pass": 2,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083624,
              "match_date": "2026-05-14",
              "home_team": "Girona FC",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 33,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0081,
                "total_shots": 0,
                "total_pass": 15,
                "accurate_pass": 12,
                "tackles": 2,
                "tackles_won": 1,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 1664,
            "combined_rank_score": 675.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 392.0,
            "sofascore_rating": 6.9485,
            "sofascore_appearances": 33.0,
            "fifa_rank": 958.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 4,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9394,
            "source_file": "data/player_rankings.csv",
            "player_name": "Carlos Soler",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Abderrahman Rebbach",
                  "ranking": 1659
                },
                {
                  "player_name": "Petar Sučić",
                  "ranking": 1660
                },
                {
                  "player_name": "Giacomo Raspadori",
                  "ranking": 1661
                },
                {
                  "player_name": "Wataru Endo",
                  "ranking": 1662
                },
                {
                  "player_name": "Barış Alper Yılmaz",
                  "ranking": 1663
                }
              ],
              "lower": [
                {
                  "player_name": "Rodrigo Bentancur",
                  "ranking": 1665
                },
                {
                  "player_name": "Abdel Abqar",
                  "ranking": 1666
                },
                {
                  "player_name": "Sofyan Amrabat",
                  "ranking": 1667
                },
                {
                  "player_name": "Gang-han Lee",
                  "ranking": 1668
                },
                {
                  "player_name": "Choi Chi-ung",
                  "ranking": 1669
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.773,
          "history_matches": 40,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 40,
            "data_confidence": 0.773,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9992,
            "fbref_prior_metrics": {
              "squad": "Real Sociedad",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 4.0,
              "starts": 2.0,
              "minutes": 208.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.43,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.1533
            },
            "rationale": "XGBoost regressor (M_service) evaluated 40 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Real Sociedad, 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.5652,
                "expected_assists": 0.1324,
                "assists": 0.118,
                "assist_rate": 0.118,
                "expected_goals": 0.1169,
                "goals": 0.13,
                "goal_rate": 0.13,
                "shots_on_target": 0.3935,
                "total_shots": 1.1786,
                "rating": 6.9394,
                "minutes": 85.73,
                "total_pass": 46.0257,
                "accurate_pass": 39.7932,
                "duels_won": 2.4999,
                "total_long_balls": 3.1215,
                "accurate_long_balls": 2.1706,
                "total_own_half_passes": 19.3882,
                "accurate_own_half_passes": 17.9469,
                "total_opp_half_passes": 26.6375,
                "accurate_opp_half_passes": 21.8463,
                "crosses_total": 2.9692,
                "crosses_accurate": 0.6509,
                "touches": 57.8219,
                "possession_lost": 10.6749,
                "dispossessed": 0.7182,
                "duels_lost": 3.0362,
                "aerial_won": 0.1695,
                "aerial_lost": 0.2818,
                "interceptions": 0.5093,
                "tackles_won": 0.3934,
                "tackles": 1.0142,
                "clearances": 0.6062,
                "total_contest": 1.0266,
                "won_contest": 0.5216,
                "challenges_lost": 0.9681,
                "fouls": 0.6301,
                "fouls_drawn": 0.7946,
                "blocks": 0.2499,
                "big_chances_created": 0.3619,
                "big_chances_missed": 0.1018,
                "xgot": 0.1789,
                "ball_carries": 13.7198,
                "total_progression": 42.1972,
                "progressive_carries": 0.7195,
                "shots_off_target": 0.785
              },
              "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": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1502,
                    "rating": 8.2
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Atlético Madrid",
                    "minutes": 78.0,
                    "is_starting": true,
                    "weight": 0.1277,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-07",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1085,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-09-03",
                    "opponent": "Celta Vigo",
                    "minutes": 8.0,
                    "is_starting": false,
                    "weight": 0.0923,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-26",
                    "opponent": "Real Madrid",
                    "minutes": 24.0,
                    "is_starting": false,
                    "weight": 0.0667,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Espanyol",
                    "minutes": 89.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Girona FC",
                    "minutes": 33.0,
                    "is_starting": false,
                    "weight": 0.0348,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.9429,
                  "creative_index": 0.6979,
                  "expectedGoals": 0.1751,
                  "expectedAssists": 0.1122,
                  "onTargetScoringAttempt": 0.386
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.565173864364624,
                    "model_output": 1.5652,
                    "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.1412
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.1469
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0967
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0754
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0612
                        }
                      ],
                      "others": 0.1581,
                      "total": 1.5652,
                      "log_link": true,
                      "margin_base": -0.121432,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.147919
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.133678
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.079178
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.05767
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.044495
                        }
                      ],
                      "others_margin": 0.106489
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.13239198923110962,
                    "model_output": 0.1324,
                    "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.0106
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0118
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0066
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0043
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0043
                        }
                      ],
                      "others": 0.0093,
                      "total": 0.1324,
                      "log_link": true,
                      "margin_base": -2.458929,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.116358
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.1157
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.05899
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.03672
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.0354
                        }
                      ],
                      "others_margin": 0.073773
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.11796174198389053,
                    "model_output": 0.118,
                    "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.0069
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0071
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0069
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0066
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0056
                        }
                      ],
                      "others": 0.0103,
                      "total": 0.118,
                      "log_link": true,
                      "margin_base": -2.456317,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.077048
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.073788
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.066652
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.059864
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.051144
                        }
                      ],
                      "others_margin": 0.092714
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.11690398305654526,
                    "model_output": 0.1169,
                    "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": "is_starting_11",
                          "contribution": 0.014
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0094
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.006
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0037
                        }
                      ],
                      "others": 0.0004,
                      "total": 0.1169,
                      "log_link": true,
                      "margin_base": -2.368441,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": 0.261771
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.108954
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.071543
                        },
                        {
                          "name": "duelLost",
                          "margin": -0.048965
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.031337
                        }
                      ],
                      "others_margin": 0.003161
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.12999331951141357,
                    "model_output": 0.13,
                    "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.0208
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0151
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0102
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0077
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0064
                        }
                      ],
                      "others": -0.0064,
                      "total": 0.13,
                      "log_link": true,
                      "margin_base": -2.337105,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": 0.194746
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.120903
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.08009
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.061222
                        },
                        {
                          "name": "goals",
                          "margin": 0.048046
                        }
                      ],
                      "others_margin": -0.047994
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.3935255706310272,
                    "model_output": 0.3935,
                    "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": "expectedGoals",
                          "contribution": 0.0533
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0517
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0209
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0187
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0103
                        }
                      ],
                      "others": -0.023,
                      "total": 0.3935,
                      "log_link": true,
                      "margin_base": -1.126872,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": 0.15238
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.12846
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.049841
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.044716
                        },
                        {
                          "name": "duelLost",
                          "margin": -0.024507
                        }
                      ],
                      "others_margin": -0.056945
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.178566813468933,
                    "model_output": 1.1786,
                    "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.1723
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0474
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0448
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0312
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": 0.0221
                        }
                      ],
                      "others": -0.0396,
                      "total": 1.1786,
                      "log_link": false,
                      "margin_base": 0.989981,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.172253
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.047366
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.044765
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.031179
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": 0.022073
                        }
                      ],
                      "others_margin": -0.03952
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.939391136169434,
                    "model_output": 6.9394,
                    "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.1165
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0388
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0293
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0179
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0158
                        }
                      ],
                      "others": -0.0201,
                      "total": 6.9394,
                      "log_link": false,
                      "margin_base": 6.850356,
                      "item_margins": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.116528
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.038775
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.029262
                        },
                        {
                          "name": "rating",
                          "margin": 0.01794
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.015755
                        }
                      ],
                      "others_margin": -0.020165
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 40,
                  "role_matches": 31,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9992, quality 0.482)",
              "stats": {
                "key_pass": 1.5639,
                "expected_assists": 0.1323,
                "assists": 0.1179,
                "assist_rate": 0.1179,
                "expected_goals": 0.1168,
                "goals": 0.1299,
                "goal_rate": 0.1299,
                "shots_on_target": 0.3932,
                "total_shots": 1.1776,
                "rating": 6.9394,
                "minutes": 85.73,
                "total_pass": 45.9889,
                "accurate_pass": 39.7614,
                "duels_won": 2.4979,
                "total_long_balls": 3.119,
                "accurate_long_balls": 2.1689,
                "total_own_half_passes": 19.3727,
                "accurate_own_half_passes": 17.9325,
                "total_opp_half_passes": 26.6162,
                "accurate_opp_half_passes": 21.8288,
                "crosses_total": 2.9668,
                "crosses_accurate": 0.6504,
                "touches": 57.7756,
                "possession_lost": 10.6664,
                "dispossessed": 0.7176,
                "duels_lost": 3.0338,
                "aerial_won": 0.1694,
                "aerial_lost": 0.2816,
                "interceptions": 0.5089,
                "tackles_won": 0.3931,
                "tackles": 1.0134,
                "clearances": 0.6057,
                "total_contest": 1.0258,
                "won_contest": 0.5212,
                "challenges_lost": 0.9673,
                "fouls": 0.6296,
                "fouls_drawn": 0.794,
                "blocks": 0.2497,
                "big_chances_created": 0.3616,
                "big_chances_missed": 0.1017,
                "xgot": 0.1788,
                "ball_carries": 13.7088,
                "total_progression": 42.1634,
                "progressive_carries": 0.7189,
                "shots_off_target": 0.7844
              },
              "params": {
                "market_value_eur": 6600000,
                "quality_factor": 0.4818,
                "boost_factor": 0.9992,
                "reference_quality": 0.505,
                "history_matches": 40,
                "history_shrink": 0.1111,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0111)",
              "stats": {
                "key_pass": 1.5639,
                "expected_assists": 0.1323,
                "assists": 0.1166,
                "assist_rate": 0.1166,
                "expected_goals": 0.1168,
                "goals": 0.1285,
                "goal_rate": 0.1285,
                "shots_on_target": 0.3888,
                "total_shots": 1.1691,
                "rating": 6.9394,
                "minutes": 85.73,
                "total_pass": 45.9889,
                "accurate_pass": 39.7614,
                "duels_won": 2.4979,
                "total_long_balls": 3.119,
                "accurate_long_balls": 2.1689,
                "total_own_half_passes": 19.3727,
                "accurate_own_half_passes": 17.9325,
                "total_opp_half_passes": 26.6162,
                "accurate_opp_half_passes": 21.8288,
                "crosses_total": 2.9661,
                "crosses_accurate": 0.6504,
                "touches": 57.7756,
                "possession_lost": 10.6664,
                "dispossessed": 0.7176,
                "duels_lost": 3.0338,
                "aerial_won": 0.1694,
                "aerial_lost": 0.2816,
                "interceptions": 0.5124,
                "tackles_won": 0.4025,
                "tackles": 1.0134,
                "clearances": 0.6057,
                "total_contest": 1.0258,
                "won_contest": 0.5212,
                "challenges_lost": 0.9673,
                "fouls": 0.6226,
                "fouls_drawn": 0.7898,
                "blocks": 0.2497,
                "big_chances_created": 0.3616,
                "big_chances_missed": 0.1017,
                "xgot": 0.1788,
                "ball_carries": 13.7088,
                "total_progression": 42.1634,
                "progressive_carries": 0.7189,
                "shots_off_target": 0.7844
              },
              "params": {
                "blend_weight": 0.0111,
                "history_matches": 40,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9526,
                "prior_reliability": 0.1533,
                "competition": "La Liga",
                "squad": "Real Sociedad"
              },
              "changes": [
                {
                  "stat": "wonTackle",
                  "before": 0.3931,
                  "after": 0.4025
                },
                {
                  "stat": "totalShots",
                  "before": 1.1776,
                  "after": 1.1691
                },
                {
                  "stat": "fouls",
                  "before": 0.6296,
                  "after": 0.6226
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1.5639,
                "expected_assists": 0.1323,
                "assists": 0.1166,
                "assist_rate": 0.1166,
                "expected_goals": 0.1168,
                "goals": 0.1285,
                "goal_rate": 0.1285,
                "shots_on_target": 0.3888,
                "total_shots": 1.1732,
                "rating": 6.9394,
                "minutes": 85.73,
                "total_pass": 45.9889,
                "accurate_pass": 39.7614,
                "duels_won": 2.4979,
                "total_long_balls": 3.119,
                "accurate_long_balls": 2.1689,
                "total_own_half_passes": 19.3727,
                "accurate_own_half_passes": 17.9325,
                "total_opp_half_passes": 26.6162,
                "accurate_opp_half_passes": 21.8288,
                "crosses_total": 2.9661,
                "crosses_accurate": 0.6504,
                "touches": 57.7756,
                "possession_lost": 10.6664,
                "dispossessed": 0.7176,
                "duels_lost": 3.0338,
                "aerial_won": 0.1694,
                "aerial_lost": 0.2816,
                "interceptions": 0.5124,
                "tackles_won": 0.4025,
                "tackles": 1.0134,
                "clearances": 0.6057,
                "total_contest": 1.0258,
                "won_contest": 0.5212,
                "challenges_lost": 0.9673,
                "fouls": 0.6226,
                "fouls_drawn": 0.7898,
                "blocks": 0.2497,
                "big_chances_created": 0.3616,
                "big_chances_missed": 0.1017,
                "xgot": 0.1788,
                "ball_carries": 13.7088,
                "total_progression": 42.1634,
                "progressive_carries": 0.7189,
                "shots_off_target": 0.7844
              },
              "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.5639,
                "expected_assists": 0.1323,
                "assists": 0.1166,
                "assist_rate": 0.1166,
                "expected_goals": 0.1237,
                "goals": 0.136,
                "goal_rate": 0.136,
                "shots_on_target": 0.4116,
                "total_shots": 1.2421,
                "rating": 6.9394,
                "minutes": 85.73,
                "total_pass": 45.9889,
                "accurate_pass": 39.7614,
                "duels_won": 2.4979,
                "total_long_balls": 3.119,
                "accurate_long_balls": 2.1689,
                "total_own_half_passes": 19.3727,
                "accurate_own_half_passes": 17.9325,
                "total_opp_half_passes": 26.6162,
                "accurate_opp_half_passes": 21.8288,
                "crosses_total": 2.9661,
                "crosses_accurate": 0.6504,
                "touches": 57.7756,
                "possession_lost": 10.6664,
                "dispossessed": 0.7176,
                "duels_lost": 3.0338,
                "aerial_won": 1.1,
                "aerial_lost": 0.2816,
                "interceptions": 0.5124,
                "tackles_won": 0.4025,
                "tackles": 1.0134,
                "clearances": 0.6057,
                "total_contest": 1.0258,
                "won_contest": 0.5212,
                "challenges_lost": 0.9673,
                "fouls": 0.6226,
                "fouls_drawn": 0.7898,
                "blocks": 0.2497,
                "big_chances_created": 0.3616,
                "big_chances_missed": 0.1077,
                "xgot": 0.1893,
                "ball_carries": 13.7088,
                "total_progression": 42.1634,
                "progressive_carries": 0.7189,
                "shots_off_target": 0.8304,
                "duel_xg_multiplier": 1.0587,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.3,
                "crosses_attempted": 2.1,
                "duel_win_rate": 0.5,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Ximo Navarro",
                "opponent_faced": "Ximo Navarro",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Ximo Navarro",
                  "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                  "duel_win_rate": 0.5,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 1.0587,
                  "skill_edge": 0.024,
                  "height_edge": 0.016,
                  "attacker_skill": 0.4907,
                  "defender_skill": 0.4374,
                  "attacker_role": "LM",
                  "attacker_mv_price_index": 0.9,
                  "defender_adjusted_parts": [
                    {
                      "player": "Ximo Navarro",
                      "market_value": 95000,
                      "role": "RB",
                      "price_index": 0.7,
                      "adjusted_quality": 0.4374
                    }
                  ],
                  "xg_override": 0.1237
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.1694,
                  "after": 1.1
                },
                {
                  "stat": "totalShots",
                  "before": 1.1732,
                  "after": 1.2421
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.7844,
                  "after": 0.8304
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.3888,
                  "after": 0.4116
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.1788,
                  "after": 0.1893
                },
                {
                  "stat": "goals",
                  "before": 0.1285,
                  "after": 0.136
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.1168,
                  "after": 0.1237
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 0.1017,
                  "after": 0.1077
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.50 (squad xG sum 1.3182, xG scale 1.1364, xA scale 1.1588, team xA 0.97 = 0.65 x lambda)",
              "stats": {
                "key_pass": 1.5639,
                "expected_assists": 0.1533,
                "assist_rate": 0.1166,
                "assists": 0,
                "expected_goals": 0.1406,
                "goal_rate": 0.136,
                "goals": 0,
                "shots_on_target": 0.4116,
                "total_shots": 1.2421,
                "rating": 6.9394,
                "minutes": 85.73,
                "total_pass": 45.9889,
                "accurate_pass": 39.7614,
                "duels_won": 2.4979,
                "total_long_balls": 3.119,
                "accurate_long_balls": 2.1689,
                "total_own_half_passes": 19.3727,
                "accurate_own_half_passes": 17.9325,
                "total_opp_half_passes": 26.6162,
                "accurate_opp_half_passes": 21.8288,
                "crosses_total": 2.9661,
                "crosses_accurate": 0.6504,
                "touches": 57.7756,
                "possession_lost": 10.6664,
                "dispossessed": 0.7176,
                "duels_lost": 3.0338,
                "aerial_won": 1.1,
                "aerial_lost": 0.2816,
                "interceptions": 0.5124,
                "tackles_won": 0.4025,
                "tackles": 1.0134,
                "clearances": 0.6057,
                "total_contest": 1.0258,
                "won_contest": 0.5212,
                "challenges_lost": 0.9673,
                "fouls": 0.6226,
                "fouls_drawn": 0.7898,
                "blocks": 0.2497,
                "big_chances_created": 0.3616,
                "big_chances_missed": 0.1077,
                "xgot": 0.2151,
                "ball_carries": 13.7088,
                "total_progression": 42.1634,
                "progressive_carries": 0.7189,
                "shots_off_target": 0.8304,
                "duel_xg_multiplier": 1.0587,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.3,
                "crosses_attempted": 2.1,
                "duel_win_rate": 0.5,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Ximo Navarro",
                "opponent_faced": "Ximo Navarro",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0708,
                "creation_factor": 0.9139
              },
              "params": {
                "team_lambda": 1.498,
                "squad_xg_sum": 1.3182,
                "squad_xa_sum": 0.8402,
                "team_expected_assists": 0.9737,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1364,
                "xa_scale": 1.1588,
                "opponent_lambda": 0.805,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1237,
                  "after": 0.1406
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1323,
                  "after": 0.1533
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 4 by projected rating, fifa_overall 79.0; not used by the projection)",
              "stats": {
                "key_pass": 1.5639,
                "expected_assists": 0.1533,
                "assist_rate": 0.1166,
                "assists": 0,
                "expected_goals": 0.1406,
                "goal_rate": 0.136,
                "goals": 0,
                "shots_on_target": 0.4116,
                "total_shots": 1.2421,
                "rating": 6.9394,
                "minutes": 85.73,
                "total_pass": 45.9889,
                "accurate_pass": 39.7614,
                "duels_won": 2.4979,
                "total_long_balls": 3.119,
                "accurate_long_balls": 2.1689,
                "total_own_half_passes": 19.3727,
                "accurate_own_half_passes": 17.9325,
                "total_opp_half_passes": 26.6162,
                "accurate_opp_half_passes": 21.8288,
                "crosses_total": 2.9661,
                "crosses_accurate": 0.6504,
                "touches": 57.7756,
                "possession_lost": 10.6664,
                "dispossessed": 0.7176,
                "duels_lost": 3.0338,
                "aerial_won": 1.1,
                "aerial_lost": 0.2816,
                "interceptions": 0.5124,
                "tackles_won": 0.4025,
                "tackles": 1.0134,
                "clearances": 0.6057,
                "total_contest": 1.0258,
                "won_contest": 0.5212,
                "challenges_lost": 0.9673,
                "fouls": 0.6226,
                "fouls_drawn": 0.7898,
                "blocks": 0.2497,
                "big_chances_created": 0.3616,
                "big_chances_missed": 0.1077,
                "xgot": 0.2151,
                "ball_carries": 13.7088,
                "total_progression": 42.1634,
                "progressive_carries": 0.7189,
                "shots_off_target": 0.8304,
                "duel_xg_multiplier": 1.0587,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.3,
                "crosses_attempted": 2.1,
                "duel_win_rate": 0.5,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Ximo Navarro",
                "opponent_faced": "Ximo Navarro",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0708,
                "creation_factor": 0.9139,
                "fifa_overall": 79.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": 1664,
                "fifa_rank": 958.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 79.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 1.5639,
                "expected_assists": 0.1533,
                "assist_rate": 0.1166,
                "assists": 0,
                "expected_goals": 0.1406,
                "goal_rate": 0.136,
                "goals": 0,
                "shots_on_target": 0.4116,
                "total_shots": 1.2421,
                "rating": 6.9394,
                "minutes": 85.73,
                "total_pass": 45.9889,
                "accurate_pass": 39.7614,
                "duels_won": 2.4979,
                "total_long_balls": 3.119,
                "accurate_long_balls": 2.1689,
                "total_own_half_passes": 19.3727,
                "accurate_own_half_passes": 17.9325,
                "total_opp_half_passes": 26.6162,
                "accurate_opp_half_passes": 21.8288,
                "crosses_total": 2.9661,
                "crosses_accurate": 0.6504,
                "touches": 57.7756,
                "possession_lost": 10.6664,
                "dispossessed": 0.7176,
                "duels_lost": 3.0338,
                "aerial_won": 1.1,
                "aerial_lost": 0.2816,
                "interceptions": 0.5124,
                "tackles_won": 0.4025,
                "tackles": 1.0134,
                "clearances": 0.6057,
                "total_contest": 1.0258,
                "won_contest": 0.5212,
                "challenges_lost": 0.9673,
                "fouls": 0.6226,
                "fouls_drawn": 0.7898,
                "blocks": 0.2497,
                "big_chances_created": 0.3616,
                "big_chances_missed": 0.1077,
                "xgot": 0.2151,
                "ball_carries": 13.7088,
                "total_progression": 42.1634,
                "progressive_carries": 0.7189,
                "shots_off_target": 0.8304,
                "duel_xg_multiplier": 1.0587,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.3,
                "crosses_attempted": 2.1,
                "duel_win_rate": 0.5,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Ximo Navarro",
                "opponent_faced": "Ximo Navarro",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1312,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0708,
                "creation_factor": 0.9139,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.1312,
                "scorer_weight": 0.1506,
                "squad_weight_total": 1.6252,
                "weight_share": 0.0926,
                "finishing_factor": 1.0708,
                "appearance_weight": 1.0,
                "weight_rank": 5,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Mikel Oyarzabal",
                    "weight": 0.301,
                    "already": 0,
                    "effective_weight": 0.301,
                    "runner_up": "Luka Sučić",
                    "runner_up_effective_weight": 0.2755
                  }
                ]
              }
            },
            {
              "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.5639,
                "expected_assists": 0.1533,
                "assist_rate": 0.1166,
                "assists": 0,
                "expected_goals": 0.1406,
                "goal_rate": 0.136,
                "goals": 0,
                "shots_on_target": 0.4116,
                "total_shots": 1.2421,
                "rating": 6.9394,
                "minutes": 85.73,
                "total_pass": 45.9889,
                "accurate_pass": 39.7614,
                "duels_won": 2.4979,
                "total_long_balls": 3.119,
                "accurate_long_balls": 2.1689,
                "total_own_half_passes": 19.3727,
                "accurate_own_half_passes": 17.9325,
                "total_opp_half_passes": 26.6162,
                "accurate_opp_half_passes": 21.8288,
                "crosses_total": 2.9661,
                "crosses_accurate": 0.6504,
                "touches": 57.7756,
                "possession_lost": 10.6664,
                "dispossessed": 0.7176,
                "duels_lost": 3.0338,
                "aerial_won": 1.1,
                "aerial_lost": 0.2816,
                "interceptions": 0.5124,
                "tackles_won": 0.4025,
                "tackles": 1.0134,
                "clearances": 0.6057,
                "total_contest": 1.0258,
                "won_contest": 0.5212,
                "challenges_lost": 0.9673,
                "fouls": 0.6226,
                "fouls_drawn": 0.7898,
                "blocks": 0.2497,
                "big_chances_created": 0.3616,
                "big_chances_missed": 0.1077,
                "xgot": 0.2151,
                "ball_carries": 13.7088,
                "total_progression": 42.1634,
                "progressive_carries": 0.7189,
                "shots_off_target": 0.8304,
                "duel_xg_multiplier": 1.0587,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.3,
                "crosses_attempted": 2.1,
                "duel_win_rate": 0.5,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Ximo Navarro",
                "opponent_faced": "Ximo Navarro",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1312,
                "projected_assists": 0,
                "assist_probability": 0.1421,
                "finishing_factor": 1.0708,
                "creation_factor": 0.9139,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1421,
                "provider_weight": 0.1401,
                "squad_weight_total": 1.0056,
                "weight_share": 0.1393,
                "creation_factor": 0.9139,
                "appearance_weight": 1.0,
                "weight_rank": 3,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Sergio Gómez",
                    "weight": 0.1771,
                    "already": 0,
                    "effective_weight": 0.1771,
                    "runner_up": "Carlos Soler",
                    "runner_up_effective_weight": 0.1401,
                    "blocked_own_goal": [
                      "Mikel Oyarzabal"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Yangel Herrera": {
          "player_id": 839585,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 21,
          "height": 184,
          "market_value": 5600000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.043,
            "assist_rate": 0.045,
            "assists": 0,
            "expected_goals": 0.0573,
            "goal_rate": 0.0723,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.7968,
            "minutes": 74,
            "total_pass": 39,
            "accurate_pass": 33,
            "duels_won": 5,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_own_half_passes": 17,
            "accurate_own_half_passes": 15,
            "total_opp_half_passes": 22,
            "accurate_opp_half_passes": 18,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 50,
            "possession_lost": 8.4193,
            "dispossessed": 1.5145,
            "duels_lost": 5,
            "aerial_won": 1,
            "aerial_lost": 1,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 1,
            "total_contest": 1,
            "won_contest": 0,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 2,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0834,
            "ball_carries": 15,
            "total_progression": 25,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "duel_xg_multiplier": 1.0433,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.8,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.479,
            "pressing_faced": "LOW",
            "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
            "numerical_situation": "1v1",
            "opponent_defenders": "Lorenzo Amatucci",
            "opponent_faced": "Lorenzo Amatucci",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0557,
            "projected_assists": 0,
            "assist_probability": 0.0421,
            "finishing_factor": 1.2181,
            "creation_factor": 1.0907,
            "fifa_overall": 78.0
          },
          "latest_10_games": [
            {
              "match_id": 16416297,
              "match_date": "2026-09-20",
              "home_team": "Valencia",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Valencia",
              "stats": {
                "minutes": 21,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0176,
                "total_shots": 0,
                "total_pass": 10,
                "accurate_pass": 9,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416332,
              "match_date": "2026-09-13",
              "home_team": "Real Sociedad",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 85,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0202,
                "total_shots": 0,
                "total_pass": 50,
                "accurate_pass": 45,
                "tackles": 2,
                "duels_won": 4,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416319,
              "match_date": "2026-09-07",
              "home_team": "Elche",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Elche",
              "stats": {
                "minutes": 70,
                "rating": 7.7,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1286,
                "expected_assists": 0.0109,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 2,
                "total_pass": 35,
                "accurate_pass": 30,
                "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": 16416340,
              "match_date": "2026-09-03",
              "home_team": "Real Sociedad",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 61,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0217,
                "expected_assists": 0.0121,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 44,
                "accurate_pass": 35,
                "tackles": 3,
                "tackles_won": 3,
                "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": 16416310,
              "match_date": "2026-08-29",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 28,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0009,
                "total_shots": 0,
                "total_pass": 10,
                "accurate_pass": 8,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421051,
              "match_date": "2026-08-26",
              "home_team": "Real Madrid",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 66,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0125,
                "total_shots": 0,
                "total_pass": 41,
                "accurate_pass": 37,
                "tackles": 2,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 4,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "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": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 72,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0055,
                "total_shots": 0,
                "total_pass": 46,
                "accurate_pass": 43,
                "key_pass": 1,
                "clearances": 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": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083719,
              "match_date": "2026-05-23",
              "home_team": "Espanyol",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0229,
                "total_shots": 0,
                "total_pass": 43,
                "accurate_pass": 36,
                "key_pass": 2,
                "tackles": 1,
                "clearances": 1,
                "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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083624,
              "match_date": "2026-05-14",
              "home_team": "Girona FC",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 87,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1672,
                "total_shots": 0,
                "total_pass": 47,
                "accurate_pass": 38,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 2,
                "aerial_won": 3,
                "duels_won": 7,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083526,
              "match_date": "2026-05-04",
              "home_team": "Sevilla",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 21,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0045,
                "total_shots": 0,
                "total_pass": 12,
                "accurate_pass": 11,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 5
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 2294,
            "combined_rank_score": 839.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 445.0,
            "sofascore_rating": 6.9,
            "sofascore_appearances": 4.0,
            "fifa_rank": 1233.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 8,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7968,
            "source_file": "data/player_rankings.csv",
            "player_name": "Yangel Herrera",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Pablo Calderón",
                  "ranking": 2289
                },
                {
                  "player_name": "Wesley",
                  "ranking": 2290
                },
                {
                  "player_name": "Samuel Chukwueze",
                  "ranking": 2291
                },
                {
                  "player_name": "Gabriel Gudmundsson",
                  "ranking": 2292
                },
                {
                  "player_name": "Sergi Darder",
                  "ranking": 2293
                }
              ],
              "lower": [
                {
                  "player_name": "Cris Martínez",
                  "ranking": 2295
                },
                {
                  "player_name": "Matt Dench",
                  "ranking": 2296
                },
                {
                  "player_name": "Lee Jun-Jae",
                  "ranking": 2297
                },
                {
                  "player_name": "Seo-Joon Bae",
                  "ranking": 2298
                },
                {
                  "player_name": "Kurt Shaw",
                  "ranking": 2299
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.775,
          "history_matches": 21,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 21,
            "data_confidence": 0.775,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.998,
            "fbref_prior_metrics": {
              "squad": "Real Sociedad",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 4.0,
              "starts": 3.0,
              "minutes": 225.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.4,
              "shots_on_target_pct": 100.0,
              "prior_reliability": 0.1667
            },
            "rationale": "XGBoost regressor (M_service) evaluated 21 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Real Sociedad, 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.5369,
                "expected_assists": 0.0371,
                "assists": 0.0461,
                "assist_rate": 0.0461,
                "expected_goals": 0.0484,
                "goals": 0.0709,
                "goal_rate": 0.0709,
                "shots_on_target": 0.2111,
                "total_shots": 0.6765,
                "rating": 6.7968,
                "minutes": 73.65,
                "total_pass": 38.9693,
                "accurate_pass": 33.2199,
                "duels_won": 4.998,
                "total_long_balls": 1.8575,
                "accurate_long_balls": 0.9672,
                "total_own_half_passes": 17.2066,
                "accurate_own_half_passes": 15.4543,
                "total_opp_half_passes": 21.7627,
                "accurate_opp_half_passes": 17.7655,
                "crosses_total": 0.0485,
                "crosses_accurate": 0.0243,
                "touches": 50.1968,
                "possession_lost": 8.4362,
                "dispossessed": 1.5175,
                "duels_lost": 5.1787,
                "aerial_won": 1.6463,
                "aerial_lost": 1.4473,
                "interceptions": 0.188,
                "tackles_won": 0.6408,
                "tackles": 1.3938,
                "clearances": 0.928,
                "total_contest": 0.6498,
                "won_contest": 0.3596,
                "challenges_lost": 0.5501,
                "fouls": 1.3735,
                "fouls_drawn": 1.5983,
                "blocks": 0.3595,
                "big_chances_created": 0.0891,
                "big_chances_missed": 0.0336,
                "xgot": 0.0705,
                "ball_carries": 15.4602,
                "total_progression": 25.2287,
                "progressive_carries": 0.3683,
                "shots_off_target": 0.4654
              },
              "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": "Valencia",
                    "minutes": 21.0,
                    "is_starting": false,
                    "weight": 0.1551,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Atlético Madrid",
                    "minutes": 85.0,
                    "is_starting": true,
                    "weight": 0.1318,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-09-07",
                    "opponent": "Elche",
                    "minutes": 70.0,
                    "is_starting": true,
                    "weight": 0.1121,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-09-03",
                    "opponent": "Celta Vigo",
                    "minutes": 61.0,
                    "is_starting": true,
                    "weight": 0.0953,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Espanyol",
                    "minutes": 28.0,
                    "is_starting": false,
                    "weight": 0.081,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-26",
                    "opponent": "Real Madrid",
                    "minutes": 66.0,
                    "is_starting": true,
                    "weight": 0.0688,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Betis",
                    "minutes": 72.0,
                    "is_starting": true,
                    "weight": 0.0585,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0497,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Girona FC",
                    "minutes": 87.0,
                    "is_starting": true,
                    "weight": 0.0423,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-05-04",
                    "opponent": "Sevilla",
                    "minutes": 21.0,
                    "is_starting": false,
                    "weight": 0.0359,
                    "rating": 7.0
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.5057,
                  "creative_index": 0.0751,
                  "expectedGoals": 0.0208,
                  "expectedAssists": 0.0198,
                  "onTargetScoringAttempt": 0.2156
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.5368731021881104,
                    "model_output": 0.5369,
                    "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.1329
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.1314
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0967
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0861
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0401
                        }
                      ],
                      "others": -0.1274,
                      "total": 0.5369,
                      "log_link": true,
                      "margin_base": -0.121432,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.139777
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.138172
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.115467
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.115414
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.058569
                        }
                      ],
                      "others_margin": -0.212717
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.0371474027633667,
                    "model_output": 0.0371,
                    "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.0204
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0129
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0069
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0052
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0028
                        }
                      ],
                      "others": -0.014,
                      "total": 0.0371,
                      "log_link": true,
                      "margin_base": -2.458929,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": -0.27319
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.221505
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.124284
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.092027
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.053138
                        }
                      ],
                      "others_margin": -0.318356
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.04607858881354332,
                    "model_output": 0.0461,
                    "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.0189
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0061
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0061
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": -0.005
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0045
                        }
                      ],
                      "others": -0.0113,
                      "total": 0.0461,
                      "log_link": true,
                      "margin_base": -2.456317,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": -0.249357
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.08724
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.087024
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": -0.07776
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.074728
                        }
                      ],
                      "others_margin": -0.219461
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.04839007556438446,
                    "model_output": 0.0484,
                    "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.0314
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0108
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0069
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0033
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0028
                        }
                      ],
                      "others": -0.0104,
                      "total": 0.0484,
                      "log_link": true,
                      "margin_base": -2.368441,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.408141
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.190355
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.1262
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.054259
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.046589
                        }
                      ],
                      "others_margin": -0.195395
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.07089231163263321,
                    "model_output": 0.0709,
                    "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.0172
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0122
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0084
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0068
                        },
                        {
                          "name": "dispossessed",
                          "contribution": 0.0061
                        }
                      ],
                      "others": -0.0176,
                      "total": 0.0709,
                      "log_link": true,
                      "margin_base": -2.337105,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.196378
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.166862
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.117747
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.085977
                        },
                        {
                          "name": "dispossessed",
                          "margin": 0.071038
                        }
                      ],
                      "others_margin": -0.221011
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.21108204126358032,
                    "model_output": 0.2111,
                    "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.0898
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0431
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0291
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0224
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0131
                        }
                      ],
                      "others": -0.0184,
                      "total": 0.2111,
                      "log_link": true,
                      "margin_base": -1.126872,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.324721
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.203487
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.141583
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.096735
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.05532
                        }
                      ],
                      "others_margin": -0.083424
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.676464319229126,
                    "model_output": 0.6765,
                    "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.2692
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.123
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0538
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.048
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0299
                        }
                      ],
                      "others": -0.0954,
                      "total": 0.6765,
                      "log_link": false,
                      "margin_base": 0.989981,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.269201
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.12298
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.053849
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.048029
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.02991
                        }
                      ],
                      "others_margin": -0.095328
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.79680061340332,
                    "model_output": 6.7968,
                    "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.0294
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0202
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0163
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.011
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.011
                        }
                      ],
                      "others": -0.0465,
                      "total": 6.7968,
                      "log_link": false,
                      "margin_base": 6.850356,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.02937
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.020221
                        },
                        {
                          "name": "rating",
                          "margin": -0.016276
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.011035
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.010978
                        }
                      ],
                      "others_margin": -0.046486
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 21,
                  "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.9980, quality 0.470)",
              "stats": {
                "key_pass": 0.5358,
                "expected_assists": 0.0371,
                "assists": 0.046,
                "assist_rate": 0.046,
                "expected_goals": 0.0483,
                "goals": 0.0708,
                "goal_rate": 0.0708,
                "shots_on_target": 0.2107,
                "total_shots": 0.6752,
                "rating": 6.7968,
                "minutes": 73.65,
                "total_pass": 38.8914,
                "accurate_pass": 33.1535,
                "duels_won": 4.988,
                "total_long_balls": 1.8538,
                "accurate_long_balls": 0.9653,
                "total_own_half_passes": 17.1722,
                "accurate_own_half_passes": 15.4234,
                "total_opp_half_passes": 21.7192,
                "accurate_opp_half_passes": 17.73,
                "crosses_total": 0.0484,
                "crosses_accurate": 0.0243,
                "touches": 50.0964,
                "possession_lost": 8.4193,
                "dispossessed": 1.5145,
                "duels_lost": 5.1683,
                "aerial_won": 1.643,
                "aerial_lost": 1.4444,
                "interceptions": 0.1876,
                "tackles_won": 0.6395,
                "tackles": 1.391,
                "clearances": 0.9261,
                "total_contest": 0.6485,
                "won_contest": 0.3589,
                "challenges_lost": 0.549,
                "fouls": 1.3708,
                "fouls_drawn": 1.5951,
                "blocks": 0.3588,
                "big_chances_created": 0.0889,
                "big_chances_missed": 0.0335,
                "xgot": 0.0704,
                "ball_carries": 15.4293,
                "total_progression": 25.1782,
                "progressive_carries": 0.3676,
                "shots_off_target": 0.4645
              },
              "params": {
                "market_value_eur": 5600000,
                "quality_factor": 0.4695,
                "boost_factor": 0.998,
                "reference_quality": 0.505,
                "history_matches": 21,
                "history_shrink": 0.1923,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0208)",
              "stats": {
                "key_pass": 0.5358,
                "expected_assists": 0.0371,
                "assists": 0.045,
                "assist_rate": 0.045,
                "expected_goals": 0.0483,
                "goals": 0.0693,
                "goal_rate": 0.0693,
                "shots_on_target": 0.2131,
                "total_shots": 0.668,
                "rating": 6.7968,
                "minutes": 73.65,
                "total_pass": 38.8914,
                "accurate_pass": 33.1535,
                "duels_won": 4.988,
                "total_long_balls": 1.8538,
                "accurate_long_balls": 0.9653,
                "total_own_half_passes": 17.1722,
                "accurate_own_half_passes": 15.4234,
                "total_opp_half_passes": 21.7192,
                "accurate_opp_half_passes": 17.73,
                "crosses_total": 0.0474,
                "crosses_accurate": 0.0243,
                "touches": 50.0964,
                "possession_lost": 8.4193,
                "dispossessed": 1.5145,
                "duels_lost": 5.1683,
                "aerial_won": 1.643,
                "aerial_lost": 1.4444,
                "interceptions": 0.1905,
                "tackles_won": 0.6466,
                "tackles": 1.391,
                "clearances": 0.9261,
                "total_contest": 0.6485,
                "won_contest": 0.3589,
                "challenges_lost": 0.549,
                "fouls": 1.3832,
                "fouls_drawn": 1.6028,
                "blocks": 0.3588,
                "big_chances_created": 0.0889,
                "big_chances_missed": 0.0335,
                "xgot": 0.0704,
                "ball_carries": 15.4293,
                "total_progression": 25.1782,
                "progressive_carries": 0.3676,
                "shots_off_target": 0.4645
              },
              "params": {
                "blend_weight": 0.0208,
                "history_matches": 21,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.8183,
                "prior_reliability": 0.1667,
                "competition": "La Liga",
                "squad": "Real Sociedad"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 1.3708,
                  "after": 1.3832
                },
                {
                  "stat": "wasFouled",
                  "before": 1.5951,
                  "after": 1.6028
                },
                {
                  "stat": "totalShots",
                  "before": 0.6752,
                  "after": 0.668
                },
                {
                  "stat": "wonTackle",
                  "before": 0.6395,
                  "after": 0.6466
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.5358,
                "expected_assists": 0.0371,
                "assists": 0.045,
                "assist_rate": 0.045,
                "expected_goals": 0.0483,
                "goals": 0.0693,
                "goal_rate": 0.0693,
                "shots_on_target": 0.2131,
                "total_shots": 0.6776,
                "rating": 6.7968,
                "minutes": 73.65,
                "total_pass": 38.8914,
                "accurate_pass": 33.1535,
                "duels_won": 4.988,
                "total_long_balls": 1.8538,
                "accurate_long_balls": 0.9653,
                "total_own_half_passes": 17.1722,
                "accurate_own_half_passes": 15.4234,
                "total_opp_half_passes": 21.7192,
                "accurate_opp_half_passes": 17.73,
                "crosses_total": 0.0474,
                "crosses_accurate": 0.0243,
                "touches": 50.0964,
                "possession_lost": 8.4193,
                "dispossessed": 1.5145,
                "duels_lost": 5.1683,
                "aerial_won": 1.643,
                "aerial_lost": 1.4444,
                "interceptions": 0.1905,
                "tackles_won": 0.6466,
                "tackles": 1.391,
                "clearances": 0.9261,
                "total_contest": 0.6485,
                "won_contest": 0.3589,
                "challenges_lost": 0.549,
                "fouls": 1.3832,
                "fouls_drawn": 1.6028,
                "blocks": 0.3588,
                "big_chances_created": 0.0889,
                "big_chances_missed": 0.0335,
                "xgot": 0.0704,
                "ball_carries": 15.4293,
                "total_progression": 25.1782,
                "progressive_carries": 0.3676,
                "shots_off_target": 0.4645
              },
              "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.5358,
                "expected_assists": 0.0371,
                "assists": 0.045,
                "assist_rate": 0.045,
                "expected_goals": 0.0504,
                "goals": 0.0723,
                "goal_rate": 0.0723,
                "shots_on_target": 0.2223,
                "total_shots": 0.7069,
                "rating": 6.7968,
                "minutes": 73.65,
                "total_pass": 38.8914,
                "accurate_pass": 33.1535,
                "duels_won": 4.988,
                "total_long_balls": 1.8538,
                "accurate_long_balls": 0.9653,
                "total_own_half_passes": 17.1722,
                "accurate_own_half_passes": 15.4234,
                "total_opp_half_passes": 21.7192,
                "accurate_opp_half_passes": 17.73,
                "crosses_total": 0.0474,
                "crosses_accurate": 0.0243,
                "touches": 50.0964,
                "possession_lost": 8.4193,
                "dispossessed": 1.5145,
                "duels_lost": 5.1683,
                "aerial_won": 1.1,
                "aerial_lost": 1.4444,
                "interceptions": 0.1905,
                "tackles_won": 0.6466,
                "tackles": 1.391,
                "clearances": 0.9261,
                "total_contest": 0.6485,
                "won_contest": 0.3589,
                "challenges_lost": 0.549,
                "fouls": 1.3832,
                "fouls_drawn": 1.6028,
                "blocks": 0.3588,
                "big_chances_created": 0.0889,
                "big_chances_missed": 0.035,
                "xgot": 0.0734,
                "ball_carries": 15.4293,
                "total_progression": 25.1782,
                "progressive_carries": 0.3676,
                "shots_off_target": 0.4846,
                "duel_xg_multiplier": 1.0433,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.479,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Lorenzo Amatucci",
                "opponent_faced": "Lorenzo Amatucci",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Lorenzo Amatucci",
                  "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                  "duel_win_rate": 0.479,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 1.0433,
                  "skill_edge": -0.0185,
                  "height_edge": 0.048,
                  "attacker_skill": 0.4772,
                  "defender_skill": 0.5183,
                  "attacker_role": "CM",
                  "attacker_mv_price_index": 0.9,
                  "defender_adjusted_parts": [
                    {
                      "player": "Lorenzo Amatucci",
                      "market_value": 8199999,
                      "role": "CDM",
                      "price_index": 0.85,
                      "adjusted_quality": 0.5183
                    }
                  ],
                  "xg_override": 0.0504
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 1.643,
                  "after": 1.1
                },
                {
                  "stat": "totalShots",
                  "before": 0.6776,
                  "after": 0.7069
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.4645,
                  "after": 0.4846
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.2131,
                  "after": 0.2223
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.50 (squad xG sum 1.3182, xG scale 1.1364, xA scale 1.1588, team xA 0.97 = 0.65 x lambda)",
              "stats": {
                "key_pass": 0.5358,
                "expected_assists": 0.043,
                "assist_rate": 0.045,
                "assists": 0,
                "expected_goals": 0.0573,
                "goal_rate": 0.0723,
                "goals": 0,
                "shots_on_target": 0.2223,
                "total_shots": 0.7069,
                "rating": 6.7968,
                "minutes": 73.65,
                "total_pass": 38.8914,
                "accurate_pass": 33.1535,
                "duels_won": 4.988,
                "total_long_balls": 1.8538,
                "accurate_long_balls": 0.9653,
                "total_own_half_passes": 17.1722,
                "accurate_own_half_passes": 15.4234,
                "total_opp_half_passes": 21.7192,
                "accurate_opp_half_passes": 17.73,
                "crosses_total": 0.0474,
                "crosses_accurate": 0.0243,
                "touches": 50.0964,
                "possession_lost": 8.4193,
                "dispossessed": 1.5145,
                "duels_lost": 5.1683,
                "aerial_won": 1.1,
                "aerial_lost": 1.4444,
                "interceptions": 0.1905,
                "tackles_won": 0.6466,
                "tackles": 1.391,
                "clearances": 0.9261,
                "total_contest": 0.6485,
                "won_contest": 0.3589,
                "challenges_lost": 0.549,
                "fouls": 1.3832,
                "fouls_drawn": 1.6028,
                "blocks": 0.3588,
                "big_chances_created": 0.0889,
                "big_chances_missed": 0.035,
                "xgot": 0.0834,
                "ball_carries": 15.4293,
                "total_progression": 25.1782,
                "progressive_carries": 0.3676,
                "shots_off_target": 0.4846,
                "duel_xg_multiplier": 1.0433,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.479,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Lorenzo Amatucci",
                "opponent_faced": "Lorenzo Amatucci",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.2181,
                "creation_factor": 1.0907
              },
              "params": {
                "team_lambda": 1.498,
                "squad_xg_sum": 1.3182,
                "squad_xa_sum": 0.8402,
                "team_expected_assists": 0.9737,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1364,
                "xa_scale": 1.1588,
                "opponent_lambda": 0.805,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0504,
                  "after": 0.0573
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0371,
                  "after": 0.043
                }
              ]
            },
            {
              "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": {
                "key_pass": 0.5358,
                "expected_assists": 0.043,
                "assist_rate": 0.045,
                "assists": 0,
                "expected_goals": 0.0573,
                "goal_rate": 0.0723,
                "goals": 0,
                "shots_on_target": 0.2223,
                "total_shots": 0.7069,
                "rating": 6.7968,
                "minutes": 73.65,
                "total_pass": 38.8914,
                "accurate_pass": 33.1535,
                "duels_won": 4.988,
                "total_long_balls": 1.8538,
                "accurate_long_balls": 0.9653,
                "total_own_half_passes": 17.1722,
                "accurate_own_half_passes": 15.4234,
                "total_opp_half_passes": 21.7192,
                "accurate_opp_half_passes": 17.73,
                "crosses_total": 0.0474,
                "crosses_accurate": 0.0243,
                "touches": 50.0964,
                "possession_lost": 8.4193,
                "dispossessed": 1.5145,
                "duels_lost": 5.1683,
                "aerial_won": 1.1,
                "aerial_lost": 1.4444,
                "interceptions": 0.1905,
                "tackles_won": 0.6466,
                "tackles": 1.391,
                "clearances": 0.9261,
                "total_contest": 0.6485,
                "won_contest": 0.3589,
                "challenges_lost": 0.549,
                "fouls": 1.3832,
                "fouls_drawn": 1.6028,
                "blocks": 0.3588,
                "big_chances_created": 0.0889,
                "big_chances_missed": 0.035,
                "xgot": 0.0834,
                "ball_carries": 15.4293,
                "total_progression": 25.1782,
                "progressive_carries": 0.3676,
                "shots_off_target": 0.4846,
                "duel_xg_multiplier": 1.0433,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.479,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Lorenzo Amatucci",
                "opponent_faced": "Lorenzo Amatucci",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.2181,
                "creation_factor": 1.0907,
                "fifa_overall": 78.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": 2294,
                "fifa_rank": 1233.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.5358,
                "expected_assists": 0.043,
                "assist_rate": 0.045,
                "assists": 0,
                "expected_goals": 0.0573,
                "goal_rate": 0.0723,
                "goals": 0,
                "shots_on_target": 0.2223,
                "total_shots": 0.7069,
                "rating": 6.7968,
                "minutes": 73.65,
                "total_pass": 38.8914,
                "accurate_pass": 33.1535,
                "duels_won": 4.988,
                "total_long_balls": 1.8538,
                "accurate_long_balls": 0.9653,
                "total_own_half_passes": 17.1722,
                "accurate_own_half_passes": 15.4234,
                "total_opp_half_passes": 21.7192,
                "accurate_opp_half_passes": 17.73,
                "crosses_total": 0.0474,
                "crosses_accurate": 0.0243,
                "touches": 50.0964,
                "possession_lost": 8.4193,
                "dispossessed": 1.5145,
                "duels_lost": 5.1683,
                "aerial_won": 1.1,
                "aerial_lost": 1.4444,
                "interceptions": 0.1905,
                "tackles_won": 0.6466,
                "tackles": 1.391,
                "clearances": 0.9261,
                "total_contest": 0.6485,
                "won_contest": 0.3589,
                "challenges_lost": 0.549,
                "fouls": 1.3832,
                "fouls_drawn": 1.6028,
                "blocks": 0.3588,
                "big_chances_created": 0.0889,
                "big_chances_missed": 0.035,
                "xgot": 0.0834,
                "ball_carries": 15.4293,
                "total_progression": 25.1782,
                "progressive_carries": 0.3676,
                "shots_off_target": 0.4846,
                "duel_xg_multiplier": 1.0433,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.479,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Lorenzo Amatucci",
                "opponent_faced": "Lorenzo Amatucci",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0557,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.2181,
                "creation_factor": 1.0907,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0557,
                "scorer_weight": 0.0698,
                "squad_weight_total": 1.6252,
                "weight_share": 0.0429,
                "finishing_factor": 1.2181,
                "appearance_weight": 1.0,
                "weight_rank": 10,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Mikel Oyarzabal",
                    "weight": 0.301,
                    "already": 0,
                    "effective_weight": 0.301,
                    "runner_up": "Luka Sučić",
                    "runner_up_effective_weight": 0.2755
                  }
                ]
              }
            },
            {
              "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.5358,
                "expected_assists": 0.043,
                "assist_rate": 0.045,
                "assists": 0,
                "expected_goals": 0.0573,
                "goal_rate": 0.0723,
                "goals": 0,
                "shots_on_target": 0.2223,
                "total_shots": 0.7069,
                "rating": 6.7968,
                "minutes": 73.65,
                "total_pass": 38.8914,
                "accurate_pass": 33.1535,
                "duels_won": 4.988,
                "total_long_balls": 1.8538,
                "accurate_long_balls": 0.9653,
                "total_own_half_passes": 17.1722,
                "accurate_own_half_passes": 15.4234,
                "total_opp_half_passes": 21.7192,
                "accurate_opp_half_passes": 17.73,
                "crosses_total": 0.0474,
                "crosses_accurate": 0.0243,
                "touches": 50.0964,
                "possession_lost": 8.4193,
                "dispossessed": 1.5145,
                "duels_lost": 5.1683,
                "aerial_won": 1.1,
                "aerial_lost": 1.4444,
                "interceptions": 0.1905,
                "tackles_won": 0.6466,
                "tackles": 1.391,
                "clearances": 0.9261,
                "total_contest": 0.6485,
                "won_contest": 0.3589,
                "challenges_lost": 0.549,
                "fouls": 1.3832,
                "fouls_drawn": 1.6028,
                "blocks": 0.3588,
                "big_chances_created": 0.0889,
                "big_chances_missed": 0.035,
                "xgot": 0.0834,
                "ball_carries": 15.4293,
                "total_progression": 25.1782,
                "progressive_carries": 0.3676,
                "shots_off_target": 0.4846,
                "duel_xg_multiplier": 1.0433,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.479,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Lorenzo Amatucci",
                "opponent_faced": "Lorenzo Amatucci",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0557,
                "projected_assists": 0,
                "assist_probability": 0.0421,
                "finishing_factor": 1.2181,
                "creation_factor": 1.0907,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0421,
                "provider_weight": 0.0469,
                "squad_weight_total": 1.0056,
                "weight_share": 0.0466,
                "creation_factor": 1.0907,
                "appearance_weight": 1.0,
                "weight_rank": 7,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Sergio Gómez",
                    "weight": 0.1771,
                    "already": 0,
                    "effective_weight": 0.1771,
                    "runner_up": "Carlos Soler",
                    "runner_up_effective_weight": 0.1401,
                    "blocked_own_goal": [
                      "Mikel Oyarzabal"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Ander Barrenetxea": {
          "player_id": 966862,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 7,
          "height": 174,
          "market_value": 17200000,
          "stats": {
            "expected_goals": 0.18,
            "goal_rate": 0.1943,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 2,
            "expected_assists": 0.1104,
            "key_pass": 1,
            "rating": 6.8465,
            "minutes": 67,
            "total_pass": 24,
            "accurate_pass": 19,
            "duels_won": 4,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "total_opp_half_passes": 18,
            "accurate_opp_half_passes": 13,
            "crosses_total": 2,
            "crosses_accurate": 0,
            "touches": 42,
            "possession_lost": 12.7326,
            "dispossessed": 1.8204,
            "duels_lost": 6,
            "aerial_lost": 0,
            "total_contest": 4,
            "won_contest": 2,
            "ball_recovery": 3,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "assist_rate": 0.1071,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.1759,
            "offsides": 0,
            "ball_carries": 14,
            "total_progression": 52,
            "progressive_carries": 2,
            "shots_off_target": 1,
            "duel_xg_multiplier": 1.0237,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.4,
            "aerial_won": 1,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.216,
            "pressing_faced": "LOW",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "José María Giménez, Lucas Noubi",
            "opponent_faced": "José María Giménez, Lucas Noubi",
            "antagonist_source": "attacking_duel",
            "projected_goals": 0,
            "goal_probability": 0.1647,
            "projected_assists": 0,
            "assist_probability": 0.1045,
            "finishing_factor": 1.1723,
            "creation_factor": 1.0812,
            "fifa_overall": 81.0
          },
          "latest_10_games": [
            {
              "match_id": 16416297,
              "match_date": "2026-09-20",
              "home_team": "Valencia",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Valencia",
              "stats": {
                "minutes": 29,
                "rating": 7.2,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2601,
                "expected_assists": 0.0116,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 12,
                "accurate_pass": 8,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "duels_won": 4,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416332,
              "match_date": "2026-09-13",
              "home_team": "Real Sociedad",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 72,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0467,
                "expected_assists": 0.0208,
                "total_shots": 2,
                "total_pass": 18,
                "accurate_pass": 14,
                "tackles": 1,
                "interceptions": 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": 16416340,
              "match_date": "2026-09-03",
              "home_team": "Real Sociedad",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 71,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0924,
                "expected_assists": 0.0104,
                "total_shots": 1,
                "total_pass": 26,
                "accurate_pass": 20,
                "tackles": 1,
                "tackles_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": 16416310,
              "match_date": "2026-08-29",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 63,
                "rating": 7.1,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1233,
                "expected_assists": 0.0122,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 17,
                "accurate_pass": 15,
                "key_pass": 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": 16421051,
              "match_date": "2026-08-26",
              "home_team": "Real Madrid",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 24,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0016,
                "total_shots": 0,
                "total_pass": 10,
                "accurate_pass": 8,
                "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": 16416293,
              "match_date": "2026-08-21",
              "home_team": "Real Betis",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 58,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0292,
                "expected_assists": 0.0355,
                "total_shots": 1,
                "total_pass": 15,
                "accurate_pass": 11,
                "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": 14083624,
              "match_date": "2026-05-14",
              "home_team": "Girona FC",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 34,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1694,
                "expected_assists": 0.0022,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 15,
                "accurate_pass": 13,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 5,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "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": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0225,
                "expected_assists": 0.5795,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 56,
                "accurate_pass": 48,
                "key_pass": 2,
                "tackles": 2,
                "tackles_won": 2,
                "duels_won": 5,
                "ball_recovery": 3
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083526,
              "match_date": "2026-05-04",
              "home_team": "Sevilla",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 82,
                "rating": 5.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0151,
                "expected_assists": 0.0101,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 27,
                "accurate_pass": 22,
                "interceptions": 1,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 5
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083239,
              "match_date": "2026-04-26",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 56,
                "rating": 6.9,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.0437,
                "expected_assists": 0.0211,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 20,
                "accurate_pass": 12,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "duels_won": 8,
                "ball_recovery": 4
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 1136,
            "combined_rank_score": 550.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 511.0,
            "sofascore_rating": 6.85,
            "sofascore_appearances": 30.0,
            "fifa_rank": 589.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.8465,
            "source_file": "data/player_rankings.csv",
            "player_name": "Ander Barrenetxea",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Ousmane Diomande",
                  "ranking": 1131
                },
                {
                  "player_name": "Rui Silva",
                  "ranking": 1132
                },
                {
                  "player_name": "Abror Karimov",
                  "ranking": 1133
                },
                {
                  "player_name": "Maximiliano Guerrero",
                  "ranking": 1134
                },
                {
                  "player_name": "Agustín Urzi",
                  "ranking": 1135
                }
              ],
              "lower": [
                {
                  "player_name": "Youstin Salas",
                  "ranking": 1137
                },
                {
                  "player_name": "Jegal Jae-min",
                  "ranking": 1138
                },
                {
                  "player_name": "Jin-hyeok Kim",
                  "ranking": 1139
                },
                {
                  "player_name": "Imeda Ashortia",
                  "ranking": 1140
                },
                {
                  "player_name": "Sunnatilla Abdullazhonov",
                  "ranking": 1141
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.774,
          "history_matches": 36,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 36,
            "data_confidence": 0.774,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0036,
            "fbref_prior_metrics": {
              "squad": "Real Sociedad",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 4.0,
              "starts": 3.0,
              "minutes": 214.0,
              "goals_per90": 0.4166666666666667,
              "assists_per90": 0.0,
              "shots_per90": 1.68,
              "shots_on_target_pct": 25.0,
              "prior_reliability": 0.16
            },
            "rationale": "XGBoost regressor (F_service) evaluated 36 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Real Sociedad, rel: 0.16, gls/90: 0.4166666666666667, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.1542,
                "goals": 0.1877,
                "goal_rate": 0.1877,
                "shots_on_target": 0.5692,
                "total_shots": 1.5767,
                "expected_assists": 0.095,
                "key_pass": 1.1208,
                "rating": 6.8465,
                "minutes": 66.85,
                "total_pass": 23.8485,
                "accurate_pass": 19.2227,
                "duels_won": 4.0269,
                "total_long_balls": 0.9295,
                "accurate_long_balls": 0.5623,
                "total_opp_half_passes": 17.6157,
                "accurate_opp_half_passes": 13.3805,
                "crosses_total": 2.2716,
                "crosses_accurate": 0.4291,
                "touches": 41.5341,
                "possession_lost": 12.6869,
                "dispossessed": 1.8139,
                "duels_lost": 5.7025,
                "aerial_lost": 0.423,
                "total_contest": 3.5564,
                "won_contest": 1.9072,
                "ball_recovery": 3.3172,
                "challenges_lost": 0.6667,
                "fouls": 1.1959,
                "fouls_drawn": 0.915,
                "assists": 0.1081,
                "assist_rate": 0.1081,
                "interceptions": 0.4521,
                "tackles_won": 0.5898,
                "tackles": 1.0466,
                "clearances": 0.2982,
                "blocks": 0.2749,
                "big_chances_created": 0.1789,
                "big_chances_missed": 0.1067,
                "xgot": 0.1507,
                "offsides": 0.348,
                "ball_carries": 13.9849,
                "total_progression": 51.3345,
                "progressive_carries": 2.2834,
                "shots_off_target": 1.0075
              },
              "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": "Valencia",
                    "minutes": 29.0,
                    "is_starting": false,
                    "weight": 0.1504,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Atlético Madrid",
                    "minutes": 72.0,
                    "is_starting": true,
                    "weight": 0.1279,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-03",
                    "opponent": "Celta Vigo",
                    "minutes": 71.0,
                    "is_starting": true,
                    "weight": 0.1087,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Espanyol",
                    "minutes": 63.0,
                    "is_starting": true,
                    "weight": 0.0924,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-26",
                    "opponent": "Real Madrid",
                    "minutes": 24.0,
                    "is_starting": false,
                    "weight": 0.0785,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Betis",
                    "minutes": 58.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Girona FC",
                    "minutes": 34.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-09",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-05-04",
                    "opponent": "Sevilla",
                    "minutes": 82.0,
                    "is_starting": true,
                    "weight": 0.041,
                    "rating": 5.5
                  },
                  {
                    "match_date": "2026-04-26",
                    "opponent": "Rayo Vallecano",
                    "minutes": 56.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.9
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "expectedGoals": 0.0959,
                  "totalOppositionHalfPasses": 14.5804,
                  "accurateOppositionHalfPasses": 10.8392,
                  "accuratePass": 15.7321,
                  "totalShots": 1.3145
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.1541859358549118,
                    "model_output": 0.1542,
                    "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.0582
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0498
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0164
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0102
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0083
                        }
                      ],
                      "others": -0.0337,
                      "total": 0.1542,
                      "log_link": true,
                      "margin_base": -1.62027,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.258037
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.216386
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.082602
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": -0.054951
                        },
                        {
                          "name": "goals",
                          "margin": 0.044968
                        }
                      ],
                      "others_margin": -0.198392
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.18767227232456207,
                    "model_output": 0.1877,
                    "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.0769
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.055
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0166
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0165
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0079
                        }
                      ],
                      "others": -0.0294,
                      "total": 0.1877,
                      "log_link": true,
                      "margin_base": -1.593696,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.320912
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.21846
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.076377
                        },
                        {
                          "name": "goals",
                          "margin": 0.076237
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.035633
                        }
                      ],
                      "others_margin": -0.146041
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.5691834092140198,
                    "model_output": 0.5692,
                    "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.1731
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0596
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0383
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0302
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0224
                        }
                      ],
                      "others": -0.0349,
                      "total": 0.5692,
                      "log_link": true,
                      "margin_base": -0.622283,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.279539
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.087758
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.060744
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.050589
                        },
                        {
                          "name": "goals",
                          "margin": 0.037769
                        }
                      ],
                      "others_margin": -0.059487
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.576654314994812,
                    "model_output": 1.5767,
                    "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.4369
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0855
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0609
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0514
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0318
                        }
                      ],
                      "others": -0.067,
                      "total": 1.5767,
                      "log_link": false,
                      "margin_base": 1.372807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.436914
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.085495
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.060899
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.051429
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.031792
                        }
                      ],
                      "others_margin": -0.067036
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.09496115148067474,
                    "model_output": 0.095,
                    "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.0135
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0118
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0094
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0049
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0042
                        }
                      ],
                      "others": -0.0029,
                      "total": 0.095,
                      "log_link": true,
                      "margin_base": -2.751197,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.191931
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.141406
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.100714
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.051117
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.044088
                        }
                      ],
                      "others_margin": -0.030113
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 1.12078058719635,
                    "model_output": 1.1208,
                    "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.1712
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0899
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0443
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0385
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0381
                        }
                      ],
                      "others": 0.143,
                      "total": 1.1208,
                      "log_link": true,
                      "margin_base": -0.396376,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.226722
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.101264
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.046388
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.040128
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.039788
                        }
                      ],
                      "others_margin": 0.136367
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.84652853012085,
                    "model_output": 6.8465,
                    "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.0573
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0177
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0144
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0144
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0114
                        }
                      ],
                      "others": 0.0193,
                      "total": 6.8465,
                      "log_link": false,
                      "margin_base": 6.763607,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.057319
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.017721
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.014437
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.014382
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.011401
                        }
                      ],
                      "others_margin": 0.019228
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 36,
                  "role_matches": 26,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0036, quality 0.603)",
              "stats": {
                "expected_goals": 0.1547,
                "goals": 0.1883,
                "goal_rate": 0.1883,
                "shots_on_target": 0.5712,
                "total_shots": 1.5824,
                "expected_assists": 0.0953,
                "key_pass": 1.1248,
                "rating": 6.8465,
                "minutes": 66.85,
                "total_pass": 23.9344,
                "accurate_pass": 19.2919,
                "duels_won": 4.0414,
                "total_long_balls": 0.9328,
                "accurate_long_balls": 0.5643,
                "total_opp_half_passes": 17.6791,
                "accurate_opp_half_passes": 13.4287,
                "crosses_total": 2.2798,
                "crosses_accurate": 0.4306,
                "touches": 41.6836,
                "possession_lost": 12.7326,
                "dispossessed": 1.8204,
                "duels_lost": 5.723,
                "aerial_lost": 0.4245,
                "total_contest": 3.5692,
                "won_contest": 1.9141,
                "ball_recovery": 3.3291,
                "challenges_lost": 0.6691,
                "fouls": 1.2002,
                "fouls_drawn": 0.9183,
                "assists": 0.1085,
                "assist_rate": 0.1085,
                "interceptions": 0.4537,
                "tackles_won": 0.5919,
                "tackles": 1.0504,
                "clearances": 0.2993,
                "blocks": 0.2759,
                "big_chances_created": 0.1795,
                "big_chances_missed": 0.1071,
                "xgot": 0.1512,
                "offsides": 0.3493,
                "ball_carries": 14.0352,
                "total_progression": 51.5193,
                "progressive_carries": 2.2916,
                "shots_off_target": 1.0111
              },
              "params": {
                "market_value_eur": 17200000,
                "quality_factor": 0.6027,
                "boost_factor": 1.0036,
                "reference_quality": 0.505,
                "history_matches": 36,
                "history_shrink": 0.122,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0127)",
              "stats": {
                "expected_goals": 0.1547,
                "goals": 0.1898,
                "goal_rate": 0.1898,
                "shots_on_target": 0.5679,
                "total_shots": 1.5782,
                "expected_assists": 0.0953,
                "key_pass": 1.1248,
                "rating": 6.8465,
                "minutes": 66.85,
                "total_pass": 23.9344,
                "accurate_pass": 19.2919,
                "duels_won": 4.0414,
                "total_long_balls": 0.9328,
                "accurate_long_balls": 0.5643,
                "total_opp_half_passes": 17.6791,
                "accurate_opp_half_passes": 13.4287,
                "crosses_total": 2.2744,
                "crosses_accurate": 0.4306,
                "touches": 41.6836,
                "possession_lost": 12.7326,
                "dispossessed": 1.8204,
                "duels_lost": 5.723,
                "aerial_lost": 0.4245,
                "total_contest": 3.5692,
                "won_contest": 1.9141,
                "ball_recovery": 3.3291,
                "challenges_lost": 0.6691,
                "fouls": 1.2007,
                "fouls_drawn": 0.9224,
                "assists": 0.1071,
                "assist_rate": 0.1071,
                "interceptions": 0.4479,
                "tackles_won": 0.5883,
                "tackles": 1.0504,
                "clearances": 0.2993,
                "blocks": 0.2759,
                "big_chances_created": 0.1795,
                "big_chances_missed": 0.1071,
                "xgot": 0.1512,
                "offsides": 0.3488,
                "ball_carries": 14.0352,
                "total_progression": 51.5193,
                "progressive_carries": 2.2916,
                "shots_off_target": 1.0111
              },
              "params": {
                "blend_weight": 0.0127,
                "history_matches": 36,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.7428,
                "prior_reliability": 0.16,
                "competition": "La Liga",
                "squad": "Real Sociedad"
              },
              "changes": [
                {
                  "stat": "interceptionWon",
                  "before": 0.4537,
                  "after": 0.4479
                },
                {
                  "stat": "totalCross",
                  "before": 2.2798,
                  "after": 2.2744
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1547,
                "goals": 0.1898,
                "goal_rate": 0.1898,
                "shots_on_target": 0.5679,
                "total_shots": 1.579,
                "expected_assists": 0.0953,
                "key_pass": 1.1248,
                "rating": 6.8465,
                "minutes": 66.85,
                "total_pass": 23.9344,
                "accurate_pass": 19.2919,
                "duels_won": 4.0414,
                "total_long_balls": 0.9328,
                "accurate_long_balls": 0.5643,
                "total_opp_half_passes": 17.6791,
                "accurate_opp_half_passes": 13.4287,
                "crosses_total": 2.2744,
                "crosses_accurate": 0.4306,
                "touches": 41.6836,
                "possession_lost": 12.7326,
                "dispossessed": 1.8204,
                "duels_lost": 5.723,
                "aerial_lost": 0.4245,
                "total_contest": 3.5692,
                "won_contest": 1.9141,
                "ball_recovery": 3.3291,
                "challenges_lost": 0.6691,
                "fouls": 1.2007,
                "fouls_drawn": 0.9224,
                "assists": 0.1071,
                "assist_rate": 0.1071,
                "interceptions": 0.4479,
                "tackles_won": 0.5883,
                "tackles": 1.0504,
                "clearances": 0.2993,
                "blocks": 0.2759,
                "big_chances_created": 0.1795,
                "big_chances_missed": 0.1071,
                "xgot": 0.1512,
                "offsides": 0.3488,
                "ball_carries": 14.0352,
                "total_progression": 51.5193,
                "progressive_carries": 2.2916,
                "shots_off_target": 1.0111
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": true
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "expected_goals": 0.1584,
                "goals": 0.1943,
                "goal_rate": 0.1943,
                "shots_on_target": 0.5814,
                "total_shots": 1.6165,
                "expected_assists": 0.0953,
                "key_pass": 1.1248,
                "rating": 6.8465,
                "minutes": 66.85,
                "total_pass": 23.9344,
                "accurate_pass": 19.2919,
                "duels_won": 4.0414,
                "total_long_balls": 0.9328,
                "accurate_long_balls": 0.5643,
                "total_opp_half_passes": 17.6791,
                "accurate_opp_half_passes": 13.4287,
                "crosses_total": 2.2744,
                "crosses_accurate": 0.4306,
                "touches": 41.6836,
                "possession_lost": 12.7326,
                "dispossessed": 1.8204,
                "duels_lost": 5.723,
                "aerial_lost": 0.4245,
                "total_contest": 3.5692,
                "won_contest": 1.9141,
                "ball_recovery": 3.3291,
                "challenges_lost": 0.6691,
                "fouls": 1.2007,
                "fouls_drawn": 0.9224,
                "assists": 0.1071,
                "assist_rate": 0.1071,
                "interceptions": 0.4479,
                "tackles_won": 0.5883,
                "tackles": 1.0504,
                "clearances": 0.2993,
                "blocks": 0.2759,
                "big_chances_created": 0.1795,
                "big_chances_missed": 0.1096,
                "xgot": 0.1548,
                "offsides": 0.3488,
                "ball_carries": 14.0352,
                "total_progression": 51.5193,
                "progressive_carries": 2.2916,
                "shots_off_target": 1.0351,
                "duel_xg_multiplier": 1.0237,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.4,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.216,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "José María Giménez, Lucas Noubi",
                "opponent_faced": "José María Giménez, Lucas Noubi",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "José María Giménez, Lucas Noubi",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.216,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v2",
                  "xg_multiplier": 1.0237,
                  "skill_edge": 0.0581,
                  "height_edge": -0.042,
                  "attacker_skill": 0.6027,
                  "defender_skill": 0.4735,
                  "attacker_role": "ST",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "José María Giménez",
                      "market_value": 5800000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.4955
                    },
                    {
                      "player": "Lucas Noubi",
                      "market_value": 3100000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.4515
                    }
                  ],
                  "xg_override": 0.1584
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.579,
                  "after": 1.6165
                },
                {
                  "stat": "shotOffTarget",
                  "before": 1.0111,
                  "after": 1.0351
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.5679,
                  "after": 0.5814
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.50 (squad xG sum 1.3182, xG scale 1.1364, xA scale 1.1588, team xA 0.97 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.18,
                "goal_rate": 0.1943,
                "goals": 0,
                "shots_on_target": 0.5814,
                "total_shots": 1.6165,
                "expected_assists": 0.1104,
                "key_pass": 1.1248,
                "rating": 6.8465,
                "minutes": 66.85,
                "total_pass": 23.9344,
                "accurate_pass": 19.2919,
                "duels_won": 4.0414,
                "total_long_balls": 0.9328,
                "accurate_long_balls": 0.5643,
                "total_opp_half_passes": 17.6791,
                "accurate_opp_half_passes": 13.4287,
                "crosses_total": 2.2744,
                "crosses_accurate": 0.4306,
                "touches": 41.6836,
                "possession_lost": 12.7326,
                "dispossessed": 1.8204,
                "duels_lost": 5.723,
                "aerial_lost": 0.4245,
                "total_contest": 3.5692,
                "won_contest": 1.9141,
                "ball_recovery": 3.3291,
                "challenges_lost": 0.6691,
                "fouls": 1.2007,
                "fouls_drawn": 0.9224,
                "assist_rate": 0.1071,
                "assists": 0,
                "interceptions": 0.4479,
                "tackles_won": 0.5883,
                "tackles": 1.0504,
                "clearances": 0.2993,
                "blocks": 0.2759,
                "big_chances_created": 0.1795,
                "big_chances_missed": 0.1096,
                "xgot": 0.1759,
                "offsides": 0.3488,
                "ball_carries": 14.0352,
                "total_progression": 51.5193,
                "progressive_carries": 2.2916,
                "shots_off_target": 1.0351,
                "duel_xg_multiplier": 1.0237,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.4,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.216,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "José María Giménez, Lucas Noubi",
                "opponent_faced": "José María Giménez, Lucas Noubi",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1723,
                "creation_factor": 1.0812
              },
              "params": {
                "team_lambda": 1.498,
                "squad_xg_sum": 1.3182,
                "squad_xa_sum": 0.8402,
                "team_expected_assists": 0.9737,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1364,
                "xa_scale": 1.1588,
                "opponent_lambda": 0.805,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1584,
                  "after": 0.18
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0953,
                  "after": 0.1104
                }
              ]
            },
            {
              "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": {
                "expected_goals": 0.18,
                "goal_rate": 0.1943,
                "goals": 0,
                "shots_on_target": 0.5814,
                "total_shots": 1.6165,
                "expected_assists": 0.1104,
                "key_pass": 1.1248,
                "rating": 6.8465,
                "minutes": 66.85,
                "total_pass": 23.9344,
                "accurate_pass": 19.2919,
                "duels_won": 4.0414,
                "total_long_balls": 0.9328,
                "accurate_long_balls": 0.5643,
                "total_opp_half_passes": 17.6791,
                "accurate_opp_half_passes": 13.4287,
                "crosses_total": 2.2744,
                "crosses_accurate": 0.4306,
                "touches": 41.6836,
                "possession_lost": 12.7326,
                "dispossessed": 1.8204,
                "duels_lost": 5.723,
                "aerial_lost": 0.4245,
                "total_contest": 3.5692,
                "won_contest": 1.9141,
                "ball_recovery": 3.3291,
                "challenges_lost": 0.6691,
                "fouls": 1.2007,
                "fouls_drawn": 0.9224,
                "assist_rate": 0.1071,
                "assists": 0,
                "interceptions": 0.4479,
                "tackles_won": 0.5883,
                "tackles": 1.0504,
                "clearances": 0.2993,
                "blocks": 0.2759,
                "big_chances_created": 0.1795,
                "big_chances_missed": 0.1096,
                "xgot": 0.1759,
                "offsides": 0.3488,
                "ball_carries": 14.0352,
                "total_progression": 51.5193,
                "progressive_carries": 2.2916,
                "shots_off_target": 1.0351,
                "duel_xg_multiplier": 1.0237,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.4,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.216,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "José María Giménez, Lucas Noubi",
                "opponent_faced": "José María Giménez, Lucas Noubi",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1723,
                "creation_factor": 1.0812,
                "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": 1136,
                "fifa_rank": 589.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.18,
                "goal_rate": 0.1943,
                "goals": 0,
                "shots_on_target": 0.5814,
                "total_shots": 1.6165,
                "expected_assists": 0.1104,
                "key_pass": 1.1248,
                "rating": 6.8465,
                "minutes": 66.85,
                "total_pass": 23.9344,
                "accurate_pass": 19.2919,
                "duels_won": 4.0414,
                "total_long_balls": 0.9328,
                "accurate_long_balls": 0.5643,
                "total_opp_half_passes": 17.6791,
                "accurate_opp_half_passes": 13.4287,
                "crosses_total": 2.2744,
                "crosses_accurate": 0.4306,
                "touches": 41.6836,
                "possession_lost": 12.7326,
                "dispossessed": 1.8204,
                "duels_lost": 5.723,
                "aerial_lost": 0.4245,
                "total_contest": 3.5692,
                "won_contest": 1.9141,
                "ball_recovery": 3.3291,
                "challenges_lost": 0.6691,
                "fouls": 1.2007,
                "fouls_drawn": 0.9224,
                "assist_rate": 0.1071,
                "assists": 0,
                "interceptions": 0.4479,
                "tackles_won": 0.5883,
                "tackles": 1.0504,
                "clearances": 0.2993,
                "blocks": 0.2759,
                "big_chances_created": 0.1795,
                "big_chances_missed": 0.1096,
                "xgot": 0.1759,
                "offsides": 0.3488,
                "ball_carries": 14.0352,
                "total_progression": 51.5193,
                "progressive_carries": 2.2916,
                "shots_off_target": 1.0351,
                "duel_xg_multiplier": 1.0237,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.4,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.216,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "José María Giménez, Lucas Noubi",
                "opponent_faced": "José María Giménez, Lucas Noubi",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.1647,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1723,
                "creation_factor": 1.0812,
                "fifa_overall": 81.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.1647,
                "scorer_weight": 0.211,
                "squad_weight_total": 1.6252,
                "weight_share": 0.1298,
                "finishing_factor": 1.1723,
                "appearance_weight": 1.0,
                "weight_rank": 3,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Mikel Oyarzabal",
                    "weight": 0.301,
                    "already": 0,
                    "effective_weight": 0.301,
                    "runner_up": "Luka Sučić",
                    "runner_up_effective_weight": 0.2755
                  }
                ]
              }
            },
            {
              "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.18,
                "goal_rate": 0.1943,
                "goals": 0,
                "shots_on_target": 0.5814,
                "total_shots": 1.6165,
                "expected_assists": 0.1104,
                "key_pass": 1.1248,
                "rating": 6.8465,
                "minutes": 66.85,
                "total_pass": 23.9344,
                "accurate_pass": 19.2919,
                "duels_won": 4.0414,
                "total_long_balls": 0.9328,
                "accurate_long_balls": 0.5643,
                "total_opp_half_passes": 17.6791,
                "accurate_opp_half_passes": 13.4287,
                "crosses_total": 2.2744,
                "crosses_accurate": 0.4306,
                "touches": 41.6836,
                "possession_lost": 12.7326,
                "dispossessed": 1.8204,
                "duels_lost": 5.723,
                "aerial_lost": 0.4245,
                "total_contest": 3.5692,
                "won_contest": 1.9141,
                "ball_recovery": 3.3291,
                "challenges_lost": 0.6691,
                "fouls": 1.2007,
                "fouls_drawn": 0.9224,
                "assist_rate": 0.1071,
                "assists": 0,
                "interceptions": 0.4479,
                "tackles_won": 0.5883,
                "tackles": 1.0504,
                "clearances": 0.2993,
                "blocks": 0.2759,
                "big_chances_created": 0.1795,
                "big_chances_missed": 0.1096,
                "xgot": 0.1759,
                "offsides": 0.3488,
                "ball_carries": 14.0352,
                "total_progression": 51.5193,
                "progressive_carries": 2.2916,
                "shots_off_target": 1.0351,
                "duel_xg_multiplier": 1.0237,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.4,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.216,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "José María Giménez, Lucas Noubi",
                "opponent_faced": "José María Giménez, Lucas Noubi",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.1647,
                "projected_assists": 0,
                "assist_probability": 0.1045,
                "finishing_factor": 1.1723,
                "creation_factor": 1.0812,
                "fifa_overall": 81.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1045,
                "provider_weight": 0.1194,
                "squad_weight_total": 1.0056,
                "weight_share": 0.1187,
                "creation_factor": 1.0812,
                "appearance_weight": 1.0,
                "weight_rank": 6,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Sergio Gómez",
                    "weight": 0.1771,
                    "already": 0,
                    "effective_weight": 0.1771,
                    "runner_up": "Carlos Soler",
                    "runner_up_effective_weight": 0.1401,
                    "blocked_own_goal": [
                      "Mikel Oyarzabal"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Sergio Gómez": {
          "player_id": 855835,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 17,
          "height": 171,
          "market_value": 14600000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 1,
            "clearances": 3,
            "aerial_won": 1,
            "total_shots": 1,
            "rating": 6.7637,
            "minutes": 85,
            "total_pass": 48,
            "accurate_pass": 42,
            "duels_won": 3,
            "total_long_balls": 4,
            "accurate_long_balls": 2,
            "total_own_half_passes": 23,
            "accurate_own_half_passes": 20,
            "total_opp_half_passes": 25,
            "accurate_opp_half_passes": 22,
            "crosses_total": 5,
            "crosses_accurate": 1,
            "touches": 73,
            "possession_lost": 13.3612,
            "dispossessed": 0.2393,
            "duels_lost": 2,
            "aerial_lost": 0,
            "total_contest": 1,
            "won_contest": 1,
            "ball_recovery": 5,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.1606,
            "assists": 1,
            "expected_goals": 0.0211,
            "expected_assists": 0.1533,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0301,
            "ball_carries": 16,
            "total_progression": 44,
            "progressive_carries": 1,
            "key_pass": 1,
            "shots_off_target": 0,
            "opponent_faced": "Bil Nsongo",
            "matchup_zone": "Shape fallback",
            "antagonist_source": "formation_fallback",
            "projected_goals": 0,
            "goal_probability": 0.0209,
            "projected_assists": 1,
            "assist_probability": 0.1421,
            "finishing_factor": 0.8,
            "creation_factor": 1.1552,
            "fifa_overall": 78.0
          },
          "latest_10_games": [
            {
              "match_id": 16416297,
              "match_date": "2026-09-20",
              "home_team": "Valencia",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Valencia",
              "stats": {
                "minutes": 69,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1595,
                "total_shots": 0,
                "total_pass": 27,
                "accurate_pass": 25,
                "key_pass": 2,
                "tackles": 1,
                "clearances": 3,
                "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": 16416332,
              "match_date": "2026-09-13",
              "home_team": "Real Sociedad",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0557,
                "expected_assists": 0.0718,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 59,
                "accurate_pass": 50,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 1,
                "duels_won": 3,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416319,
              "match_date": "2026-09-07",
              "home_team": "Elche",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0131,
                "total_shots": 0,
                "total_pass": 51,
                "accurate_pass": 45,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 4,
                "duels_won": 4,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416340,
              "match_date": "2026-09-03",
              "home_team": "Real Sociedad",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0146,
                "total_shots": 0,
                "total_pass": 64,
                "accurate_pass": 55,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 4,
                "aerial_won": 2,
                "duels_won": 4,
                "ball_recovery": 9
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416310,
              "match_date": "2026-08-29",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1283,
                "total_shots": 0,
                "total_pass": 45,
                "accurate_pass": 38,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421051,
              "match_date": "2026-08-26",
              "home_team": "Real Madrid",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0826,
                "expected_assists": 0.0439,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 73,
                "accurate_pass": 66,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 1,
                "duels_won": 2,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "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": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 72,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0322,
                "expected_assists": 0.0597,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 27,
                "accurate_pass": 26,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 1,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083719,
              "match_date": "2026-05-23",
              "home_team": "Espanyol",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 68,
                "rating": 6.8,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.3683,
                "total_shots": 0,
                "total_pass": 34,
                "accurate_pass": 27,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 4,
                "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": 14083687,
              "match_date": "2026-05-17",
              "home_team": "Real Sociedad",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Valencia",
              "stats": {
                "minutes": 33,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1248,
                "expected_assists": 0.0222,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 14,
                "accurate_pass": 14,
                "clearances": 3,
                "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": 14083624,
              "match_date": "2026-05-14",
              "home_team": "Girona FC",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.0791,
                "total_shots": 0,
                "total_pass": 37,
                "accurate_pass": 28,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 3,
                "interceptions": 2,
                "clearances": 6,
                "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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 2458,
            "combined_rank_score": 887.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 535.0,
            "sofascore_rating": 6.8286,
            "sofascore_appearances": 35.0,
            "fifa_rank": 1239.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 12,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7637,
            "source_file": "data/player_rankings.csv",
            "player_name": "Sergio Gómez",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Jorrel Hato",
                  "ranking": 2453
                },
                {
                  "player_name": "Charles Pickel",
                  "ranking": 2454
                },
                {
                  "player_name": "Nicolás Otamendi",
                  "ranking": 2455
                },
                {
                  "player_name": "Walter Scott",
                  "ranking": 2456
                },
                {
                  "player_name": "Javier Rojas",
                  "ranking": 2457
                }
              ],
              "lower": [
                {
                  "player_name": "Jaka Bijol",
                  "ranking": 2459
                },
                {
                  "player_name": "Emiliano Ramos",
                  "ranking": 2460
                },
                {
                  "player_name": "Camilo Moya",
                  "ranking": 2461
                },
                {
                  "player_name": "Ji Dong-Won",
                  "ranking": 2462
                },
                {
                  "player_name": "Jefferson Savarino",
                  "ranking": 2463
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.788,
          "history_matches": 42,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "totalTackle",
              "totalShots",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 42,
            "data_confidence": 0.788,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0022,
            "fbref_prior_metrics": {
              "squad": "Real Sociedad",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 4.0,
              "starts": 4.0,
              "minutes": 341.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.79,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.2533
            },
            "rationale": "XGBoost regressor (D_service) evaluated 42 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Real Sociedad, rel: 0.25, 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.9921,
                "tackles": 1.8796,
                "tackles_won": 1.1079,
                "clearances": 2.5482,
                "aerial_won": 0.7409,
                "total_shots": 0.5918,
                "rating": 6.7637,
                "minutes": 84.83,
                "total_pass": 47.5247,
                "accurate_pass": 41.6488,
                "duels_won": 3.3293,
                "total_long_balls": 3.6258,
                "accurate_long_balls": 2.3528,
                "total_own_half_passes": 22.553,
                "accurate_own_half_passes": 20.0862,
                "total_opp_half_passes": 24.9717,
                "accurate_opp_half_passes": 21.5626,
                "crosses_total": 5.2102,
                "crosses_accurate": 0.8979,
                "touches": 72.6005,
                "possession_lost": 13.3319,
                "dispossessed": 0.2388,
                "duels_lost": 2.3172,
                "aerial_lost": 0.47,
                "total_contest": 0.9473,
                "won_contest": 0.7072,
                "ball_recovery": 5.1121,
                "challenges_lost": 0.9005,
                "fouls": 0.5765,
                "fouls_drawn": 0.2604,
                "blocks": 0.3492,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.1631,
                "assist_rate": 0.1631,
                "expected_goals": 0.0186,
                "expected_assists": 0.132,
                "shots_on_target": 0.1278,
                "big_chances_created": 0.3362,
                "xgot": 0.0264,
                "ball_carries": 15.9151,
                "total_progression": 44.3453,
                "progressive_carries": 0.7286,
                "key_pass": 1.2913,
                "shots_off_target": 0.464
              },
              "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": "Valencia",
                    "minutes": 69.0,
                    "is_starting": true,
                    "weight": 0.1502,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1276,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-09-07",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1085,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-03",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0922,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-26",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0666,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Betis",
                    "minutes": 72.0,
                    "is_starting": true,
                    "weight": 0.0566,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Espanyol",
                    "minutes": 68.0,
                    "is_starting": true,
                    "weight": 0.0481,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Valencia",
                    "minutes": 33.0,
                    "is_starting": false,
                    "weight": 0.0409,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Girona FC",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 7.2
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 2.5519,
                  "aerialWon": 0.6176,
                  "totalClearance_p90": 2.9805,
                  "totalTackle": 1.6722,
                  "totalPass": 46.063
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.9920890927314758,
                    "model_output": 0.9921,
                    "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.1228
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.0342
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0313
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": -0.0229
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0163
                        }
                      ],
                      "others": -0.016,
                      "total": 0.9921,
                      "log_link": true,
                      "margin_base": -0.152032,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.13367
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": 0.034199
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.030378
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": -0.022095
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.016012
                        }
                      ],
                      "others_margin": -0.016051
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.879636287689209,
                    "model_output": 1.8796,
                    "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.1952
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0794
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0828
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0675
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0478
                        }
                      ],
                      "others": 0.0112,
                      "total": 1.8796,
                      "log_link": true,
                      "margin_base": 0.333417,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.130912
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.04873
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.048356
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.03776
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.025914
                        }
                      ],
                      "others_margin": 0.005988
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 1.1079380512237549,
                    "model_output": 1.1079,
                    "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.1118
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.056
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0453
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0377
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0363
                        }
                      ],
                      "others": 0.0356,
                      "total": 1.1079,
                      "log_link": true,
                      "margin_base": -0.153422,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.122484
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.056167
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.043261
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.034605
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.033315
                        }
                      ],
                      "others_margin": 0.032721
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.5481529235839844,
                    "model_output": 2.5482,
                    "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.4231
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.38
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.2601
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.2303
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0814
                        }
                      ],
                      "others": -0.2781,
                      "total": 2.5482,
                      "log_link": true,
                      "margin_base": 1.235809,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": -0.131193
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.118586
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.079636
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.076239
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.028394
                        }
                      ],
                      "others_margin": -0.103564
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.7408921718597412,
                    "model_output": 0.7409,
                    "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.4134
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.116
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0812
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0726
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0575
                        }
                      ],
                      "others": -0.1288,
                      "total": 0.7409,
                      "log_link": true,
                      "margin_base": 0.320928,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": -0.356538
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.113541
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.078043
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.075419
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.063989
                        }
                      ],
                      "others_margin": -0.16038
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5918224453926086,
                    "model_output": 0.5918,
                    "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.0676
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0109
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0104
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.009
                        },
                        {
                          "name": "errorLeadToAShot",
                          "contribution": 0.0089
                        }
                      ],
                      "others": 0.0127,
                      "total": 0.5918,
                      "log_link": false,
                      "margin_base": 0.47232,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.067603
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.010911
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.010373
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.009014
                        },
                        {
                          "name": "errorLeadToAShot",
                          "margin": 0.008908
                        }
                      ],
                      "others_margin": 0.012695
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.763656139373779,
                    "model_output": 6.7637,
                    "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.0154
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0104
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0089
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0061
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.0041
                        }
                      ],
                      "others": -0.0204,
                      "total": 6.7637,
                      "log_link": false,
                      "margin_base": 6.785968,
                      "item_margins": [
                        {
                          "name": "touches",
                          "margin": 0.015419
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.010377
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.008853
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.006138
                        },
                        {
                          "name": "wonTackle",
                          "margin": -0.004121
                        }
                      ],
                      "others_margin": -0.020519
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 42,
                  "role_matches": 37,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0022, quality 0.575)",
              "stats": {
                "interceptions": 0.9943,
                "tackles": 1.8838,
                "tackles_won": 1.1104,
                "clearances": 2.5538,
                "aerial_won": 0.7425,
                "total_shots": 0.5931,
                "rating": 6.7637,
                "minutes": 84.83,
                "total_pass": 47.6293,
                "accurate_pass": 41.7404,
                "duels_won": 3.3366,
                "total_long_balls": 3.6338,
                "accurate_long_balls": 2.358,
                "total_own_half_passes": 22.6026,
                "accurate_own_half_passes": 20.1304,
                "total_opp_half_passes": 25.0266,
                "accurate_opp_half_passes": 21.61,
                "crosses_total": 5.2217,
                "crosses_accurate": 0.8999,
                "touches": 72.7602,
                "possession_lost": 13.3612,
                "dispossessed": 0.2393,
                "duels_lost": 2.3223,
                "aerial_lost": 0.471,
                "total_contest": 0.9494,
                "won_contest": 0.7088,
                "ball_recovery": 5.1233,
                "challenges_lost": 0.9025,
                "fouls": 0.5778,
                "fouls_drawn": 0.261,
                "blocks": 0.35,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.1635,
                "assist_rate": 0.1635,
                "expected_goals": 0.0186,
                "expected_assists": 0.1323,
                "shots_on_target": 0.1281,
                "big_chances_created": 0.3369,
                "xgot": 0.0265,
                "ball_carries": 15.9501,
                "total_progression": 44.4429,
                "progressive_carries": 0.7302,
                "key_pass": 1.2941,
                "shots_off_target": 0.465
              },
              "params": {
                "market_value_eur": 14600000,
                "quality_factor": 0.5748,
                "boost_factor": 1.0022,
                "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.0175)",
              "stats": {
                "interceptions": 0.9943,
                "tackles": 1.8838,
                "tackles_won": 1.1127,
                "clearances": 2.5538,
                "aerial_won": 0.7425,
                "total_shots": 0.5958,
                "rating": 6.7637,
                "minutes": 84.83,
                "total_pass": 47.6293,
                "accurate_pass": 41.7404,
                "duels_won": 3.3366,
                "total_long_balls": 3.6338,
                "accurate_long_balls": 2.358,
                "total_own_half_passes": 22.6026,
                "accurate_own_half_passes": 20.1304,
                "total_opp_half_passes": 25.0266,
                "accurate_opp_half_passes": 21.61,
                "crosses_total": 5.2302,
                "crosses_accurate": 0.8999,
                "touches": 72.7602,
                "possession_lost": 13.3612,
                "dispossessed": 0.2393,
                "duels_lost": 2.3223,
                "aerial_lost": 0.471,
                "total_contest": 0.9494,
                "won_contest": 0.7088,
                "ball_recovery": 5.1233,
                "challenges_lost": 0.9025,
                "fouls": 0.5807,
                "fouls_drawn": 0.2564,
                "blocks": 0.35,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.1606,
                "assist_rate": 0.1606,
                "expected_goals": 0.0186,
                "expected_assists": 0.1323,
                "shots_on_target": 0.1259,
                "big_chances_created": 0.3369,
                "xgot": 0.0265,
                "ball_carries": 15.9501,
                "total_progression": 44.4429,
                "progressive_carries": 0.7302,
                "key_pass": 1.2941,
                "shots_off_target": 0.465
              },
              "params": {
                "blend_weight": 0.0175,
                "history_matches": 42,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9426,
                "prior_reliability": 0.2533,
                "competition": "La Liga",
                "squad": "Real Sociedad"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 5.2217,
                  "after": 5.2302
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.9943,
                "tackles": 1.8838,
                "tackles_won": 1.1127,
                "clearances": 2.5538,
                "aerial_won": 0.7425,
                "total_shots": 0.5958,
                "rating": 6.7637,
                "minutes": 84.83,
                "total_pass": 47.6293,
                "accurate_pass": 41.7404,
                "duels_won": 3.3366,
                "total_long_balls": 3.6338,
                "accurate_long_balls": 2.358,
                "total_own_half_passes": 22.6026,
                "accurate_own_half_passes": 20.1304,
                "total_opp_half_passes": 25.0266,
                "accurate_opp_half_passes": 21.61,
                "crosses_total": 5.2302,
                "crosses_accurate": 0.8999,
                "touches": 72.7602,
                "possession_lost": 13.3612,
                "dispossessed": 0.2393,
                "duels_lost": 2.3223,
                "aerial_lost": 0.471,
                "total_contest": 0.9494,
                "won_contest": 0.7088,
                "ball_recovery": 5.1233,
                "challenges_lost": 0.9025,
                "fouls": 0.5807,
                "fouls_drawn": 0.2564,
                "blocks": 0.35,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.1606,
                "assist_rate": 0.1606,
                "expected_goals": 0.0186,
                "expected_assists": 0.1323,
                "shots_on_target": 0.1259,
                "big_chances_created": 0.3369,
                "xgot": 0.0265,
                "ball_carries": 15.9501,
                "total_progression": 44.4429,
                "progressive_carries": 0.7302,
                "key_pass": 1.2941,
                "shots_off_target": 0.465
              },
              "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.9943,
                "tackles": 1.8838,
                "tackles_won": 1.1127,
                "clearances": 2.5538,
                "aerial_won": 0.7425,
                "total_shots": 0.5958,
                "rating": 6.7637,
                "minutes": 84.83,
                "total_pass": 47.6293,
                "accurate_pass": 41.7404,
                "duels_won": 3.3366,
                "total_long_balls": 3.6338,
                "accurate_long_balls": 2.358,
                "total_own_half_passes": 22.6026,
                "accurate_own_half_passes": 20.1304,
                "total_opp_half_passes": 25.0266,
                "accurate_opp_half_passes": 21.61,
                "crosses_total": 5.2302,
                "crosses_accurate": 0.8999,
                "touches": 72.7602,
                "possession_lost": 13.3612,
                "dispossessed": 0.2393,
                "duels_lost": 2.3223,
                "aerial_lost": 0.471,
                "total_contest": 0.9494,
                "won_contest": 0.7088,
                "ball_recovery": 5.1233,
                "challenges_lost": 0.9025,
                "fouls": 0.5807,
                "fouls_drawn": 0.2564,
                "blocks": 0.35,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.1606,
                "assist_rate": 0.1606,
                "expected_goals": 0.0186,
                "expected_assists": 0.1323,
                "shots_on_target": 0.1259,
                "big_chances_created": 0.3369,
                "xgot": 0.0265,
                "ball_carries": 15.9501,
                "total_progression": 44.4429,
                "progressive_carries": 0.7302,
                "key_pass": 1.2941,
                "shots_off_target": 0.465,
                "opponent_faced": "Bil Nsongo",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Bil Nsongo",
                  "matchup_zone": "Shape fallback"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.50 (squad xG sum 1.3182, xG scale 1.1364, xA scale 1.1588, team xA 0.97 = 0.65 x lambda)",
              "stats": {
                "interceptions": 0.9943,
                "tackles": 1.8838,
                "tackles_won": 1.1127,
                "clearances": 2.5538,
                "aerial_won": 0.7425,
                "total_shots": 0.5958,
                "rating": 6.7637,
                "minutes": 84.83,
                "total_pass": 47.6293,
                "accurate_pass": 41.7404,
                "duels_won": 3.3366,
                "total_long_balls": 3.6338,
                "accurate_long_balls": 2.358,
                "total_own_half_passes": 22.6026,
                "accurate_own_half_passes": 20.1304,
                "total_opp_half_passes": 25.0266,
                "accurate_opp_half_passes": 21.61,
                "crosses_total": 5.2302,
                "crosses_accurate": 0.8999,
                "touches": 72.7602,
                "possession_lost": 13.3612,
                "dispossessed": 0.2393,
                "duels_lost": 2.3223,
                "aerial_lost": 0.471,
                "total_contest": 0.9494,
                "won_contest": 0.7088,
                "ball_recovery": 5.1233,
                "challenges_lost": 0.9025,
                "fouls": 0.5807,
                "fouls_drawn": 0.2564,
                "blocks": 0.35,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.1606,
                "assists": 0,
                "expected_goals": 0.0211,
                "expected_assists": 0.1533,
                "shots_on_target": 0.1259,
                "big_chances_created": 0.3369,
                "xgot": 0.0301,
                "ball_carries": 15.9501,
                "total_progression": 44.4429,
                "progressive_carries": 0.7302,
                "key_pass": 1.2941,
                "shots_off_target": 0.465,
                "opponent_faced": "Bil Nsongo",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 1.1552
              },
              "params": {
                "team_lambda": 1.498,
                "squad_xg_sum": 1.3182,
                "squad_xa_sum": 0.8402,
                "team_expected_assists": 0.9737,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1364,
                "xa_scale": 1.1588,
                "opponent_lambda": 0.805,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.1323,
                  "after": 0.1533
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 12 by projected rating, fifa_overall 78.0; not used by the projection)",
              "stats": {
                "interceptions": 0.9943,
                "tackles": 1.8838,
                "tackles_won": 1.1127,
                "clearances": 2.5538,
                "aerial_won": 0.7425,
                "total_shots": 0.5958,
                "rating": 6.7637,
                "minutes": 84.83,
                "total_pass": 47.6293,
                "accurate_pass": 41.7404,
                "duels_won": 3.3366,
                "total_long_balls": 3.6338,
                "accurate_long_balls": 2.358,
                "total_own_half_passes": 22.6026,
                "accurate_own_half_passes": 20.1304,
                "total_opp_half_passes": 25.0266,
                "accurate_opp_half_passes": 21.61,
                "crosses_total": 5.2302,
                "crosses_accurate": 0.8999,
                "touches": 72.7602,
                "possession_lost": 13.3612,
                "dispossessed": 0.2393,
                "duels_lost": 2.3223,
                "aerial_lost": 0.471,
                "total_contest": 0.9494,
                "won_contest": 0.7088,
                "ball_recovery": 5.1233,
                "challenges_lost": 0.9025,
                "fouls": 0.5807,
                "fouls_drawn": 0.2564,
                "blocks": 0.35,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.1606,
                "assists": 0,
                "expected_goals": 0.0211,
                "expected_assists": 0.1533,
                "shots_on_target": 0.1259,
                "big_chances_created": 0.3369,
                "xgot": 0.0301,
                "ball_carries": 15.9501,
                "total_progression": 44.4429,
                "progressive_carries": 0.7302,
                "key_pass": 1.2941,
                "shots_off_target": 0.465,
                "opponent_faced": "Bil Nsongo",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 1.1552,
                "fifa_overall": 78.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": 2458,
                "fifa_rank": 1239.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 78.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "interceptions": 0.9943,
                "tackles": 1.8838,
                "tackles_won": 1.1127,
                "clearances": 2.5538,
                "aerial_won": 0.7425,
                "total_shots": 0.5958,
                "rating": 6.7637,
                "minutes": 84.83,
                "total_pass": 47.6293,
                "accurate_pass": 41.7404,
                "duels_won": 3.3366,
                "total_long_balls": 3.6338,
                "accurate_long_balls": 2.358,
                "total_own_half_passes": 22.6026,
                "accurate_own_half_passes": 20.1304,
                "total_opp_half_passes": 25.0266,
                "accurate_opp_half_passes": 21.61,
                "crosses_total": 5.2302,
                "crosses_accurate": 0.8999,
                "touches": 72.7602,
                "possession_lost": 13.3612,
                "dispossessed": 0.2393,
                "duels_lost": 2.3223,
                "aerial_lost": 0.471,
                "total_contest": 0.9494,
                "won_contest": 0.7088,
                "ball_recovery": 5.1233,
                "challenges_lost": 0.9025,
                "fouls": 0.5807,
                "fouls_drawn": 0.2564,
                "blocks": 0.35,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.1606,
                "assists": 0,
                "expected_goals": 0.0211,
                "expected_assists": 0.1533,
                "shots_on_target": 0.1259,
                "big_chances_created": 0.3369,
                "xgot": 0.0301,
                "ball_carries": 15.9501,
                "total_progression": 44.4429,
                "progressive_carries": 0.7302,
                "key_pass": 1.2941,
                "shots_off_target": 0.465,
                "opponent_faced": "Bil Nsongo",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0209,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 1.1552,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0209,
                "scorer_weight": 0.0169,
                "squad_weight_total": 1.6252,
                "weight_share": 0.0104,
                "finishing_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 11,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Mikel Oyarzabal",
                    "weight": 0.301,
                    "already": 0,
                    "effective_weight": 0.301,
                    "runner_up": "Luka Sučić",
                    "runner_up_effective_weight": 0.2755
                  }
                ]
              }
            },
            {
              "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.9943,
                "tackles": 1.8838,
                "tackles_won": 1.1127,
                "clearances": 2.5538,
                "aerial_won": 0.7425,
                "total_shots": 0.5958,
                "rating": 6.7637,
                "minutes": 84.83,
                "total_pass": 47.6293,
                "accurate_pass": 41.7404,
                "duels_won": 3.3366,
                "total_long_balls": 3.6338,
                "accurate_long_balls": 2.358,
                "total_own_half_passes": 22.6026,
                "accurate_own_half_passes": 20.1304,
                "total_opp_half_passes": 25.0266,
                "accurate_opp_half_passes": 21.61,
                "crosses_total": 5.2302,
                "crosses_accurate": 0.8999,
                "touches": 72.7602,
                "possession_lost": 13.3612,
                "dispossessed": 0.2393,
                "duels_lost": 2.3223,
                "aerial_lost": 0.471,
                "total_contest": 0.9494,
                "won_contest": 0.7088,
                "ball_recovery": 5.1233,
                "challenges_lost": 0.9025,
                "fouls": 0.5807,
                "fouls_drawn": 0.2564,
                "blocks": 0.35,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.1606,
                "assists": 1,
                "expected_goals": 0.0211,
                "expected_assists": 0.1533,
                "shots_on_target": 0.1259,
                "big_chances_created": 0.3369,
                "xgot": 0.0301,
                "ball_carries": 15.9501,
                "total_progression": 44.4429,
                "progressive_carries": 0.7302,
                "key_pass": 1.2941,
                "shots_off_target": 0.465,
                "opponent_faced": "Bil Nsongo",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0209,
                "projected_assists": 1,
                "assist_probability": 0.1421,
                "finishing_factor": 0.8,
                "creation_factor": 1.1552,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 1,
                "assist_probability": 0.1421,
                "provider_weight": 0.1771,
                "squad_weight_total": 1.0056,
                "weight_share": 0.1761,
                "creation_factor": 1.1552,
                "appearance_weight": 1.0,
                "weight_rank": 1,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Sergio Gómez",
                    "weight": 0.1771,
                    "already": 0,
                    "effective_weight": 0.1771,
                    "runner_up": "Carlos Soler",
                    "runner_up_effective_weight": 0.1401,
                    "blocked_own_goal": [
                      "Mikel Oyarzabal"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Jon Martin": {
          "player_id": 1466116,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 6,
          "height": 185,
          "market_value": 24000000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 6,
            "aerial_won": 3,
            "total_shots": 0,
            "rating": 6.7833,
            "minutes": 90,
            "total_pass": 55,
            "accurate_pass": 50,
            "duels_won": 5,
            "total_long_balls": 3,
            "accurate_long_balls": 1,
            "total_own_half_passes": 38,
            "accurate_own_half_passes": 37,
            "total_opp_half_passes": 17,
            "accurate_opp_half_passes": 13,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 68,
            "possession_lost": 5.8888,
            "dispossessed": 0.2543,
            "duels_lost": 3,
            "aerial_lost": 1,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 4,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 1,
            "goal_rate": 0.0961,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0802,
            "expected_assists": 0.0114,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.1464,
            "ball_carries": 21,
            "total_progression": 61,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "tackles_in_zone": 1.1,
            "tackles_won_in_zone": 1.0,
            "interceptions_in_zone": 1.1,
            "clearances_in_zone": 0.9,
            "aerial_duels_won": 0.9,
            "defensive_success_rate": 0.82,
            "opponent_faced": "Yeremay 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.0771,
            "projected_assists": 0,
            "assist_probability": 0.0113,
            "finishing_factor": 1.2114,
            "creation_factor": 0.8361,
            "fifa_overall": 78.0
          },
          "latest_10_games": [
            {
              "match_id": 16416297,
              "match_date": "2026-09-20",
              "home_team": "Valencia",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1425,
                "expected_assists": 0.0042,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 28,
                "accurate_pass": 22,
                "interceptions": 2,
                "clearances": 9,
                "aerial_won": 4,
                "duels_won": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416319,
              "match_date": "2026-09-07",
              "home_team": "Elche",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Elche",
              "stats": {
                "minutes": 6,
                "rating": 4.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "total_pass": 3,
                "accurate_pass": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416340,
              "match_date": "2026-09-03",
              "home_team": "Real Sociedad",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0611,
                "expected_assists": 0.01,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 70,
                "accurate_pass": 69,
                "interceptions": 1,
                "clearances": 6,
                "aerial_won": 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": 16416310,
              "match_date": "2026-08-29",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0618,
                "expected_assists": 0.0365,
                "total_shots": 1,
                "total_pass": 54,
                "accurate_pass": 47,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 5,
                "duels_won": 8,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421051,
              "match_date": "2026-08-26",
              "home_team": "Real Madrid",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0065,
                "total_shots": 0,
                "total_pass": 52,
                "accurate_pass": 50,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416293,
              "match_date": "2026-08-21",
              "home_team": "Real Betis",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0031,
                "total_shots": 0,
                "total_pass": 70,
                "accurate_pass": 62,
                "tackles": 5,
                "tackles_won": 2,
                "clearances": 4,
                "aerial_won": 2,
                "duels_won": 7,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083687,
              "match_date": "2026-05-17",
              "home_team": "Real Sociedad",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0084,
                "total_shots": 0,
                "total_pass": 57,
                "accurate_pass": 46,
                "tackles": 2,
                "interceptions": 1,
                "clearances": 9,
                "aerial_won": 4,
                "duels_won": 7,
                "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": 14083624,
              "match_date": "2026-05-14",
              "home_team": "Girona FC",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 90,
                "rating": 7.8,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0667,
                "expected_assists": 0.0013,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 43,
                "accurate_pass": 41,
                "clearances": 8,
                "aerial_won": 2,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083583,
              "match_date": "2026-05-09",
              "home_team": "Real Sociedad",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.008,
                "total_shots": 0,
                "total_pass": 88,
                "accurate_pass": 84,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 2,
                "duels_won": 4,
                "ball_recovery": 8
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083526,
              "match_date": "2026-05-04",
              "home_team": "Sevilla",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0067,
                "total_shots": 0,
                "total_pass": 65,
                "accurate_pass": 61,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 10,
                "aerial_won": 9,
                "duels_won": 11,
                "ball_recovery": 2
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 2491,
            "combined_rank_score": 899.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 549.0,
            "sofascore_rating": 6.82,
            "sofascore_appearances": 25.0,
            "fifa_rank": 1249.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 9,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7833,
            "source_file": "data/player_rankings.csv",
            "player_name": "Jon Martin",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Luca Tevere",
                  "ranking": 2486
                },
                {
                  "player_name": "Kyeong-jun Kim",
                  "ranking": 2487
                },
                {
                  "player_name": "Akramjon Komilov",
                  "ranking": 2488
                },
                {
                  "player_name": "Javier Nicolás Cárcamo",
                  "ranking": 2489
                },
                {
                  "player_name": "Kyeong Baek",
                  "ranking": 2490
                }
              ],
              "lower": [
                {
                  "player_name": "Sardor Abdunabiev",
                  "ranking": 2492
                },
                {
                  "player_name": "Yastin Cuevas",
                  "ranking": 2493
                },
                {
                  "player_name": "Igor Paixão",
                  "ranking": 2494
                },
                {
                  "player_name": "Carlos Espí",
                  "ranking": 2495
                },
                {
                  "player_name": "Joaquín Panichelli",
                  "ranking": 2496
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.79,
          "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.79,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0068,
            "fbref_prior_metrics": {
              "squad": "Real Sociedad",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 4.0,
              "starts": 4.0,
              "minutes": 360.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.5,
              "shots_on_target_pct": 50.0,
              "prior_reliability": 0.2667
            },
            "rationale": "XGBoost regressor (D_service) evaluated 31 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Real Sociedad, rel: 0.27, 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.9201,
                "tackles": 1.2364,
                "tackles_won": 0.7053,
                "clearances": 6.0632,
                "aerial_won": 2.5255,
                "total_shots": 0.475,
                "rating": 6.7833,
                "minutes": 90.0,
                "total_pass": 54.8535,
                "accurate_pass": 49.9013,
                "duels_won": 5.1165,
                "total_long_balls": 2.8693,
                "accurate_long_balls": 0.9794,
                "total_own_half_passes": 38.18,
                "accurate_own_half_passes": 36.7413,
                "total_opp_half_passes": 16.6735,
                "accurate_opp_half_passes": 13.1599,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 67.7988,
                "possession_lost": 5.849,
                "dispossessed": 0.2526,
                "duels_lost": 3.2205,
                "aerial_lost": 1.3336,
                "total_contest": 0.4145,
                "won_contest": 0.092,
                "ball_recovery": 3.5476,
                "challenges_lost": 0.3495,
                "fouls": 1.0964,
                "fouls_drawn": 0.5424,
                "blocks": 0.8319,
                "goals": 0.0978,
                "goal_rate": 0.0978,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0701,
                "expected_assists": 0.0097,
                "shots_on_target": 0.2394,
                "big_chances_created": 0.0,
                "xgot": 0.1279,
                "ball_carries": 20.8879,
                "total_progression": 60.439,
                "progressive_carries": 0.2917,
                "key_pass": 0.1238,
                "shots_off_target": 0.2356
              },
              "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": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.151,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-07",
                    "opponent": "Elche",
                    "minutes": 6.0,
                    "is_starting": false,
                    "weight": 0.1283,
                    "rating": 4.4
                  },
                  {
                    "match_date": "2026-09-03",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1091,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0927,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-26",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0788,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.067,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0569,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Girona FC",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0484,
                    "rating": 7.8
                  },
                  {
                    "match_date": "2026-05-09",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0411,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-05-04",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.035,
                    "rating": 7.4
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 5.4459,
                  "aerialWon": 2.7787,
                  "totalClearance_p90": 5.4459,
                  "totalTackle": 1.1173,
                  "totalPass": 47.5909
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.9201498627662659,
                    "model_output": 0.9201,
                    "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.1037
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": -0.0292
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0286
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0207
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0122
                        }
                      ],
                      "others": -0.0091,
                      "total": 0.9201,
                      "log_link": true,
                      "margin_base": -0.152032,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.114027
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": -0.030752
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.030144
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.021713
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.013059
                        }
                      ],
                      "others_margin": -0.009834
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.2364134788513184,
                    "model_output": 1.2364,
                    "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.1692
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0877
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0509
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0313
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0253
                        }
                      ],
                      "others": -0.1333,
                      "total": 1.2364,
                      "log_link": true,
                      "margin_base": 0.333417,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.114399
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.057656
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.035075
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.022161
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": -0.018309
                        }
                      ],
                      "others_margin": -0.1024
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.7053069472312927,
                    "model_output": 0.7053,
                    "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.0962
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0424
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0364
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0255
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0232
                        }
                      ],
                      "others": -0.1212,
                      "total": 0.7053,
                      "log_link": true,
                      "margin_base": -0.153422,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.106346
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.045474
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.040719
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.029521
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.027691
                        }
                      ],
                      "others_margin": -0.158641
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 6.063154697418213,
                    "model_output": 6.0632,
                    "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.6979
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.5956
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.3766
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.2645
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.1891
                        }
                      ],
                      "others": 0.4983,
                      "total": 6.0632,
                      "log_link": true,
                      "margin_base": 1.235809,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": 0.184671
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.134439
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.076544
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.050462
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.034573
                        }
                      ],
                      "others_margin": 0.085731
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 2.525512933731079,
                    "model_output": 2.5255,
                    "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.5614
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2268
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.142
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0844
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0873
                        }
                      ],
                      "others": 0.0452,
                      "total": 2.5255,
                      "log_link": true,
                      "margin_base": 0.320928,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": 0.341682
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.110575
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.063491
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.035901
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.035841
                        }
                      ],
                      "others_margin": 0.018027
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.47502484917640686,
                    "model_output": 0.475,
                    "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.0593
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0393
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0173
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0157
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.0102
                        }
                      ],
                      "others": -0.0087,
                      "total": 0.475,
                      "log_link": false,
                      "margin_base": 0.47232,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.059265
                        },
                        {
                          "name": "rating",
                          "margin": -0.039342
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.017281
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.015653
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": -0.010232
                        }
                      ],
                      "others_margin": -0.008613
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.783332824707031,
                    "model_output": 6.7833,
                    "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.028
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0243
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0168
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0095
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0069
                        }
                      ],
                      "others": 0.0152,
                      "total": 6.7833,
                      "log_link": false,
                      "margin_base": 6.785968,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": -0.028027
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.024293
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.016809
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.00947
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.006924
                        }
                      ],
                      "others_margin": 0.015361
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 31,
                  "role_matches": 30,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0068, quality 0.669)",
              "stats": {
                "interceptions": 0.9264,
                "tackles": 1.2448,
                "tackles_won": 0.7101,
                "clearances": 6.1044,
                "aerial_won": 2.5427,
                "total_shots": 0.4783,
                "rating": 6.7833,
                "minutes": 90.0,
                "total_pass": 55.2265,
                "accurate_pass": 50.2406,
                "duels_won": 5.1513,
                "total_long_balls": 2.8888,
                "accurate_long_balls": 0.9861,
                "total_own_half_passes": 38.4396,
                "accurate_own_half_passes": 36.9911,
                "total_opp_half_passes": 16.7869,
                "accurate_opp_half_passes": 13.2494,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 68.2598,
                "possession_lost": 5.8888,
                "dispossessed": 0.2543,
                "duels_lost": 3.2424,
                "aerial_lost": 1.3427,
                "total_contest": 0.4173,
                "won_contest": 0.0926,
                "ball_recovery": 3.5717,
                "challenges_lost": 0.3519,
                "fouls": 1.1039,
                "fouls_drawn": 0.5461,
                "blocks": 0.8376,
                "goals": 0.0985,
                "goal_rate": 0.0985,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0706,
                "expected_assists": 0.0098,
                "shots_on_target": 0.241,
                "big_chances_created": 0.0,
                "xgot": 0.1288,
                "ball_carries": 21.0299,
                "total_progression": 60.85,
                "progressive_carries": 0.2937,
                "key_pass": 0.1246,
                "shots_off_target": 0.2372
              },
              "params": {
                "market_value_eur": 24000000,
                "quality_factor": 0.6685,
                "boost_factor": 1.0068,
                "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.0241)",
              "stats": {
                "interceptions": 0.9101,
                "tackles": 1.2448,
                "tackles_won": 0.7291,
                "clearances": 6.1044,
                "aerial_won": 2.5427,
                "total_shots": 0.4788,
                "rating": 6.7833,
                "minutes": 90.0,
                "total_pass": 55.2265,
                "accurate_pass": 50.2406,
                "duels_won": 5.1513,
                "total_long_balls": 2.8888,
                "accurate_long_balls": 0.9861,
                "total_own_half_passes": 38.4396,
                "accurate_own_half_passes": 36.9911,
                "total_opp_half_passes": 16.7869,
                "accurate_opp_half_passes": 13.2494,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 68.2598,
                "possession_lost": 5.8888,
                "dispossessed": 0.2543,
                "duels_lost": 3.2424,
                "aerial_lost": 1.3427,
                "total_contest": 0.4173,
                "won_contest": 0.0926,
                "ball_recovery": 3.5717,
                "challenges_lost": 0.3519,
                "fouls": 1.1014,
                "fouls_drawn": 0.551,
                "blocks": 0.8376,
                "goals": 0.0961,
                "goal_rate": 0.0961,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0706,
                "expected_assists": 0.0098,
                "shots_on_target": 0.2412,
                "big_chances_created": 0.0,
                "xgot": 0.1288,
                "ball_carries": 21.0299,
                "total_progression": 60.85,
                "progressive_carries": 0.2937,
                "key_pass": 0.1246,
                "shots_off_target": 0.2372
              },
              "params": {
                "blend_weight": 0.0241,
                "history_matches": 31,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 1.0,
                "prior_reliability": 0.2667,
                "competition": "La Liga",
                "squad": "Real Sociedad"
              },
              "changes": [
                {
                  "stat": "wonTackle",
                  "before": 0.7101,
                  "after": 0.7291
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.9264,
                  "after": 0.9101
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.9101,
                "tackles": 1.2448,
                "tackles_won": 0.7291,
                "clearances": 6.1044,
                "aerial_won": 2.5427,
                "total_shots": 0.4788,
                "rating": 6.7833,
                "minutes": 90.0,
                "total_pass": 55.2265,
                "accurate_pass": 50.2406,
                "duels_won": 5.1513,
                "total_long_balls": 2.8888,
                "accurate_long_balls": 0.9861,
                "total_own_half_passes": 38.4396,
                "accurate_own_half_passes": 36.9911,
                "total_opp_half_passes": 16.7869,
                "accurate_opp_half_passes": 13.2494,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 68.2598,
                "possession_lost": 5.8888,
                "dispossessed": 0.2543,
                "duels_lost": 3.2424,
                "aerial_lost": 1.3427,
                "total_contest": 0.4173,
                "won_contest": 0.0926,
                "ball_recovery": 3.5717,
                "challenges_lost": 0.3519,
                "fouls": 1.1014,
                "fouls_drawn": 0.551,
                "blocks": 0.8376,
                "goals": 0.0961,
                "goal_rate": 0.0961,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0706,
                "expected_assists": 0.0098,
                "shots_on_target": 0.2412,
                "big_chances_created": 0.0,
                "xgot": 0.1288,
                "ball_carries": 21.0299,
                "total_progression": 60.85,
                "progressive_carries": 0.2937,
                "key_pass": 0.1246,
                "shots_off_target": 0.2372
              },
              "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.9101,
                "tackles": 1.2448,
                "tackles_won": 0.7291,
                "clearances": 6.1044,
                "aerial_won": 2.5427,
                "total_shots": 0.4788,
                "rating": 6.7833,
                "minutes": 90.0,
                "total_pass": 55.2265,
                "accurate_pass": 50.2406,
                "duels_won": 5.1513,
                "total_long_balls": 2.8888,
                "accurate_long_balls": 0.9861,
                "total_own_half_passes": 38.4396,
                "accurate_own_half_passes": 36.9911,
                "total_opp_half_passes": 16.7869,
                "accurate_opp_half_passes": 13.2494,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 68.2598,
                "possession_lost": 5.8888,
                "dispossessed": 0.2543,
                "duels_lost": 3.2424,
                "aerial_lost": 1.3427,
                "total_contest": 0.4173,
                "won_contest": 0.0926,
                "ball_recovery": 3.5717,
                "challenges_lost": 0.3519,
                "fouls": 1.1014,
                "fouls_drawn": 0.551,
                "blocks": 0.8376,
                "goals": 0.0961,
                "goal_rate": 0.0961,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0706,
                "expected_assists": 0.0098,
                "shots_on_target": 0.2412,
                "big_chances_created": 0.0,
                "xgot": 0.1288,
                "ball_carries": 21.0299,
                "total_progression": 60.85,
                "progressive_carries": 0.2937,
                "key_pass": 0.1246,
                "shots_off_target": 0.2372,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.1,
                "clearances_in_zone": 0.9,
                "aerial_duels_won": 0.9,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Yeremay 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": "Yeremay 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 1.50 (squad xG sum 1.3182, xG scale 1.1364, xA scale 1.1588, team xA 0.97 = 0.65 x lambda)",
              "stats": {
                "interceptions": 0.9101,
                "tackles": 1.2448,
                "tackles_won": 0.7291,
                "clearances": 6.1044,
                "aerial_won": 2.5427,
                "total_shots": 0.4788,
                "rating": 6.7833,
                "minutes": 90.0,
                "total_pass": 55.2265,
                "accurate_pass": 50.2406,
                "duels_won": 5.1513,
                "total_long_balls": 2.8888,
                "accurate_long_balls": 0.9861,
                "total_own_half_passes": 38.4396,
                "accurate_own_half_passes": 36.9911,
                "total_opp_half_passes": 16.7869,
                "accurate_opp_half_passes": 13.2494,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 68.2598,
                "possession_lost": 5.8888,
                "dispossessed": 0.2543,
                "duels_lost": 3.2424,
                "aerial_lost": 1.3427,
                "total_contest": 0.4173,
                "won_contest": 0.0926,
                "ball_recovery": 3.5717,
                "challenges_lost": 0.3519,
                "fouls": 1.1014,
                "fouls_drawn": 0.551,
                "blocks": 0.8376,
                "goal_rate": 0.0961,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0802,
                "expected_assists": 0.0114,
                "shots_on_target": 0.2412,
                "big_chances_created": 0.0,
                "xgot": 0.1464,
                "ball_carries": 21.0299,
                "total_progression": 60.85,
                "progressive_carries": 0.2937,
                "key_pass": 0.1246,
                "shots_off_target": 0.2372,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.1,
                "clearances_in_zone": 0.9,
                "aerial_duels_won": 0.9,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Yeremay 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.2114,
                "creation_factor": 0.8361
              },
              "params": {
                "team_lambda": 1.498,
                "squad_xg_sum": 1.3182,
                "squad_xa_sum": 0.8402,
                "team_expected_assists": 0.9737,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1364,
                "xa_scale": 1.1588,
                "opponent_lambda": 0.805,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0706,
                  "after": 0.0802
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 9 by projected rating, fifa_overall 78.0; not used by the projection)",
              "stats": {
                "interceptions": 0.9101,
                "tackles": 1.2448,
                "tackles_won": 0.7291,
                "clearances": 6.1044,
                "aerial_won": 2.5427,
                "total_shots": 0.4788,
                "rating": 6.7833,
                "minutes": 90.0,
                "total_pass": 55.2265,
                "accurate_pass": 50.2406,
                "duels_won": 5.1513,
                "total_long_balls": 2.8888,
                "accurate_long_balls": 0.9861,
                "total_own_half_passes": 38.4396,
                "accurate_own_half_passes": 36.9911,
                "total_opp_half_passes": 16.7869,
                "accurate_opp_half_passes": 13.2494,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 68.2598,
                "possession_lost": 5.8888,
                "dispossessed": 0.2543,
                "duels_lost": 3.2424,
                "aerial_lost": 1.3427,
                "total_contest": 0.4173,
                "won_contest": 0.0926,
                "ball_recovery": 3.5717,
                "challenges_lost": 0.3519,
                "fouls": 1.1014,
                "fouls_drawn": 0.551,
                "blocks": 0.8376,
                "goal_rate": 0.0961,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0802,
                "expected_assists": 0.0114,
                "shots_on_target": 0.2412,
                "big_chances_created": 0.0,
                "xgot": 0.1464,
                "ball_carries": 21.0299,
                "total_progression": 60.85,
                "progressive_carries": 0.2937,
                "key_pass": 0.1246,
                "shots_off_target": 0.2372,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.1,
                "clearances_in_zone": 0.9,
                "aerial_duels_won": 0.9,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Yeremay 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.2114,
                "creation_factor": 0.8361,
                "fifa_overall": 78.0
              },
              "params": {
                "match_squad_rank": 9,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 2491,
                "fifa_rank": 1249.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 78.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "interceptions": 0.9101,
                "tackles": 1.2448,
                "tackles_won": 0.7291,
                "clearances": 6.1044,
                "aerial_won": 2.5427,
                "total_shots": 0.4788,
                "rating": 6.7833,
                "minutes": 90.0,
                "total_pass": 55.2265,
                "accurate_pass": 50.2406,
                "duels_won": 5.1513,
                "total_long_balls": 2.8888,
                "accurate_long_balls": 0.9861,
                "total_own_half_passes": 38.4396,
                "accurate_own_half_passes": 36.9911,
                "total_opp_half_passes": 16.7869,
                "accurate_opp_half_passes": 13.2494,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 68.2598,
                "possession_lost": 5.8888,
                "dispossessed": 0.2543,
                "duels_lost": 3.2424,
                "aerial_lost": 1.3427,
                "total_contest": 0.4173,
                "won_contest": 0.0926,
                "ball_recovery": 3.5717,
                "challenges_lost": 0.3519,
                "fouls": 1.1014,
                "fouls_drawn": 0.551,
                "blocks": 0.8376,
                "goal_rate": 0.0961,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0802,
                "expected_assists": 0.0114,
                "shots_on_target": 0.2412,
                "big_chances_created": 0.0,
                "xgot": 0.1464,
                "ball_carries": 21.0299,
                "total_progression": 60.85,
                "progressive_carries": 0.2937,
                "key_pass": 0.1246,
                "shots_off_target": 0.2372,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.1,
                "clearances_in_zone": 0.9,
                "aerial_duels_won": 0.9,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Yeremay 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.0771,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.2114,
                "creation_factor": 0.8361,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0771,
                "scorer_weight": 0.0972,
                "squad_weight_total": 1.6252,
                "weight_share": 0.0598,
                "finishing_factor": 1.2114,
                "appearance_weight": 1.0,
                "weight_rank": 8,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Mikel Oyarzabal",
                    "weight": 0.301,
                    "already": 0,
                    "effective_weight": 0.301,
                    "runner_up": "Luka Sučić",
                    "runner_up_effective_weight": 0.2755
                  }
                ]
              }
            },
            {
              "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.9101,
                "tackles": 1.2448,
                "tackles_won": 0.7291,
                "clearances": 6.1044,
                "aerial_won": 2.5427,
                "total_shots": 0.4788,
                "rating": 6.7833,
                "minutes": 90.0,
                "total_pass": 55.2265,
                "accurate_pass": 50.2406,
                "duels_won": 5.1513,
                "total_long_balls": 2.8888,
                "accurate_long_balls": 0.9861,
                "total_own_half_passes": 38.4396,
                "accurate_own_half_passes": 36.9911,
                "total_opp_half_passes": 16.7869,
                "accurate_opp_half_passes": 13.2494,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 68.2598,
                "possession_lost": 5.8888,
                "dispossessed": 0.2543,
                "duels_lost": 3.2424,
                "aerial_lost": 1.3427,
                "total_contest": 0.4173,
                "won_contest": 0.0926,
                "ball_recovery": 3.5717,
                "challenges_lost": 0.3519,
                "fouls": 1.1014,
                "fouls_drawn": 0.551,
                "blocks": 0.8376,
                "goal_rate": 0.0961,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0802,
                "expected_assists": 0.0114,
                "shots_on_target": 0.2412,
                "big_chances_created": 0.0,
                "xgot": 0.1464,
                "ball_carries": 21.0299,
                "total_progression": 60.85,
                "progressive_carries": 0.2937,
                "key_pass": 0.1246,
                "shots_off_target": 0.2372,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.1,
                "clearances_in_zone": 0.9,
                "aerial_duels_won": 0.9,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Yeremay 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.0771,
                "projected_assists": 0,
                "assist_probability": 0.0113,
                "finishing_factor": 1.2114,
                "creation_factor": 0.8361,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0113,
                "provider_weight": 0.0095,
                "squad_weight_total": 1.0056,
                "weight_share": 0.0095,
                "creation_factor": 0.8361,
                "appearance_weight": 1.0,
                "weight_rank": 10,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Sergio Gómez",
                    "weight": 0.1771,
                    "already": 0,
                    "effective_weight": 0.1771,
                    "runner_up": "Carlos Soler",
                    "runner_up_effective_weight": 0.1401,
                    "blocked_own_goal": [
                      "Mikel Oyarzabal"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Mamadou Sarr": {
          "player_id": 1154657,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 19,
          "height": 194,
          "market_value": 24000000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 3,
            "aerial_won": 1,
            "total_shots": 0,
            "rating": 6.6459,
            "minutes": 83,
            "total_pass": 51,
            "accurate_pass": 48,
            "duels_won": 3,
            "total_long_balls": 3,
            "accurate_long_balls": 1,
            "total_own_half_passes": 36,
            "accurate_own_half_passes": 34,
            "total_opp_half_passes": 15,
            "accurate_opp_half_passes": 14,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 61,
            "possession_lost": 3.3105,
            "dispossessed": 0.0,
            "duels_lost": 1,
            "aerial_lost": 1,
            "total_contest": 1,
            "won_contest": 0,
            "ball_recovery": 2,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 1,
            "blocks": 1,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.1425,
            "expected_assists": 0.0105,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 16,
            "total_progression": 27,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "tackles_in_zone": 1.1,
            "tackles_won_in_zone": 1.0,
            "interceptions_in_zone": 1.1,
            "clearances_in_zone": 0.9,
            "aerial_duels_won": 0.9,
            "defensive_success_rate": 0.82,
            "opponent_faced": "Yeremay 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.1328,
            "projected_assists": 0,
            "assist_probability": 0.0104,
            "finishing_factor": 0.8,
            "creation_factor": 0.846,
            "fifa_overall": 77.0
          },
          "latest_10_games": [
            {
              "match_id": 16416332,
              "match_date": "2026-09-13",
              "home_team": "Real Sociedad",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0199,
                "total_shots": 0,
                "total_pass": 68,
                "accurate_pass": 65,
                "tackles": 3,
                "tackles_won": 3,
                "interceptions": 1,
                "clearances": 2,
                "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": 16416319,
              "match_date": "2026-09-07",
              "home_team": "Elche",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Elche",
              "stats": {
                "minutes": 58,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0017,
                "total_shots": 0,
                "total_pass": 30,
                "accurate_pass": 29,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16087727,
              "match_date": "2026-05-19",
              "home_team": "Chelsea",
              "away_team": "Tottenham Hotspur",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Chelsea",
              "opponent": "Tottenham Hotspur",
              "stats": {
                "minutes": 9,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 3,
                "accurate_pass": 1,
                "aerial_won": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "Premier League",
              "league_id": "17",
              "league_slug": "premier-league",
              "league_country": "England",
              "season_id": "76986",
              "season_name": "Premier League 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14023971,
              "match_date": "2026-03-01",
              "home_team": "Arsenal",
              "away_team": "Chelsea",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Chelsea",
              "opponent": "Arsenal",
              "stats": {
                "minutes": 89,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.4359,
                "expected_assists": 0.002,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 48,
                "accurate_pass": 44,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 5,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "Premier League",
              "league_id": "17",
              "league_slug": "premier-league",
              "league_country": "England",
              "season_id": "76986",
              "season_name": "Premier League 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14024007,
              "match_date": "2026-02-21",
              "home_team": "Chelsea",
              "away_team": "Burnley",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Chelsea",
              "opponent": "Burnley",
              "stats": {
                "minutes": 9,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "total_pass": 1,
                "accurate_pass": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "Premier League",
              "league_id": "17",
              "league_slug": "premier-league",
              "league_country": "England",
              "season_id": "76986",
              "season_name": "Premier League 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 3265,
            "combined_rank_score": 1210.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 976.0,
            "sofascore_rating": 6.3,
            "sofascore_appearances": 3.0,
            "fifa_rank": 1444.0,
            "fifa_overall": 77.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 17,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6459,
            "source_file": "data/player_rankings.csv",
            "player_name": "Mamadou Sarr",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Lucas Da Cunha",
                  "ranking": 3260
                },
                {
                  "player_name": "Strahinja Pavlović",
                  "ranking": 3261
                },
                {
                  "player_name": "Félix Correia",
                  "ranking": 3262
                },
                {
                  "player_name": "Kenneth Taylor",
                  "ranking": 3263
                },
                {
                  "player_name": "Johan Vásquez",
                  "ranking": 3264
                }
              ],
              "lower": [
                {
                  "player_name": "Yoan Bonny",
                  "ranking": 3266
                },
                {
                  "player_name": "Urko González",
                  "ranking": 3267
                },
                {
                  "player_name": "Tasos Douvikas",
                  "ranking": 3268
                },
                {
                  "player_name": "Sam Beukema",
                  "ranking": 3269
                },
                {
                  "player_name": "Máximo Perrone",
                  "ranking": 3270
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.562,
          "history_matches": 5,
          "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": 5,
            "data_confidence": 0.562,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 1.0245,
            "fbref_prior_metrics": {
              "squad": "Real Sociedad",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 0.0,
              "starts": 0.0,
              "prior_reliability": 0.0
            },
            "rationale": "XGBoost regressor (D_service) evaluated 5 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Real Sociedad, rel: 0.00, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 0.7674,
                "tackles": 1.4334,
                "tackles_won": 0.8692,
                "clearances": 3.3519,
                "aerial_won": 1.0549,
                "total_shots": 0.3044,
                "rating": 6.6459,
                "minutes": 83.49,
                "total_pass": 49.827,
                "accurate_pass": 47.207,
                "duels_won": 3.2741,
                "total_long_balls": 2.7279,
                "accurate_long_balls": 1.1079,
                "total_own_half_passes": 34.8367,
                "accurate_own_half_passes": 33.1088,
                "total_opp_half_passes": 14.9903,
                "accurate_opp_half_passes": 14.0982,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 59.1662,
                "possession_lost": 3.2313,
                "dispossessed": 0.0,
                "duels_lost": 1.3392,
                "aerial_lost": 0.6696,
                "total_contest": 0.6696,
                "won_contest": 0.3887,
                "ball_recovery": 2.0496,
                "challenges_lost": 0.0,
                "fouls": 0.3887,
                "fouls_drawn": 0.7191,
                "blocks": 0.6696,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.1224,
                "expected_assists": 0.0089,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 15.7862,
                "total_progression": 25.9494,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.3044
              },
              "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-13",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2696,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-07",
                    "opponent": "Elche",
                    "minutes": 58.0,
                    "is_starting": true,
                    "weight": 0.2292,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-05-19",
                    "opponent": "Tottenham Hotspur",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 0.1948,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-03-01",
                    "opponent": "Arsenal",
                    "minutes": 89.0,
                    "is_starting": true,
                    "weight": 0.1656,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-02-21",
                    "opponent": "Burnley",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 0.1408,
                    "rating": 6.3
                  }
                ],
                "feature_row": {
                  "history_matches": 5.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 1.8256,
                  "aerialWon": 0.4645,
                  "totalClearance_p90": 2.0878,
                  "totalTackle": 1.2037,
                  "totalPass": 33.8851
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.7673560976982117,
                    "model_output": 0.7674,
                    "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.1151
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.1098
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": -0.0237
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.017
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0112
                        }
                      ],
                      "others": -0.045,
                      "total": 0.7674,
                      "log_link": true,
                      "margin_base": -0.152032,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.125728
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.119561
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": -0.027858
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.020468
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.013743
                        }
                      ],
                      "others_margin": -0.05687
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.4334053993225098,
                    "model_output": 1.4334,
                    "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.1692
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0574
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0541
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0432
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": -0.0329
                        }
                      ],
                      "others": -0.0587,
                      "total": 1.4334,
                      "log_link": true,
                      "margin_base": 0.333417,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.114421
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.036021
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.033911
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.027947
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": -0.02182
                        }
                      ],
                      "others_margin": -0.040128
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.8692479729652405,
                    "model_output": 0.8692,
                    "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.1027
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0473
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0342
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0253
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0214
                        }
                      ],
                      "others": -0.0315,
                      "total": 0.8692,
                      "log_link": true,
                      "margin_base": -0.153422,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.11307
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.050455
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.036806
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.027021
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.023433
                        }
                      ],
                      "others_margin": -0.035672
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 3.351870059967041,
                    "model_output": 3.3519,
                    "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.5917
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4355
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.4546
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.3295
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.2901
                        }
                      ],
                      "others": 0.2319,
                      "total": 3.3519,
                      "log_link": true,
                      "margin_base": 1.235809,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": -0.188672
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.142234
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.129611
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.092239
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.088922
                        }
                      ],
                      "others_margin": 0.071697
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.0549488067626953,
                    "model_output": 1.0549,
                    "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.3766
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1446
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.1282
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.1234
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0952
                        }
                      ],
                      "others": 0.0085,
                      "total": 1.0549,
                      "log_link": true,
                      "margin_base": 0.320928,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": -0.319142
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.134829
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.118566
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.11435
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.087106
                        }
                      ],
                      "others_margin": 0.008199
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.3043825924396515,
                    "model_output": 0.3044,
                    "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.1037
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0506
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0177
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0154
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.0118
                        }
                      ],
                      "others": -0.0699,
                      "total": 0.3044,
                      "log_link": false,
                      "margin_base": 0.47232,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.10366
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.050586
                        },
                        {
                          "name": "rating",
                          "margin": -0.017663
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.015376
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": -0.011785
                        }
                      ],
                      "others_margin": -0.070039
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.6459245681762695,
                    "model_output": 6.6459,
                    "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.025
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0205
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.0185
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0177
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0136
                        }
                      ],
                      "others": -0.0448,
                      "total": 6.6459,
                      "log_link": false,
                      "margin_base": 6.785968,
                      "item_margins": [
                        {
                          "name": "touches",
                          "margin": -0.024977
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.020541
                        },
                        {
                          "name": "wonTackle",
                          "margin": -0.018504
                        },
                        {
                          "name": "rating",
                          "margin": -0.017663
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.013574
                        }
                      ],
                      "others_margin": -0.044786
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 5,
                  "role_matches": 3,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0245, quality 0.669)",
              "stats": {
                "interceptions": 0.7862,
                "tackles": 1.4685,
                "tackles_won": 0.8905,
                "clearances": 3.434,
                "aerial_won": 1.0808,
                "total_shots": 0.3119,
                "rating": 6.6459,
                "minutes": 83.49,
                "total_pass": 51.0478,
                "accurate_pass": 48.3636,
                "duels_won": 3.3543,
                "total_long_balls": 2.7947,
                "accurate_long_balls": 1.135,
                "total_own_half_passes": 35.6902,
                "accurate_own_half_passes": 33.92,
                "total_opp_half_passes": 15.3576,
                "accurate_opp_half_passes": 14.4436,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 60.6158,
                "possession_lost": 3.3105,
                "dispossessed": 0.0,
                "duels_lost": 1.372,
                "aerial_lost": 0.686,
                "total_contest": 0.686,
                "won_contest": 0.3982,
                "ball_recovery": 2.0998,
                "challenges_lost": 0.0,
                "fouls": 0.3982,
                "fouls_drawn": 0.7367,
                "blocks": 0.686,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.1254,
                "expected_assists": 0.0091,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 16.173,
                "total_progression": 26.5852,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.3119
              },
              "params": {
                "market_value_eur": 24000000,
                "quality_factor": 0.6685,
                "boost_factor": 1.0245,
                "reference_quality": 0.505,
                "history_matches": 5,
                "history_shrink": 0.5,
                "market_value_known": true
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.7862,
                "tackles": 1.4685,
                "tackles_won": 0.8905,
                "clearances": 3.434,
                "aerial_won": 1.0808,
                "total_shots": 0.3119,
                "rating": 6.6459,
                "minutes": 83.49,
                "total_pass": 51.0478,
                "accurate_pass": 48.3636,
                "duels_won": 3.3543,
                "total_long_balls": 2.7947,
                "accurate_long_balls": 1.135,
                "total_own_half_passes": 35.6902,
                "accurate_own_half_passes": 33.92,
                "total_opp_half_passes": 15.3576,
                "accurate_opp_half_passes": 14.4436,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 60.6158,
                "possession_lost": 3.3105,
                "dispossessed": 0.0,
                "duels_lost": 1.372,
                "aerial_lost": 0.686,
                "total_contest": 0.686,
                "won_contest": 0.3982,
                "ball_recovery": 2.0998,
                "challenges_lost": 0.0,
                "fouls": 0.3982,
                "fouls_drawn": 0.7367,
                "blocks": 0.686,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.1254,
                "expected_assists": 0.0091,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 16.173,
                "total_progression": 26.5852,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.3119
              },
              "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.7862,
                "tackles": 1.4685,
                "tackles_won": 0.8905,
                "clearances": 3.434,
                "aerial_won": 1.0808,
                "total_shots": 0.3119,
                "rating": 6.6459,
                "minutes": 83.49,
                "total_pass": 51.0478,
                "accurate_pass": 48.3636,
                "duels_won": 3.3543,
                "total_long_balls": 2.7947,
                "accurate_long_balls": 1.135,
                "total_own_half_passes": 35.6902,
                "accurate_own_half_passes": 33.92,
                "total_opp_half_passes": 15.3576,
                "accurate_opp_half_passes": 14.4436,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 60.6158,
                "possession_lost": 3.3105,
                "dispossessed": 0.0,
                "duels_lost": 1.372,
                "aerial_lost": 0.686,
                "total_contest": 0.686,
                "won_contest": 0.3982,
                "ball_recovery": 2.0998,
                "challenges_lost": 0.0,
                "fouls": 0.3982,
                "fouls_drawn": 0.7367,
                "blocks": 0.686,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.1254,
                "expected_assists": 0.0091,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 16.173,
                "total_progression": 26.5852,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.3119,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.1,
                "clearances_in_zone": 0.9,
                "aerial_duels_won": 0.9,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Yeremay 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": "Yeremay 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 1.50 (squad xG sum 1.3182, xG scale 1.1364, xA scale 1.1588, team xA 0.97 = 0.65 x lambda)",
              "stats": {
                "interceptions": 0.7862,
                "tackles": 1.4685,
                "tackles_won": 0.8905,
                "clearances": 3.434,
                "aerial_won": 1.0808,
                "total_shots": 0.3119,
                "rating": 6.6459,
                "minutes": 83.49,
                "total_pass": 51.0478,
                "accurate_pass": 48.3636,
                "duels_won": 3.3543,
                "total_long_balls": 2.7947,
                "accurate_long_balls": 1.135,
                "total_own_half_passes": 35.6902,
                "accurate_own_half_passes": 33.92,
                "total_opp_half_passes": 15.3576,
                "accurate_opp_half_passes": 14.4436,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 60.6158,
                "possession_lost": 3.3105,
                "dispossessed": 0.0,
                "duels_lost": 1.372,
                "aerial_lost": 0.686,
                "total_contest": 0.686,
                "won_contest": 0.3982,
                "ball_recovery": 2.0998,
                "challenges_lost": 0.0,
                "fouls": 0.3982,
                "fouls_drawn": 0.7367,
                "blocks": 0.686,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1425,
                "expected_assists": 0.0105,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 16.173,
                "total_progression": 26.5852,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.3119,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.1,
                "clearances_in_zone": 0.9,
                "aerial_duels_won": 0.9,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Yeremay 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.8,
                "creation_factor": 0.846
              },
              "params": {
                "team_lambda": 1.498,
                "squad_xg_sum": 1.3182,
                "squad_xa_sum": 0.8402,
                "team_expected_assists": 0.9737,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1364,
                "xa_scale": 1.1588,
                "opponent_lambda": 0.805,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1254,
                  "after": 0.1425
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 17 by projected rating, fifa_overall 77.0; not used by the projection)",
              "stats": {
                "interceptions": 0.7862,
                "tackles": 1.4685,
                "tackles_won": 0.8905,
                "clearances": 3.434,
                "aerial_won": 1.0808,
                "total_shots": 0.3119,
                "rating": 6.6459,
                "minutes": 83.49,
                "total_pass": 51.0478,
                "accurate_pass": 48.3636,
                "duels_won": 3.3543,
                "total_long_balls": 2.7947,
                "accurate_long_balls": 1.135,
                "total_own_half_passes": 35.6902,
                "accurate_own_half_passes": 33.92,
                "total_opp_half_passes": 15.3576,
                "accurate_opp_half_passes": 14.4436,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 60.6158,
                "possession_lost": 3.3105,
                "dispossessed": 0.0,
                "duels_lost": 1.372,
                "aerial_lost": 0.686,
                "total_contest": 0.686,
                "won_contest": 0.3982,
                "ball_recovery": 2.0998,
                "challenges_lost": 0.0,
                "fouls": 0.3982,
                "fouls_drawn": 0.7367,
                "blocks": 0.686,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1425,
                "expected_assists": 0.0105,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 16.173,
                "total_progression": 26.5852,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.3119,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.1,
                "clearances_in_zone": 0.9,
                "aerial_duels_won": 0.9,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Yeremay 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.8,
                "creation_factor": 0.846,
                "fifa_overall": 77.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": 3265,
                "fifa_rank": 1444.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.7862,
                "tackles": 1.4685,
                "tackles_won": 0.8905,
                "clearances": 3.434,
                "aerial_won": 1.0808,
                "total_shots": 0.3119,
                "rating": 6.6459,
                "minutes": 83.49,
                "total_pass": 51.0478,
                "accurate_pass": 48.3636,
                "duels_won": 3.3543,
                "total_long_balls": 2.7947,
                "accurate_long_balls": 1.135,
                "total_own_half_passes": 35.6902,
                "accurate_own_half_passes": 33.92,
                "total_opp_half_passes": 15.3576,
                "accurate_opp_half_passes": 14.4436,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 60.6158,
                "possession_lost": 3.3105,
                "dispossessed": 0.0,
                "duels_lost": 1.372,
                "aerial_lost": 0.686,
                "total_contest": 0.686,
                "won_contest": 0.3982,
                "ball_recovery": 2.0998,
                "challenges_lost": 0.0,
                "fouls": 0.3982,
                "fouls_drawn": 0.7367,
                "blocks": 0.686,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1425,
                "expected_assists": 0.0105,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 16.173,
                "total_progression": 26.5852,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.3119,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.1,
                "clearances_in_zone": 0.9,
                "aerial_duels_won": 0.9,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Yeremay 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.1328,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.846,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.1328,
                "scorer_weight": 0.114,
                "squad_weight_total": 1.6252,
                "weight_share": 0.0701,
                "finishing_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 7,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Mikel Oyarzabal",
                    "weight": 0.301,
                    "already": 0,
                    "effective_weight": 0.301,
                    "runner_up": "Luka Sučić",
                    "runner_up_effective_weight": 0.2755
                  }
                ]
              }
            },
            {
              "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.7862,
                "tackles": 1.4685,
                "tackles_won": 0.8905,
                "clearances": 3.434,
                "aerial_won": 1.0808,
                "total_shots": 0.3119,
                "rating": 6.6459,
                "minutes": 83.49,
                "total_pass": 51.0478,
                "accurate_pass": 48.3636,
                "duels_won": 3.3543,
                "total_long_balls": 2.7947,
                "accurate_long_balls": 1.135,
                "total_own_half_passes": 35.6902,
                "accurate_own_half_passes": 33.92,
                "total_opp_half_passes": 15.3576,
                "accurate_opp_half_passes": 14.4436,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 60.6158,
                "possession_lost": 3.3105,
                "dispossessed": 0.0,
                "duels_lost": 1.372,
                "aerial_lost": 0.686,
                "total_contest": 0.686,
                "won_contest": 0.3982,
                "ball_recovery": 2.0998,
                "challenges_lost": 0.0,
                "fouls": 0.3982,
                "fouls_drawn": 0.7367,
                "blocks": 0.686,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1425,
                "expected_assists": 0.0105,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 16.173,
                "total_progression": 26.5852,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.3119,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.1,
                "clearances_in_zone": 0.9,
                "aerial_duels_won": 0.9,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Yeremay 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.1328,
                "projected_assists": 0,
                "assist_probability": 0.0104,
                "finishing_factor": 0.8,
                "creation_factor": 0.846,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0104,
                "provider_weight": 0.0089,
                "squad_weight_total": 1.0056,
                "weight_share": 0.0088,
                "creation_factor": 0.846,
                "appearance_weight": 1.0,
                "weight_rank": 11,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Sergio Gómez",
                    "weight": 0.1771,
                    "already": 0,
                    "effective_weight": 0.1771,
                    "runner_up": "Carlos Soler",
                    "runner_up_effective_weight": 0.1401,
                    "blocked_own_goal": [
                      "Mikel Oyarzabal"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Luken Beitia": {
          "player_id": 1539149,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 34,
          "height": 191,
          "market_value": 1100000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 5,
            "aerial_won": 2,
            "total_shots": 1,
            "rating": 6.7701,
            "minutes": 90,
            "total_pass": 51,
            "accurate_pass": 45,
            "duels_won": 4,
            "total_long_balls": 6,
            "accurate_long_balls": 3,
            "total_own_half_passes": 32,
            "accurate_own_half_passes": 30,
            "total_opp_half_passes": 19,
            "accurate_opp_half_passes": 15,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 65,
            "possession_lost": 6.9842,
            "dispossessed": 0.4152,
            "duels_lost": 3,
            "aerial_lost": 1,
            "total_contest": 1,
            "won_contest": 1,
            "ball_recovery": 4,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 0,
            "blocks": 1,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0949,
            "expected_assists": 0.049,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0433,
            "ball_carries": 15,
            "total_progression": 71,
            "progressive_carries": 1,
            "key_pass": 1,
            "shots_off_target": 0,
            "opponent_faced": "Luismi Cruz",
            "matchup_zone": "Shape fallback",
            "antagonist_source": "formation_fallback",
            "projected_goals": 0,
            "goal_probability": 0.0905,
            "projected_assists": 0,
            "assist_probability": 0.0478,
            "finishing_factor": 0.8,
            "creation_factor": 0.8,
            "fifa_overall": 67.0
          },
          "latest_10_games": [
            {
              "match_id": 16416297,
              "match_date": "2026-09-20",
              "home_team": "Valencia",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 7.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2689,
                "expected_assists": 0.0201,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 39,
                "accurate_pass": 32,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 9,
                "aerial_won": 3,
                "duels_won": 7,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416332,
              "match_date": "2026-09-13",
              "home_team": "Real Sociedad",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1271,
                "total_shots": 0,
                "total_pass": 67,
                "accurate_pass": 59,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 5,
                "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": 16421051,
              "match_date": "2026-08-26",
              "home_team": "Real Madrid",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 5.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0085,
                "total_shots": 0,
                "total_pass": 59,
                "accurate_pass": 56,
                "key_pass": 1,
                "interceptions": 2,
                "clearances": 5,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083719,
              "match_date": "2026-05-23",
              "home_team": "Espanyol",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0029,
                "total_shots": 0,
                "total_pass": 42,
                "accurate_pass": 38,
                "interceptions": 1,
                "clearances": 5,
                "aerial_won": 2,
                "duels_won": 3,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083152,
              "match_date": "2026-04-11",
              "home_team": "Real Sociedad",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 14,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "total_pass": 2,
                "accurate_pass": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 6872,
            "combined_rank_score": 5182.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 941.0,
            "sofascore_rating": 6.45,
            "sofascore_appearances": 2.0,
            "fifa_rank": 9423.0,
            "fifa_overall": 67.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 11,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7701,
            "source_file": "data/player_rankings.csv",
            "player_name": "Luken Beitia",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Karel Spáčil",
                  "ranking": 6867
                },
                {
                  "player_name": "Cristopher Varela",
                  "ranking": 6868
                },
                {
                  "player_name": "Dan Nistor",
                  "ranking": 6869
                },
                {
                  "player_name": "Lucão",
                  "ranking": 6870
                },
                {
                  "player_name": "Juri Cisotti",
                  "ranking": 6871
                }
              ],
              "lower": [
                {
                  "player_name": "Kauã Elias",
                  "ranking": 6873
                },
                {
                  "player_name": "Lassina Traoré",
                  "ranking": 6874
                },
                {
                  "player_name": "Vladyslav Dubinchak",
                  "ranking": 6875
                },
                {
                  "player_name": "Vinícius Tobías",
                  "ranking": 6876
                },
                {
                  "player_name": "Yerlin Quinonez",
                  "ranking": 6877
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.573,
          "history_matches": 5,
          "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": 5,
            "data_confidence": 0.573,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9899,
            "fbref_prior_metrics": {
              "squad": "Real Sociedad",
              "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 5 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Real Sociedad, 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.9542,
                "tackles": 1.363,
                "tackles_won": 0.8378,
                "clearances": 5.3153,
                "aerial_won": 1.9712,
                "total_shots": 0.72,
                "rating": 6.7701,
                "minutes": 90.0,
                "total_pass": 51.5815,
                "accurate_pass": 45.7998,
                "duels_won": 4.0685,
                "total_long_balls": 6.442,
                "accurate_long_balls": 3.0411,
                "total_own_half_passes": 32.4629,
                "accurate_own_half_passes": 30.7296,
                "total_opp_half_passes": 19.1186,
                "accurate_opp_half_passes": 15.0702,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 65.8888,
                "possession_lost": 7.0555,
                "dispossessed": 0.4194,
                "duels_lost": 3.3854,
                "aerial_lost": 0.5806,
                "total_contest": 0.8203,
                "won_contest": 0.5065,
                "ball_recovery": 3.5465,
                "challenges_lost": 1.0,
                "fouls": 1.0716,
                "fouls_drawn": 0.0,
                "blocks": 1.3949,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0844,
                "expected_assists": 0.0427,
                "shots_on_target": 0.3138,
                "big_chances_created": 0.2667,
                "xgot": 0.0385,
                "ball_carries": 15.1287,
                "total_progression": 71.8483,
                "progressive_carries": 1.3007,
                "key_pass": 0.8073,
                "shots_off_target": 0.4062
              },
              "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": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2696,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2292,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-26",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1948,
                    "rating": 5.7
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1656,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-04-11",
                    "opponent": "Deportivo Alavés",
                    "minutes": 14.0,
                    "is_starting": false,
                    "weight": 0.1408,
                    "rating": 6.3
                  }
                ],
                "feature_row": {
                  "history_matches": 5.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 5.3748,
                  "aerialWon": 2.0225,
                  "totalClearance_p90": 5.3748,
                  "totalTackle": 1.0381,
                  "totalPass": 44.6026
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.9542491436004639,
                    "model_output": 0.9542,
                    "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.1016
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0263
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": -0.0239
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0165
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0116
                        }
                      ],
                      "others": -0.0369,
                      "total": 0.9542,
                      "log_link": true,
                      "margin_base": -0.152032,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.111819
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.027052
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": -0.024567
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.016995
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.011752
                        }
                      ],
                      "others_margin": -0.037852
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.3629721403121948,
                    "model_output": 1.363,
                    "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.1813
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.1179
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0967
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0642
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0612
                        }
                      ],
                      "others": -0.1958,
                      "total": 1.363,
                      "log_link": true,
                      "margin_base": 0.333417,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.122153
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.077723
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.064195
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.040403
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.038531
                        }
                      ],
                      "others_margin": -0.134247
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.837827205657959,
                    "model_output": 0.8378,
                    "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.1031
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0634
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0528
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0423
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0368
                        }
                      ],
                      "others": -0.086,
                      "total": 0.8378,
                      "log_link": true,
                      "margin_base": -0.153422,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.113484
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.068213
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.060589
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.048819
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.040637
                        }
                      ],
                      "others_margin": -0.097659
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 5.315272808074951,
                    "model_output": 5.3153,
                    "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.7294
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.5693
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.2667
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.2433
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.2184
                        }
                      ],
                      "others": -0.153,
                      "total": 5.3153,
                      "log_link": true,
                      "margin_base": 1.235809,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": 0.192246
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.127962
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.054748
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.047443
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.040757
                        }
                      ],
                      "others_margin": -0.028381
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.97115957736969,
                    "model_output": 1.9712,
                    "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.233
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1821
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.1166
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.112
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0888
                        }
                      ],
                      "others": 0.0843,
                      "total": 1.9712,
                      "log_link": true,
                      "margin_base": 0.320928,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": 0.156149
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.107082
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.062992
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.060434
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.048213
                        }
                      ],
                      "others_margin": 0.043692
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.7200043797492981,
                    "model_output": 0.72,
                    "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.1166
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0654
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0285
                        },
                        {
                          "name": "error_severity",
                          "contribution": 0.0273
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0249
                        }
                      ],
                      "others": 0.0348,
                      "total": 0.72,
                      "log_link": false,
                      "margin_base": 0.47232,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.116593
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.065421
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.028545
                        },
                        {
                          "name": "error_severity",
                          "margin": 0.027307
                        },
                        {
                          "name": "rating",
                          "margin": -0.024919
                        }
                      ],
                      "others_margin": 0.034738
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.770145893096924,
                    "model_output": 6.7701,
                    "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": "totalShots",
                          "contribution": 0.0161
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0152
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0146
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0127
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0095
                        }
                      ],
                      "others": 0.001,
                      "total": 6.7701,
                      "log_link": false,
                      "margin_base": 6.785968,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.016096
                        },
                        {
                          "name": "rating",
                          "margin": -0.015168
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.014563
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.012699
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.009532
                        }
                      ],
                      "others_margin": 0.00098
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 5,
                  "role_matches": 4,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9899, quality 0.437)",
              "stats": {
                "interceptions": 0.9446,
                "tackles": 1.3492,
                "tackles_won": 0.8294,
                "clearances": 5.2616,
                "aerial_won": 1.9513,
                "total_shots": 0.7127,
                "rating": 6.7701,
                "minutes": 90.0,
                "total_pass": 51.0605,
                "accurate_pass": 45.3372,
                "duels_won": 4.0274,
                "total_long_balls": 6.3769,
                "accurate_long_balls": 3.0104,
                "total_own_half_passes": 32.135,
                "accurate_own_half_passes": 30.4192,
                "total_opp_half_passes": 18.9255,
                "accurate_opp_half_passes": 14.918,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 65.2233,
                "possession_lost": 6.9842,
                "dispossessed": 0.4152,
                "duels_lost": 3.3512,
                "aerial_lost": 0.5747,
                "total_contest": 0.812,
                "won_contest": 0.5014,
                "ball_recovery": 3.5107,
                "challenges_lost": 0.9899,
                "fouls": 1.0608,
                "fouls_drawn": 0.0,
                "blocks": 1.3808,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0835,
                "expected_assists": 0.0423,
                "shots_on_target": 0.3106,
                "big_chances_created": 0.264,
                "xgot": 0.0381,
                "ball_carries": 14.9759,
                "total_progression": 71.1226,
                "progressive_carries": 1.2876,
                "key_pass": 0.7991,
                "shots_off_target": 0.4021
              },
              "params": {
                "market_value_eur": 1100000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9899,
                "reference_quality": 0.505,
                "history_matches": 5,
                "history_shrink": 0.5,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0217)",
              "stats": {
                "interceptions": 0.9675,
                "tackles": 1.3492,
                "tackles_won": 0.8114,
                "clearances": 5.2616,
                "aerial_won": 1.9513,
                "total_shots": 0.6973,
                "rating": 6.7701,
                "minutes": 90.0,
                "total_pass": 51.0605,
                "accurate_pass": 45.3372,
                "duels_won": 4.0274,
                "total_long_balls": 6.3769,
                "accurate_long_balls": 3.0104,
                "total_own_half_passes": 32.135,
                "accurate_own_half_passes": 30.4192,
                "total_opp_half_passes": 18.9255,
                "accurate_opp_half_passes": 14.918,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 65.2233,
                "possession_lost": 6.9842,
                "dispossessed": 0.4152,
                "duels_lost": 3.3512,
                "aerial_lost": 0.5747,
                "total_contest": 0.812,
                "won_contest": 0.5014,
                "ball_recovery": 3.5107,
                "challenges_lost": 0.9899,
                "fouls": 1.0595,
                "fouls_drawn": 0.0,
                "blocks": 1.3808,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0835,
                "expected_assists": 0.0423,
                "shots_on_target": 0.3039,
                "big_chances_created": 0.264,
                "xgot": 0.0381,
                "ball_carries": 14.9759,
                "total_progression": 71.1226,
                "progressive_carries": 1.2876,
                "key_pass": 0.7991,
                "shots_off_target": 0.4021
              },
              "params": {
                "blend_weight": 0.0217,
                "history_matches": 5,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 1.0,
                "prior_reliability": 0.0667,
                "competition": "La Liga",
                "squad": "Real Sociedad"
              },
              "changes": [
                {
                  "stat": "interceptionWon",
                  "before": 0.9446,
                  "after": 0.9675
                },
                {
                  "stat": "wonTackle",
                  "before": 0.8294,
                  "after": 0.8114
                },
                {
                  "stat": "totalShots",
                  "before": 0.7127,
                  "after": 0.6973
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.3106,
                  "after": 0.3039
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.9675,
                "tackles": 1.3492,
                "tackles_won": 0.8114,
                "clearances": 5.2616,
                "aerial_won": 1.9513,
                "total_shots": 0.706,
                "rating": 6.7701,
                "minutes": 90.0,
                "total_pass": 51.0605,
                "accurate_pass": 45.3372,
                "duels_won": 4.0274,
                "total_long_balls": 6.3769,
                "accurate_long_balls": 3.0104,
                "total_own_half_passes": 32.135,
                "accurate_own_half_passes": 30.4192,
                "total_opp_half_passes": 18.9255,
                "accurate_opp_half_passes": 14.918,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 65.2233,
                "possession_lost": 6.9842,
                "dispossessed": 0.4152,
                "duels_lost": 3.3512,
                "aerial_lost": 0.5747,
                "total_contest": 0.812,
                "won_contest": 0.5014,
                "ball_recovery": 3.5107,
                "challenges_lost": 0.9899,
                "fouls": 1.0595,
                "fouls_drawn": 0.0,
                "blocks": 1.3808,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0835,
                "expected_assists": 0.0423,
                "shots_on_target": 0.3039,
                "big_chances_created": 0.264,
                "xgot": 0.0381,
                "ball_carries": 14.9759,
                "total_progression": 71.1226,
                "progressive_carries": 1.2876,
                "key_pass": 0.7991,
                "shots_off_target": 0.4021
              },
              "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.9675,
                "tackles": 1.3492,
                "tackles_won": 0.8114,
                "clearances": 5.2616,
                "aerial_won": 1.9513,
                "total_shots": 0.706,
                "rating": 6.7701,
                "minutes": 90.0,
                "total_pass": 51.0605,
                "accurate_pass": 45.3372,
                "duels_won": 4.0274,
                "total_long_balls": 6.3769,
                "accurate_long_balls": 3.0104,
                "total_own_half_passes": 32.135,
                "accurate_own_half_passes": 30.4192,
                "total_opp_half_passes": 18.9255,
                "accurate_opp_half_passes": 14.918,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 65.2233,
                "possession_lost": 6.9842,
                "dispossessed": 0.4152,
                "duels_lost": 3.3512,
                "aerial_lost": 0.5747,
                "total_contest": 0.812,
                "won_contest": 0.5014,
                "ball_recovery": 3.5107,
                "challenges_lost": 0.9899,
                "fouls": 1.0595,
                "fouls_drawn": 0.0,
                "blocks": 1.3808,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0835,
                "expected_assists": 0.0423,
                "shots_on_target": 0.3039,
                "big_chances_created": 0.264,
                "xgot": 0.0381,
                "ball_carries": 14.9759,
                "total_progression": 71.1226,
                "progressive_carries": 1.2876,
                "key_pass": 0.7991,
                "shots_off_target": 0.4021,
                "opponent_faced": "Luismi Cruz",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Luismi Cruz",
                  "matchup_zone": "Shape fallback"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.50 (squad xG sum 1.3182, xG scale 1.1364, xA scale 1.1588, team xA 0.97 = 0.65 x lambda)",
              "stats": {
                "interceptions": 0.9675,
                "tackles": 1.3492,
                "tackles_won": 0.8114,
                "clearances": 5.2616,
                "aerial_won": 1.9513,
                "total_shots": 0.706,
                "rating": 6.7701,
                "minutes": 90.0,
                "total_pass": 51.0605,
                "accurate_pass": 45.3372,
                "duels_won": 4.0274,
                "total_long_balls": 6.3769,
                "accurate_long_balls": 3.0104,
                "total_own_half_passes": 32.135,
                "accurate_own_half_passes": 30.4192,
                "total_opp_half_passes": 18.9255,
                "accurate_opp_half_passes": 14.918,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 65.2233,
                "possession_lost": 6.9842,
                "dispossessed": 0.4152,
                "duels_lost": 3.3512,
                "aerial_lost": 0.5747,
                "total_contest": 0.812,
                "won_contest": 0.5014,
                "ball_recovery": 3.5107,
                "challenges_lost": 0.9899,
                "fouls": 1.0595,
                "fouls_drawn": 0.0,
                "blocks": 1.3808,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0949,
                "expected_assists": 0.049,
                "shots_on_target": 0.3039,
                "big_chances_created": 0.264,
                "xgot": 0.0433,
                "ball_carries": 14.9759,
                "total_progression": 71.1226,
                "progressive_carries": 1.2876,
                "key_pass": 0.7991,
                "shots_off_target": 0.4021,
                "opponent_faced": "Luismi Cruz",
                "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": 1.498,
                "squad_xg_sum": 1.3182,
                "squad_xa_sum": 0.8402,
                "team_expected_assists": 0.9737,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1364,
                "xa_scale": 1.1588,
                "opponent_lambda": 0.805,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0835,
                  "after": 0.0949
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0423,
                  "after": 0.049
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 11 by projected rating, fifa_overall 67.0; not used by the projection)",
              "stats": {
                "interceptions": 0.9675,
                "tackles": 1.3492,
                "tackles_won": 0.8114,
                "clearances": 5.2616,
                "aerial_won": 1.9513,
                "total_shots": 0.706,
                "rating": 6.7701,
                "minutes": 90.0,
                "total_pass": 51.0605,
                "accurate_pass": 45.3372,
                "duels_won": 4.0274,
                "total_long_balls": 6.3769,
                "accurate_long_balls": 3.0104,
                "total_own_half_passes": 32.135,
                "accurate_own_half_passes": 30.4192,
                "total_opp_half_passes": 18.9255,
                "accurate_opp_half_passes": 14.918,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 65.2233,
                "possession_lost": 6.9842,
                "dispossessed": 0.4152,
                "duels_lost": 3.3512,
                "aerial_lost": 0.5747,
                "total_contest": 0.812,
                "won_contest": 0.5014,
                "ball_recovery": 3.5107,
                "challenges_lost": 0.9899,
                "fouls": 1.0595,
                "fouls_drawn": 0.0,
                "blocks": 1.3808,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0949,
                "expected_assists": 0.049,
                "shots_on_target": 0.3039,
                "big_chances_created": 0.264,
                "xgot": 0.0433,
                "ball_carries": 14.9759,
                "total_progression": 71.1226,
                "progressive_carries": 1.2876,
                "key_pass": 0.7991,
                "shots_off_target": 0.4021,
                "opponent_faced": "Luismi Cruz",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 67.0
              },
              "params": {
                "match_squad_rank": 11,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 6872,
                "fifa_rank": 9423.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 67.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "interceptions": 0.9675,
                "tackles": 1.3492,
                "tackles_won": 0.8114,
                "clearances": 5.2616,
                "aerial_won": 1.9513,
                "total_shots": 0.706,
                "rating": 6.7701,
                "minutes": 90.0,
                "total_pass": 51.0605,
                "accurate_pass": 45.3372,
                "duels_won": 4.0274,
                "total_long_balls": 6.3769,
                "accurate_long_balls": 3.0104,
                "total_own_half_passes": 32.135,
                "accurate_own_half_passes": 30.4192,
                "total_opp_half_passes": 18.9255,
                "accurate_opp_half_passes": 14.918,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 65.2233,
                "possession_lost": 6.9842,
                "dispossessed": 0.4152,
                "duels_lost": 3.3512,
                "aerial_lost": 0.5747,
                "total_contest": 0.812,
                "won_contest": 0.5014,
                "ball_recovery": 3.5107,
                "challenges_lost": 0.9899,
                "fouls": 1.0595,
                "fouls_drawn": 0.0,
                "blocks": 1.3808,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0949,
                "expected_assists": 0.049,
                "shots_on_target": 0.3039,
                "big_chances_created": 0.264,
                "xgot": 0.0433,
                "ball_carries": 14.9759,
                "total_progression": 71.1226,
                "progressive_carries": 1.2876,
                "key_pass": 0.7991,
                "shots_off_target": 0.4021,
                "opponent_faced": "Luismi Cruz",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0905,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 67.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0905,
                "scorer_weight": 0.0759,
                "squad_weight_total": 1.6252,
                "weight_share": 0.0467,
                "finishing_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 9,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Mikel Oyarzabal",
                    "weight": 0.301,
                    "already": 0,
                    "effective_weight": 0.301,
                    "runner_up": "Luka Sučić",
                    "runner_up_effective_weight": 0.2755
                  }
                ]
              }
            },
            {
              "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.9675,
                "tackles": 1.3492,
                "tackles_won": 0.8114,
                "clearances": 5.2616,
                "aerial_won": 1.9513,
                "total_shots": 0.706,
                "rating": 6.7701,
                "minutes": 90.0,
                "total_pass": 51.0605,
                "accurate_pass": 45.3372,
                "duels_won": 4.0274,
                "total_long_balls": 6.3769,
                "accurate_long_balls": 3.0104,
                "total_own_half_passes": 32.135,
                "accurate_own_half_passes": 30.4192,
                "total_opp_half_passes": 18.9255,
                "accurate_opp_half_passes": 14.918,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 65.2233,
                "possession_lost": 6.9842,
                "dispossessed": 0.4152,
                "duels_lost": 3.3512,
                "aerial_lost": 0.5747,
                "total_contest": 0.812,
                "won_contest": 0.5014,
                "ball_recovery": 3.5107,
                "challenges_lost": 0.9899,
                "fouls": 1.0595,
                "fouls_drawn": 0.0,
                "blocks": 1.3808,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0949,
                "expected_assists": 0.049,
                "shots_on_target": 0.3039,
                "big_chances_created": 0.264,
                "xgot": 0.0433,
                "ball_carries": 14.9759,
                "total_progression": 71.1226,
                "progressive_carries": 1.2876,
                "key_pass": 0.7991,
                "shots_off_target": 0.4021,
                "opponent_faced": "Luismi Cruz",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0905,
                "projected_assists": 0,
                "assist_probability": 0.0478,
                "finishing_factor": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 67.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0478,
                "provider_weight": 0.0392,
                "squad_weight_total": 1.0056,
                "weight_share": 0.039,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 8,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Sergio Gómez",
                    "weight": 0.1771,
                    "already": 0,
                    "effective_weight": 0.1771,
                    "runner_up": "Carlos Soler",
                    "runner_up_effective_weight": 0.1401,
                    "blocked_own_goal": [
                      "Mikel Oyarzabal"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Álex Remiro": {
          "player_id": 791773,
          "position": "G",
          "position_depth": "G",
          "is_starter": true,
          "shirt_number": 1,
          "height": 191,
          "market_value": 9600000,
          "stats": {
            "saves": 3,
            "goals_prevented": -0.0779,
            "rating": 7.0955,
            "minutes": 90,
            "total_pass": 39,
            "accurate_pass": 27,
            "total_long_balls": 21,
            "accurate_long_balls": 9,
            "touches": 49,
            "clearances": 1,
            "ball_recovery": 8,
            "high_claims": 1,
            "punches": 0.5904,
            "aerial_won": 0,
            "sweeper_actions": 2,
            "sweeper_accurate": 2,
            "saves_inside_box": 2,
            "possession_lost": 12.1995,
            "duels_won": 0,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 25,
            "accurate_own_half_passes": 22,
            "gk_engine_opponent_lambda": 0.8228,
            "shots_faced": 7.6,
            "expected_saves": 1.85,
            "high_pressure_saves": 0.64,
            "opponent_faced": "Bil Nsongo, Jonathan Asp Jensen",
            "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": 81.0
          },
          "latest_10_games": [
            {
              "match_id": 16416297,
              "match_date": "2026-09-20",
              "home_team": "Valencia",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0036,
                "total_shots": 0,
                "total_pass": 34,
                "accurate_pass": 16,
                "ball_recovery": 8,
                "saves": 4,
                "goals_prevented": -0.9518
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416332,
              "match_date": "2026-09-13",
              "home_team": "Real Sociedad",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0014,
                "total_shots": 0,
                "total_pass": 35,
                "accurate_pass": 28,
                "clearances": 4,
                "ball_recovery": 8,
                "saves": 2,
                "goals_prevented": -1.0483
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416340,
              "match_date": "2026-09-03",
              "home_team": "Real Sociedad",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0021,
                "total_shots": 0,
                "total_pass": 43,
                "accurate_pass": 33,
                "clearances": 2,
                "ball_recovery": 5,
                "saves": 2,
                "goals_prevented": 0.1123
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416310,
              "match_date": "2026-08-29",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0024,
                "total_shots": 0,
                "total_pass": 40,
                "accurate_pass": 25,
                "ball_recovery": 3,
                "saves": 2,
                "goals_prevented": -0.2288
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421051,
              "match_date": "2026-08-26",
              "home_team": "Real Madrid",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 8.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0006,
                "total_shots": 0,
                "total_pass": 37,
                "accurate_pass": 28,
                "ball_recovery": 11,
                "saves": 7,
                "goals_prevented": 0.2697
              },
              "has_player_stats": true,
              "league_name": "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": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 9.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0061,
                "total_shots": 0,
                "total_pass": 48,
                "accurate_pass": 33,
                "ball_recovery": 14,
                "saves": 6,
                "goals_prevented": 1.5276
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083687,
              "match_date": "2026-05-17",
              "home_team": "Real Sociedad",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 5.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0006,
                "total_shots": 0,
                "total_pass": 33,
                "accurate_pass": 22,
                "clearances": 2,
                "ball_recovery": 5,
                "saves": 2,
                "goals_prevented": -2.2689
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083624,
              "match_date": "2026-05-14",
              "home_team": "Girona FC",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 90,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0038,
                "total_shots": 0,
                "total_pass": 48,
                "accurate_pass": 30,
                "key_pass": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 12,
                "saves": 4,
                "goals_prevented": 0.1956
              },
              "has_player_stats": true,
              "league_name": "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": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0008,
                "total_shots": 0,
                "total_pass": 40,
                "accurate_pass": 37,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 7,
                "saves": 4,
                "goals_prevented": 0.3427
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083526,
              "match_date": "2026-05-04",
              "home_team": "Sevilla",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0008,
                "total_shots": 0,
                "total_pass": 38,
                "accurate_pass": 30,
                "clearances": 2,
                "duels_won": 1,
                "ball_recovery": 8,
                "saves": 4,
                "goals_prevented": -0.647
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 591,
            "combined_rank_score": 308.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 43.0,
            "sofascore_rating": 7.825,
            "sofascore_appearances": 4.0,
            "fifa_rank": 574.0,
            "fifa_overall": 81.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 2,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.0955,
            "source_file": "data/player_rankings.csv",
            "player_name": "Álex Remiro",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "George Pickford",
                  "ranking": 586
                },
                {
                  "player_name": "Shane Nti",
                  "ranking": 587
                },
                {
                  "player_name": "Gnangoro Bouare Samake",
                  "ranking": 588
                },
                {
                  "player_name": "Nizar El Jmili Ben Hamou",
                  "ranking": 589
                },
                {
                  "player_name": "Manuel Angel Castillo Rodrguez",
                  "ranking": 590
                }
              ],
              "lower": [
                {
                  "player_name": "Dejan Kulusevski",
                  "ranking": 592
                },
                {
                  "player_name": "Inpyo Oh",
                  "ranking": 593
                },
                {
                  "player_name": "Leandro Paredes",
                  "ranking": 594
                },
                {
                  "player_name": "Claudio Sepúlveda",
                  "ranking": 595
                },
                {
                  "player_name": "Juan Manuel Requena",
                  "ranking": 596
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.79,
          "history_matches": 43,
          "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": 43,
            "data_confidence": 0.79,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0004,
            "fbref_prior_metrics": {
              "squad": "Real Sociedad",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 4.0,
              "starts": 4.0,
              "minutes": 360.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.2667
            },
            "rationale": "XGBoost regressor (G_service) evaluated 43 historical appearances across 3 target models; FBref 2026-2027 prior blended (La Liga, Real Sociedad, rel: 0.27, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost G_service raw output over 3 target models",
              "stats": {
                "saves": 2.9757,
                "goals_prevented": -0.0778,
                "rating": 7.0955,
                "minutes": 90.0,
                "total_pass": 39.096,
                "accurate_pass": 27.1215,
                "total_long_balls": 21.0569,
                "accurate_long_balls": 9.4469,
                "touches": 49.2236,
                "clearances": 1.2409,
                "ball_recovery": 7.9943,
                "high_claims": 0.9703,
                "punches": 0.5902,
                "aerial_won": 0.1297,
                "sweeper_actions": 1.892,
                "sweeper_accurate": 1.8914,
                "saves_inside_box": 2.0914,
                "possession_lost": 12.1946,
                "duels_won": 0.2269,
                "duels_lost": 0.0123,
                "total_contest": 0.0013,
                "won_contest": 0.0013,
                "fouls": 0.0,
                "fouls_drawn": 0.1463,
                "total_own_half_passes": 24.5188,
                "accurate_own_half_passes": 21.9018
              },
              "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": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1501,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1276,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-03",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1085,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0922,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-26",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 8.1
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0666,
                    "rating": 9.0
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0566,
                    "rating": 5.7
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Girona FC",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0481,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-05-09",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-05-04",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 7.1
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "sweeper_actions_p90": 1.2776,
                  "accurateOwnHalfPasses": 21.9018,
                  "accurateLongBalls": 9.4469,
                  "aerialWon": 0.1297,
                  "accurateKeeperSweeper": 1.8914,
                  "sweeper_accuracy": 0.5862
                },
                "per_target": [
                  {
                    "target": "saves",
                    "predicted": 2.975715160369873,
                    "model_output": 2.9757,
                    "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.0606
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0489
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0444
                        },
                        {
                          "name": "save_contribution",
                          "contribution": 0.0339
                        },
                        {
                          "name": "accurateLongBalls",
                          "contribution": 0.0282
                        }
                      ],
                      "others": 0.0108,
                      "total": 2.9757,
                      "log_link": true,
                      "margin_base": 1.07688,
                      "item_margins": [
                        {
                          "name": "saves",
                          "margin": 0.020442
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.016465
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.015177
                        },
                        {
                          "name": "save_contribution",
                          "margin": 0.011595
                        },
                        {
                          "name": "accurateLongBalls",
                          "margin": 0.009547
                        }
                      ],
                      "others_margin": 0.003662
                    }
                  },
                  {
                    "target": "goalsPrevented",
                    "predicted": -0.07784575968980789,
                    "model_output": -0.0778,
                    "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.0181
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0174
                        },
                        {
                          "name": "commanding_index",
                          "contribution": 0.0155
                        },
                        {
                          "name": "punches",
                          "contribution": 0.0131
                        },
                        {
                          "name": "accurateLongBalls",
                          "contribution": -0.0121
                        }
                      ],
                      "others": -0.072,
                      "total": -0.0778,
                      "log_link": false,
                      "margin_base": -0.021558,
                      "item_margins": [
                        {
                          "name": "goalkeeperValueNormalized",
                          "margin": -0.018064
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.01744
                        },
                        {
                          "name": "commanding_index",
                          "margin": 0.015527
                        },
                        {
                          "name": "punches",
                          "margin": 0.013126
                        },
                        {
                          "name": "accurateLongBalls",
                          "margin": -0.012055
                        }
                      ],
                      "others_margin": -0.072262
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.095481872558594,
                    "model_output": 7.0955,
                    "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": "long_ball_accuracy",
                          "contribution": 0.0254
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "contribution": -0.019
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0165
                        },
                        {
                          "name": "sweeper_accuracy",
                          "contribution": -0.0158
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0124
                        }
                      ],
                      "others": 0.1062,
                      "total": 7.0955,
                      "log_link": false,
                      "margin_base": 7.00281,
                      "item_margins": [
                        {
                          "name": "long_ball_accuracy",
                          "margin": 0.025361
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "margin": -0.019014
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.016526
                        },
                        {
                          "name": "sweeper_accuracy",
                          "margin": -0.015814
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.0124
                        }
                      ],
                      "others_margin": 0.106264
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 43,
                  "role_matches": 43,
                  "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.0004, quality 0.518)",
              "stats": {
                "saves": 2.9769,
                "goals_prevented": -0.0779,
                "rating": 7.0955,
                "minutes": 90.0,
                "total_pass": 39.1116,
                "accurate_pass": 27.1323,
                "total_long_balls": 21.0653,
                "accurate_long_balls": 9.4507,
                "touches": 49.2433,
                "clearances": 1.2414,
                "ball_recovery": 7.9975,
                "high_claims": 0.9707,
                "punches": 0.5904,
                "aerial_won": 0.1298,
                "sweeper_actions": 1.8928,
                "sweeper_accurate": 1.8922,
                "saves_inside_box": 2.0922,
                "possession_lost": 12.1995,
                "duels_won": 0.227,
                "duels_lost": 0.0123,
                "total_contest": 0.0013,
                "won_contest": 0.0013,
                "fouls": 0.0,
                "fouls_drawn": 0.1464,
                "total_own_half_passes": 24.5286,
                "accurate_own_half_passes": 21.9106
              },
              "params": {
                "market_value_eur": 9600000,
                "quality_factor": 0.5177,
                "boost_factor": 1.0004,
                "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.0181)",
              "stats": {
                "saves": 2.9999,
                "goals_prevented": -0.0779,
                "rating": 7.0955,
                "minutes": 90.0,
                "total_pass": 39.1116,
                "accurate_pass": 27.1323,
                "total_long_balls": 21.0653,
                "accurate_long_balls": 9.4507,
                "touches": 49.2433,
                "clearances": 1.2414,
                "ball_recovery": 7.9975,
                "high_claims": 0.9707,
                "punches": 0.5904,
                "aerial_won": 0.1298,
                "sweeper_actions": 1.8928,
                "sweeper_accurate": 1.8922,
                "saves_inside_box": 2.0922,
                "possession_lost": 12.1995,
                "duels_won": 0.227,
                "duels_lost": 0.0123,
                "total_contest": 0.0013,
                "won_contest": 0.0013,
                "fouls": 0.0,
                "fouls_drawn": 0.1438,
                "total_own_half_passes": 24.5286,
                "accurate_own_half_passes": 21.9106
              },
              "params": {
                "blend_weight": 0.0181,
                "history_matches": 43,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 1.0,
                "prior_reliability": 0.2667,
                "competition": "La Liga",
                "squad": "Real Sociedad"
              },
              "changes": [
                {
                  "stat": "saves",
                  "before": 2.9769,
                  "after": 2.9999
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 2.9999,
                "goals_prevented": -0.0779,
                "rating": 7.0955,
                "minutes": 90.0,
                "total_pass": 39.1116,
                "accurate_pass": 27.1323,
                "total_long_balls": 21.0653,
                "accurate_long_balls": 9.4507,
                "touches": 49.2433,
                "clearances": 1.2414,
                "ball_recovery": 7.9975,
                "high_claims": 0.9707,
                "punches": 0.5904,
                "aerial_won": 0.1298,
                "sweeper_actions": 1.8928,
                "sweeper_accurate": 1.8922,
                "saves_inside_box": 2.0922,
                "possession_lost": 12.1995,
                "duels_won": 0.227,
                "duels_lost": 0.0123,
                "total_contest": 0.0013,
                "won_contest": 0.0013,
                "fouls": 0.0,
                "fouls_drawn": 0.1438,
                "total_own_half_passes": 24.5286,
                "accurate_own_half_passes": 21.9106
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "saves": 2.9999,
                "goals_prevented": -0.0779,
                "rating": 7.0955,
                "minutes": 90.0,
                "total_pass": 39.1116,
                "accurate_pass": 27.1323,
                "total_long_balls": 21.0653,
                "accurate_long_balls": 9.4507,
                "touches": 49.2433,
                "clearances": 1.2414,
                "ball_recovery": 7.9975,
                "high_claims": 0.9707,
                "punches": 0.5904,
                "aerial_won": 0.1298,
                "sweeper_actions": 1.8928,
                "sweeper_accurate": 1.8922,
                "saves_inside_box": 2.0922,
                "possession_lost": 12.1995,
                "duels_won": 0.227,
                "duels_lost": 0.0123,
                "total_contest": 0.0013,
                "won_contest": 0.0013,
                "fouls": 0.0,
                "fouls_drawn": 0.1438,
                "total_own_half_passes": 24.5286,
                "accurate_own_half_passes": 21.9106,
                "gk_engine_opponent_lambda": 0.8228,
                "shots_faced": 7.8,
                "expected_saves": 1.91,
                "high_pressure_saves": 0.66,
                "opponent_faced": "Bil Nsongo, Jonathan Asp Jensen",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Bil Nsongo, Jonathan Asp Jensen",
                  "matchup_zone": "Goalkeeper shot-stopping context",
                  "opponent_lambda": 0.8228
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.50 (squad xG sum 1.3182, xG scale 1.1364, xA scale 1.1588, team xA 0.97 = 0.65 x lambda)",
              "stats": {
                "saves": 2.9999,
                "goals_prevented": -0.0779,
                "rating": 7.0955,
                "minutes": 90.0,
                "total_pass": 39.1116,
                "accurate_pass": 27.1323,
                "total_long_balls": 21.0653,
                "accurate_long_balls": 9.4507,
                "touches": 49.2433,
                "clearances": 1.2414,
                "ball_recovery": 7.9975,
                "high_claims": 0.9707,
                "punches": 0.5904,
                "aerial_won": 0.1298,
                "sweeper_actions": 1.8928,
                "sweeper_accurate": 1.8922,
                "saves_inside_box": 2.0922,
                "possession_lost": 12.1995,
                "duels_won": 0.227,
                "duels_lost": 0.0123,
                "total_contest": 0.0013,
                "won_contest": 0.0013,
                "fouls": 0.0,
                "fouls_drawn": 0.1438,
                "total_own_half_passes": 24.5286,
                "accurate_own_half_passes": 21.9106,
                "gk_engine_opponent_lambda": 0.8228,
                "shots_faced": 7.6,
                "expected_saves": 1.85,
                "high_pressure_saves": 0.64,
                "opponent_faced": "Bil Nsongo, Jonathan Asp Jensen",
                "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.498,
                "squad_xg_sum": 1.3182,
                "squad_xa_sum": 0.8402,
                "team_expected_assists": 0.9737,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1364,
                "xa_scale": 1.1588,
                "opponent_lambda": 0.805,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "shots_faced",
                  "before": 7.8,
                  "after": 7.6
                },
                {
                  "stat": "expected_saves",
                  "before": 1.91,
                  "after": 1.85
                },
                {
                  "stat": "high_pressure_saves",
                  "before": 0.66,
                  "after": 0.64
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 2 by projected rating, fifa_overall 81.0; not used by the projection)",
              "stats": {
                "saves": 2.9999,
                "goals_prevented": -0.0779,
                "rating": 7.0955,
                "minutes": 90.0,
                "total_pass": 39.1116,
                "accurate_pass": 27.1323,
                "total_long_balls": 21.0653,
                "accurate_long_balls": 9.4507,
                "touches": 49.2433,
                "clearances": 1.2414,
                "ball_recovery": 7.9975,
                "high_claims": 0.9707,
                "punches": 0.5904,
                "aerial_won": 0.1298,
                "sweeper_actions": 1.8928,
                "sweeper_accurate": 1.8922,
                "saves_inside_box": 2.0922,
                "possession_lost": 12.1995,
                "duels_won": 0.227,
                "duels_lost": 0.0123,
                "total_contest": 0.0013,
                "won_contest": 0.0013,
                "fouls": 0.0,
                "fouls_drawn": 0.1438,
                "total_own_half_passes": 24.5286,
                "accurate_own_half_passes": 21.9106,
                "gk_engine_opponent_lambda": 0.8228,
                "shots_faced": 7.6,
                "expected_saves": 1.85,
                "high_pressure_saves": 0.64,
                "opponent_faced": "Bil Nsongo, Jonathan Asp Jensen",
                "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": 81.0
              },
              "params": {
                "match_squad_rank": 2,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 591,
                "fifa_rank": 574.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": {
                "saves": 2.9999,
                "goals_prevented": -0.0779,
                "rating": 7.0955,
                "minutes": 90.0,
                "total_pass": 39.1116,
                "accurate_pass": 27.1323,
                "total_long_balls": 21.0653,
                "accurate_long_balls": 9.4507,
                "touches": 49.2433,
                "clearances": 1.2414,
                "ball_recovery": 7.9975,
                "high_claims": 0.9707,
                "punches": 0.5904,
                "aerial_won": 0.1298,
                "sweeper_actions": 1.8928,
                "sweeper_accurate": 1.8922,
                "saves_inside_box": 2.0922,
                "possession_lost": 12.1995,
                "duels_won": 0.227,
                "duels_lost": 0.0123,
                "total_contest": 0.0013,
                "won_contest": 0.0013,
                "fouls": 0.0,
                "fouls_drawn": 0.1438,
                "total_own_half_passes": 24.5286,
                "accurate_own_half_passes": 21.9106,
                "gk_engine_opponent_lambda": 0.8228,
                "shots_faced": 7.6,
                "expected_saves": 1.85,
                "high_pressure_saves": 0.64,
                "opponent_faced": "Bil Nsongo, Jonathan Asp Jensen",
                "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": 81.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.0,
                "squad_weight_total": 1.6252,
                "weight_share": 0.0,
                "finishing_factor": 1.0,
                "appearance_weight": 1.0,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Mikel Oyarzabal",
                    "weight": 0.301,
                    "already": 0,
                    "effective_weight": 0.301,
                    "runner_up": "Luka Sučić",
                    "runner_up_effective_weight": 0.2755
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "saves": 2.9999,
                "goals_prevented": -0.0779,
                "rating": 7.0955,
                "minutes": 90.0,
                "total_pass": 39.1116,
                "accurate_pass": 27.1323,
                "total_long_balls": 21.0653,
                "accurate_long_balls": 9.4507,
                "touches": 49.2433,
                "clearances": 1.2414,
                "ball_recovery": 7.9975,
                "high_claims": 0.9707,
                "punches": 0.5904,
                "aerial_won": 0.1298,
                "sweeper_actions": 1.8928,
                "sweeper_accurate": 1.8922,
                "saves_inside_box": 2.0922,
                "possession_lost": 12.1995,
                "duels_won": 0.227,
                "duels_lost": 0.0123,
                "total_contest": 0.0013,
                "won_contest": 0.0013,
                "fouls": 0.0,
                "fouls_drawn": 0.1438,
                "total_own_half_passes": 24.5286,
                "accurate_own_half_passes": 21.9106,
                "gk_engine_opponent_lambda": 0.8228,
                "shots_faced": 7.6,
                "expected_saves": 1.85,
                "high_pressure_saves": 0.64,
                "opponent_faced": "Bil Nsongo, Jonathan Asp Jensen",
                "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": 81.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0,
                "provider_weight": 0.0,
                "squad_weight_total": 1.0056,
                "weight_share": 0.0,
                "creation_factor": 1.0,
                "appearance_weight": 1.0,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Sergio Gómez",
                    "weight": 0.1771,
                    "already": 0,
                    "effective_weight": 0.1771,
                    "runner_up": "Carlos Soler",
                    "runner_up_effective_weight": 0.1401,
                    "blocked_own_goal": [
                      "Mikel Oyarzabal"
                    ]
                  }
                ]
              }
            }
          ]
        }
      },
      "bench_players": {
        "Unai Marrero": {
          "player_id": 1094782,
          "position": "G",
          "position_depth": "G_BENCH",
          "is_starter": false,
          "shirt_number": 13,
          "height": 187,
          "market_value": 1100000,
          "stats": {
            "saves": 0,
            "goals_prevented": -0.0213,
            "rating": 7.2416,
            "minutes": 4,
            "total_pass": 6,
            "accurate_pass": 4,
            "total_long_balls": 4,
            "accurate_long_balls": 2,
            "touches": 8,
            "clearances": 0,
            "ball_recovery": 2,
            "high_claims": 0,
            "punches": 0.234,
            "aerial_won": 0,
            "sweeper_actions": 0,
            "sweeper_accurate": 0,
            "saves_inside_box": 1,
            "possession_lost": 2.1715,
            "duels_won": 0,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 3,
            "accurate_own_half_passes": 2,
            "bench_appearance_probability": 0.109,
            "bench_expected_minutes": 4.39,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.483,
            "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": 74.0
          },
          "latest_10_games": [
            {
              "match_id": 16416319,
              "match_date": "2026-09-07",
              "home_team": "Elche",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 8.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0029,
                "total_shots": 0,
                "total_pass": 37,
                "accurate_pass": 26,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 11,
                "saves": 8,
                "goals_prevented": -0.0376
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083719,
              "match_date": "2026-05-23",
              "home_team": "Espanyol",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 7.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0038,
                "total_shots": 0,
                "total_pass": 38,
                "accurate_pass": 21,
                "clearances": 1,
                "ball_recovery": 13,
                "saves": 7,
                "goals_prevented": 0.7581
              },
              "has_player_stats": true,
              "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": 3493,
            "combined_rank_score": 1479.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 52.0,
            "sofascore_rating": 7.7,
            "sofascore_appearances": 1.0,
            "fifa_rank": 2906.0,
            "fifa_overall": 74.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 1,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 7.2416,
            "source_file": "data/player_rankings.csv",
            "player_name": "Unai Marrero",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Tyrhys Dolan",
                  "ranking": 3488
                },
                {
                  "player_name": "Yann Gboho",
                  "ranking": 3489
                },
                {
                  "player_name": "Ansu Fati",
                  "ranking": 3490
                },
                {
                  "player_name": "Marcus Edwards",
                  "ranking": 3491
                },
                {
                  "player_name": "Ismaël Doukouré",
                  "ranking": 3492
                }
              ],
              "lower": [
                {
                  "player_name": "Ilan Kebbal",
                  "ranking": 3494
                },
                {
                  "player_name": "Mousa Al Tamari",
                  "ranking": 3495
                },
                {
                  "player_name": "Baptiste Santamaria",
                  "ranking": 3496
                },
                {
                  "player_name": "Quentin Merlin",
                  "ranking": 3497
                },
                {
                  "player_name": "Eddie Nketiah",
                  "ranking": 3498
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.375,
          "history_matches": 2,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "G_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "accurateLongBalls",
              "totalOwnHalfPasses",
              "accurateOwnHalfPasses",
              "saves",
              "savedShotsFromInsideTheBox",
              "goodHighClaim",
              "punches",
              "aerialWon",
              "totalKeeperSweeper",
              "accurateKeeperSweeper",
              "totalClearance",
              "ballRecovery",
              "touches",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "goalkeeperValueNormalized",
              "goalsPrevented",
              "rating",
              "pass_accuracy",
              "long_ball_accuracy",
              "save_contribution",
              "inside_box_save_rate",
              "sweeper_accuracy",
              "sweeper_actions_p90",
              "distribution_accuracy",
              "commanding_index",
              "history_matches"
            ],
            "targets_predicted": [
              "saves",
              "goalsPrevented",
              "rating"
            ],
            "history_matches": 2,
            "data_confidence": 0.375,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 4.392222187561249,
            "bench_appearance_prob": 0.10873737216187492,
            "market_value_adjustment": 0.9855,
            "fbref_prior_metrics": {
              "squad": "Real Sociedad",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 0.0,
              "starts": 0.0,
              "sub_appearances": 0.0,
              "prior_reliability": 0.0
            },
            "rationale": "Bench projection scaled from XGBoost G_service (2 historical appearances) to 4.4 expected mins (appearance prob 0.11); FBref playing time empirical prior: 0.0 sub appearances, 0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost G_service raw output over 3 target models",
              "stats": {
                "saves": 2.9919,
                "goals_prevented": -0.1402,
                "rating": 7.2416,
                "minutes": 28.5,
                "total_pass": 37.4595,
                "accurate_pass": 23.7027,
                "total_long_balls": 27.4595,
                "accurate_long_balls": 13.7027,
                "touches": 52.5405,
                "clearances": 1.5405,
                "ball_recovery": 11.9189,
                "high_claims": 1.0,
                "punches": 1.5405,
                "aerial_won": 0.5405,
                "sweeper_actions": 1.0,
                "sweeper_accurate": 1.0,
                "saves_inside_box": 5.4595,
                "possession_lost": 14.2973,
                "duels_won": 0.5405,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 19.9189,
                "accurate_own_half_passes": 15.7027
              },
              "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-07",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.5405,
                    "rating": 8.7
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.4595,
                    "rating": 7.7
                  }
                ],
                "feature_row": {
                  "history_matches": 2.0,
                  "is_starting_11": 0.0,
                  "sweeper_actions_p90": 0.4595,
                  "accurateOwnHalfPasses": 15.7027,
                  "accurateLongBalls": 13.7027,
                  "aerialWon": 0.5405,
                  "accurateKeeperSweeper": 1.0,
                  "sweeper_accuracy": 0.4595
                },
                "per_target": [
                  {
                    "target": "saves",
                    "predicted": 2.9918510913848877,
                    "model_output": 2.9919,
                    "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": "is_starting_11",
                          "contribution": -0.2053
                        },
                        {
                          "name": "savedShotsFromInsideTheBox",
                          "contribution": 0.0859
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0647
                        },
                        {
                          "name": "save_contribution",
                          "contribution": 0.0497
                        },
                        {
                          "name": "accurateLongBalls",
                          "contribution": 0.0393
                        }
                      ],
                      "others": 0.022,
                      "total": 2.9918,
                      "log_link": true,
                      "margin_base": 1.07688,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.072509
                        },
                        {
                          "name": "savedShotsFromInsideTheBox",
                          "margin": 0.030964
                        },
                        {
                          "name": "rating",
                          "margin": 0.022702
                        },
                        {
                          "name": "save_contribution",
                          "margin": 0.017091
                        },
                        {
                          "name": "accurateLongBalls",
                          "margin": 0.013322
                        }
                      ],
                      "others_margin": 0.00744
                    }
                  },
                  {
                    "target": "goalsPrevented",
                    "predicted": -0.14019779860973358,
                    "model_output": -0.1402,
                    "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": "punches",
                          "contribution": -0.0632
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0295
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0219
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0211
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "contribution": 0.0177
                        }
                      ],
                      "others": -0.0428,
                      "total": -0.1402,
                      "log_link": false,
                      "margin_base": -0.021558,
                      "item_margins": [
                        {
                          "name": "punches",
                          "margin": -0.063175
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.029533
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.021946
                        },
                        {
                          "name": "rating",
                          "margin": 0.021092
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "margin": 0.017734
                        }
                      ],
                      "others_margin": -0.042812
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.241559028625488,
                    "model_output": 7.2416,
                    "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": "distribution_accuracy",
                          "contribution": 0.0535
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "contribution": 0.0505
                        },
                        {
                          "name": "accurateKeeperSweeper",
                          "contribution": 0.0449
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": 0.0416
                        },
                        {
                          "name": "accurateLongBalls",
                          "contribution": 0.0281
                        }
                      ],
                      "others": 0.0202,
                      "total": 7.2416,
                      "log_link": false,
                      "margin_base": 7.00281,
                      "item_margins": [
                        {
                          "name": "distribution_accuracy",
                          "margin": 0.053471
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "margin": 0.050495
                        },
                        {
                          "name": "accurateKeeperSweeper",
                          "margin": 0.044941
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": 0.041644
                        },
                        {
                          "name": "accurateLongBalls",
                          "margin": 0.028094
                        }
                      ],
                      "others_margin": 0.020104
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 2,
                  "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.9855, quality 0.437)",
              "stats": {
                "saves": 2.9485,
                "goals_prevented": -0.1382,
                "rating": 7.2416,
                "minutes": 28.5,
                "total_pass": 36.9163,
                "accurate_pass": 23.359,
                "total_long_balls": 27.0613,
                "accurate_long_balls": 13.504,
                "touches": 51.7787,
                "clearances": 1.5182,
                "ball_recovery": 11.7461,
                "high_claims": 0.9855,
                "punches": 1.5182,
                "aerial_won": 0.5327,
                "sweeper_actions": 0.9855,
                "sweeper_accurate": 0.9855,
                "saves_inside_box": 5.3803,
                "possession_lost": 14.09,
                "duels_won": 0.5327,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 19.6301,
                "accurate_own_half_passes": 15.475
              },
              "params": {
                "market_value_eur": 1100000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9855,
                "reference_quality": 0.505,
                "history_matches": 2,
                "history_shrink": 0.7143,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 28.5 to 4.4 expected minutes (appearance prob 0.11)",
              "stats": {
                "saves": 0.4544,
                "goals_prevented": -0.0213,
                "rating": 7.2416,
                "minutes": 4.39,
                "total_pass": 5.6893,
                "accurate_pass": 3.5999,
                "total_long_balls": 4.1705,
                "accurate_long_balls": 2.0811,
                "touches": 7.9798,
                "clearances": 0.234,
                "ball_recovery": 1.8102,
                "high_claims": 0.1519,
                "punches": 0.234,
                "aerial_won": 0.0821,
                "sweeper_actions": 0.1519,
                "sweeper_accurate": 0.1519,
                "saves_inside_box": 0.8292,
                "possession_lost": 2.1715,
                "duels_won": 0.0821,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 3.0253,
                "accurate_own_half_passes": 2.3849,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.39
              },
              "params": {
                "expected_minutes": 4.39,
                "projection_minutes": 28.5,
                "minutes_scale": 0.1541,
                "appearance_probability": 0.109
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 0.4544,
                "goals_prevented": -0.0213,
                "rating": 7.2416,
                "minutes": 4.39,
                "total_pass": 5.6893,
                "accurate_pass": 3.5999,
                "total_long_balls": 4.1705,
                "accurate_long_balls": 2.0811,
                "touches": 7.9798,
                "clearances": 0.234,
                "ball_recovery": 1.8102,
                "high_claims": 0.1519,
                "punches": 0.234,
                "aerial_won": 0.0821,
                "sweeper_actions": 0.1519,
                "sweeper_accurate": 0.1519,
                "saves_inside_box": 0.8292,
                "possession_lost": 2.1715,
                "duels_won": 0.0821,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 3.0253,
                "accurate_own_half_passes": 2.3849,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.39
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "not_projected_to_play",
              "description": "Not among the projected substitutes: no share of the team's goals or assists",
              "stats": {
                "saves": 0.4544,
                "goals_prevented": -0.0213,
                "rating": 7.2416,
                "minutes": 4.39,
                "total_pass": 5.6893,
                "accurate_pass": 3.5999,
                "total_long_balls": 4.1705,
                "accurate_long_balls": 2.0811,
                "touches": 7.9798,
                "clearances": 0.234,
                "ball_recovery": 1.8102,
                "high_claims": 0.1519,
                "punches": 0.234,
                "aerial_won": 0.0821,
                "sweeper_actions": 0.1519,
                "sweeper_accurate": 0.1519,
                "saves_inside_box": 0.8292,
                "possession_lost": 2.1715,
                "duels_won": 0.0821,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 3.0253,
                "accurate_own_half_passes": 2.3849,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.39,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.483,
                "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 1 by projected rating, fifa_overall 74.0; not used by the projection)",
              "stats": {
                "saves": 0.4544,
                "goals_prevented": -0.0213,
                "rating": 7.2416,
                "minutes": 4.39,
                "total_pass": 5.6893,
                "accurate_pass": 3.5999,
                "total_long_balls": 4.1705,
                "accurate_long_balls": 2.0811,
                "touches": 7.9798,
                "clearances": 0.234,
                "ball_recovery": 1.8102,
                "high_claims": 0.1519,
                "punches": 0.234,
                "aerial_won": 0.0821,
                "sweeper_actions": 0.1519,
                "sweeper_accurate": 0.1519,
                "saves_inside_box": 0.8292,
                "possession_lost": 2.1715,
                "duels_won": 0.0821,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 3.0253,
                "accurate_own_half_passes": 2.3849,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.39,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.483,
                "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": 74.0
              },
              "params": {
                "match_squad_rank": 1,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3493,
                "fifa_rank": 2906.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 74.0
              }
            }
          ]
        },
        "Jon Aramburu": {
          "player_id": 1116388,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 2,
          "height": 176,
          "market_value": 13900000,
          "stats": {
            "interceptions": 0,
            "tackles": 1,
            "tackles_won": 0,
            "clearances": 1,
            "aerial_won": 0,
            "total_shots": 0,
            "rating": 6.7582,
            "minutes": 14,
            "total_pass": 10,
            "accurate_pass": 9,
            "duels_won": 1,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_own_half_passes": 4,
            "accurate_own_half_passes": 3,
            "total_opp_half_passes": 7,
            "accurate_opp_half_passes": 6,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 16,
            "possession_lost": 2.2462,
            "dispossessed": 0.0,
            "duels_lost": 1,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0319,
            "expected_assists": 0.0441,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 2,
            "total_progression": 4,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.227,
            "bench_expected_minutes": 14.09,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.483,
            "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": 77.0
          },
          "latest_10_games": [
            {
              "match_id": 16416297,
              "match_date": "2026-09-20",
              "home_team": "Valencia",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0198,
                "total_shots": 0,
                "total_pass": 37,
                "accurate_pass": 33,
                "key_pass": 1,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 4,
                "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": 16416332,
              "match_date": "2026-09-13",
              "home_team": "Real Sociedad",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0108,
                "total_shots": 0,
                "total_pass": 34,
                "accurate_pass": 28,
                "tackles": 4,
                "tackles_won": 4,
                "interceptions": 3,
                "clearances": 7,
                "aerial_won": 5,
                "duels_won": 12,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416319,
              "match_date": "2026-09-07",
              "home_team": "Elche",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0215,
                "expected_assists": 0.0094,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 37,
                "accurate_pass": 29,
                "key_pass": 1,
                "tackles": 5,
                "tackles_won": 3,
                "clearances": 2,
                "aerial_won": 3,
                "duels_won": 11,
                "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": 16416340,
              "match_date": "2026-09-03",
              "home_team": "Real Sociedad",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 7.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0274,
                "expected_assists": 0.1303,
                "total_shots": 1,
                "total_pass": 57,
                "accurate_pass": 51,
                "key_pass": 2,
                "tackles": 7,
                "tackles_won": 3,
                "interceptions": 2,
                "clearances": 1,
                "aerial_won": 3,
                "duels_won": 13,
                "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": 16416310,
              "match_date": "2026-08-29",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0179,
                "total_shots": 0,
                "total_pass": 36,
                "accurate_pass": 30,
                "tackles": 3,
                "tackles_won": 3,
                "interceptions": 3,
                "clearances": 5,
                "aerial_won": 2,
                "duels_won": 10,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421051,
              "match_date": "2026-08-26",
              "home_team": "Real Madrid",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 57,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0127,
                "expected_assists": 0.0055,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 34,
                "accurate_pass": 30,
                "interceptions": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416293,
              "match_date": "2026-08-21",
              "home_team": "Real Betis",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 5.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0243,
                "expected_assists": 0.0052,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 49,
                "accurate_pass": 43,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 6,
                "clearances": 5,
                "aerial_won": 2,
                "duels_won": 5,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083719,
              "match_date": "2026-05-23",
              "home_team": "Espanyol",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 77,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0061,
                "total_shots": 0,
                "total_pass": 32,
                "accurate_pass": 28,
                "tackles": 3,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 7,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083687,
              "match_date": "2026-05-17",
              "home_team": "Real Sociedad",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Valencia",
              "stats": {
                "minutes": 16,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0445,
                "total_shots": 0,
                "total_pass": 5,
                "accurate_pass": 3,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083624,
              "match_date": "2026-05-14",
              "home_team": "Girona FC",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 87,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0261,
                "expected_assists": 0.0052,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 30,
                "accurate_pass": 24,
                "tackles": 4,
                "tackles_won": 4,
                "interceptions": 2,
                "clearances": 6,
                "duels_won": 5,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 2085,
            "combined_rank_score": 793.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 16.0,
            "sofascore_rating": 8.2667,
            "sofascore_appearances": 3.0,
            "fifa_rank": 1571.0,
            "fifa_overall": 77.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 13,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7582,
            "source_file": "data/player_rankings.csv",
            "player_name": "Jon Aramburu",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Cédric Bakambu",
                  "ranking": 2080
                },
                {
                  "player_name": "Renato Veiga",
                  "ranking": 2081
                },
                {
                  "player_name": "Shodiyor Shodiboev",
                  "ranking": 2082
                },
                {
                  "player_name": "Matija Rom",
                  "ranking": 2083
                },
                {
                  "player_name": "Franco Rami",
                  "ranking": 2084
                }
              ],
              "lower": [
                {
                  "player_name": "Nikita Haikin",
                  "ranking": 2086
                },
                {
                  "player_name": "Santiago Mouriño",
                  "ranking": 2087
                },
                {
                  "player_name": "Mason Mount",
                  "ranking": 2088
                },
                {
                  "player_name": "Thomas Partey",
                  "ranking": 2089
                },
                {
                  "player_name": "Sukhrob Izzatov",
                  "ranking": 2090
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.786,
          "history_matches": 42,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "totalTackle",
              "totalShots",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 42,
            "data_confidence": 0.786,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 14.085629977298677,
            "bench_appearance_prob": 0.227,
            "market_value_adjustment": 1.002,
            "fbref_prior_metrics": {
              "squad": "Real Sociedad",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 4.0,
              "starts": 4.0,
              "sub_appearances": 0.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.24
            },
            "rationale": "Bench projection scaled from XGBoost D_service (42 historical appearances) to 14.1 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.5473,
                "tackles": 0.931,
                "tackles_won": 0.5084,
                "clearances": 0.972,
                "aerial_won": 0.4612,
                "total_shots": 0.2332,
                "rating": 6.7582,
                "minutes": 25.37,
                "total_pass": 18.1936,
                "accurate_pass": 15.7682,
                "duels_won": 2.6075,
                "total_long_balls": 1.5675,
                "accurate_long_balls": 0.4935,
                "total_own_half_passes": 6.4252,
                "accurate_own_half_passes": 5.6519,
                "total_opp_half_passes": 11.7684,
                "accurate_opp_half_passes": 10.1162,
                "crosses_total": 1.5782,
                "crosses_accurate": 0.7733,
                "touches": 29.2214,
                "possession_lost": 4.0376,
                "dispossessed": 0.0,
                "duels_lost": 1.6122,
                "aerial_lost": 0.1927,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 2.2267,
                "challenges_lost": 0.3854,
                "fouls": 1.034,
                "fouls_drawn": 0.5335,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0573,
                "expected_assists": 0.0793,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 3.9155,
                "total_progression": 7.1525,
                "progressive_carries": 0.0,
                "key_pass": 0.3138,
                "shots_off_target": 0.2332
              },
              "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": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1502,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1276,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-07",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1085,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-03",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0922,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-26",
                    "opponent": "Real Madrid",
                    "minutes": 57.0,
                    "is_starting": true,
                    "weight": 0.0666,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0566,
                    "rating": 5.9
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Espanyol",
                    "minutes": 77.0,
                    "is_starting": true,
                    "weight": 0.0481,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Valencia",
                    "minutes": 16.0,
                    "is_starting": false,
                    "weight": 0.0409,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Girona FC",
                    "minutes": 87.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.5
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalClearance": 3.3213,
                  "aerialWon": 1.8111,
                  "totalClearance_p90": 3.4125,
                  "totalTackle": 2.9917,
                  "totalPass": 37.1694
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.5473366379737854,
                    "model_output": 0.5473,
                    "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.4519
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0536
                        },
                        {
                          "name": "duelWon",
                          "contribution": 0.0207
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0169
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0157
                        }
                      ],
                      "others": 0.0333,
                      "total": 0.5473,
                      "log_link": true,
                      "margin_base": -0.152032,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.746735
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.123647
                        },
                        {
                          "name": "duelWon",
                          "margin": 0.04389
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.034584
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.031088
                        }
                      ],
                      "others_margin": 0.062866
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 0.9310101270675659,
                    "model_output": 0.931,
                    "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.8184
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0565
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.0531
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0423
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.038
                        }
                      ],
                      "others": 0.1638,
                      "total": 0.931,
                      "log_link": true,
                      "margin_base": 0.333417,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.8827
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.093412
                        },
                        {
                          "name": "duelLost",
                          "margin": 0.080504
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.05972
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.050751
                        }
                      ],
                      "others_margin": 0.193411
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.5083755850791931,
                    "model_output": 0.5084,
                    "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.4839
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0321
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.027
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0157
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0152
                        }
                      ],
                      "others": 0.0445,
                      "total": 0.5084,
                      "log_link": true,
                      "margin_base": -0.153422,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.830437
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.082315
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.064493
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.035681
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.033352
                        }
                      ],
                      "others_margin": 0.091484
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 0.9720227718353271,
                    "model_output": 0.972,
                    "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.1007
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.1112
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0584
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0531
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0446
                        }
                      ],
                      "others": -0.1012,
                      "total": 0.972,
                      "log_link": true,
                      "margin_base": 1.235809,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.942825
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.086616
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.048655
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.046414
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.040755
                        }
                      ],
                      "others_margin": -0.098921
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.46119794249534607,
                    "model_output": 0.4612,
                    "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.8018
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.1139
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0418
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.0308
                        },
                        {
                          "name": "tackle_success_rate",
                          "contribution": -0.0214
                        }
                      ],
                      "others": -0.1353,
                      "total": 0.4612,
                      "log_link": true,
                      "margin_base": 0.320928,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.871557
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.180231
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.062494
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": -0.048682
                        },
                        {
                          "name": "tackle_success_rate",
                          "margin": -0.035302
                        }
                      ],
                      "others_margin": -0.257052
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.23317477107048035,
                    "model_output": 0.2332,
                    "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.2611
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0217
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0159
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": 0.0138
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0127
                        }
                      ],
                      "others": -0.0421,
                      "total": 0.2332,
                      "log_link": false,
                      "margin_base": 0.47232,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.261066
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.021654
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.015887
                        },
                        {
                          "name": "aerial_dominance",
                          "margin": 0.013796
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.012662
                        }
                      ],
                      "others_margin": -0.042078
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.758185863494873,
                    "model_output": 6.7582,
                    "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.019
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.0116
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0112
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0112
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0109
                        }
                      ],
                      "others": -0.0251,
                      "total": 6.7582,
                      "log_link": false,
                      "margin_base": 6.785968,
                      "item_margins": [
                        {
                          "name": "touches",
                          "margin": 0.019
                        },
                        {
                          "name": "duelLost",
                          "margin": 0.011611
                        },
                        {
                          "name": "rating",
                          "margin": -0.011191
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.011173
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.010945
                        }
                      ],
                      "others_margin": -0.025086
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 42,
                  "role_matches": 4,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0020, quality 0.567)",
              "stats": {
                "interceptions": 0.5484,
                "tackles": 0.9329,
                "tackles_won": 0.5094,
                "clearances": 0.974,
                "aerial_won": 0.4621,
                "total_shots": 0.2337,
                "rating": 6.7582,
                "minutes": 25.37,
                "total_pass": 18.23,
                "accurate_pass": 15.7997,
                "duels_won": 2.6127,
                "total_long_balls": 1.5706,
                "accurate_long_balls": 0.4945,
                "total_own_half_passes": 6.4381,
                "accurate_own_half_passes": 5.6632,
                "total_opp_half_passes": 11.7919,
                "accurate_opp_half_passes": 10.1364,
                "crosses_total": 1.5814,
                "crosses_accurate": 0.7748,
                "touches": 29.2798,
                "possession_lost": 4.0457,
                "dispossessed": 0.0,
                "duels_lost": 1.6154,
                "aerial_lost": 0.1931,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 2.2312,
                "challenges_lost": 0.3862,
                "fouls": 1.0361,
                "fouls_drawn": 0.5346,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0574,
                "expected_assists": 0.0795,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 3.9233,
                "total_progression": 7.1668,
                "progressive_carries": 0.0,
                "key_pass": 0.3144,
                "shots_off_target": 0.2337
              },
              "params": {
                "market_value_eur": 13900000,
                "quality_factor": 0.5671,
                "boost_factor": 1.002,
                "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.0166)",
              "stats": {
                "interceptions": 0.5549,
                "tackles": 0.9329,
                "tackles_won": 0.5113,
                "clearances": 0.974,
                "aerial_won": 0.4621,
                "total_shots": 0.2337,
                "rating": 6.7582,
                "minutes": 25.37,
                "total_pass": 18.23,
                "accurate_pass": 15.7997,
                "duels_won": 2.6127,
                "total_long_balls": 1.5706,
                "accurate_long_balls": 0.4945,
                "total_own_half_passes": 6.4381,
                "accurate_own_half_passes": 5.6632,
                "total_opp_half_passes": 11.7919,
                "accurate_opp_half_passes": 10.1364,
                "crosses_total": 1.5643,
                "crosses_accurate": 0.7748,
                "touches": 29.2798,
                "possession_lost": 4.0457,
                "dispossessed": 0.0,
                "duels_lost": 1.6154,
                "aerial_lost": 0.1931,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 2.2312,
                "challenges_lost": 0.3862,
                "fouls": 1.0423,
                "fouls_drawn": 0.5361,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0574,
                "expected_assists": 0.0795,
                "shots_on_target": 0.0013,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 3.9233,
                "total_progression": 7.1668,
                "progressive_carries": 0.0,
                "key_pass": 0.3144,
                "shots_off_target": 0.2337
              },
              "params": {
                "blend_weight": 0.0166,
                "history_matches": 42,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.2819,
                "prior_reliability": 0.24,
                "competition": "La Liga",
                "squad": "Real Sociedad"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 1.5814,
                  "after": 1.5643
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.5484,
                  "after": 0.5549
                },
                {
                  "stat": "fouls",
                  "before": 1.0361,
                  "after": 1.0423
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 25.4 to 14.1 expected minutes (appearance prob 0.23)",
              "stats": {
                "interceptions": 0.3081,
                "tackles": 0.518,
                "tackles_won": 0.2839,
                "clearances": 0.5408,
                "aerial_won": 0.2566,
                "total_shots": 0.1305,
                "rating": 6.7582,
                "minutes": 14.09,
                "total_pass": 10.1214,
                "accurate_pass": 8.7721,
                "duels_won": 1.4506,
                "total_long_balls": 0.872,
                "accurate_long_balls": 0.2746,
                "total_own_half_passes": 3.5745,
                "accurate_own_half_passes": 3.1443,
                "total_opp_half_passes": 6.547,
                "accurate_opp_half_passes": 5.6278,
                "crosses_total": 0.8685,
                "crosses_accurate": 0.4302,
                "touches": 16.2564,
                "possession_lost": 2.2462,
                "dispossessed": 0.0,
                "duels_lost": 0.8969,
                "aerial_lost": 0.1931,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.2388,
                "challenges_lost": 0.3862,
                "fouls": 0.5787,
                "fouls_drawn": 0.2976,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0319,
                "expected_assists": 0.0441,
                "shots_on_target": 0.0007,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 2.1782,
                "total_progression": 3.9791,
                "progressive_carries": 0.0,
                "key_pass": 0.1746,
                "shots_off_target": 0.1298,
                "bench_appearance_probability": 0.227,
                "bench_expected_minutes": 14.09
              },
              "params": {
                "expected_minutes": 14.09,
                "projection_minutes": 25.37,
                "minutes_scale": 0.5552,
                "appearance_probability": 0.227
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.3081,
                "tackles": 0.518,
                "tackles_won": 0.2839,
                "clearances": 0.5408,
                "aerial_won": 0.2566,
                "total_shots": 0.1305,
                "rating": 6.7582,
                "minutes": 14.09,
                "total_pass": 10.1214,
                "accurate_pass": 8.7721,
                "duels_won": 1.4506,
                "total_long_balls": 0.872,
                "accurate_long_balls": 0.2746,
                "total_own_half_passes": 3.5745,
                "accurate_own_half_passes": 3.1443,
                "total_opp_half_passes": 6.547,
                "accurate_opp_half_passes": 5.6278,
                "crosses_total": 0.8685,
                "crosses_accurate": 0.4302,
                "touches": 16.2564,
                "possession_lost": 2.2462,
                "dispossessed": 0.0,
                "duels_lost": 0.8969,
                "aerial_lost": 0.1931,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.2388,
                "challenges_lost": 0.3862,
                "fouls": 0.5787,
                "fouls_drawn": 0.2976,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0319,
                "expected_assists": 0.0441,
                "shots_on_target": 0.0007,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 2.1782,
                "total_progression": 3.9791,
                "progressive_carries": 0.0,
                "key_pass": 0.1746,
                "shots_off_target": 0.1298,
                "bench_appearance_probability": 0.227,
                "bench_expected_minutes": 14.09
              },
              "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.3081,
                "tackles": 0.518,
                "tackles_won": 0.2839,
                "clearances": 0.5408,
                "aerial_won": 0.2566,
                "total_shots": 0.1305,
                "rating": 6.7582,
                "minutes": 14.09,
                "total_pass": 10.1214,
                "accurate_pass": 8.7721,
                "duels_won": 1.4506,
                "total_long_balls": 0.872,
                "accurate_long_balls": 0.2746,
                "total_own_half_passes": 3.5745,
                "accurate_own_half_passes": 3.1443,
                "total_opp_half_passes": 6.547,
                "accurate_opp_half_passes": 5.6278,
                "crosses_total": 0.8685,
                "crosses_accurate": 0.4302,
                "touches": 16.2564,
                "possession_lost": 2.2462,
                "dispossessed": 0.0,
                "duels_lost": 0.8969,
                "aerial_lost": 0.1931,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.2388,
                "challenges_lost": 0.3862,
                "fouls": 0.5787,
                "fouls_drawn": 0.2976,
                "blocks": 0.0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0319,
                "expected_assists": 0.0441,
                "shots_on_target": 0.0007,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 2.1782,
                "total_progression": 3.9791,
                "progressive_carries": 0.0,
                "key_pass": 0.1746,
                "shots_off_target": 0.1298,
                "bench_appearance_probability": 0.227,
                "bench_expected_minutes": 14.09,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.483,
                "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.227,
                "projected_substitutes": 2,
                "scoreline_reset": true
              }
            },
            {
              "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.3081,
                "tackles": 0.518,
                "tackles_won": 0.2839,
                "clearances": 0.5408,
                "aerial_won": 0.2566,
                "total_shots": 0.1305,
                "rating": 6.7582,
                "minutes": 14.09,
                "total_pass": 10.1214,
                "accurate_pass": 8.7721,
                "duels_won": 1.4506,
                "total_long_balls": 0.872,
                "accurate_long_balls": 0.2746,
                "total_own_half_passes": 3.5745,
                "accurate_own_half_passes": 3.1443,
                "total_opp_half_passes": 6.547,
                "accurate_opp_half_passes": 5.6278,
                "crosses_total": 0.8685,
                "crosses_accurate": 0.4302,
                "touches": 16.2564,
                "possession_lost": 2.2462,
                "dispossessed": 0.0,
                "duels_lost": 0.8969,
                "aerial_lost": 0.1931,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.2388,
                "challenges_lost": 0.3862,
                "fouls": 0.5787,
                "fouls_drawn": 0.2976,
                "blocks": 0.0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0319,
                "expected_assists": 0.0441,
                "shots_on_target": 0.0007,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 2.1782,
                "total_progression": 3.9791,
                "progressive_carries": 0.0,
                "key_pass": 0.1746,
                "shots_off_target": 0.1298,
                "bench_appearance_probability": 0.227,
                "bench_expected_minutes": 14.09,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.483,
                "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": 77.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": 2085,
                "fifa_rank": 1571.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 77.0
              }
            }
          ]
        },
        "Héctor Fort": {
          "player_id": 1402908,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 22,
          "height": 185,
          "market_value": 11600000,
          "stats": {
            "interceptions": 0,
            "tackles": 1,
            "tackles_won": 0,
            "clearances": 1,
            "aerial_won": 0,
            "total_shots": 0,
            "rating": 6.6366,
            "minutes": 14,
            "total_pass": 4,
            "accurate_pass": 3,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 1,
            "accurate_own_half_passes": 1,
            "total_opp_half_passes": 3,
            "accurate_opp_half_passes": 2,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 9,
            "possession_lost": 1.6362,
            "dispossessed": 0.369,
            "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.0071,
            "expected_assists": 0.0064,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 2,
            "total_progression": 8,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.317,
            "bench_expected_minutes": 13.98,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.483,
            "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": 72.0
          },
          "latest_10_games": [
            {
              "match_id": 16416319,
              "match_date": "2026-09-07",
              "home_team": "Elche",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Elche",
              "stats": {
                "minutes": 9,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0003,
                "total_shots": 0,
                "total_pass": 1,
                "accurate_pass": 1,
                "tackles": 1,
                "interceptions": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083743,
              "match_date": "2026-05-23",
              "home_team": "Girona FC",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Elche",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 14,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "total_pass": 1,
                "accurate_pass": 1,
                "clearances": 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": 14083608,
              "match_date": "2026-05-12",
              "home_team": "Real Betis",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 64,
                "rating": 7.3,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0349,
                "expected_assists": 0.0177,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 27,
                "accurate_pass": 23,
                "tackles": 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": 14083578,
              "match_date": "2026-05-09",
              "home_team": "Elche",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Elche",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 11,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083401,
              "match_date": "2026-05-03",
              "home_team": "Celta Vigo",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Elche",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 21,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0342,
                "expected_assists": 0.0033,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 7,
                "accurate_pass": 6,
                "clearances": 1,
                "duels_won": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083252,
              "match_date": "2026-04-26",
              "home_team": "Real Oviedo",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Real Oviedo",
              "stats": {
                "minutes": 62,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0033,
                "total_shots": 0,
                "total_pass": 12,
                "accurate_pass": 7,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083183,
              "match_date": "2025-12-21",
              "home_team": "Elche",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 12,
                "rating": 8.1,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.182,
                "expected_assists": 0.0,
                "total_shots": 1,
                "shots_on_target": 1,
                "tackles": 1,
                "clearances": 1,
                "duels_won": 3
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083153,
              "match_date": "2025-12-07",
              "home_team": "Elche",
              "away_team": "Girona FC",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 59,
                "rating": 7.4,
                "assist_rate": 2.0,
                "assists": 2,
                "expected_assists": 0.0428,
                "total_shots": 0,
                "total_pass": 12,
                "accurate_pass": 12,
                "key_pass": 2,
                "tackles": 3,
                "tackles_won": 1,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083149,
              "match_date": "2025-11-28",
              "home_team": "Getafe",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Getafe",
              "stats": {
                "minutes": 64,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0366,
                "expected_assists": 0.0358,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 26,
                "accurate_pass": 21,
                "key_pass": 1,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 5
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083124,
              "match_date": "2025-11-23",
              "home_team": "Elche",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 66,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0074,
                "total_shots": 0,
                "total_pass": 16,
                "accurate_pass": 13,
                "tackles": 1,
                "tackles_won": 1,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 4463,
            "combined_rank_score": 2486.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 706.0,
            "sofascore_rating": 6.6929,
            "sofascore_appearances": 14.0,
            "fifa_rank": 4266.0,
            "fifa_overall": 72.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 18,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6366,
            "source_file": "data/player_rankings.csv",
            "player_name": "Hector Fort",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Valeriy Bondar",
                  "ranking": 4458
                },
                {
                  "player_name": "Volodymyr Brazhko",
                  "ranking": 4459
                },
                {
                  "player_name": "Jhohan Romaña",
                  "ranking": 4460
                },
                {
                  "player_name": "Branco Ampuero",
                  "ranking": 4461
                },
                {
                  "player_name": "Diego Rossi",
                  "ranking": 4462
                }
              ],
              "lower": [
                {
                  "player_name": "Agustín Palavecino",
                  "ranking": 4464
                },
                {
                  "player_name": "Ben Cabango",
                  "ranking": 4465
                },
                {
                  "player_name": "Federico Pereira",
                  "ranking": 4466
                },
                {
                  "player_name": "Alex Palmer",
                  "ranking": 4467
                },
                {
                  "player_name": "Cédric Itten",
                  "ranking": 4468
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "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.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 13.982626929085875,
            "bench_appearance_prob": 0.31739213314026704,
            "market_value_adjustment": 1.0027,
            "fbref_prior_metrics": {
              "squad": "Real Sociedad",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 0.0,
              "starts": 0.0,
              "sub_appearances": 0.0,
              "prior_reliability": 0.0
            },
            "rationale": "Bench projection scaled from XGBoost D_service (15 historical appearances) to 14.0 expected mins (appearance prob 0.32); FBref playing time empirical prior: 0.0 sub appearances, 0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 0.396,
                "tackles": 0.575,
                "tackles_won": 0.368,
                "clearances": 0.7657,
                "aerial_won": 0.4673,
                "total_shots": 0.2344,
                "rating": 6.6366,
                "minutes": 14.6,
                "total_pass": 4.0172,
                "accurate_pass": 3.5061,
                "duels_won": 0.8857,
                "total_long_balls": 0.5087,
                "accurate_long_balls": 0.3096,
                "total_own_half_passes": 1.3338,
                "accurate_own_half_passes": 1.256,
                "total_opp_half_passes": 2.6834,
                "accurate_opp_half_passes": 2.25,
                "crosses_total": 0.1991,
                "crosses_accurate": 0.0915,
                "touches": 8.9449,
                "possession_lost": 1.7038,
                "dispossessed": 0.368,
                "duels_lost": 0.9987,
                "aerial_lost": 0.149,
                "total_contest": 0.2405,
                "won_contest": 0.0915,
                "ball_recovery": 0.7134,
                "challenges_lost": 0.0915,
                "fouls": 0.2414,
                "fouls_drawn": 0.1266,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0074,
                "expected_assists": 0.0067,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 1.8348,
                "total_progression": 7.8291,
                "progressive_carries": 0.2444,
                "key_pass": 0.0915,
                "shots_off_target": 0.2344
              },
              "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-07",
                    "opponent": "Elche",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 0.1644,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Girona FC",
                    "minutes": 14.0,
                    "is_starting": false,
                    "weight": 0.1397,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-12",
                    "opponent": "Real Betis",
                    "minutes": 64.0,
                    "is_starting": true,
                    "weight": 0.1187,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-05-09",
                    "opponent": "Deportivo Alavés",
                    "minutes": 11.0,
                    "is_starting": false,
                    "weight": 0.1009,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-05-03",
                    "opponent": "Celta Vigo",
                    "minutes": 21.0,
                    "is_starting": false,
                    "weight": 0.0858,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-04-26",
                    "opponent": "Real Oviedo",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.0729,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2025-12-21",
                    "opponent": "Rayo Vallecano",
                    "minutes": 12.0,
                    "is_starting": true,
                    "weight": 0.062,
                    "rating": 8.1
                  },
                  {
                    "match_date": "2025-12-07",
                    "opponent": "Girona FC",
                    "minutes": 59.0,
                    "is_starting": true,
                    "weight": 0.0527,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2025-11-28",
                    "opponent": "Getafe",
                    "minutes": 64.0,
                    "is_starting": true,
                    "weight": 0.0448,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2025-11-23",
                    "opponent": "Real Madrid",
                    "minutes": 66.0,
                    "is_starting": true,
                    "weight": 0.0381,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 15.0,
                  "is_starting_11": 0.0,
                  "totalClearance": 0.606,
                  "aerialWon": 0.2124,
                  "totalClearance_p90": 3.5188,
                  "totalTackle": 0.872,
                  "totalPass": 8.9266
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.3959972858428955,
                    "model_output": 0.396,
                    "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.449
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0421
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0138
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.014
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0136
                        }
                      ],
                      "others": 0.0139,
                      "total": 0.396,
                      "log_link": true,
                      "margin_base": -0.152032,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.739637
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.108357
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.036932
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.035968
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.034924
                        }
                      ],
                      "others_margin": 0.035702
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 0.575038731098175,
                    "model_output": 0.575,
                    "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.8108
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0279
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.027
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0188
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0178
                        }
                      ],
                      "others": -0.008,
                      "total": 0.575,
                      "log_link": true,
                      "margin_base": 0.333417,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.869636
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.048885
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.04728
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.032645
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.03098
                        }
                      ],
                      "others_margin": -0.01383
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.3680497705936432,
                    "model_output": 0.368,
                    "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.4728
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0148
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0144
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0144
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.013
                        }
                      ],
                      "others": -0.018,
                      "total": 0.368,
                      "log_link": true,
                      "margin_base": -0.153422,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.801189
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.03914
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.038108
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.036863
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.033
                        }
                      ],
                      "others_margin": -0.047758
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 0.765690803527832,
                    "model_output": 0.7657,
                    "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.2168
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.3067
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.1085
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0501
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.041
                        }
                      ],
                      "others": -0.0526,
                      "total": 0.7657,
                      "log_link": true,
                      "margin_base": 1.235809,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -1.033389
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.2883
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.125833
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.060078
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.048938
                        }
                      ],
                      "others_margin": -0.066404
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.46727046370506287,
                    "model_output": 0.4673,
                    "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.7145
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.2146
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0458
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0324
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0297
                        }
                      ],
                      "others": 0.0665,
                      "total": 0.4673,
                      "log_link": true,
                      "margin_base": 0.320928,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.730588
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.390552
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.107563
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.0838
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.07694
                        }
                      ],
                      "others_margin": 0.153788
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.23442775011062622,
                    "model_output": 0.2344,
                    "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.2315
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0182
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.01
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0087
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0068
                        }
                      ],
                      "others": -0.0001,
                      "total": 0.2344,
                      "log_link": false,
                      "margin_base": 0.47232,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.231518
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.01823
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.009961
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.008726
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.006817
                        }
                      ],
                      "others_margin": -1.4e-05
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.636580944061279,
                    "model_output": 6.6366,
                    "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.0322
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0264
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0142
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0141
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0128
                        }
                      ],
                      "others": -0.0497,
                      "total": 6.6366,
                      "log_link": false,
                      "margin_base": 6.785968,
                      "item_margins": [
                        {
                          "name": "totalPass",
                          "margin": -0.032175
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.026379
                        },
                        {
                          "name": "touches",
                          "margin": -0.014202
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.014054
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.012823
                        }
                      ],
                      "others_margin": -0.049755
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 15,
                  "role_matches": 8,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0027, quality 0.541)",
              "stats": {
                "interceptions": 0.3971,
                "tackles": 0.5766,
                "tackles_won": 0.369,
                "clearances": 0.7678,
                "aerial_won": 0.4685,
                "total_shots": 0.2351,
                "rating": 6.6366,
                "minutes": 14.6,
                "total_pass": 4.028,
                "accurate_pass": 3.5156,
                "duels_won": 0.8881,
                "total_long_balls": 0.5101,
                "accurate_long_balls": 0.3104,
                "total_own_half_passes": 1.3374,
                "accurate_own_half_passes": 1.2594,
                "total_opp_half_passes": 2.6906,
                "accurate_opp_half_passes": 2.2561,
                "crosses_total": 0.1996,
                "crosses_accurate": 0.0917,
                "touches": 8.9691,
                "possession_lost": 1.7084,
                "dispossessed": 0.369,
                "duels_lost": 1.0014,
                "aerial_lost": 0.1494,
                "total_contest": 0.2411,
                "won_contest": 0.0917,
                "ball_recovery": 0.7153,
                "challenges_lost": 0.0917,
                "fouls": 0.2421,
                "fouls_drawn": 0.1269,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0074,
                "expected_assists": 0.0067,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 1.8398,
                "total_progression": 7.8502,
                "progressive_carries": 0.2451,
                "key_pass": 0.0917,
                "shots_off_target": 0.235
              },
              "params": {
                "market_value_eur": 11600000,
                "quality_factor": 0.5411,
                "boost_factor": 1.0027,
                "reference_quality": 0.505,
                "history_matches": 15,
                "history_shrink": 0.25,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 14.6 to 14.0 expected minutes (appearance prob 0.32)",
              "stats": {
                "interceptions": 0.3803,
                "tackles": 0.5522,
                "tackles_won": 0.3534,
                "clearances": 0.7353,
                "aerial_won": 0.4487,
                "total_shots": 0.2252,
                "rating": 6.6366,
                "minutes": 13.98,
                "total_pass": 3.8577,
                "accurate_pass": 3.3669,
                "duels_won": 0.8505,
                "total_long_balls": 0.4885,
                "accurate_long_balls": 0.2973,
                "total_own_half_passes": 1.2808,
                "accurate_own_half_passes": 1.2061,
                "total_opp_half_passes": 2.5768,
                "accurate_opp_half_passes": 2.1607,
                "crosses_total": 0.1912,
                "crosses_accurate": 0.0878,
                "touches": 8.5898,
                "possession_lost": 1.6362,
                "dispossessed": 0.369,
                "duels_lost": 0.9591,
                "aerial_lost": 0.1494,
                "total_contest": 0.2309,
                "won_contest": 0.0878,
                "ball_recovery": 0.6851,
                "challenges_lost": 0.0917,
                "fouls": 0.2319,
                "fouls_drawn": 0.1215,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0071,
                "expected_assists": 0.0064,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 1.762,
                "total_progression": 7.5182,
                "progressive_carries": 0.2347,
                "key_pass": 0.0878,
                "shots_off_target": 0.2251,
                "bench_appearance_probability": 0.317,
                "bench_expected_minutes": 13.98
              },
              "params": {
                "expected_minutes": 13.98,
                "projection_minutes": 14.6,
                "minutes_scale": 0.9577,
                "appearance_probability": 0.317
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.3803,
                "tackles": 0.5522,
                "tackles_won": 0.3534,
                "clearances": 0.7353,
                "aerial_won": 0.4487,
                "total_shots": 0.2252,
                "rating": 6.6366,
                "minutes": 13.98,
                "total_pass": 3.8577,
                "accurate_pass": 3.3669,
                "duels_won": 0.8505,
                "total_long_balls": 0.4885,
                "accurate_long_balls": 0.2973,
                "total_own_half_passes": 1.2808,
                "accurate_own_half_passes": 1.2061,
                "total_opp_half_passes": 2.5768,
                "accurate_opp_half_passes": 2.1607,
                "crosses_total": 0.1912,
                "crosses_accurate": 0.0878,
                "touches": 8.5898,
                "possession_lost": 1.6362,
                "dispossessed": 0.369,
                "duels_lost": 0.9591,
                "aerial_lost": 0.1494,
                "total_contest": 0.2309,
                "won_contest": 0.0878,
                "ball_recovery": 0.6851,
                "challenges_lost": 0.0917,
                "fouls": 0.2319,
                "fouls_drawn": 0.1215,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0071,
                "expected_assists": 0.0064,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 1.762,
                "total_progression": 7.5182,
                "progressive_carries": 0.2347,
                "key_pass": 0.0878,
                "shots_off_target": 0.2251,
                "bench_appearance_probability": 0.317,
                "bench_expected_minutes": 13.98
              },
              "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.3803,
                "tackles": 0.5522,
                "tackles_won": 0.3534,
                "clearances": 0.7353,
                "aerial_won": 0.4487,
                "total_shots": 0.2252,
                "rating": 6.6366,
                "minutes": 13.98,
                "total_pass": 3.8577,
                "accurate_pass": 3.3669,
                "duels_won": 0.8505,
                "total_long_balls": 0.4885,
                "accurate_long_balls": 0.2973,
                "total_own_half_passes": 1.2808,
                "accurate_own_half_passes": 1.2061,
                "total_opp_half_passes": 2.5768,
                "accurate_opp_half_passes": 2.1607,
                "crosses_total": 0.1912,
                "crosses_accurate": 0.0878,
                "touches": 8.5898,
                "possession_lost": 1.6362,
                "dispossessed": 0.369,
                "duels_lost": 0.9591,
                "aerial_lost": 0.1494,
                "total_contest": 0.2309,
                "won_contest": 0.0878,
                "ball_recovery": 0.6851,
                "challenges_lost": 0.0917,
                "fouls": 0.2319,
                "fouls_drawn": 0.1215,
                "blocks": 0.0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0071,
                "expected_assists": 0.0064,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 1.762,
                "total_progression": 7.5182,
                "progressive_carries": 0.2347,
                "key_pass": 0.0878,
                "shots_off_target": 0.2251,
                "bench_appearance_probability": 0.317,
                "bench_expected_minutes": 13.98,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.483,
                "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.317,
                "projected_substitutes": 2,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 18 by projected rating, fifa_overall 72.0; not used by the projection)",
              "stats": {
                "interceptions": 0.3803,
                "tackles": 0.5522,
                "tackles_won": 0.3534,
                "clearances": 0.7353,
                "aerial_won": 0.4487,
                "total_shots": 0.2252,
                "rating": 6.6366,
                "minutes": 13.98,
                "total_pass": 3.8577,
                "accurate_pass": 3.3669,
                "duels_won": 0.8505,
                "total_long_balls": 0.4885,
                "accurate_long_balls": 0.2973,
                "total_own_half_passes": 1.2808,
                "accurate_own_half_passes": 1.2061,
                "total_opp_half_passes": 2.5768,
                "accurate_opp_half_passes": 2.1607,
                "crosses_total": 0.1912,
                "crosses_accurate": 0.0878,
                "touches": 8.5898,
                "possession_lost": 1.6362,
                "dispossessed": 0.369,
                "duels_lost": 0.9591,
                "aerial_lost": 0.1494,
                "total_contest": 0.2309,
                "won_contest": 0.0878,
                "ball_recovery": 0.6851,
                "challenges_lost": 0.0917,
                "fouls": 0.2319,
                "fouls_drawn": 0.1215,
                "blocks": 0.0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0071,
                "expected_assists": 0.0064,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 1.762,
                "total_progression": 7.5182,
                "progressive_carries": 0.2347,
                "key_pass": 0.0878,
                "shots_off_target": 0.2251,
                "bench_appearance_probability": 0.317,
                "bench_expected_minutes": 13.98,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.483,
                "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": 72.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": 4463,
                "fifa_rank": 4266.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 72.0
              }
            }
          ]
        },
        "Jon Gorrotxategi": {
          "player_id": 1216309,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 4,
          "height": 177,
          "market_value": 27000000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0236,
            "assist_rate": 0.0265,
            "assists": 0,
            "expected_goals": 0.0177,
            "goal_rate": 0.0284,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.7403,
            "minutes": 19,
            "total_pass": 10,
            "accurate_pass": 9,
            "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": 6,
            "accurate_opp_half_passes": 5,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 14,
            "possession_lost": 2.5231,
            "dispossessed": 0.2283,
            "duels_lost": 1,
            "aerial_won": 0,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 1,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 4,
            "total_progression": 12,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.713,
            "bench_expected_minutes": 19.14,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.483,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0125,
            "projected_assists": 0,
            "assist_probability": 0.0166,
            "finishing_factor": 1.1951,
            "creation_factor": 1.0866,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "match_id": 16416297,
              "match_date": "2026-09-20",
              "home_team": "Valencia",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Valencia",
              "stats": {
                "minutes": 69,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0073,
                "total_shots": 0,
                "total_pass": 38,
                "accurate_pass": 35,
                "tackles": 4,
                "tackles_won": 4,
                "interceptions": 4,
                "clearances": 2,
                "aerial_won": 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": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416332,
              "match_date": "2026-09-13",
              "home_team": "Real Sociedad",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 12,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0078,
                "total_shots": 0,
                "total_pass": 15,
                "accurate_pass": 13,
                "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": 16416319,
              "match_date": "2026-09-07",
              "home_team": "Elche",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Elche",
              "stats": {
                "minutes": 20,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0032,
                "total_shots": 0,
                "total_pass": 4,
                "accurate_pass": 3,
                "clearances": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416340,
              "match_date": "2026-09-03",
              "home_team": "Real Sociedad",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 29,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0063,
                "total_shots": 0,
                "total_pass": 18,
                "accurate_pass": 17,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416310,
              "match_date": "2026-08-29",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0005,
                "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": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083624,
              "match_date": "2026-05-14",
              "home_team": "Girona FC",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 57,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0032,
                "total_shots": 0,
                "total_pass": 30,
                "accurate_pass": 27,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 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"
            },
            {
              "match_id": 14083583,
              "match_date": "2026-05-09",
              "home_team": "Real Sociedad",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0502,
                "expected_assists": 0.0841,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 80,
                "accurate_pass": 77,
                "key_pass": 3,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 5,
                "ball_recovery": 4
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083526,
              "match_date": "2026-05-04",
              "home_team": "Sevilla",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 45,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0377,
                "expected_assists": 0.0007,
                "total_shots": 1,
                "total_pass": 22,
                "accurate_pass": 17,
                "tackles": 2,
                "tackles_won": 1,
                "duels_won": 5,
                "ball_recovery": 2
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083239,
              "match_date": "2026-04-26",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 23,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0002,
                "total_shots": 0,
                "total_pass": 2,
                "accurate_pass": 1,
                "clearances": 3
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083346,
              "match_date": "2026-04-22",
              "home_team": "Real Sociedad",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Getafe",
              "stats": {
                "minutes": 88,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0155,
                "total_shots": 0,
                "total_pass": 48,
                "accurate_pass": 40,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 3,
                "duels_won": 7,
                "ball_recovery": 1
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 1369,
            "combined_rank_score": 713.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 578.0,
            "sofascore_rating": 6.8,
            "sofascore_appearances": 2.0,
            "fifa_rank": 848.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 14,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7403,
            "source_file": "data/player_rankings.csv",
            "player_name": "Jon Gorrotxategi",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Laziz Mirzaev",
                  "ranking": 1364
                },
                {
                  "player_name": "Shamar Nicholson",
                  "ranking": 1365
                },
                {
                  "player_name": "Juan Fernando Quintero",
                  "ranking": 1366
                },
                {
                  "player_name": "Ui-jun Jin",
                  "ranking": 1367
                },
                {
                  "player_name": "Diego Villares",
                  "ranking": 1368
                }
              ],
              "lower": [
                {
                  "player_name": "Vitão",
                  "ranking": 1370
                },
                {
                  "player_name": "Jemmes",
                  "ranking": 1371
                },
                {
                  "player_name": "Samandar Muratbaev",
                  "ranking": 1372
                },
                {
                  "player_name": "Kyeong-jae Kim",
                  "ranking": 1373
                },
                {
                  "player_name": "Jung-min Lee",
                  "ranking": 1374
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.753,
          "history_matches": 35,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 35,
            "data_confidence": 0.753,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 19.14,
            "bench_appearance_prob": 0.713,
            "market_value_adjustment": 1.0071,
            "fbref_prior_metrics": {
              "squad": "Real Sociedad",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 0.0,
              "sub_appearances": 2.0,
              "minutes_per_sub": 16.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.02
            },
            "rationale": "Bench projection scaled from XGBoost M_service (35 historical appearances) to 19.1 expected mins (appearance prob 0.71); FBref playing time empirical prior: 2.0 sub appearances, 16.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.2318,
                "expected_assists": 0.021,
                "assists": 0.0272,
                "assist_rate": 0.0272,
                "expected_goals": 0.016,
                "goals": 0.0292,
                "goal_rate": 0.0292,
                "shots_on_target": 0.0655,
                "total_shots": 0.1892,
                "rating": 6.7403,
                "minutes": 19.82,
                "total_pass": 10.1329,
                "accurate_pass": 8.9989,
                "duels_won": 0.9989,
                "total_long_balls": 0.7587,
                "accurate_long_balls": 0.3182,
                "total_own_half_passes": 3.5181,
                "accurate_own_half_passes": 3.3691,
                "total_opp_half_passes": 6.6148,
                "accurate_opp_half_passes": 5.6298,
                "crosses_total": 0.253,
                "crosses_accurate": 0.0,
                "touches": 14.3764,
                "possession_lost": 2.5943,
                "dispossessed": 0.2267,
                "duels_lost": 0.7019,
                "aerial_won": 0.2928,
                "aerial_lost": 0.0,
                "interceptions": 0.1576,
                "tackles_won": 0.1439,
                "tackles": 0.21,
                "clearances": 0.7737,
                "total_contest": 0.3268,
                "won_contest": 0.2607,
                "challenges_lost": 0.2353,
                "fouls": 0.1737,
                "fouls_drawn": 0.2353,
                "blocks": 0.1266,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.291,
                "total_progression": 12.182,
                "progressive_carries": 0.098,
                "shots_off_target": 0.1237
              },
              "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": "Valencia",
                    "minutes": 69.0,
                    "is_starting": true,
                    "weight": 0.1505,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Atlético Madrid",
                    "minutes": 12.0,
                    "is_starting": false,
                    "weight": 0.1279,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-09-07",
                    "opponent": "Elche",
                    "minutes": 20.0,
                    "is_starting": false,
                    "weight": 0.1087,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-03",
                    "opponent": "Celta Vigo",
                    "minutes": 29.0,
                    "is_starting": false,
                    "weight": 0.0924,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Espanyol",
                    "minutes": 1.0,
                    "is_starting": false,
                    "weight": 0.0786,
                    "rating": 0.0
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Girona FC",
                    "minutes": 57.0,
                    "is_starting": true,
                    "weight": 0.0668,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-09",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0568,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-05-04",
                    "opponent": "Sevilla",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-04-26",
                    "opponent": "Rayo Vallecano",
                    "minutes": 23.0,
                    "is_starting": false,
                    "weight": 0.041,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-04-22",
                    "opponent": "Getafe",
                    "minutes": 88.0,
                    "is_starting": true,
                    "weight": 0.0349,
                    "rating": 6.2
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalShots": 0.1593,
                  "creative_index": 0.1362,
                  "expectedGoals": 0.0077,
                  "expectedAssists": 0.0127,
                  "onTargetScoringAttempt": 0.0026
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.23178386688232422,
                    "model_output": 0.2318,
                    "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.4373
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0494
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0414
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0347
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0217
                        }
                      ],
                      "others": -0.0694,
                      "total": 0.2318,
                      "log_link": true,
                      "margin_base": -0.121432,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.680734
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.116758
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.10953
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.102189
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.069458
                        }
                      ],
                      "others_margin": -0.26185
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.020977076143026352,
                    "model_output": 0.021,
                    "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.0347
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0115
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0047
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0031
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0019
                        }
                      ],
                      "others": -0.0086,
                      "total": 0.021,
                      "log_link": true,
                      "margin_base": -2.458929,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.520562
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.256906
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.128583
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.094933
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": -0.063705
                        }
                      ],
                      "others_margin": -0.340707
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.02718666009604931,
                    "model_output": 0.0272,
                    "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.0219
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0092
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.006
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0043
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0034
                        }
                      ],
                      "others": -0.0138,
                      "total": 0.0272,
                      "log_link": true,
                      "margin_base": -2.456317,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.294187
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.155344
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.116175
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.093276
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.080444
                        }
                      ],
                      "others_margin": -0.409285
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.016047930344939232,
                    "model_output": 0.016,
                    "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.0398
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0191
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0087
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0023
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0012
                        }
                      ],
                      "others": -0.0065,
                      "total": 0.016,
                      "log_link": true,
                      "margin_base": -2.368441,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.554166
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.437972
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.289457
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.090754
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.052649
                        }
                      ],
                      "others_margin": -0.338737
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.029209617525339127,
                    "model_output": 0.0292,
                    "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.0296
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0136
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0081
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0041
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0034
                        }
                      ],
                      "others": -0.0086,
                      "total": 0.0292,
                      "log_link": true,
                      "margin_base": -2.337105,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.366203
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.227781
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.163641
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.09573
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.086933
                        }
                      ],
                      "others_margin": -0.255865
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.06549116224050522,
                    "model_output": 0.0655,
                    "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.1332
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0593
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.028
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0078
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0049
                        }
                      ],
                      "others": -0.0253,
                      "total": 0.0655,
                      "log_link": true,
                      "margin_base": -1.126872,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.52925
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.372212
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.239788
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.078627
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.052944
                        }
                      ],
                      "others_margin": -0.326146
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.18921147286891937,
                    "model_output": 0.1892,
                    "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.3085
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.2437
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0374
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0332
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0279
                        }
                      ],
                      "others": -0.1501,
                      "total": 0.1892,
                      "log_link": false,
                      "margin_base": 0.989981,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.3085
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.243691
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.037386
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.03318
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.027872
                        }
                      ],
                      "others_margin": -0.150141
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.740317344665527,
                    "model_output": 6.7403,
                    "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.104
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0299
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0196
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0125
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0114
                        }
                      ],
                      "others": -0.0175,
                      "total": 6.7403,
                      "log_link": false,
                      "margin_base": 6.850356,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.104005
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.029888
                        },
                        {
                          "name": "rating",
                          "margin": -0.019568
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.012451
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.011351
                        }
                      ],
                      "others_margin": -0.017453
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 35,
                  "role_matches": 8,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0071, quality 0.694)",
              "stats": {
                "key_pass": 0.2334,
                "expected_assists": 0.0211,
                "assists": 0.0274,
                "assist_rate": 0.0274,
                "expected_goals": 0.0162,
                "goals": 0.0294,
                "goal_rate": 0.0294,
                "shots_on_target": 0.066,
                "total_shots": 0.1906,
                "rating": 6.7403,
                "minutes": 19.82,
                "total_pass": 10.2048,
                "accurate_pass": 9.0628,
                "duels_won": 1.006,
                "total_long_balls": 0.7641,
                "accurate_long_balls": 0.3205,
                "total_own_half_passes": 3.5431,
                "accurate_own_half_passes": 3.393,
                "total_opp_half_passes": 6.6618,
                "accurate_opp_half_passes": 5.6698,
                "crosses_total": 0.2548,
                "crosses_accurate": 0.0,
                "touches": 14.4785,
                "possession_lost": 2.6127,
                "dispossessed": 0.2283,
                "duels_lost": 0.7069,
                "aerial_won": 0.2949,
                "aerial_lost": 0.0,
                "interceptions": 0.1587,
                "tackles_won": 0.1449,
                "tackles": 0.2115,
                "clearances": 0.7792,
                "total_contest": 0.3291,
                "won_contest": 0.2626,
                "challenges_lost": 0.237,
                "fouls": 0.1749,
                "fouls_drawn": 0.237,
                "blocks": 0.1275,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.3215,
                "total_progression": 12.2685,
                "progressive_carries": 0.0987,
                "shots_off_target": 0.1246
              },
              "params": {
                "market_value_eur": 27000000,
                "quality_factor": 0.6941,
                "boost_factor": 1.0071,
                "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.0016)",
              "stats": {
                "key_pass": 0.2334,
                "expected_assists": 0.0211,
                "assists": 0.0274,
                "assist_rate": 0.0274,
                "expected_goals": 0.0162,
                "goals": 0.0294,
                "goal_rate": 0.0294,
                "shots_on_target": 0.0659,
                "total_shots": 0.1903,
                "rating": 6.7403,
                "minutes": 19.82,
                "total_pass": 10.2048,
                "accurate_pass": 9.0628,
                "duels_won": 1.006,
                "total_long_balls": 0.7641,
                "accurate_long_balls": 0.3205,
                "total_own_half_passes": 3.5431,
                "accurate_own_half_passes": 3.393,
                "total_opp_half_passes": 6.6618,
                "accurate_opp_half_passes": 5.6698,
                "crosses_total": 0.2544,
                "crosses_accurate": 0.0,
                "touches": 14.4785,
                "possession_lost": 2.6127,
                "dispossessed": 0.2283,
                "duels_lost": 0.7069,
                "aerial_won": 0.2949,
                "aerial_lost": 0.0,
                "interceptions": 0.1584,
                "tackles_won": 0.1447,
                "tackles": 0.2115,
                "clearances": 0.7792,
                "total_contest": 0.3291,
                "won_contest": 0.2626,
                "challenges_lost": 0.237,
                "fouls": 0.1746,
                "fouls_drawn": 0.2366,
                "blocks": 0.1275,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.3215,
                "total_progression": 12.2685,
                "progressive_carries": 0.0987,
                "shots_off_target": 0.1246
              },
              "params": {
                "blend_weight": 0.0016,
                "history_matches": 35,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.2202,
                "prior_reliability": 0.02,
                "competition": "La Liga",
                "squad": "Real Sociedad"
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 19.8 to 19.1 expected minutes (appearance prob 0.71)",
              "stats": {
                "key_pass": 0.2254,
                "expected_assists": 0.0204,
                "assists": 0.0265,
                "assist_rate": 0.0265,
                "expected_goals": 0.0156,
                "goals": 0.0284,
                "goal_rate": 0.0284,
                "shots_on_target": 0.0636,
                "total_shots": 0.184,
                "rating": 6.7403,
                "minutes": 19.14,
                "total_pass": 9.8547,
                "accurate_pass": 8.7519,
                "duels_won": 0.9715,
                "total_long_balls": 0.7379,
                "accurate_long_balls": 0.3095,
                "total_own_half_passes": 3.4215,
                "accurate_own_half_passes": 3.2766,
                "total_opp_half_passes": 6.4332,
                "accurate_opp_half_passes": 5.4753,
                "crosses_total": 0.2457,
                "crosses_accurate": 0.0,
                "touches": 13.9818,
                "possession_lost": 2.5231,
                "dispossessed": 0.2283,
                "duels_lost": 0.6826,
                "aerial_won": 0.2848,
                "aerial_lost": 0.0,
                "interceptions": 0.153,
                "tackles_won": 0.1397,
                "tackles": 0.2042,
                "clearances": 0.7525,
                "total_contest": 0.3178,
                "won_contest": 0.2536,
                "challenges_lost": 0.237,
                "fouls": 0.1686,
                "fouls_drawn": 0.2285,
                "blocks": 0.1231,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.1732,
                "total_progression": 11.8476,
                "progressive_carries": 0.0953,
                "shots_off_target": 0.1203,
                "bench_appearance_probability": 0.713,
                "bench_expected_minutes": 19.14
              },
              "params": {
                "expected_minutes": 19.14,
                "projection_minutes": 19.82,
                "minutes_scale": 0.9657,
                "appearance_probability": 0.713
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.2254,
                "expected_assists": 0.0204,
                "assists": 0.0265,
                "assist_rate": 0.0265,
                "expected_goals": 0.0156,
                "goals": 0.0284,
                "goal_rate": 0.0284,
                "shots_on_target": 0.0636,
                "total_shots": 0.184,
                "rating": 6.7403,
                "minutes": 19.14,
                "total_pass": 9.8547,
                "accurate_pass": 8.7519,
                "duels_won": 0.9715,
                "total_long_balls": 0.7379,
                "accurate_long_balls": 0.3095,
                "total_own_half_passes": 3.4215,
                "accurate_own_half_passes": 3.2766,
                "total_opp_half_passes": 6.4332,
                "accurate_opp_half_passes": 5.4753,
                "crosses_total": 0.2457,
                "crosses_accurate": 0.0,
                "touches": 13.9818,
                "possession_lost": 2.5231,
                "dispossessed": 0.2283,
                "duels_lost": 0.6826,
                "aerial_won": 0.2848,
                "aerial_lost": 0.0,
                "interceptions": 0.153,
                "tackles_won": 0.1397,
                "tackles": 0.2042,
                "clearances": 0.7525,
                "total_contest": 0.3178,
                "won_contest": 0.2536,
                "challenges_lost": 0.237,
                "fouls": 0.1686,
                "fouls_drawn": 0.2285,
                "blocks": 0.1231,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.1732,
                "total_progression": 11.8476,
                "progressive_carries": 0.0953,
                "shots_off_target": 0.1203,
                "bench_appearance_probability": 0.713,
                "bench_expected_minutes": 19.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 1.50 (squad xG sum 1.3182, xG scale 1.1364, xA scale 1.1588, team xA 0.97 = 0.65 x lambda)",
              "stats": {
                "key_pass": 0.2254,
                "expected_assists": 0.0236,
                "assist_rate": 0.0265,
                "assists": 0,
                "expected_goals": 0.0177,
                "goal_rate": 0.0284,
                "goals": 0,
                "shots_on_target": 0.0636,
                "total_shots": 0.184,
                "rating": 6.7403,
                "minutes": 19.14,
                "total_pass": 9.8547,
                "accurate_pass": 8.7519,
                "duels_won": 0.9715,
                "total_long_balls": 0.7379,
                "accurate_long_balls": 0.3095,
                "total_own_half_passes": 3.4215,
                "accurate_own_half_passes": 3.2766,
                "total_opp_half_passes": 6.4332,
                "accurate_opp_half_passes": 5.4753,
                "crosses_total": 0.2457,
                "crosses_accurate": 0.0,
                "touches": 13.9818,
                "possession_lost": 2.5231,
                "dispossessed": 0.2283,
                "duels_lost": 0.6826,
                "aerial_won": 0.2848,
                "aerial_lost": 0.0,
                "interceptions": 0.153,
                "tackles_won": 0.1397,
                "tackles": 0.2042,
                "clearances": 0.7525,
                "total_contest": 0.3178,
                "won_contest": 0.2536,
                "challenges_lost": 0.237,
                "fouls": 0.1686,
                "fouls_drawn": 0.2285,
                "blocks": 0.1231,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.1732,
                "total_progression": 11.8476,
                "progressive_carries": 0.0953,
                "shots_off_target": 0.1203,
                "bench_appearance_probability": 0.713,
                "bench_expected_minutes": 19.14,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.483,
                "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.1951,
                "creation_factor": 1.0866
              },
              "params": {
                "team_lambda": 1.498,
                "squad_xg_sum": 1.3182,
                "squad_xa_sum": 0.8402,
                "team_expected_assists": 0.9737,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1364,
                "xa_scale": 1.1588,
                "opponent_lambda": 0.805,
                "scoreline_reset": true,
                "appearance_weight": 0.713
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 14 by projected rating, fifa_overall 79.0; not used by the projection)",
              "stats": {
                "key_pass": 0.2254,
                "expected_assists": 0.0236,
                "assist_rate": 0.0265,
                "assists": 0,
                "expected_goals": 0.0177,
                "goal_rate": 0.0284,
                "goals": 0,
                "shots_on_target": 0.0636,
                "total_shots": 0.184,
                "rating": 6.7403,
                "minutes": 19.14,
                "total_pass": 9.8547,
                "accurate_pass": 8.7519,
                "duels_won": 0.9715,
                "total_long_balls": 0.7379,
                "accurate_long_balls": 0.3095,
                "total_own_half_passes": 3.4215,
                "accurate_own_half_passes": 3.2766,
                "total_opp_half_passes": 6.4332,
                "accurate_opp_half_passes": 5.4753,
                "crosses_total": 0.2457,
                "crosses_accurate": 0.0,
                "touches": 13.9818,
                "possession_lost": 2.5231,
                "dispossessed": 0.2283,
                "duels_lost": 0.6826,
                "aerial_won": 0.2848,
                "aerial_lost": 0.0,
                "interceptions": 0.153,
                "tackles_won": 0.1397,
                "tackles": 0.2042,
                "clearances": 0.7525,
                "total_contest": 0.3178,
                "won_contest": 0.2536,
                "challenges_lost": 0.237,
                "fouls": 0.1686,
                "fouls_drawn": 0.2285,
                "blocks": 0.1231,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.1732,
                "total_progression": 11.8476,
                "progressive_carries": 0.0953,
                "shots_off_target": 0.1203,
                "bench_appearance_probability": 0.713,
                "bench_expected_minutes": 19.14,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.483,
                "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.1951,
                "creation_factor": 1.0866,
                "fifa_overall": 79.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": 1369,
                "fifa_rank": 848.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 79.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 0.2254,
                "expected_assists": 0.0236,
                "assist_rate": 0.0265,
                "assists": 0,
                "expected_goals": 0.0177,
                "goal_rate": 0.0284,
                "goals": 0,
                "shots_on_target": 0.0636,
                "total_shots": 0.184,
                "rating": 6.7403,
                "minutes": 19.14,
                "total_pass": 9.8547,
                "accurate_pass": 8.7519,
                "duels_won": 0.9715,
                "total_long_balls": 0.7379,
                "accurate_long_balls": 0.3095,
                "total_own_half_passes": 3.4215,
                "accurate_own_half_passes": 3.2766,
                "total_opp_half_passes": 6.4332,
                "accurate_opp_half_passes": 5.4753,
                "crosses_total": 0.2457,
                "crosses_accurate": 0.0,
                "touches": 13.9818,
                "possession_lost": 2.5231,
                "dispossessed": 0.2283,
                "duels_lost": 0.6826,
                "aerial_won": 0.2848,
                "aerial_lost": 0.0,
                "interceptions": 0.153,
                "tackles_won": 0.1397,
                "tackles": 0.2042,
                "clearances": 0.7525,
                "total_contest": 0.3178,
                "won_contest": 0.2536,
                "challenges_lost": 0.237,
                "fouls": 0.1686,
                "fouls_drawn": 0.2285,
                "blocks": 0.1231,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.1732,
                "total_progression": 11.8476,
                "progressive_carries": 0.0953,
                "shots_off_target": 0.1203,
                "bench_appearance_probability": 0.713,
                "bench_expected_minutes": 19.14,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.483,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0125,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1951,
                "creation_factor": 1.0866,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0125,
                "scorer_weight": 0.0151,
                "squad_weight_total": 1.6252,
                "weight_share": 0.0093,
                "finishing_factor": 1.1951,
                "appearance_weight": 0.713,
                "weight_rank": 12,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Mikel Oyarzabal",
                    "weight": 0.301,
                    "already": 0,
                    "effective_weight": 0.301,
                    "runner_up": "Luka Sučić",
                    "runner_up_effective_weight": 0.2755
                  }
                ]
              }
            },
            {
              "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.2254,
                "expected_assists": 0.0236,
                "assist_rate": 0.0265,
                "assists": 0,
                "expected_goals": 0.0177,
                "goal_rate": 0.0284,
                "goals": 0,
                "shots_on_target": 0.0636,
                "total_shots": 0.184,
                "rating": 6.7403,
                "minutes": 19.14,
                "total_pass": 9.8547,
                "accurate_pass": 8.7519,
                "duels_won": 0.9715,
                "total_long_balls": 0.7379,
                "accurate_long_balls": 0.3095,
                "total_own_half_passes": 3.4215,
                "accurate_own_half_passes": 3.2766,
                "total_opp_half_passes": 6.4332,
                "accurate_opp_half_passes": 5.4753,
                "crosses_total": 0.2457,
                "crosses_accurate": 0.0,
                "touches": 13.9818,
                "possession_lost": 2.5231,
                "dispossessed": 0.2283,
                "duels_lost": 0.6826,
                "aerial_won": 0.2848,
                "aerial_lost": 0.0,
                "interceptions": 0.153,
                "tackles_won": 0.1397,
                "tackles": 0.2042,
                "clearances": 0.7525,
                "total_contest": 0.3178,
                "won_contest": 0.2536,
                "challenges_lost": 0.237,
                "fouls": 0.1686,
                "fouls_drawn": 0.2285,
                "blocks": 0.1231,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.1732,
                "total_progression": 11.8476,
                "progressive_carries": 0.0953,
                "shots_off_target": 0.1203,
                "bench_appearance_probability": 0.713,
                "bench_expected_minutes": 19.14,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.483,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0125,
                "projected_assists": 0,
                "assist_probability": 0.0166,
                "finishing_factor": 1.1951,
                "creation_factor": 1.0866,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0166,
                "provider_weight": 0.0183,
                "squad_weight_total": 1.0056,
                "weight_share": 0.0182,
                "creation_factor": 1.0866,
                "appearance_weight": 0.713,
                "weight_rank": 9,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Sergio Gómez",
                    "weight": 0.1771,
                    "already": 0,
                    "effective_weight": 0.1771,
                    "runner_up": "Carlos Soler",
                    "runner_up_effective_weight": 0.1401,
                    "blocked_own_goal": [
                      "Mikel Oyarzabal"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Beñat Turrientes": {
          "player_id": 980410,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 8,
          "height": 179,
          "market_value": 10600000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.034,
            "assist_rate": 0.033,
            "assists": 0,
            "expected_goals": 0.0326,
            "goal_rate": 0.0521,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.7788,
            "minutes": 20,
            "total_pass": 14,
            "accurate_pass": 12,
            "duels_won": 2,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "total_own_half_passes": 5,
            "accurate_own_half_passes": 4,
            "total_opp_half_passes": 9,
            "accurate_opp_half_passes": 8,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 18,
            "possession_lost": 3.4914,
            "dispossessed": 0.3247,
            "duels_lost": 2,
            "aerial_won": 0,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 1,
            "clearances": 0,
            "total_contest": 1,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0008,
            "ball_carries": 7,
            "total_progression": 30,
            "progressive_carries": 1,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.411,
            "bench_expected_minutes": 20.5,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.483,
            "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": 81.0
          },
          "latest_10_games": [
            {
              "match_id": 16416340,
              "match_date": "2026-09-03",
              "home_team": "Real Sociedad",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 88,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0631,
                "expected_assists": 0.0374,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 48,
                "accurate_pass": 42,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 3,
                "duels_won": 3,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416310,
              "match_date": "2026-08-29",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 62,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0226,
                "expected_assists": 0.0371,
                "total_shots": 1,
                "total_pass": 38,
                "accurate_pass": 34,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 1,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421051,
              "match_date": "2026-08-26",
              "home_team": "Real Madrid",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.016,
                "expected_assists": 0.0533,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 73,
                "accurate_pass": 72,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 4,
                "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": 16416293,
              "match_date": "2026-08-21",
              "home_team": "Real Betis",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 18,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0139,
                "total_shots": 0,
                "total_pass": 26,
                "accurate_pass": 23,
                "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": 14083719,
              "match_date": "2026-05-23",
              "home_team": "Espanyol",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0484,
                "expected_assists": 0.1548,
                "total_shots": 1,
                "total_pass": 45,
                "accurate_pass": 40,
                "key_pass": 1,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083687,
              "match_date": "2026-05-17",
              "home_team": "Real Sociedad",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0151,
                "total_shots": 0,
                "total_pass": 46,
                "accurate_pass": 43,
                "tackles": 2,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 2,
                "duels_won": 6,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083624,
              "match_date": "2026-05-14",
              "home_team": "Girona FC",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 9,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0,
                "total_pass": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083526,
              "match_date": "2026-05-04",
              "home_team": "Sevilla",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 69,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0087,
                "total_shots": 0,
                "total_pass": 40,
                "accurate_pass": 35,
                "clearances": 1,
                "duels_won": 3
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083239,
              "match_date": "2026-04-26",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 67,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0585,
                "expected_assists": 0.0135,
                "total_shots": 1,
                "total_pass": 27,
                "accurate_pass": 23,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 6,
                "ball_recovery": 2
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083346,
              "match_date": "2026-04-22",
              "home_team": "Real Sociedad",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Getafe",
              "stats": {
                "minutes": 9,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0161,
                "total_shots": 0,
                "total_pass": 5,
                "accurate_pass": 5
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 976,
            "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": 4.0,
            "fifa_rank": 517.0,
            "fifa_overall": 81.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 10,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7788,
            "source_file": "data/player_rankings.csv",
            "player_name": "Beñat Turrientes",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Agustín Giay",
                  "ranking": 971
                },
                {
                  "player_name": "Jin-woo Jo",
                  "ranking": 972
                },
                {
                  "player_name": "Zach Muscat",
                  "ranking": 973
                },
                {
                  "player_name": "Odil Abdumazhidov",
                  "ranking": 974
                },
                {
                  "player_name": "Otabek Boymurodov",
                  "ranking": 975
                }
              ],
              "lower": [
                {
                  "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
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.779,
          "history_matches": 31,
          "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": 31,
            "data_confidence": 0.779,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 20.5,
            "bench_appearance_prob": 0.411,
            "market_value_adjustment": 1.001,
            "fbref_prior_metrics": {
              "squad": "Real Sociedad",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 4.0,
              "starts": 3.0,
              "sub_appearances": 1.0,
              "minutes_per_sub": 19.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.1933
            },
            "rationale": "Bench projection scaled from XGBoost M_service (31 historical appearances) to 20.5 expected mins (appearance prob 0.41); FBref playing time empirical prior: 1.0 sub appearances, 19.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.5065,
                "expected_assists": 0.0329,
                "assists": 0.0326,
                "assist_rate": 0.0326,
                "expected_goals": 0.0316,
                "goals": 0.0512,
                "goal_rate": 0.0512,
                "shots_on_target": 0.1231,
                "total_shots": 0.4585,
                "rating": 6.7788,
                "minutes": 19.85,
                "total_pass": 13.2904,
                "accurate_pass": 11.3239,
                "duels_won": 1.5817,
                "total_long_balls": 1.2928,
                "accurate_long_balls": 0.5973,
                "total_own_half_passes": 4.4462,
                "accurate_own_half_passes": 3.9774,
                "total_opp_half_passes": 8.8442,
                "accurate_opp_half_passes": 7.3465,
                "crosses_total": 0.2602,
                "crosses_accurate": 0.0,
                "touches": 17.2891,
                "possession_lost": 3.3773,
                "dispossessed": 0.3244,
                "duels_lost": 1.4793,
                "aerial_won": 0.2522,
                "aerial_lost": 0.2133,
                "interceptions": 0.0,
                "tackles_won": 0.4029,
                "tackles": 0.71,
                "clearances": 0.4391,
                "total_contest": 0.7267,
                "won_contest": 0.2602,
                "challenges_lost": 0.0405,
                "fouls": 0.4346,
                "fouls_drawn": 0.4069,
                "blocks": 0.1136,
                "big_chances_created": 0.0799,
                "big_chances_missed": 0.0,
                "xgot": 0.0008,
                "ball_carries": 6.3448,
                "total_progression": 29.0084,
                "progressive_carries": 0.7624,
                "shots_off_target": 0.3354
              },
              "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-03",
                    "opponent": "Celta Vigo",
                    "minutes": 88.0,
                    "is_starting": true,
                    "weight": 0.151,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Espanyol",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.1283,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-26",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1091,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Betis",
                    "minutes": 18.0,
                    "is_starting": false,
                    "weight": 0.0927,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0788,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.067,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Girona FC",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 0.0569,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-05-04",
                    "opponent": "Sevilla",
                    "minutes": 69.0,
                    "is_starting": true,
                    "weight": 0.0484,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-04-26",
                    "opponent": "Rayo Vallecano",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.0411,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-04-22",
                    "opponent": "Getafe",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 0.035,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalShots": 0.8376,
                  "creative_index": 0.3143,
                  "expectedGoals": 0.0258,
                  "expectedAssists": 0.0382,
                  "onTargetScoringAttempt": 0.4894
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.5065404176712036,
                    "model_output": 0.5065,
                    "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.3648
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0365
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0358
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0312
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0272
                        }
                      ],
                      "others": 0.0433,
                      "total": 0.5065,
                      "log_link": true,
                      "margin_base": -0.121432,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.530937
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.067678
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.066307
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.061751
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.057037
                        }
                      ],
                      "others_margin": 0.089635
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.032868728041648865,
                    "model_output": 0.0329,
                    "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.0378
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0075
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0038
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0019
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0012
                        }
                      ],
                      "others": -0.0004,
                      "total": 0.0329,
                      "log_link": true,
                      "margin_base": -2.458929,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.583142
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.170611
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.098241
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": -0.053388
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.035705
                        }
                      ],
                      "others_margin": -0.015219
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.03259265422821045,
                    "model_output": 0.0326,
                    "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.0236
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0089
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0038
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0031
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0027
                        }
                      ],
                      "others": -0.0111,
                      "total": 0.0326,
                      "log_link": true,
                      "margin_base": -2.456317,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.321536
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.15537
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.073888
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.065091
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.060064
                        }
                      ],
                      "others_margin": -0.291402
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.03157825395464897,
                    "model_output": 0.0316,
                    "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.0378
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0151
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0036
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0024
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": -0.0016
                        }
                      ],
                      "others": -0.0087,
                      "total": 0.0316,
                      "log_link": true,
                      "margin_base": -2.368441,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.517204
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.314739
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.084316
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.055586
                        },
                        {
                          "name": "duelWon_p90",
                          "margin": -0.039881
                        }
                      ],
                      "others_margin": -0.243751
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.05124451965093613,
                    "model_output": 0.0512,
                    "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.0257
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.012
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0062
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0067
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.006
                        }
                      ],
                      "others": -0.0146,
                      "total": 0.0512,
                      "log_link": true,
                      "margin_base": -2.337105,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.308916
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.186147
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.100272
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.097332
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.086572
                        }
                      ],
                      "others_margin": -0.250009
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.12306812405586243,
                    "model_output": 0.1231,
                    "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.1488
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0247
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0101
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0047
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0041
                        }
                      ],
                      "others": -0.0085,
                      "total": 0.1231,
                      "log_link": true,
                      "margin_base": -1.126872,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.614517
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.151888
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.069476
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.033841
                        },
                        {
                          "name": "totalProgression",
                          "margin": -0.030945
                        }
                      ],
                      "others_margin": -0.06748
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.4585000276565552,
                    "model_output": 0.4585,
                    "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.4125
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0315
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0313
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0304
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0245
                        }
                      ],
                      "others": -0.1133,
                      "total": 0.4585,
                      "log_link": false,
                      "margin_base": 0.989981,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.412457
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.031505
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.031348
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.030388
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.024494
                        }
                      ],
                      "others_margin": -0.113287
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.778817653656006,
                    "model_output": 6.7788,
                    "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.0925
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0883
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.038
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0311
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0306
                        }
                      ],
                      "others": -0.0373,
                      "total": 6.7788,
                      "log_link": false,
                      "margin_base": 6.850356,
                      "item_margins": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.092488
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.088256
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.037983
                        },
                        {
                          "name": "rating",
                          "margin": -0.031144
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.030574
                        }
                      ],
                      "others_margin": -0.037216
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 31,
                  "role_matches": 12,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0010, quality 0.529)",
              "stats": {
                "key_pass": 0.507,
                "expected_assists": 0.0329,
                "assists": 0.0326,
                "assist_rate": 0.0326,
                "expected_goals": 0.0316,
                "goals": 0.0513,
                "goal_rate": 0.0513,
                "shots_on_target": 0.1232,
                "total_shots": 0.459,
                "rating": 6.7788,
                "minutes": 19.85,
                "total_pass": 13.3037,
                "accurate_pass": 11.3352,
                "duels_won": 1.5833,
                "total_long_balls": 1.2941,
                "accurate_long_balls": 0.5979,
                "total_own_half_passes": 4.4506,
                "accurate_own_half_passes": 3.9814,
                "total_opp_half_passes": 8.853,
                "accurate_opp_half_passes": 7.3538,
                "crosses_total": 0.2605,
                "crosses_accurate": 0.0,
                "touches": 17.3064,
                "possession_lost": 3.3807,
                "dispossessed": 0.3247,
                "duels_lost": 1.4808,
                "aerial_won": 0.2525,
                "aerial_lost": 0.2135,
                "interceptions": 0.0,
                "tackles_won": 0.4033,
                "tackles": 0.7107,
                "clearances": 0.4395,
                "total_contest": 0.7274,
                "won_contest": 0.2605,
                "challenges_lost": 0.0405,
                "fouls": 0.435,
                "fouls_drawn": 0.4073,
                "blocks": 0.1137,
                "big_chances_created": 0.08,
                "big_chances_missed": 0.0,
                "xgot": 0.0008,
                "ball_carries": 6.3511,
                "total_progression": 29.0374,
                "progressive_carries": 0.7632,
                "shots_off_target": 0.3357
              },
              "params": {
                "market_value_eur": 10600000,
                "quality_factor": 0.5295,
                "boost_factor": 1.001,
                "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.0175)",
              "stats": {
                "key_pass": 0.507,
                "expected_assists": 0.0329,
                "assists": 0.032,
                "assist_rate": 0.032,
                "expected_goals": 0.0316,
                "goals": 0.0504,
                "goal_rate": 0.0504,
                "shots_on_target": 0.1251,
                "total_shots": 0.4564,
                "rating": 6.7788,
                "minutes": 19.85,
                "total_pass": 13.3037,
                "accurate_pass": 11.3352,
                "duels_won": 1.5833,
                "total_long_balls": 1.2941,
                "accurate_long_balls": 0.5979,
                "total_own_half_passes": 4.4506,
                "accurate_own_half_passes": 3.9814,
                "total_opp_half_passes": 8.853,
                "accurate_opp_half_passes": 7.3538,
                "crosses_total": 0.2586,
                "crosses_accurate": 0.0,
                "touches": 17.3064,
                "possession_lost": 3.3807,
                "dispossessed": 0.3247,
                "duels_lost": 1.4808,
                "aerial_won": 0.2525,
                "aerial_lost": 0.2135,
                "interceptions": 0.0,
                "tackles_won": 0.4016,
                "tackles": 0.7107,
                "clearances": 0.4395,
                "total_contest": 0.7274,
                "won_contest": 0.2605,
                "challenges_lost": 0.0405,
                "fouls": 0.4274,
                "fouls_drawn": 0.4015,
                "blocks": 0.1137,
                "big_chances_created": 0.08,
                "big_chances_missed": 0.0,
                "xgot": 0.0008,
                "ball_carries": 6.3511,
                "total_progression": 29.0374,
                "progressive_carries": 0.7632,
                "shots_off_target": 0.3357
              },
              "params": {
                "blend_weight": 0.0175,
                "history_matches": 31,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.2206,
                "prior_reliability": 0.1933,
                "competition": "La Liga",
                "squad": "Real Sociedad"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 0.435,
                  "after": 0.4274
                },
                {
                  "stat": "wasFouled",
                  "before": 0.4073,
                  "after": 0.4015
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 19.9 to 20.5 expected minutes (appearance prob 0.41)",
              "stats": {
                "key_pass": 0.5236,
                "expected_assists": 0.034,
                "assists": 0.033,
                "assist_rate": 0.033,
                "expected_goals": 0.0326,
                "goals": 0.0521,
                "goal_rate": 0.0521,
                "shots_on_target": 0.1292,
                "total_shots": 0.4759,
                "rating": 6.7788,
                "minutes": 20.5,
                "total_pass": 13.7393,
                "accurate_pass": 11.7064,
                "duels_won": 1.6351,
                "total_long_balls": 1.3365,
                "accurate_long_balls": 0.6175,
                "total_own_half_passes": 4.5963,
                "accurate_own_half_passes": 4.1118,
                "total_opp_half_passes": 9.1429,
                "accurate_opp_half_passes": 7.5946,
                "crosses_total": 0.2671,
                "crosses_accurate": 0.0,
                "touches": 17.8731,
                "possession_lost": 3.4914,
                "dispossessed": 0.3247,
                "duels_lost": 1.5293,
                "aerial_won": 0.2608,
                "aerial_lost": 0.2135,
                "interceptions": 0.0,
                "tackles_won": 0.4148,
                "tackles": 0.734,
                "clearances": 0.4539,
                "total_contest": 0.7512,
                "won_contest": 0.269,
                "challenges_lost": 0.0405,
                "fouls": 0.4414,
                "fouls_drawn": 0.4146,
                "blocks": 0.1174,
                "big_chances_created": 0.0826,
                "big_chances_missed": 0.0,
                "xgot": 0.0008,
                "ball_carries": 6.5591,
                "total_progression": 29.9882,
                "progressive_carries": 0.7882,
                "shots_off_target": 0.3467,
                "bench_appearance_probability": 0.411,
                "bench_expected_minutes": 20.5
              },
              "params": {
                "expected_minutes": 20.5,
                "projection_minutes": 19.85,
                "minutes_scale": 1.0327,
                "appearance_probability": 0.411
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.5236,
                "expected_assists": 0.034,
                "assists": 0.033,
                "assist_rate": 0.033,
                "expected_goals": 0.0326,
                "goals": 0.0521,
                "goal_rate": 0.0521,
                "shots_on_target": 0.1292,
                "total_shots": 0.4759,
                "rating": 6.7788,
                "minutes": 20.5,
                "total_pass": 13.7393,
                "accurate_pass": 11.7064,
                "duels_won": 1.6351,
                "total_long_balls": 1.3365,
                "accurate_long_balls": 0.6175,
                "total_own_half_passes": 4.5963,
                "accurate_own_half_passes": 4.1118,
                "total_opp_half_passes": 9.1429,
                "accurate_opp_half_passes": 7.5946,
                "crosses_total": 0.2671,
                "crosses_accurate": 0.0,
                "touches": 17.8731,
                "possession_lost": 3.4914,
                "dispossessed": 0.3247,
                "duels_lost": 1.5293,
                "aerial_won": 0.2608,
                "aerial_lost": 0.2135,
                "interceptions": 0.0,
                "tackles_won": 0.4148,
                "tackles": 0.734,
                "clearances": 0.4539,
                "total_contest": 0.7512,
                "won_contest": 0.269,
                "challenges_lost": 0.0405,
                "fouls": 0.4414,
                "fouls_drawn": 0.4146,
                "blocks": 0.1174,
                "big_chances_created": 0.0826,
                "big_chances_missed": 0.0,
                "xgot": 0.0008,
                "ball_carries": 6.5591,
                "total_progression": 29.9882,
                "progressive_carries": 0.7882,
                "shots_off_target": 0.3467,
                "bench_appearance_probability": 0.411,
                "bench_expected_minutes": 20.5
              },
              "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.5236,
                "expected_assists": 0.034,
                "assist_rate": 0.033,
                "assists": 0,
                "expected_goals": 0.0326,
                "goal_rate": 0.0521,
                "goals": 0,
                "shots_on_target": 0.1292,
                "total_shots": 0.4759,
                "rating": 6.7788,
                "minutes": 20.5,
                "total_pass": 13.7393,
                "accurate_pass": 11.7064,
                "duels_won": 1.6351,
                "total_long_balls": 1.3365,
                "accurate_long_balls": 0.6175,
                "total_own_half_passes": 4.5963,
                "accurate_own_half_passes": 4.1118,
                "total_opp_half_passes": 9.1429,
                "accurate_opp_half_passes": 7.5946,
                "crosses_total": 0.2671,
                "crosses_accurate": 0.0,
                "touches": 17.8731,
                "possession_lost": 3.4914,
                "dispossessed": 0.3247,
                "duels_lost": 1.5293,
                "aerial_won": 0.2608,
                "aerial_lost": 0.2135,
                "interceptions": 0.0,
                "tackles_won": 0.4148,
                "tackles": 0.734,
                "clearances": 0.4539,
                "total_contest": 0.7512,
                "won_contest": 0.269,
                "challenges_lost": 0.0405,
                "fouls": 0.4414,
                "fouls_drawn": 0.4146,
                "blocks": 0.1174,
                "big_chances_created": 0.0826,
                "big_chances_missed": 0.0,
                "xgot": 0.0008,
                "ball_carries": 6.5591,
                "total_progression": 29.9882,
                "progressive_carries": 0.7882,
                "shots_off_target": 0.3467,
                "bench_appearance_probability": 0.411,
                "bench_expected_minutes": 20.5,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.483,
                "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.411,
                "projected_substitutes": 2,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 10 by projected rating, fifa_overall 81.0; not used by the projection)",
              "stats": {
                "key_pass": 0.5236,
                "expected_assists": 0.034,
                "assist_rate": 0.033,
                "assists": 0,
                "expected_goals": 0.0326,
                "goal_rate": 0.0521,
                "goals": 0,
                "shots_on_target": 0.1292,
                "total_shots": 0.4759,
                "rating": 6.7788,
                "minutes": 20.5,
                "total_pass": 13.7393,
                "accurate_pass": 11.7064,
                "duels_won": 1.6351,
                "total_long_balls": 1.3365,
                "accurate_long_balls": 0.6175,
                "total_own_half_passes": 4.5963,
                "accurate_own_half_passes": 4.1118,
                "total_opp_half_passes": 9.1429,
                "accurate_opp_half_passes": 7.5946,
                "crosses_total": 0.2671,
                "crosses_accurate": 0.0,
                "touches": 17.8731,
                "possession_lost": 3.4914,
                "dispossessed": 0.3247,
                "duels_lost": 1.5293,
                "aerial_won": 0.2608,
                "aerial_lost": 0.2135,
                "interceptions": 0.0,
                "tackles_won": 0.4148,
                "tackles": 0.734,
                "clearances": 0.4539,
                "total_contest": 0.7512,
                "won_contest": 0.269,
                "challenges_lost": 0.0405,
                "fouls": 0.4414,
                "fouls_drawn": 0.4146,
                "blocks": 0.1174,
                "big_chances_created": 0.0826,
                "big_chances_missed": 0.0,
                "xgot": 0.0008,
                "ball_carries": 6.5591,
                "total_progression": 29.9882,
                "progressive_carries": 0.7882,
                "shots_off_target": 0.3467,
                "bench_appearance_probability": 0.411,
                "bench_expected_minutes": 20.5,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.483,
                "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": 81.0
              },
              "params": {
                "match_squad_rank": 10,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 976,
                "fifa_rank": 517.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 81.0
              }
            }
          ]
        },
        "Takefusa Kubo": {
          "player_id": 880218,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 14,
          "height": 174,
          "market_value": 21000000,
          "stats": {
            "expected_goals": 0.0463,
            "goal_rate": 0.0392,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "expected_assists": 0.045,
            "key_pass": 0,
            "rating": 6.7165,
            "minutes": 19,
            "total_pass": 6,
            "accurate_pass": 5,
            "duels_won": 2,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 5,
            "accurate_opp_half_passes": 4,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 11,
            "possession_lost": 2.8106,
            "dispossessed": 0.4781,
            "duels_lost": 1,
            "aerial_lost": 0,
            "total_contest": 1,
            "won_contest": 1,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "assist_rate": 0.0925,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 1,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0058,
            "offsides": 0,
            "ball_carries": 4,
            "total_progression": 11,
            "progressive_carries": 1,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.447,
            "bench_expected_minutes": 18.89,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.483,
            "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": 16416332,
              "match_date": "2026-09-13",
              "home_team": "Real Sociedad",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 18,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0099,
                "total_shots": 0,
                "total_pass": 5,
                "accurate_pass": 5,
                "key_pass": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416340,
              "match_date": "2026-09-03",
              "home_team": "Real Sociedad",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 61,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.4845,
                "expected_assists": 0.0393,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 24,
                "accurate_pass": 18,
                "key_pass": 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": 16416310,
              "match_date": "2026-08-29",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 12,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0,
                "total_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421051,
              "match_date": "2026-08-26",
              "home_team": "Real Madrid",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 74,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0988,
                "total_shots": 0,
                "total_pass": 16,
                "accurate_pass": 12,
                "key_pass": 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": 16416293,
              "match_date": "2026-08-21",
              "home_team": "Real Betis",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 58,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0452,
                "expected_assists": 0.0032,
                "total_shots": 1,
                "total_pass": 16,
                "accurate_pass": 12,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 7,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083624,
              "match_date": "2026-05-14",
              "home_team": "Girona FC",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 57,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0329,
                "expected_assists": 0.0075,
                "total_shots": 1,
                "total_pass": 9,
                "accurate_pass": 8,
                "key_pass": 1,
                "interceptions": 2,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083583,
              "match_date": "2026-05-09",
              "home_team": "Real Sociedad",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 54,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.4873,
                "total_shots": 0,
                "total_pass": 18,
                "accurate_pass": 16,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083526,
              "match_date": "2026-05-04",
              "home_team": "Sevilla",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 32,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0154,
                "expected_assists": 0.0116,
                "total_shots": 1,
                "total_pass": 13,
                "accurate_pass": 11,
                "tackles": 2,
                "tackles_won": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083239,
              "match_date": "2026-04-26",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 56,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0573,
                "expected_assists": 0.0122,
                "total_shots": 1,
                "total_pass": 16,
                "accurate_pass": 13,
                "duels_won": 4,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083346,
              "match_date": "2026-04-22",
              "home_team": "Real Sociedad",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1081,
                "total_shots": 0,
                "total_pass": 44,
                "accurate_pass": 31,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 13,
                "ball_recovery": 2
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 1228,
            "combined_rank_score": 536.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 315.0,
            "sofascore_rating": 7.025,
            "sofascore_appearances": 24.0,
            "fifa_rank": 757.0,
            "fifa_overall": 80.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 15,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7165,
            "source_file": "data/player_rankings.csv",
            "player_name": "Takefusa Kubo",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Carlo Armiento",
                  "ranking": 1223
                },
                {
                  "player_name": "Jeyson Rojas",
                  "ranking": 1224
                },
                {
                  "player_name": "Chang-seok Lim",
                  "ranking": 1225
                },
                {
                  "player_name": "Nicola Nanni",
                  "ranking": 1226
                },
                {
                  "player_name": "Nikola Vlašić",
                  "ranking": 1227
                }
              ],
              "lower": [
                {
                  "player_name": "Trevoh Chalobah",
                  "ranking": 1229
                },
                {
                  "player_name": "Moussa Niakhaté",
                  "ranking": 1230
                },
                {
                  "player_name": "Mario Pašalić",
                  "ranking": 1231
                },
                {
                  "player_name": "Shohruh Gadoev",
                  "ranking": 1232
                },
                {
                  "player_name": "Matthieu Udol",
                  "ranking": 1233
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.773,
          "history_matches": 29,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 29,
            "data_confidence": 0.773,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 18.89,
            "bench_appearance_prob": 0.447,
            "market_value_adjustment": 1.006,
            "fbref_prior_metrics": {
              "squad": "Real Sociedad",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 4.0,
              "starts": 3.0,
              "sub_appearances": 1.0,
              "minutes_per_sub": 13.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.1533
            },
            "rationale": "Bench projection scaled from XGBoost F_service (29 historical appearances) to 18.9 expected mins (appearance prob 0.45); FBref playing time empirical prior: 1.0 sub appearances, 13.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.059,
                "goals": 0.0509,
                "goal_rate": 0.0509,
                "shots_on_target": 0.2121,
                "total_shots": 0.5204,
                "expected_assists": 0.0574,
                "key_pass": 0.4117,
                "rating": 6.7165,
                "minutes": 24.26,
                "total_pass": 8.1448,
                "accurate_pass": 6.7189,
                "duels_won": 2.0472,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 6.0885,
                "accurate_opp_half_passes": 4.976,
                "crosses_total": 0.4737,
                "crosses_accurate": 0.1199,
                "touches": 13.8972,
                "possession_lost": 3.5881,
                "dispossessed": 0.4752,
                "duels_lost": 1.4726,
                "aerial_lost": 0.2526,
                "total_contest": 1.207,
                "won_contest": 0.7604,
                "ball_recovery": 1.0608,
                "challenges_lost": 0.1252,
                "fouls": 0.1731,
                "fouls_drawn": 0.514,
                "assists": 0.1199,
                "assist_rate": 0.1199,
                "interceptions": 0.0,
                "tackles_won": 0.4562,
                "tackles": 0.6991,
                "clearances": 0.1019,
                "blocks": 0.0,
                "big_chances_created": 0.1199,
                "big_chances_missed": 0.0,
                "xgot": 0.0074,
                "offsides": 0.1789,
                "ball_carries": 4.7529,
                "total_progression": 14.1674,
                "progressive_carries": 0.926,
                "shots_off_target": 0.3083
              },
              "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-13",
                    "opponent": "Atlético Madrid",
                    "minutes": 18.0,
                    "is_starting": false,
                    "weight": 0.1514,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-03",
                    "opponent": "Celta Vigo",
                    "minutes": 61.0,
                    "is_starting": true,
                    "weight": 0.1287,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Espanyol",
                    "minutes": 12.0,
                    "is_starting": false,
                    "weight": 0.1094,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-26",
                    "opponent": "Real Madrid",
                    "minutes": 74.0,
                    "is_starting": true,
                    "weight": 0.093,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Betis",
                    "minutes": 58.0,
                    "is_starting": true,
                    "weight": 0.079,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Girona FC",
                    "minutes": 57.0,
                    "is_starting": true,
                    "weight": 0.0672,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-05-09",
                    "opponent": "Real Betis",
                    "minutes": 54.0,
                    "is_starting": true,
                    "weight": 0.0571,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-04",
                    "opponent": "Sevilla",
                    "minutes": 32.0,
                    "is_starting": false,
                    "weight": 0.0485,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-04-26",
                    "opponent": "Rayo Vallecano",
                    "minutes": 56.0,
                    "is_starting": true,
                    "weight": 0.0412,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-04-22",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0351,
                    "rating": 6.9
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "expectedGoals": 0.0926,
                  "totalOppositionHalfPasses": 11.2755,
                  "accurateOppositionHalfPasses": 8.6973,
                  "accuratePass": 11.7724,
                  "totalShots": 0.5862
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.059020668268203735,
                    "model_output": 0.059,
                    "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.0877
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0198
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0083
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0054
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0035
                        }
                      ],
                      "others": -0.0141,
                      "total": 0.059,
                      "log_link": true,
                      "margin_base": -1.62027,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.585878
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.198562
                        },
                        {
                          "name": "goals",
                          "margin": -0.096152
                        },
                        {
                          "name": "totalProgression",
                          "margin": -0.068445
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.046112
                        }
                      ],
                      "others_margin": -0.214449
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.05088035389780998,
                    "model_output": 0.0509,
                    "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.0897
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0225
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0092
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0069
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0039
                        }
                      ],
                      "others": -0.0201,
                      "total": 0.0509,
                      "log_link": true,
                      "margin_base": -1.593696,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.582098
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.221163
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.10707
                        },
                        {
                          "name": "goals",
                          "margin": -0.087556
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.052826
                        }
                      ],
                      "others_margin": -0.333869
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.2121255099773407,
                    "model_output": 0.2121,
                    "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.2083
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0304
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0189
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0151
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0126
                        }
                      ],
                      "others": -0.0393,
                      "total": 0.2121,
                      "log_link": true,
                      "margin_base": -0.622283,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.491102
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.097286
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.065437
                        },
                        {
                          "name": "goals",
                          "margin": -0.055616
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.049094
                        }
                      ],
                      "others_margin": -0.169759
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5203805565834045,
                    "model_output": 0.5204,
                    "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.4559
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.129
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0526
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0418
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0389
                        }
                      ],
                      "others": -0.1342,
                      "total": 0.5204,
                      "log_link": false,
                      "margin_base": 1.372807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.455907
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.128952
                        },
                        {
                          "name": "goals",
                          "margin": -0.052588
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.041837
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.038944
                        }
                      ],
                      "others_margin": -0.134199
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.057413339614868164,
                    "model_output": 0.0574,
                    "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.0183
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0061
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0023
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.002
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0018
                        }
                      ],
                      "others": 0.0042,
                      "total": 0.0574,
                      "log_link": true,
                      "margin_base": -2.751197,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.33784
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.124837
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.045727
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.039264
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.035257
                        }
                      ],
                      "others_margin": 0.077927
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.41171082854270935,
                    "model_output": 0.4117,
                    "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.2782
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0157
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0137
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0112
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0076
                        }
                      ],
                      "others": 0.0227,
                      "total": 0.4117,
                      "log_link": true,
                      "margin_base": -0.396376,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.533662
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.040476
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.035624
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.028996
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.019638
                        }
                      ],
                      "others_margin": 0.056814
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.716533184051514,
                    "model_output": 6.7165,
                    "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.0606
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0106
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0102
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0099
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0095
                        }
                      ],
                      "others": 0.0135,
                      "total": 6.7165,
                      "log_link": false,
                      "margin_base": 6.763607,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.060572
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.010592
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.010216
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.009867
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.009451
                        }
                      ],
                      "others_margin": 0.01354
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 29,
                  "role_matches": 9,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0060, quality 0.641)",
              "stats": {
                "expected_goals": 0.0594,
                "goals": 0.0512,
                "goal_rate": 0.0512,
                "shots_on_target": 0.2134,
                "total_shots": 0.5235,
                "expected_assists": 0.0578,
                "key_pass": 0.4142,
                "rating": 6.7165,
                "minutes": 24.26,
                "total_pass": 8.1937,
                "accurate_pass": 6.7592,
                "duels_won": 2.0595,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 6.125,
                "accurate_opp_half_passes": 5.0059,
                "crosses_total": 0.4765,
                "crosses_accurate": 0.1206,
                "touches": 13.9806,
                "possession_lost": 3.6096,
                "dispossessed": 0.4781,
                "duels_lost": 1.4814,
                "aerial_lost": 0.2541,
                "total_contest": 1.2142,
                "won_contest": 0.765,
                "ball_recovery": 1.0672,
                "challenges_lost": 0.126,
                "fouls": 0.1741,
                "fouls_drawn": 0.5171,
                "assists": 0.1206,
                "assist_rate": 0.1206,
                "interceptions": 0.0,
                "tackles_won": 0.4589,
                "tackles": 0.7033,
                "clearances": 0.1025,
                "blocks": 0.0,
                "big_chances_created": 0.1206,
                "big_chances_missed": 0.0,
                "xgot": 0.0074,
                "offsides": 0.18,
                "ball_carries": 4.7814,
                "total_progression": 14.2524,
                "progressive_carries": 0.9316,
                "shots_off_target": 0.3101
              },
              "params": {
                "market_value_eur": 21000000,
                "quality_factor": 0.6408,
                "boost_factor": 1.006,
                "reference_quality": 0.505,
                "history_matches": 29,
                "history_shrink": 0.1471,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0147)",
              "stats": {
                "expected_goals": 0.0594,
                "goals": 0.0504,
                "goal_rate": 0.0504,
                "shots_on_target": 0.2103,
                "total_shots": 0.5193,
                "expected_assists": 0.0578,
                "key_pass": 0.4142,
                "rating": 6.7165,
                "minutes": 24.26,
                "total_pass": 8.1937,
                "accurate_pass": 6.7592,
                "duels_won": 2.0595,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 6.125,
                "accurate_opp_half_passes": 5.0059,
                "crosses_total": 0.4764,
                "crosses_accurate": 0.1206,
                "touches": 13.9806,
                "possession_lost": 3.6096,
                "dispossessed": 0.4781,
                "duels_lost": 1.4814,
                "aerial_lost": 0.2541,
                "total_contest": 1.2142,
                "won_contest": 0.765,
                "ball_recovery": 1.0672,
                "challenges_lost": 0.126,
                "fouls": 0.1767,
                "fouls_drawn": 0.5181,
                "assists": 0.1188,
                "assist_rate": 0.1188,
                "interceptions": 0.0017,
                "tackles_won": 0.4556,
                "tackles": 0.7033,
                "clearances": 0.1025,
                "blocks": 0.0,
                "big_chances_created": 0.1206,
                "big_chances_missed": 0.0,
                "xgot": 0.0074,
                "offsides": 0.1774,
                "ball_carries": 4.7814,
                "total_progression": 14.2524,
                "progressive_carries": 0.9316,
                "shots_off_target": 0.3101
              },
              "params": {
                "blend_weight": 0.0147,
                "history_matches": 29,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.2696,
                "prior_reliability": 0.1533,
                "competition": "La Liga",
                "squad": "Real Sociedad"
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 24.3 to 18.9 expected minutes (appearance prob 0.45)",
              "stats": {
                "expected_goals": 0.0463,
                "goals": 0.0392,
                "goal_rate": 0.0392,
                "shots_on_target": 0.1637,
                "total_shots": 0.4052,
                "expected_assists": 0.045,
                "key_pass": 0.3225,
                "rating": 6.7165,
                "minutes": 18.89,
                "total_pass": 6.38,
                "accurate_pass": 5.263,
                "duels_won": 1.6036,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 4.7692,
                "accurate_opp_half_passes": 3.8978,
                "crosses_total": 0.3709,
                "crosses_accurate": 0.0939,
                "touches": 10.886,
                "possession_lost": 2.8106,
                "dispossessed": 0.4781,
                "duels_lost": 1.1535,
                "aerial_lost": 0.2541,
                "total_contest": 0.9454,
                "won_contest": 0.5957,
                "ball_recovery": 0.831,
                "challenges_lost": 0.126,
                "fouls": 0.1376,
                "fouls_drawn": 0.4034,
                "assists": 0.0925,
                "assist_rate": 0.0925,
                "interceptions": 0.0013,
                "tackles_won": 0.3548,
                "tackles": 0.5476,
                "clearances": 0.0798,
                "blocks": 0.0,
                "big_chances_created": 0.0939,
                "big_chances_missed": 0.0,
                "xgot": 0.0058,
                "offsides": 0.1774,
                "ball_carries": 3.723,
                "total_progression": 11.0976,
                "progressive_carries": 0.7254,
                "shots_off_target": 0.2415,
                "bench_appearance_probability": 0.447,
                "bench_expected_minutes": 18.89
              },
              "params": {
                "expected_minutes": 18.89,
                "projection_minutes": 24.26,
                "minutes_scale": 0.7786,
                "appearance_probability": 0.447
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0463,
                "goals": 0.0392,
                "goal_rate": 0.0392,
                "shots_on_target": 0.1637,
                "total_shots": 0.4052,
                "expected_assists": 0.045,
                "key_pass": 0.3225,
                "rating": 6.7165,
                "minutes": 18.89,
                "total_pass": 6.38,
                "accurate_pass": 5.263,
                "duels_won": 1.6036,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 4.7692,
                "accurate_opp_half_passes": 3.8978,
                "crosses_total": 0.3709,
                "crosses_accurate": 0.0939,
                "touches": 10.886,
                "possession_lost": 2.8106,
                "dispossessed": 0.4781,
                "duels_lost": 1.1535,
                "aerial_lost": 0.2541,
                "total_contest": 0.9454,
                "won_contest": 0.5957,
                "ball_recovery": 0.831,
                "challenges_lost": 0.126,
                "fouls": 0.1376,
                "fouls_drawn": 0.4034,
                "assists": 0.0925,
                "assist_rate": 0.0925,
                "interceptions": 0.0013,
                "tackles_won": 0.3548,
                "tackles": 0.5476,
                "clearances": 0.0798,
                "blocks": 0.0,
                "big_chances_created": 0.0939,
                "big_chances_missed": 0.0,
                "xgot": 0.0058,
                "offsides": 0.1774,
                "ball_carries": 3.723,
                "total_progression": 11.0976,
                "progressive_carries": 0.7254,
                "shots_off_target": 0.2415,
                "bench_appearance_probability": 0.447,
                "bench_expected_minutes": 18.89
              },
              "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.0463,
                "goal_rate": 0.0392,
                "goals": 0,
                "shots_on_target": 0.1637,
                "total_shots": 0.4052,
                "expected_assists": 0.045,
                "key_pass": 0.3225,
                "rating": 6.7165,
                "minutes": 18.89,
                "total_pass": 6.38,
                "accurate_pass": 5.263,
                "duels_won": 1.6036,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 4.7692,
                "accurate_opp_half_passes": 3.8978,
                "crosses_total": 0.3709,
                "crosses_accurate": 0.0939,
                "touches": 10.886,
                "possession_lost": 2.8106,
                "dispossessed": 0.4781,
                "duels_lost": 1.1535,
                "aerial_lost": 0.2541,
                "total_contest": 0.9454,
                "won_contest": 0.5957,
                "ball_recovery": 0.831,
                "challenges_lost": 0.126,
                "fouls": 0.1376,
                "fouls_drawn": 0.4034,
                "assist_rate": 0.0925,
                "assists": 0,
                "interceptions": 0.0013,
                "tackles_won": 0.3548,
                "tackles": 0.5476,
                "clearances": 0.0798,
                "blocks": 0.0,
                "big_chances_created": 0.0939,
                "big_chances_missed": 0.0,
                "xgot": 0.0058,
                "offsides": 0.1774,
                "ball_carries": 3.723,
                "total_progression": 11.0976,
                "progressive_carries": 0.7254,
                "shots_off_target": 0.2415,
                "bench_appearance_probability": 0.447,
                "bench_expected_minutes": 18.89,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.483,
                "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.447,
                "projected_substitutes": 2,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 15 by projected rating, fifa_overall 80.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.0463,
                "goal_rate": 0.0392,
                "goals": 0,
                "shots_on_target": 0.1637,
                "total_shots": 0.4052,
                "expected_assists": 0.045,
                "key_pass": 0.3225,
                "rating": 6.7165,
                "minutes": 18.89,
                "total_pass": 6.38,
                "accurate_pass": 5.263,
                "duels_won": 1.6036,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 4.7692,
                "accurate_opp_half_passes": 3.8978,
                "crosses_total": 0.3709,
                "crosses_accurate": 0.0939,
                "touches": 10.886,
                "possession_lost": 2.8106,
                "dispossessed": 0.4781,
                "duels_lost": 1.1535,
                "aerial_lost": 0.2541,
                "total_contest": 0.9454,
                "won_contest": 0.5957,
                "ball_recovery": 0.831,
                "challenges_lost": 0.126,
                "fouls": 0.1376,
                "fouls_drawn": 0.4034,
                "assist_rate": 0.0925,
                "assists": 0,
                "interceptions": 0.0013,
                "tackles_won": 0.3548,
                "tackles": 0.5476,
                "clearances": 0.0798,
                "blocks": 0.0,
                "big_chances_created": 0.0939,
                "big_chances_missed": 0.0,
                "xgot": 0.0058,
                "offsides": 0.1774,
                "ball_carries": 3.723,
                "total_progression": 11.0976,
                "progressive_carries": 0.7254,
                "shots_off_target": 0.2415,
                "bench_appearance_probability": 0.447,
                "bench_expected_minutes": 18.89,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.483,
                "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": 15,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 1228,
                "fifa_rank": 757.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 80.0
              }
            }
          ]
        },
        "Orri Óskarsson": {
          "player_id": 1026015,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 9,
          "height": 186,
          "market_value": 21000000,
          "stats": {
            "expected_goals": 0.1698,
            "goal_rate": 0.2316,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0169,
            "key_pass": 0,
            "rating": 6.6695,
            "minutes": 26,
            "total_pass": 6,
            "accurate_pass": 3,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 4,
            "accurate_opp_half_passes": 2,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 9,
            "possession_lost": 3.8874,
            "dispossessed": 0.6134,
            "duels_lost": 3,
            "aerial_lost": 1,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.1009,
            "offsides": 0,
            "ball_carries": 2,
            "total_progression": 11,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.595,
            "bench_expected_minutes": 26.1,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.483,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0929,
            "projected_assists": 0,
            "assist_probability": 0.01,
            "finishing_factor": 1.25,
            "creation_factor": 0.8,
            "fifa_overall": 74.0
          },
          "latest_10_games": [
            {
              "match_id": 16416297,
              "match_date": "2026-09-20",
              "home_team": "Valencia",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Valencia",
              "stats": {
                "minutes": 35,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0012,
                "total_shots": 0,
                "total_pass": 7,
                "accurate_pass": 3,
                "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": 16416332,
              "match_date": "2026-09-13",
              "home_team": "Real Sociedad",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 11,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0003,
                "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": 16416340,
              "match_date": "2026-09-03",
              "home_team": "Real Sociedad",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 71,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0249,
                "expected_assists": 0.0287,
                "total_shots": 1,
                "total_pass": 10,
                "accurate_pass": 6,
                "key_pass": 1,
                "aerial_won": 2,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416310,
              "match_date": "2026-08-29",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 78,
                "rating": 7.6,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.0278,
                "expected_assists": 0.0284,
                "total_shots": 4,
                "shots_on_target": 3,
                "shots_off_target": 1,
                "total_pass": 16,
                "accurate_pass": 12,
                "clearances": 1,
                "aerial_won": 3,
                "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": 16421051,
              "match_date": "2026-08-26",
              "home_team": "Real Madrid",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 33,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1318,
                "expected_assists": 0.002,
                "total_shots": 1,
                "total_pass": 10,
                "accurate_pass": 7,
                "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": 16416293,
              "match_date": "2026-08-21",
              "home_team": "Real Betis",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.9801,
                "expected_assists": 0.0082,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 14,
                "accurate_pass": 6,
                "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": 14083719,
              "match_date": "2026-05-23",
              "home_team": "Espanyol",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 77,
                "rating": 7.9,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.7635,
                "expected_assists": 0.0024,
                "total_shots": 4,
                "shots_on_target": 3,
                "shots_off_target": 1,
                "total_pass": 9,
                "accurate_pass": 7,
                "tackles": 1,
                "tackles_won": 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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083687,
              "match_date": "2026-05-17",
              "home_team": "Real Sociedad",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Valencia",
              "stats": {
                "minutes": 79,
                "rating": 8.0,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.708,
                "expected_assists": 0.0109,
                "total_shots": 3,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 12,
                "accurate_pass": 4,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083583,
              "match_date": "2026-05-09",
              "home_team": "Real Sociedad",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.0851,
                "expected_assists": 0.0118,
                "total_shots": 5,
                "shots_on_target": 3,
                "shots_off_target": 2,
                "total_pass": 7,
                "accurate_pass": 6
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083526,
              "match_date": "2026-05-04",
              "home_team": "Sevilla",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 45,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0641,
                "expected_assists": 0.0199,
                "total_shots": 1,
                "total_pass": 6,
                "accurate_pass": 3,
                "key_pass": 2,
                "aerial_won": 1,
                "duels_won": 1
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 3712,
            "combined_rank_score": 1678.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 447.0,
            "sofascore_rating": 6.8947,
            "sofascore_appearances": 20.0,
            "fifa_rank": 2909.0,
            "fifa_overall": 74.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 16,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6695,
            "source_file": "data/player_rankings.csv",
            "player_name": "Orri Óskarsson",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Ernest Muçi",
                  "ranking": 3707
                },
                {
                  "player_name": "Gabriel Suazo",
                  "ranking": 3708
                },
                {
                  "player_name": "İrfan Can Kahveci",
                  "ranking": 3709
                },
                {
                  "player_name": "Lucas Beltrán",
                  "ranking": 3710
                },
                {
                  "player_name": "Niclas Eliasson",
                  "ranking": 3711
                }
              ],
              "lower": [
                {
                  "player_name": "Santiago Núñez",
                  "ranking": 3713
                },
                {
                  "player_name": "Viktor Johansson",
                  "ranking": 3714
                },
                {
                  "player_name": "Isaac Romero",
                  "ranking": 3715
                },
                {
                  "player_name": "Roman Yaremchuk",
                  "ranking": 3716
                },
                {
                  "player_name": "Joe Gelhardt",
                  "ranking": 3717
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 26,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 26,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 26.09746860076133,
            "bench_appearance_prob": 0.5953394818527877,
            "market_value_adjustment": 1.0066,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (26 historical appearances) to 26.1 expected mins (appearance prob 0.60)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.1385,
                "goals": 0.2147,
                "goal_rate": 0.2147,
                "shots_on_target": 0.4091,
                "total_shots": 0.8652,
                "expected_assists": 0.0135,
                "key_pass": 0.2633,
                "rating": 6.6695,
                "minutes": 24.35,
                "total_pass": 5.1806,
                "accurate_pass": 3.1463,
                "duels_won": 0.8815,
                "total_long_balls": 0.2263,
                "accurate_long_balls": 0.062,
                "total_opp_half_passes": 3.3821,
                "accurate_opp_half_passes": 1.6973,
                "crosses_total": 0.1208,
                "crosses_accurate": 0.1009,
                "touches": 8.7353,
                "possession_lost": 3.6033,
                "dispossessed": 0.6094,
                "duels_lost": 2.6828,
                "aerial_lost": 0.8484,
                "total_contest": 0.3907,
                "won_contest": 0.062,
                "ball_recovery": 0.6152,
                "challenges_lost": 0.217,
                "fouls": 0.7413,
                "fouls_drawn": 0.062,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0324,
                "tackles_won": 0.1001,
                "tackles": 0.1001,
                "clearances": 0.1211,
                "blocks": 0.1187,
                "big_chances_created": 0.1208,
                "big_chances_missed": 0.0825,
                "xgot": 0.0824,
                "offsides": 0.3396,
                "ball_carries": 1.4191,
                "total_progression": 9.8772,
                "progressive_carries": 0.3978,
                "shots_off_target": 0.4561
              },
              "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": "Valencia",
                    "minutes": 35.0,
                    "is_starting": false,
                    "weight": 0.1522,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Atlético Madrid",
                    "minutes": 11.0,
                    "is_starting": false,
                    "weight": 0.1294,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-03",
                    "opponent": "Celta Vigo",
                    "minutes": 71.0,
                    "is_starting": true,
                    "weight": 0.11,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Espanyol",
                    "minutes": 78.0,
                    "is_starting": true,
                    "weight": 0.0935,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-08-26",
                    "opponent": "Real Madrid",
                    "minutes": 33.0,
                    "is_starting": false,
                    "weight": 0.0795,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0675,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Espanyol",
                    "minutes": 77.0,
                    "is_starting": true,
                    "weight": 0.0574,
                    "rating": 7.9
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Valencia",
                    "minutes": 79.0,
                    "is_starting": true,
                    "weight": 0.0488,
                    "rating": 8.0
                  },
                  {
                    "match_date": "2026-05-09",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0415,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-04",
                    "opponent": "Sevilla",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.0353,
                    "rating": 6.2
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "expectedGoals": 0.3459,
                  "totalOppositionHalfPasses": 6.0842,
                  "accurateOppositionHalfPasses": 3.2137,
                  "accuratePass": 5.4009,
                  "totalShots": 1.578
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.1385265439748764,
                    "model_output": 0.1385,
                    "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.0904
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0163
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0087
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.007
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": 0.0033
                        }
                      ],
                      "others": 0.0132,
                      "total": 0.1385,
                      "log_link": true,
                      "margin_base": -1.62027,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.610796
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.140906
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": -0.073351
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.059527
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": 0.027038
                        }
                      ],
                      "others_margin": 0.100253
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.21466338634490967,
                    "model_output": 0.2147,
                    "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.0843
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0302
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.0128
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": 0.011
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0097
                        }
                      ],
                      "others": 0.0321,
                      "total": 0.2147,
                      "log_link": true,
                      "margin_base": -1.593696,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.535661
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.226308
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.082557
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": 0.065968
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.054671
                        }
                      ],
                      "others_margin": 0.161169
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.4090500473976135,
                    "model_output": 0.4091,
                    "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.222
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0181
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0152
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0141
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.0134
                        }
                      ],
                      "others": 0.0336,
                      "total": 0.4091,
                      "log_link": true,
                      "margin_base": -0.622283,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.533842
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.055812
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.044531
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.039615
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.036344
                        }
                      ],
                      "others_margin": 0.085905
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.8651175498962402,
                    "model_output": 0.8651,
                    "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.6345
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0761
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0264
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0252
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0237
                        }
                      ],
                      "others": 0.0258,
                      "total": 0.8651,
                      "log_link": false,
                      "margin_base": 1.372807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.634486
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.076099
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.026369
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.025235
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.023726
                        }
                      ],
                      "others_margin": 0.025838
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.013547991402447224,
                    "model_output": 0.0135,
                    "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.0207
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.011
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0053
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0026
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0019
                        }
                      ],
                      "others": -0.0089,
                      "total": 0.0135,
                      "log_link": true,
                      "margin_base": -2.751197,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.391183
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.293421
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.180301
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.102418
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.07942
                        }
                      ],
                      "others_margin": -0.503577
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.26330649852752686,
                    "model_output": 0.2633,
                    "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.2813
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0314
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0232
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0201
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0188
                        }
                      ],
                      "others": -0.0347,
                      "total": 0.2633,
                      "log_link": true,
                      "margin_base": -0.396376,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.54149
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.083606
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.066648
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.06166
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.061309
                        }
                      ],
                      "others_margin": -0.123346
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.669460773468018,
                    "model_output": 6.6695,
                    "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.0659
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0154
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.015
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": -0.0128
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0108
                        }
                      ],
                      "others": -0.0042,
                      "total": 6.6695,
                      "log_link": false,
                      "margin_base": 6.763607,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.065932
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.015371
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.015027
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": -0.012798
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.010817
                        }
                      ],
                      "others_margin": -0.004257
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 26,
                  "role_matches": 15,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0066, quality 0.641)",
              "stats": {
                "expected_goals": 0.1394,
                "goals": 0.2161,
                "goal_rate": 0.2161,
                "shots_on_target": 0.4117,
                "total_shots": 0.8709,
                "expected_assists": 0.0136,
                "key_pass": 0.265,
                "rating": 6.6695,
                "minutes": 24.35,
                "total_pass": 5.2148,
                "accurate_pass": 3.1671,
                "duels_won": 0.8873,
                "total_long_balls": 0.2278,
                "accurate_long_balls": 0.0624,
                "total_opp_half_passes": 3.4044,
                "accurate_opp_half_passes": 1.7085,
                "crosses_total": 0.1216,
                "crosses_accurate": 0.1016,
                "touches": 8.793,
                "possession_lost": 3.6271,
                "dispossessed": 0.6134,
                "duels_lost": 2.7005,
                "aerial_lost": 0.854,
                "total_contest": 0.3933,
                "won_contest": 0.0624,
                "ball_recovery": 0.6193,
                "challenges_lost": 0.2184,
                "fouls": 0.7462,
                "fouls_drawn": 0.0624,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0326,
                "tackles_won": 0.1008,
                "tackles": 0.1008,
                "clearances": 0.1219,
                "blocks": 0.1195,
                "big_chances_created": 0.1216,
                "big_chances_missed": 0.083,
                "xgot": 0.0829,
                "offsides": 0.3418,
                "ball_carries": 1.4285,
                "total_progression": 9.9424,
                "progressive_carries": 0.4004,
                "shots_off_target": 0.4591
              },
              "params": {
                "market_value_eur": 21000000,
                "quality_factor": 0.6408,
                "boost_factor": 1.0066,
                "reference_quality": 0.505,
                "history_matches": 26,
                "history_shrink": 0.1613,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 24.4 to 26.1 expected minutes (appearance prob 0.60)",
              "stats": {
                "expected_goals": 0.1494,
                "goals": 0.2316,
                "goal_rate": 0.2316,
                "shots_on_target": 0.4412,
                "total_shots": 0.9334,
                "expected_assists": 0.0146,
                "key_pass": 0.284,
                "rating": 6.6695,
                "minutes": 26.1,
                "total_pass": 5.589,
                "accurate_pass": 3.3944,
                "duels_won": 0.951,
                "total_long_balls": 0.2441,
                "accurate_long_balls": 0.0669,
                "total_opp_half_passes": 3.6487,
                "accurate_opp_half_passes": 1.8311,
                "crosses_total": 0.1303,
                "crosses_accurate": 0.1089,
                "touches": 9.424,
                "possession_lost": 3.8874,
                "dispossessed": 0.6134,
                "duels_lost": 2.8943,
                "aerial_lost": 0.854,
                "total_contest": 0.4215,
                "won_contest": 0.0669,
                "ball_recovery": 0.6637,
                "challenges_lost": 0.2184,
                "fouls": 0.7998,
                "fouls_drawn": 0.0669,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0349,
                "tackles_won": 0.108,
                "tackles": 0.108,
                "clearances": 0.1306,
                "blocks": 0.1281,
                "big_chances_created": 0.1303,
                "big_chances_missed": 0.089,
                "xgot": 0.0888,
                "offsides": 0.3418,
                "ball_carries": 1.531,
                "total_progression": 10.6559,
                "progressive_carries": 0.4291,
                "shots_off_target": 0.492,
                "bench_appearance_probability": 0.595,
                "bench_expected_minutes": 26.1
              },
              "params": {
                "expected_minutes": 26.1,
                "projection_minutes": 24.35,
                "minutes_scale": 1.0718,
                "appearance_probability": 0.595
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1494,
                "goals": 0.2316,
                "goal_rate": 0.2316,
                "shots_on_target": 0.4412,
                "total_shots": 0.9334,
                "expected_assists": 0.0146,
                "key_pass": 0.284,
                "rating": 6.6695,
                "minutes": 26.1,
                "total_pass": 5.589,
                "accurate_pass": 3.3944,
                "duels_won": 0.951,
                "total_long_balls": 0.2441,
                "accurate_long_balls": 0.0669,
                "total_opp_half_passes": 3.6487,
                "accurate_opp_half_passes": 1.8311,
                "crosses_total": 0.1303,
                "crosses_accurate": 0.1089,
                "touches": 9.424,
                "possession_lost": 3.8874,
                "dispossessed": 0.6134,
                "duels_lost": 2.8943,
                "aerial_lost": 0.854,
                "total_contest": 0.4215,
                "won_contest": 0.0669,
                "ball_recovery": 0.6637,
                "challenges_lost": 0.2184,
                "fouls": 0.7998,
                "fouls_drawn": 0.0669,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0349,
                "tackles_won": 0.108,
                "tackles": 0.108,
                "clearances": 0.1306,
                "blocks": 0.1281,
                "big_chances_created": 0.1303,
                "big_chances_missed": 0.089,
                "xgot": 0.0888,
                "offsides": 0.3418,
                "ball_carries": 1.531,
                "total_progression": 10.6559,
                "progressive_carries": 0.4291,
                "shots_off_target": 0.492,
                "bench_appearance_probability": 0.595,
                "bench_expected_minutes": 26.1
              },
              "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.50 (squad xG sum 1.3182, xG scale 1.1364, xA scale 1.1588, team xA 0.97 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.1698,
                "goal_rate": 0.2316,
                "goals": 0,
                "shots_on_target": 0.4412,
                "total_shots": 0.9334,
                "expected_assists": 0.0169,
                "key_pass": 0.284,
                "rating": 6.6695,
                "minutes": 26.1,
                "total_pass": 5.589,
                "accurate_pass": 3.3944,
                "duels_won": 0.951,
                "total_long_balls": 0.2441,
                "accurate_long_balls": 0.0669,
                "total_opp_half_passes": 3.6487,
                "accurate_opp_half_passes": 1.8311,
                "crosses_total": 0.1303,
                "crosses_accurate": 0.1089,
                "touches": 9.424,
                "possession_lost": 3.8874,
                "dispossessed": 0.6134,
                "duels_lost": 2.8943,
                "aerial_lost": 0.854,
                "total_contest": 0.4215,
                "won_contest": 0.0669,
                "ball_recovery": 0.6637,
                "challenges_lost": 0.2184,
                "fouls": 0.7998,
                "fouls_drawn": 0.0669,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0349,
                "tackles_won": 0.108,
                "tackles": 0.108,
                "clearances": 0.1306,
                "blocks": 0.1281,
                "big_chances_created": 0.1303,
                "big_chances_missed": 0.089,
                "xgot": 0.1009,
                "offsides": 0.3418,
                "ball_carries": 1.531,
                "total_progression": 10.6559,
                "progressive_carries": 0.4291,
                "shots_off_target": 0.492,
                "bench_appearance_probability": 0.595,
                "bench_expected_minutes": 26.1,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.483,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.498,
                "squad_xg_sum": 1.3182,
                "squad_xa_sum": 0.8402,
                "team_expected_assists": 0.9737,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1364,
                "xa_scale": 1.1588,
                "opponent_lambda": 0.805,
                "scoreline_reset": true,
                "appearance_weight": 0.595
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1494,
                  "after": 0.1698
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 16 by projected rating, fifa_overall 74.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.1698,
                "goal_rate": 0.2316,
                "goals": 0,
                "shots_on_target": 0.4412,
                "total_shots": 0.9334,
                "expected_assists": 0.0169,
                "key_pass": 0.284,
                "rating": 6.6695,
                "minutes": 26.1,
                "total_pass": 5.589,
                "accurate_pass": 3.3944,
                "duels_won": 0.951,
                "total_long_balls": 0.2441,
                "accurate_long_balls": 0.0669,
                "total_opp_half_passes": 3.6487,
                "accurate_opp_half_passes": 1.8311,
                "crosses_total": 0.1303,
                "crosses_accurate": 0.1089,
                "touches": 9.424,
                "possession_lost": 3.8874,
                "dispossessed": 0.6134,
                "duels_lost": 2.8943,
                "aerial_lost": 0.854,
                "total_contest": 0.4215,
                "won_contest": 0.0669,
                "ball_recovery": 0.6637,
                "challenges_lost": 0.2184,
                "fouls": 0.7998,
                "fouls_drawn": 0.0669,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0349,
                "tackles_won": 0.108,
                "tackles": 0.108,
                "clearances": 0.1306,
                "blocks": 0.1281,
                "big_chances_created": 0.1303,
                "big_chances_missed": 0.089,
                "xgot": 0.1009,
                "offsides": 0.3418,
                "ball_carries": 1.531,
                "total_progression": 10.6559,
                "progressive_carries": 0.4291,
                "shots_off_target": 0.492,
                "bench_appearance_probability": 0.595,
                "bench_expected_minutes": 26.1,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.483,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 0.8,
                "fifa_overall": 74.0
              },
              "params": {
                "match_squad_rank": 16,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3712,
                "fifa_rank": 2909.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 74.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.1698,
                "goal_rate": 0.2316,
                "goals": 0,
                "shots_on_target": 0.4412,
                "total_shots": 0.9334,
                "expected_assists": 0.0169,
                "key_pass": 0.284,
                "rating": 6.6695,
                "minutes": 26.1,
                "total_pass": 5.589,
                "accurate_pass": 3.3944,
                "duels_won": 0.951,
                "total_long_balls": 0.2441,
                "accurate_long_balls": 0.0669,
                "total_opp_half_passes": 3.6487,
                "accurate_opp_half_passes": 1.8311,
                "crosses_total": 0.1303,
                "crosses_accurate": 0.1089,
                "touches": 9.424,
                "possession_lost": 3.8874,
                "dispossessed": 0.6134,
                "duels_lost": 2.8943,
                "aerial_lost": 0.854,
                "total_contest": 0.4215,
                "won_contest": 0.0669,
                "ball_recovery": 0.6637,
                "challenges_lost": 0.2184,
                "fouls": 0.7998,
                "fouls_drawn": 0.0669,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0349,
                "tackles_won": 0.108,
                "tackles": 0.108,
                "clearances": 0.1306,
                "blocks": 0.1281,
                "big_chances_created": 0.1303,
                "big_chances_missed": 0.089,
                "xgot": 0.1009,
                "offsides": 0.3418,
                "ball_carries": 1.531,
                "total_progression": 10.6559,
                "progressive_carries": 0.4291,
                "shots_off_target": 0.492,
                "bench_appearance_probability": 0.595,
                "bench_expected_minutes": 26.1,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.483,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0929,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 0.8,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0929,
                "scorer_weight": 0.1263,
                "squad_weight_total": 1.6252,
                "weight_share": 0.0777,
                "finishing_factor": 1.25,
                "appearance_weight": 0.595,
                "weight_rank": 6,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Mikel Oyarzabal",
                    "weight": 0.301,
                    "already": 0,
                    "effective_weight": 0.301,
                    "runner_up": "Luka Sučić",
                    "runner_up_effective_weight": 0.2755
                  }
                ]
              }
            },
            {
              "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.1698,
                "goal_rate": 0.2316,
                "goals": 0,
                "shots_on_target": 0.4412,
                "total_shots": 0.9334,
                "expected_assists": 0.0169,
                "key_pass": 0.284,
                "rating": 6.6695,
                "minutes": 26.1,
                "total_pass": 5.589,
                "accurate_pass": 3.3944,
                "duels_won": 0.951,
                "total_long_balls": 0.2441,
                "accurate_long_balls": 0.0669,
                "total_opp_half_passes": 3.6487,
                "accurate_opp_half_passes": 1.8311,
                "crosses_total": 0.1303,
                "crosses_accurate": 0.1089,
                "touches": 9.424,
                "possession_lost": 3.8874,
                "dispossessed": 0.6134,
                "duels_lost": 2.8943,
                "aerial_lost": 0.854,
                "total_contest": 0.4215,
                "won_contest": 0.0669,
                "ball_recovery": 0.6637,
                "challenges_lost": 0.2184,
                "fouls": 0.7998,
                "fouls_drawn": 0.0669,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0349,
                "tackles_won": 0.108,
                "tackles": 0.108,
                "clearances": 0.1306,
                "blocks": 0.1281,
                "big_chances_created": 0.1303,
                "big_chances_missed": 0.089,
                "xgot": 0.1009,
                "offsides": 0.3418,
                "ball_carries": 1.531,
                "total_progression": 10.6559,
                "progressive_carries": 0.4291,
                "shots_off_target": 0.492,
                "bench_appearance_probability": 0.595,
                "bench_expected_minutes": 26.1,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.483,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0929,
                "projected_assists": 0,
                "assist_probability": 0.01,
                "finishing_factor": 1.25,
                "creation_factor": 0.8,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.01,
                "provider_weight": 0.008,
                "squad_weight_total": 1.0056,
                "weight_share": 0.008,
                "creation_factor": 0.8,
                "appearance_weight": 0.595,
                "weight_rank": 12,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Sergio Gómez",
                    "weight": 0.1771,
                    "already": 0,
                    "effective_weight": 0.1771,
                    "runner_up": "Carlos Soler",
                    "runner_up_effective_weight": 0.1401,
                    "blocked_own_goal": [
                      "Mikel Oyarzabal"
                    ]
                  }
                ]
              }
            }
          ]
        }
      },
      "substitutes": {
        "Jon Gorrotxategi": {
          "player_id": 1216309,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 4,
          "height": 177,
          "market_value": 27000000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0236,
            "assist_rate": 0.0265,
            "assists": 0,
            "expected_goals": 0.0177,
            "goal_rate": 0.0284,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.7403,
            "minutes": 19,
            "total_pass": 10,
            "accurate_pass": 9,
            "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": 6,
            "accurate_opp_half_passes": 5,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 14,
            "possession_lost": 2.5231,
            "dispossessed": 0.2283,
            "duels_lost": 1,
            "aerial_won": 0,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 1,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 4,
            "total_progression": 12,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.713,
            "bench_expected_minutes": 19.14,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.483,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0125,
            "projected_assists": 0,
            "assist_probability": 0.0166,
            "finishing_factor": 1.1951,
            "creation_factor": 1.0866,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "match_id": 16416297,
              "match_date": "2026-09-20",
              "home_team": "Valencia",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Valencia",
              "stats": {
                "minutes": 69,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0073,
                "total_shots": 0,
                "total_pass": 38,
                "accurate_pass": 35,
                "tackles": 4,
                "tackles_won": 4,
                "interceptions": 4,
                "clearances": 2,
                "aerial_won": 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": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416332,
              "match_date": "2026-09-13",
              "home_team": "Real Sociedad",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 12,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0078,
                "total_shots": 0,
                "total_pass": 15,
                "accurate_pass": 13,
                "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": 16416319,
              "match_date": "2026-09-07",
              "home_team": "Elche",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Elche",
              "stats": {
                "minutes": 20,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0032,
                "total_shots": 0,
                "total_pass": 4,
                "accurate_pass": 3,
                "clearances": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416340,
              "match_date": "2026-09-03",
              "home_team": "Real Sociedad",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 29,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0063,
                "total_shots": 0,
                "total_pass": 18,
                "accurate_pass": 17,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416310,
              "match_date": "2026-08-29",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0005,
                "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": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083624,
              "match_date": "2026-05-14",
              "home_team": "Girona FC",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 57,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0032,
                "total_shots": 0,
                "total_pass": 30,
                "accurate_pass": 27,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 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"
            },
            {
              "match_id": 14083583,
              "match_date": "2026-05-09",
              "home_team": "Real Sociedad",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0502,
                "expected_assists": 0.0841,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 80,
                "accurate_pass": 77,
                "key_pass": 3,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 5,
                "ball_recovery": 4
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083526,
              "match_date": "2026-05-04",
              "home_team": "Sevilla",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 45,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0377,
                "expected_assists": 0.0007,
                "total_shots": 1,
                "total_pass": 22,
                "accurate_pass": 17,
                "tackles": 2,
                "tackles_won": 1,
                "duels_won": 5,
                "ball_recovery": 2
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083239,
              "match_date": "2026-04-26",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 23,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0002,
                "total_shots": 0,
                "total_pass": 2,
                "accurate_pass": 1,
                "clearances": 3
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083346,
              "match_date": "2026-04-22",
              "home_team": "Real Sociedad",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Getafe",
              "stats": {
                "minutes": 88,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0155,
                "total_shots": 0,
                "total_pass": 48,
                "accurate_pass": 40,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 3,
                "duels_won": 7,
                "ball_recovery": 1
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 1369,
            "combined_rank_score": 713.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 578.0,
            "sofascore_rating": 6.8,
            "sofascore_appearances": 2.0,
            "fifa_rank": 848.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 14,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7403,
            "source_file": "data/player_rankings.csv",
            "player_name": "Jon Gorrotxategi",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Laziz Mirzaev",
                  "ranking": 1364
                },
                {
                  "player_name": "Shamar Nicholson",
                  "ranking": 1365
                },
                {
                  "player_name": "Juan Fernando Quintero",
                  "ranking": 1366
                },
                {
                  "player_name": "Ui-jun Jin",
                  "ranking": 1367
                },
                {
                  "player_name": "Diego Villares",
                  "ranking": 1368
                }
              ],
              "lower": [
                {
                  "player_name": "Vitão",
                  "ranking": 1370
                },
                {
                  "player_name": "Jemmes",
                  "ranking": 1371
                },
                {
                  "player_name": "Samandar Muratbaev",
                  "ranking": 1372
                },
                {
                  "player_name": "Kyeong-jae Kim",
                  "ranking": 1373
                },
                {
                  "player_name": "Jung-min Lee",
                  "ranking": 1374
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.753,
          "history_matches": 35,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 35,
            "data_confidence": 0.753,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 19.14,
            "bench_appearance_prob": 0.713,
            "market_value_adjustment": 1.0071,
            "fbref_prior_metrics": {
              "squad": "Real Sociedad",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 0.0,
              "sub_appearances": 2.0,
              "minutes_per_sub": 16.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.02
            },
            "rationale": "Bench projection scaled from XGBoost M_service (35 historical appearances) to 19.1 expected mins (appearance prob 0.71); FBref playing time empirical prior: 2.0 sub appearances, 16.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.2318,
                "expected_assists": 0.021,
                "assists": 0.0272,
                "assist_rate": 0.0272,
                "expected_goals": 0.016,
                "goals": 0.0292,
                "goal_rate": 0.0292,
                "shots_on_target": 0.0655,
                "total_shots": 0.1892,
                "rating": 6.7403,
                "minutes": 19.82,
                "total_pass": 10.1329,
                "accurate_pass": 8.9989,
                "duels_won": 0.9989,
                "total_long_balls": 0.7587,
                "accurate_long_balls": 0.3182,
                "total_own_half_passes": 3.5181,
                "accurate_own_half_passes": 3.3691,
                "total_opp_half_passes": 6.6148,
                "accurate_opp_half_passes": 5.6298,
                "crosses_total": 0.253,
                "crosses_accurate": 0.0,
                "touches": 14.3764,
                "possession_lost": 2.5943,
                "dispossessed": 0.2267,
                "duels_lost": 0.7019,
                "aerial_won": 0.2928,
                "aerial_lost": 0.0,
                "interceptions": 0.1576,
                "tackles_won": 0.1439,
                "tackles": 0.21,
                "clearances": 0.7737,
                "total_contest": 0.3268,
                "won_contest": 0.2607,
                "challenges_lost": 0.2353,
                "fouls": 0.1737,
                "fouls_drawn": 0.2353,
                "blocks": 0.1266,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.291,
                "total_progression": 12.182,
                "progressive_carries": 0.098,
                "shots_off_target": 0.1237
              },
              "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": "Valencia",
                    "minutes": 69.0,
                    "is_starting": true,
                    "weight": 0.1505,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Atlético Madrid",
                    "minutes": 12.0,
                    "is_starting": false,
                    "weight": 0.1279,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-09-07",
                    "opponent": "Elche",
                    "minutes": 20.0,
                    "is_starting": false,
                    "weight": 0.1087,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-03",
                    "opponent": "Celta Vigo",
                    "minutes": 29.0,
                    "is_starting": false,
                    "weight": 0.0924,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Espanyol",
                    "minutes": 1.0,
                    "is_starting": false,
                    "weight": 0.0786,
                    "rating": 0.0
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Girona FC",
                    "minutes": 57.0,
                    "is_starting": true,
                    "weight": 0.0668,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-09",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0568,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-05-04",
                    "opponent": "Sevilla",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-04-26",
                    "opponent": "Rayo Vallecano",
                    "minutes": 23.0,
                    "is_starting": false,
                    "weight": 0.041,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-04-22",
                    "opponent": "Getafe",
                    "minutes": 88.0,
                    "is_starting": true,
                    "weight": 0.0349,
                    "rating": 6.2
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalShots": 0.1593,
                  "creative_index": 0.1362,
                  "expectedGoals": 0.0077,
                  "expectedAssists": 0.0127,
                  "onTargetScoringAttempt": 0.0026
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.23178386688232422,
                    "model_output": 0.2318,
                    "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.4373
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0494
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0414
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0347
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0217
                        }
                      ],
                      "others": -0.0694,
                      "total": 0.2318,
                      "log_link": true,
                      "margin_base": -0.121432,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.680734
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.116758
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.10953
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.102189
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.069458
                        }
                      ],
                      "others_margin": -0.26185
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.020977076143026352,
                    "model_output": 0.021,
                    "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.0347
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0115
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0047
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0031
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0019
                        }
                      ],
                      "others": -0.0086,
                      "total": 0.021,
                      "log_link": true,
                      "margin_base": -2.458929,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.520562
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.256906
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.128583
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.094933
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": -0.063705
                        }
                      ],
                      "others_margin": -0.340707
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.02718666009604931,
                    "model_output": 0.0272,
                    "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.0219
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0092
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.006
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0043
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0034
                        }
                      ],
                      "others": -0.0138,
                      "total": 0.0272,
                      "log_link": true,
                      "margin_base": -2.456317,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.294187
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.155344
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.116175
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.093276
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.080444
                        }
                      ],
                      "others_margin": -0.409285
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.016047930344939232,
                    "model_output": 0.016,
                    "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.0398
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0191
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0087
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0023
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0012
                        }
                      ],
                      "others": -0.0065,
                      "total": 0.016,
                      "log_link": true,
                      "margin_base": -2.368441,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.554166
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.437972
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.289457
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.090754
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.052649
                        }
                      ],
                      "others_margin": -0.338737
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.029209617525339127,
                    "model_output": 0.0292,
                    "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.0296
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0136
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0081
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0041
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0034
                        }
                      ],
                      "others": -0.0086,
                      "total": 0.0292,
                      "log_link": true,
                      "margin_base": -2.337105,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.366203
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.227781
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.163641
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.09573
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.086933
                        }
                      ],
                      "others_margin": -0.255865
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.06549116224050522,
                    "model_output": 0.0655,
                    "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.1332
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0593
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.028
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0078
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0049
                        }
                      ],
                      "others": -0.0253,
                      "total": 0.0655,
                      "log_link": true,
                      "margin_base": -1.126872,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.52925
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.372212
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.239788
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.078627
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.052944
                        }
                      ],
                      "others_margin": -0.326146
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.18921147286891937,
                    "model_output": 0.1892,
                    "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.3085
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.2437
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0374
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0332
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0279
                        }
                      ],
                      "others": -0.1501,
                      "total": 0.1892,
                      "log_link": false,
                      "margin_base": 0.989981,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.3085
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.243691
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.037386
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.03318
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.027872
                        }
                      ],
                      "others_margin": -0.150141
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.740317344665527,
                    "model_output": 6.7403,
                    "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.104
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0299
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0196
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0125
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0114
                        }
                      ],
                      "others": -0.0175,
                      "total": 6.7403,
                      "log_link": false,
                      "margin_base": 6.850356,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.104005
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.029888
                        },
                        {
                          "name": "rating",
                          "margin": -0.019568
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.012451
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.011351
                        }
                      ],
                      "others_margin": -0.017453
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 35,
                  "role_matches": 8,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0071, quality 0.694)",
              "stats": {
                "key_pass": 0.2334,
                "expected_assists": 0.0211,
                "assists": 0.0274,
                "assist_rate": 0.0274,
                "expected_goals": 0.0162,
                "goals": 0.0294,
                "goal_rate": 0.0294,
                "shots_on_target": 0.066,
                "total_shots": 0.1906,
                "rating": 6.7403,
                "minutes": 19.82,
                "total_pass": 10.2048,
                "accurate_pass": 9.0628,
                "duels_won": 1.006,
                "total_long_balls": 0.7641,
                "accurate_long_balls": 0.3205,
                "total_own_half_passes": 3.5431,
                "accurate_own_half_passes": 3.393,
                "total_opp_half_passes": 6.6618,
                "accurate_opp_half_passes": 5.6698,
                "crosses_total": 0.2548,
                "crosses_accurate": 0.0,
                "touches": 14.4785,
                "possession_lost": 2.6127,
                "dispossessed": 0.2283,
                "duels_lost": 0.7069,
                "aerial_won": 0.2949,
                "aerial_lost": 0.0,
                "interceptions": 0.1587,
                "tackles_won": 0.1449,
                "tackles": 0.2115,
                "clearances": 0.7792,
                "total_contest": 0.3291,
                "won_contest": 0.2626,
                "challenges_lost": 0.237,
                "fouls": 0.1749,
                "fouls_drawn": 0.237,
                "blocks": 0.1275,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.3215,
                "total_progression": 12.2685,
                "progressive_carries": 0.0987,
                "shots_off_target": 0.1246
              },
              "params": {
                "market_value_eur": 27000000,
                "quality_factor": 0.6941,
                "boost_factor": 1.0071,
                "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.0016)",
              "stats": {
                "key_pass": 0.2334,
                "expected_assists": 0.0211,
                "assists": 0.0274,
                "assist_rate": 0.0274,
                "expected_goals": 0.0162,
                "goals": 0.0294,
                "goal_rate": 0.0294,
                "shots_on_target": 0.0659,
                "total_shots": 0.1903,
                "rating": 6.7403,
                "minutes": 19.82,
                "total_pass": 10.2048,
                "accurate_pass": 9.0628,
                "duels_won": 1.006,
                "total_long_balls": 0.7641,
                "accurate_long_balls": 0.3205,
                "total_own_half_passes": 3.5431,
                "accurate_own_half_passes": 3.393,
                "total_opp_half_passes": 6.6618,
                "accurate_opp_half_passes": 5.6698,
                "crosses_total": 0.2544,
                "crosses_accurate": 0.0,
                "touches": 14.4785,
                "possession_lost": 2.6127,
                "dispossessed": 0.2283,
                "duels_lost": 0.7069,
                "aerial_won": 0.2949,
                "aerial_lost": 0.0,
                "interceptions": 0.1584,
                "tackles_won": 0.1447,
                "tackles": 0.2115,
                "clearances": 0.7792,
                "total_contest": 0.3291,
                "won_contest": 0.2626,
                "challenges_lost": 0.237,
                "fouls": 0.1746,
                "fouls_drawn": 0.2366,
                "blocks": 0.1275,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.3215,
                "total_progression": 12.2685,
                "progressive_carries": 0.0987,
                "shots_off_target": 0.1246
              },
              "params": {
                "blend_weight": 0.0016,
                "history_matches": 35,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.2202,
                "prior_reliability": 0.02,
                "competition": "La Liga",
                "squad": "Real Sociedad"
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 19.8 to 19.1 expected minutes (appearance prob 0.71)",
              "stats": {
                "key_pass": 0.2254,
                "expected_assists": 0.0204,
                "assists": 0.0265,
                "assist_rate": 0.0265,
                "expected_goals": 0.0156,
                "goals": 0.0284,
                "goal_rate": 0.0284,
                "shots_on_target": 0.0636,
                "total_shots": 0.184,
                "rating": 6.7403,
                "minutes": 19.14,
                "total_pass": 9.8547,
                "accurate_pass": 8.7519,
                "duels_won": 0.9715,
                "total_long_balls": 0.7379,
                "accurate_long_balls": 0.3095,
                "total_own_half_passes": 3.4215,
                "accurate_own_half_passes": 3.2766,
                "total_opp_half_passes": 6.4332,
                "accurate_opp_half_passes": 5.4753,
                "crosses_total": 0.2457,
                "crosses_accurate": 0.0,
                "touches": 13.9818,
                "possession_lost": 2.5231,
                "dispossessed": 0.2283,
                "duels_lost": 0.6826,
                "aerial_won": 0.2848,
                "aerial_lost": 0.0,
                "interceptions": 0.153,
                "tackles_won": 0.1397,
                "tackles": 0.2042,
                "clearances": 0.7525,
                "total_contest": 0.3178,
                "won_contest": 0.2536,
                "challenges_lost": 0.237,
                "fouls": 0.1686,
                "fouls_drawn": 0.2285,
                "blocks": 0.1231,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.1732,
                "total_progression": 11.8476,
                "progressive_carries": 0.0953,
                "shots_off_target": 0.1203,
                "bench_appearance_probability": 0.713,
                "bench_expected_minutes": 19.14
              },
              "params": {
                "expected_minutes": 19.14,
                "projection_minutes": 19.82,
                "minutes_scale": 0.9657,
                "appearance_probability": 0.713
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.2254,
                "expected_assists": 0.0204,
                "assists": 0.0265,
                "assist_rate": 0.0265,
                "expected_goals": 0.0156,
                "goals": 0.0284,
                "goal_rate": 0.0284,
                "shots_on_target": 0.0636,
                "total_shots": 0.184,
                "rating": 6.7403,
                "minutes": 19.14,
                "total_pass": 9.8547,
                "accurate_pass": 8.7519,
                "duels_won": 0.9715,
                "total_long_balls": 0.7379,
                "accurate_long_balls": 0.3095,
                "total_own_half_passes": 3.4215,
                "accurate_own_half_passes": 3.2766,
                "total_opp_half_passes": 6.4332,
                "accurate_opp_half_passes": 5.4753,
                "crosses_total": 0.2457,
                "crosses_accurate": 0.0,
                "touches": 13.9818,
                "possession_lost": 2.5231,
                "dispossessed": 0.2283,
                "duels_lost": 0.6826,
                "aerial_won": 0.2848,
                "aerial_lost": 0.0,
                "interceptions": 0.153,
                "tackles_won": 0.1397,
                "tackles": 0.2042,
                "clearances": 0.7525,
                "total_contest": 0.3178,
                "won_contest": 0.2536,
                "challenges_lost": 0.237,
                "fouls": 0.1686,
                "fouls_drawn": 0.2285,
                "blocks": 0.1231,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.1732,
                "total_progression": 11.8476,
                "progressive_carries": 0.0953,
                "shots_off_target": 0.1203,
                "bench_appearance_probability": 0.713,
                "bench_expected_minutes": 19.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 1.50 (squad xG sum 1.3182, xG scale 1.1364, xA scale 1.1588, team xA 0.97 = 0.65 x lambda)",
              "stats": {
                "key_pass": 0.2254,
                "expected_assists": 0.0236,
                "assist_rate": 0.0265,
                "assists": 0,
                "expected_goals": 0.0177,
                "goal_rate": 0.0284,
                "goals": 0,
                "shots_on_target": 0.0636,
                "total_shots": 0.184,
                "rating": 6.7403,
                "minutes": 19.14,
                "total_pass": 9.8547,
                "accurate_pass": 8.7519,
                "duels_won": 0.9715,
                "total_long_balls": 0.7379,
                "accurate_long_balls": 0.3095,
                "total_own_half_passes": 3.4215,
                "accurate_own_half_passes": 3.2766,
                "total_opp_half_passes": 6.4332,
                "accurate_opp_half_passes": 5.4753,
                "crosses_total": 0.2457,
                "crosses_accurate": 0.0,
                "touches": 13.9818,
                "possession_lost": 2.5231,
                "dispossessed": 0.2283,
                "duels_lost": 0.6826,
                "aerial_won": 0.2848,
                "aerial_lost": 0.0,
                "interceptions": 0.153,
                "tackles_won": 0.1397,
                "tackles": 0.2042,
                "clearances": 0.7525,
                "total_contest": 0.3178,
                "won_contest": 0.2536,
                "challenges_lost": 0.237,
                "fouls": 0.1686,
                "fouls_drawn": 0.2285,
                "blocks": 0.1231,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.1732,
                "total_progression": 11.8476,
                "progressive_carries": 0.0953,
                "shots_off_target": 0.1203,
                "bench_appearance_probability": 0.713,
                "bench_expected_minutes": 19.14,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.483,
                "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.1951,
                "creation_factor": 1.0866
              },
              "params": {
                "team_lambda": 1.498,
                "squad_xg_sum": 1.3182,
                "squad_xa_sum": 0.8402,
                "team_expected_assists": 0.9737,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1364,
                "xa_scale": 1.1588,
                "opponent_lambda": 0.805,
                "scoreline_reset": true,
                "appearance_weight": 0.713
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 14 by projected rating, fifa_overall 79.0; not used by the projection)",
              "stats": {
                "key_pass": 0.2254,
                "expected_assists": 0.0236,
                "assist_rate": 0.0265,
                "assists": 0,
                "expected_goals": 0.0177,
                "goal_rate": 0.0284,
                "goals": 0,
                "shots_on_target": 0.0636,
                "total_shots": 0.184,
                "rating": 6.7403,
                "minutes": 19.14,
                "total_pass": 9.8547,
                "accurate_pass": 8.7519,
                "duels_won": 0.9715,
                "total_long_balls": 0.7379,
                "accurate_long_balls": 0.3095,
                "total_own_half_passes": 3.4215,
                "accurate_own_half_passes": 3.2766,
                "total_opp_half_passes": 6.4332,
                "accurate_opp_half_passes": 5.4753,
                "crosses_total": 0.2457,
                "crosses_accurate": 0.0,
                "touches": 13.9818,
                "possession_lost": 2.5231,
                "dispossessed": 0.2283,
                "duels_lost": 0.6826,
                "aerial_won": 0.2848,
                "aerial_lost": 0.0,
                "interceptions": 0.153,
                "tackles_won": 0.1397,
                "tackles": 0.2042,
                "clearances": 0.7525,
                "total_contest": 0.3178,
                "won_contest": 0.2536,
                "challenges_lost": 0.237,
                "fouls": 0.1686,
                "fouls_drawn": 0.2285,
                "blocks": 0.1231,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.1732,
                "total_progression": 11.8476,
                "progressive_carries": 0.0953,
                "shots_off_target": 0.1203,
                "bench_appearance_probability": 0.713,
                "bench_expected_minutes": 19.14,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.483,
                "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.1951,
                "creation_factor": 1.0866,
                "fifa_overall": 79.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": 1369,
                "fifa_rank": 848.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 79.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 0.2254,
                "expected_assists": 0.0236,
                "assist_rate": 0.0265,
                "assists": 0,
                "expected_goals": 0.0177,
                "goal_rate": 0.0284,
                "goals": 0,
                "shots_on_target": 0.0636,
                "total_shots": 0.184,
                "rating": 6.7403,
                "minutes": 19.14,
                "total_pass": 9.8547,
                "accurate_pass": 8.7519,
                "duels_won": 0.9715,
                "total_long_balls": 0.7379,
                "accurate_long_balls": 0.3095,
                "total_own_half_passes": 3.4215,
                "accurate_own_half_passes": 3.2766,
                "total_opp_half_passes": 6.4332,
                "accurate_opp_half_passes": 5.4753,
                "crosses_total": 0.2457,
                "crosses_accurate": 0.0,
                "touches": 13.9818,
                "possession_lost": 2.5231,
                "dispossessed": 0.2283,
                "duels_lost": 0.6826,
                "aerial_won": 0.2848,
                "aerial_lost": 0.0,
                "interceptions": 0.153,
                "tackles_won": 0.1397,
                "tackles": 0.2042,
                "clearances": 0.7525,
                "total_contest": 0.3178,
                "won_contest": 0.2536,
                "challenges_lost": 0.237,
                "fouls": 0.1686,
                "fouls_drawn": 0.2285,
                "blocks": 0.1231,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.1732,
                "total_progression": 11.8476,
                "progressive_carries": 0.0953,
                "shots_off_target": 0.1203,
                "bench_appearance_probability": 0.713,
                "bench_expected_minutes": 19.14,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.483,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0125,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1951,
                "creation_factor": 1.0866,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0125,
                "scorer_weight": 0.0151,
                "squad_weight_total": 1.6252,
                "weight_share": 0.0093,
                "finishing_factor": 1.1951,
                "appearance_weight": 0.713,
                "weight_rank": 12,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Mikel Oyarzabal",
                    "weight": 0.301,
                    "already": 0,
                    "effective_weight": 0.301,
                    "runner_up": "Luka Sučić",
                    "runner_up_effective_weight": 0.2755
                  }
                ]
              }
            },
            {
              "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.2254,
                "expected_assists": 0.0236,
                "assist_rate": 0.0265,
                "assists": 0,
                "expected_goals": 0.0177,
                "goal_rate": 0.0284,
                "goals": 0,
                "shots_on_target": 0.0636,
                "total_shots": 0.184,
                "rating": 6.7403,
                "minutes": 19.14,
                "total_pass": 9.8547,
                "accurate_pass": 8.7519,
                "duels_won": 0.9715,
                "total_long_balls": 0.7379,
                "accurate_long_balls": 0.3095,
                "total_own_half_passes": 3.4215,
                "accurate_own_half_passes": 3.2766,
                "total_opp_half_passes": 6.4332,
                "accurate_opp_half_passes": 5.4753,
                "crosses_total": 0.2457,
                "crosses_accurate": 0.0,
                "touches": 13.9818,
                "possession_lost": 2.5231,
                "dispossessed": 0.2283,
                "duels_lost": 0.6826,
                "aerial_won": 0.2848,
                "aerial_lost": 0.0,
                "interceptions": 0.153,
                "tackles_won": 0.1397,
                "tackles": 0.2042,
                "clearances": 0.7525,
                "total_contest": 0.3178,
                "won_contest": 0.2536,
                "challenges_lost": 0.237,
                "fouls": 0.1686,
                "fouls_drawn": 0.2285,
                "blocks": 0.1231,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.1732,
                "total_progression": 11.8476,
                "progressive_carries": 0.0953,
                "shots_off_target": 0.1203,
                "bench_appearance_probability": 0.713,
                "bench_expected_minutes": 19.14,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.483,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0125,
                "projected_assists": 0,
                "assist_probability": 0.0166,
                "finishing_factor": 1.1951,
                "creation_factor": 1.0866,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0166,
                "provider_weight": 0.0183,
                "squad_weight_total": 1.0056,
                "weight_share": 0.0182,
                "creation_factor": 1.0866,
                "appearance_weight": 0.713,
                "weight_rank": 9,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Sergio Gómez",
                    "weight": 0.1771,
                    "already": 0,
                    "effective_weight": 0.1771,
                    "runner_up": "Carlos Soler",
                    "runner_up_effective_weight": 0.1401,
                    "blocked_own_goal": [
                      "Mikel Oyarzabal"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Orri Óskarsson": {
          "player_id": 1026015,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 9,
          "height": 186,
          "market_value": 21000000,
          "stats": {
            "expected_goals": 0.1698,
            "goal_rate": 0.2316,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0169,
            "key_pass": 0,
            "rating": 6.6695,
            "minutes": 26,
            "total_pass": 6,
            "accurate_pass": 3,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 4,
            "accurate_opp_half_passes": 2,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 9,
            "possession_lost": 3.8874,
            "dispossessed": 0.6134,
            "duels_lost": 3,
            "aerial_lost": 1,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.1009,
            "offsides": 0,
            "ball_carries": 2,
            "total_progression": 11,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.595,
            "bench_expected_minutes": 26.1,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.483,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0929,
            "projected_assists": 0,
            "assist_probability": 0.01,
            "finishing_factor": 1.25,
            "creation_factor": 0.8,
            "fifa_overall": 74.0
          },
          "latest_10_games": [
            {
              "match_id": 16416297,
              "match_date": "2026-09-20",
              "home_team": "Valencia",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Valencia",
              "stats": {
                "minutes": 35,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0012,
                "total_shots": 0,
                "total_pass": 7,
                "accurate_pass": 3,
                "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": 16416332,
              "match_date": "2026-09-13",
              "home_team": "Real Sociedad",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 11,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0003,
                "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": 16416340,
              "match_date": "2026-09-03",
              "home_team": "Real Sociedad",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 71,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0249,
                "expected_assists": 0.0287,
                "total_shots": 1,
                "total_pass": 10,
                "accurate_pass": 6,
                "key_pass": 1,
                "aerial_won": 2,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416310,
              "match_date": "2026-08-29",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 78,
                "rating": 7.6,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.0278,
                "expected_assists": 0.0284,
                "total_shots": 4,
                "shots_on_target": 3,
                "shots_off_target": 1,
                "total_pass": 16,
                "accurate_pass": 12,
                "clearances": 1,
                "aerial_won": 3,
                "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": 16421051,
              "match_date": "2026-08-26",
              "home_team": "Real Madrid",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 33,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1318,
                "expected_assists": 0.002,
                "total_shots": 1,
                "total_pass": 10,
                "accurate_pass": 7,
                "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": 16416293,
              "match_date": "2026-08-21",
              "home_team": "Real Betis",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.9801,
                "expected_assists": 0.0082,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 14,
                "accurate_pass": 6,
                "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": 14083719,
              "match_date": "2026-05-23",
              "home_team": "Espanyol",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 77,
                "rating": 7.9,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.7635,
                "expected_assists": 0.0024,
                "total_shots": 4,
                "shots_on_target": 3,
                "shots_off_target": 1,
                "total_pass": 9,
                "accurate_pass": 7,
                "tackles": 1,
                "tackles_won": 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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083687,
              "match_date": "2026-05-17",
              "home_team": "Real Sociedad",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Valencia",
              "stats": {
                "minutes": 79,
                "rating": 8.0,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.708,
                "expected_assists": 0.0109,
                "total_shots": 3,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 12,
                "accurate_pass": 4,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083583,
              "match_date": "2026-05-09",
              "home_team": "Real Sociedad",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Sociedad",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.0851,
                "expected_assists": 0.0118,
                "total_shots": 5,
                "shots_on_target": 3,
                "shots_off_target": 2,
                "total_pass": 7,
                "accurate_pass": 6
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083526,
              "match_date": "2026-05-04",
              "home_team": "Sevilla",
              "away_team": "Real Sociedad",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Sociedad",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 45,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0641,
                "expected_assists": 0.0199,
                "total_shots": 1,
                "total_pass": 6,
                "accurate_pass": 3,
                "key_pass": 2,
                "aerial_won": 1,
                "duels_won": 1
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 3712,
            "combined_rank_score": 1678.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 447.0,
            "sofascore_rating": 6.8947,
            "sofascore_appearances": 20.0,
            "fifa_rank": 2909.0,
            "fifa_overall": 74.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 16,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6695,
            "source_file": "data/player_rankings.csv",
            "player_name": "Orri Óskarsson",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Ernest Muçi",
                  "ranking": 3707
                },
                {
                  "player_name": "Gabriel Suazo",
                  "ranking": 3708
                },
                {
                  "player_name": "İrfan Can Kahveci",
                  "ranking": 3709
                },
                {
                  "player_name": "Lucas Beltrán",
                  "ranking": 3710
                },
                {
                  "player_name": "Niclas Eliasson",
                  "ranking": 3711
                }
              ],
              "lower": [
                {
                  "player_name": "Santiago Núñez",
                  "ranking": 3713
                },
                {
                  "player_name": "Viktor Johansson",
                  "ranking": 3714
                },
                {
                  "player_name": "Isaac Romero",
                  "ranking": 3715
                },
                {
                  "player_name": "Roman Yaremchuk",
                  "ranking": 3716
                },
                {
                  "player_name": "Joe Gelhardt",
                  "ranking": 3717
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 26,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 26,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 26.09746860076133,
            "bench_appearance_prob": 0.5953394818527877,
            "market_value_adjustment": 1.0066,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (26 historical appearances) to 26.1 expected mins (appearance prob 0.60)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.1385,
                "goals": 0.2147,
                "goal_rate": 0.2147,
                "shots_on_target": 0.4091,
                "total_shots": 0.8652,
                "expected_assists": 0.0135,
                "key_pass": 0.2633,
                "rating": 6.6695,
                "minutes": 24.35,
                "total_pass": 5.1806,
                "accurate_pass": 3.1463,
                "duels_won": 0.8815,
                "total_long_balls": 0.2263,
                "accurate_long_balls": 0.062,
                "total_opp_half_passes": 3.3821,
                "accurate_opp_half_passes": 1.6973,
                "crosses_total": 0.1208,
                "crosses_accurate": 0.1009,
                "touches": 8.7353,
                "possession_lost": 3.6033,
                "dispossessed": 0.6094,
                "duels_lost": 2.6828,
                "aerial_lost": 0.8484,
                "total_contest": 0.3907,
                "won_contest": 0.062,
                "ball_recovery": 0.6152,
                "challenges_lost": 0.217,
                "fouls": 0.7413,
                "fouls_drawn": 0.062,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0324,
                "tackles_won": 0.1001,
                "tackles": 0.1001,
                "clearances": 0.1211,
                "blocks": 0.1187,
                "big_chances_created": 0.1208,
                "big_chances_missed": 0.0825,
                "xgot": 0.0824,
                "offsides": 0.3396,
                "ball_carries": 1.4191,
                "total_progression": 9.8772,
                "progressive_carries": 0.3978,
                "shots_off_target": 0.4561
              },
              "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": "Valencia",
                    "minutes": 35.0,
                    "is_starting": false,
                    "weight": 0.1522,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Atlético Madrid",
                    "minutes": 11.0,
                    "is_starting": false,
                    "weight": 0.1294,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-03",
                    "opponent": "Celta Vigo",
                    "minutes": 71.0,
                    "is_starting": true,
                    "weight": 0.11,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Espanyol",
                    "minutes": 78.0,
                    "is_starting": true,
                    "weight": 0.0935,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-08-26",
                    "opponent": "Real Madrid",
                    "minutes": 33.0,
                    "is_starting": false,
                    "weight": 0.0795,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0675,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Espanyol",
                    "minutes": 77.0,
                    "is_starting": true,
                    "weight": 0.0574,
                    "rating": 7.9
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Valencia",
                    "minutes": 79.0,
                    "is_starting": true,
                    "weight": 0.0488,
                    "rating": 8.0
                  },
                  {
                    "match_date": "2026-05-09",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0415,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-04",
                    "opponent": "Sevilla",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.0353,
                    "rating": 6.2
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "expectedGoals": 0.3459,
                  "totalOppositionHalfPasses": 6.0842,
                  "accurateOppositionHalfPasses": 3.2137,
                  "accuratePass": 5.4009,
                  "totalShots": 1.578
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.1385265439748764,
                    "model_output": 0.1385,
                    "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.0904
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0163
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0087
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.007
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": 0.0033
                        }
                      ],
                      "others": 0.0132,
                      "total": 0.1385,
                      "log_link": true,
                      "margin_base": -1.62027,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.610796
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.140906
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": -0.073351
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.059527
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": 0.027038
                        }
                      ],
                      "others_margin": 0.100253
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.21466338634490967,
                    "model_output": 0.2147,
                    "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.0843
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0302
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.0128
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": 0.011
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0097
                        }
                      ],
                      "others": 0.0321,
                      "total": 0.2147,
                      "log_link": true,
                      "margin_base": -1.593696,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.535661
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.226308
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.082557
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": 0.065968
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.054671
                        }
                      ],
                      "others_margin": 0.161169
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.4090500473976135,
                    "model_output": 0.4091,
                    "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.222
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0181
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0152
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0141
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.0134
                        }
                      ],
                      "others": 0.0336,
                      "total": 0.4091,
                      "log_link": true,
                      "margin_base": -0.622283,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.533842
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.055812
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.044531
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.039615
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.036344
                        }
                      ],
                      "others_margin": 0.085905
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.8651175498962402,
                    "model_output": 0.8651,
                    "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.6345
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0761
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0264
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0252
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0237
                        }
                      ],
                      "others": 0.0258,
                      "total": 0.8651,
                      "log_link": false,
                      "margin_base": 1.372807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.634486
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.076099
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.026369
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.025235
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.023726
                        }
                      ],
                      "others_margin": 0.025838
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.013547991402447224,
                    "model_output": 0.0135,
                    "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.0207
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.011
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0053
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0026
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0019
                        }
                      ],
                      "others": -0.0089,
                      "total": 0.0135,
                      "log_link": true,
                      "margin_base": -2.751197,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.391183
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.293421
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.180301
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.102418
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.07942
                        }
                      ],
                      "others_margin": -0.503577
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.26330649852752686,
                    "model_output": 0.2633,
                    "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.2813
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0314
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0232
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0201
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0188
                        }
                      ],
                      "others": -0.0347,
                      "total": 0.2633,
                      "log_link": true,
                      "margin_base": -0.396376,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.54149
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.083606
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.066648
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.06166
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.061309
                        }
                      ],
                      "others_margin": -0.123346
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.669460773468018,
                    "model_output": 6.6695,
                    "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.0659
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0154
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.015
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": -0.0128
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0108
                        }
                      ],
                      "others": -0.0042,
                      "total": 6.6695,
                      "log_link": false,
                      "margin_base": 6.763607,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.065932
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.015371
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.015027
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": -0.012798
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.010817
                        }
                      ],
                      "others_margin": -0.004257
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 26,
                  "role_matches": 15,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0066, quality 0.641)",
              "stats": {
                "expected_goals": 0.1394,
                "goals": 0.2161,
                "goal_rate": 0.2161,
                "shots_on_target": 0.4117,
                "total_shots": 0.8709,
                "expected_assists": 0.0136,
                "key_pass": 0.265,
                "rating": 6.6695,
                "minutes": 24.35,
                "total_pass": 5.2148,
                "accurate_pass": 3.1671,
                "duels_won": 0.8873,
                "total_long_balls": 0.2278,
                "accurate_long_balls": 0.0624,
                "total_opp_half_passes": 3.4044,
                "accurate_opp_half_passes": 1.7085,
                "crosses_total": 0.1216,
                "crosses_accurate": 0.1016,
                "touches": 8.793,
                "possession_lost": 3.6271,
                "dispossessed": 0.6134,
                "duels_lost": 2.7005,
                "aerial_lost": 0.854,
                "total_contest": 0.3933,
                "won_contest": 0.0624,
                "ball_recovery": 0.6193,
                "challenges_lost": 0.2184,
                "fouls": 0.7462,
                "fouls_drawn": 0.0624,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0326,
                "tackles_won": 0.1008,
                "tackles": 0.1008,
                "clearances": 0.1219,
                "blocks": 0.1195,
                "big_chances_created": 0.1216,
                "big_chances_missed": 0.083,
                "xgot": 0.0829,
                "offsides": 0.3418,
                "ball_carries": 1.4285,
                "total_progression": 9.9424,
                "progressive_carries": 0.4004,
                "shots_off_target": 0.4591
              },
              "params": {
                "market_value_eur": 21000000,
                "quality_factor": 0.6408,
                "boost_factor": 1.0066,
                "reference_quality": 0.505,
                "history_matches": 26,
                "history_shrink": 0.1613,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 24.4 to 26.1 expected minutes (appearance prob 0.60)",
              "stats": {
                "expected_goals": 0.1494,
                "goals": 0.2316,
                "goal_rate": 0.2316,
                "shots_on_target": 0.4412,
                "total_shots": 0.9334,
                "expected_assists": 0.0146,
                "key_pass": 0.284,
                "rating": 6.6695,
                "minutes": 26.1,
                "total_pass": 5.589,
                "accurate_pass": 3.3944,
                "duels_won": 0.951,
                "total_long_balls": 0.2441,
                "accurate_long_balls": 0.0669,
                "total_opp_half_passes": 3.6487,
                "accurate_opp_half_passes": 1.8311,
                "crosses_total": 0.1303,
                "crosses_accurate": 0.1089,
                "touches": 9.424,
                "possession_lost": 3.8874,
                "dispossessed": 0.6134,
                "duels_lost": 2.8943,
                "aerial_lost": 0.854,
                "total_contest": 0.4215,
                "won_contest": 0.0669,
                "ball_recovery": 0.6637,
                "challenges_lost": 0.2184,
                "fouls": 0.7998,
                "fouls_drawn": 0.0669,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0349,
                "tackles_won": 0.108,
                "tackles": 0.108,
                "clearances": 0.1306,
                "blocks": 0.1281,
                "big_chances_created": 0.1303,
                "big_chances_missed": 0.089,
                "xgot": 0.0888,
                "offsides": 0.3418,
                "ball_carries": 1.531,
                "total_progression": 10.6559,
                "progressive_carries": 0.4291,
                "shots_off_target": 0.492,
                "bench_appearance_probability": 0.595,
                "bench_expected_minutes": 26.1
              },
              "params": {
                "expected_minutes": 26.1,
                "projection_minutes": 24.35,
                "minutes_scale": 1.0718,
                "appearance_probability": 0.595
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1494,
                "goals": 0.2316,
                "goal_rate": 0.2316,
                "shots_on_target": 0.4412,
                "total_shots": 0.9334,
                "expected_assists": 0.0146,
                "key_pass": 0.284,
                "rating": 6.6695,
                "minutes": 26.1,
                "total_pass": 5.589,
                "accurate_pass": 3.3944,
                "duels_won": 0.951,
                "total_long_balls": 0.2441,
                "accurate_long_balls": 0.0669,
                "total_opp_half_passes": 3.6487,
                "accurate_opp_half_passes": 1.8311,
                "crosses_total": 0.1303,
                "crosses_accurate": 0.1089,
                "touches": 9.424,
                "possession_lost": 3.8874,
                "dispossessed": 0.6134,
                "duels_lost": 2.8943,
                "aerial_lost": 0.854,
                "total_contest": 0.4215,
                "won_contest": 0.0669,
                "ball_recovery": 0.6637,
                "challenges_lost": 0.2184,
                "fouls": 0.7998,
                "fouls_drawn": 0.0669,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0349,
                "tackles_won": 0.108,
                "tackles": 0.108,
                "clearances": 0.1306,
                "blocks": 0.1281,
                "big_chances_created": 0.1303,
                "big_chances_missed": 0.089,
                "xgot": 0.0888,
                "offsides": 0.3418,
                "ball_carries": 1.531,
                "total_progression": 10.6559,
                "progressive_carries": 0.4291,
                "shots_off_target": 0.492,
                "bench_appearance_probability": 0.595,
                "bench_expected_minutes": 26.1
              },
              "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.50 (squad xG sum 1.3182, xG scale 1.1364, xA scale 1.1588, team xA 0.97 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.1698,
                "goal_rate": 0.2316,
                "goals": 0,
                "shots_on_target": 0.4412,
                "total_shots": 0.9334,
                "expected_assists": 0.0169,
                "key_pass": 0.284,
                "rating": 6.6695,
                "minutes": 26.1,
                "total_pass": 5.589,
                "accurate_pass": 3.3944,
                "duels_won": 0.951,
                "total_long_balls": 0.2441,
                "accurate_long_balls": 0.0669,
                "total_opp_half_passes": 3.6487,
                "accurate_opp_half_passes": 1.8311,
                "crosses_total": 0.1303,
                "crosses_accurate": 0.1089,
                "touches": 9.424,
                "possession_lost": 3.8874,
                "dispossessed": 0.6134,
                "duels_lost": 2.8943,
                "aerial_lost": 0.854,
                "total_contest": 0.4215,
                "won_contest": 0.0669,
                "ball_recovery": 0.6637,
                "challenges_lost": 0.2184,
                "fouls": 0.7998,
                "fouls_drawn": 0.0669,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0349,
                "tackles_won": 0.108,
                "tackles": 0.108,
                "clearances": 0.1306,
                "blocks": 0.1281,
                "big_chances_created": 0.1303,
                "big_chances_missed": 0.089,
                "xgot": 0.1009,
                "offsides": 0.3418,
                "ball_carries": 1.531,
                "total_progression": 10.6559,
                "progressive_carries": 0.4291,
                "shots_off_target": 0.492,
                "bench_appearance_probability": 0.595,
                "bench_expected_minutes": 26.1,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.483,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.498,
                "squad_xg_sum": 1.3182,
                "squad_xa_sum": 0.8402,
                "team_expected_assists": 0.9737,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1364,
                "xa_scale": 1.1588,
                "opponent_lambda": 0.805,
                "scoreline_reset": true,
                "appearance_weight": 0.595
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1494,
                  "after": 0.1698
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 16 by projected rating, fifa_overall 74.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.1698,
                "goal_rate": 0.2316,
                "goals": 0,
                "shots_on_target": 0.4412,
                "total_shots": 0.9334,
                "expected_assists": 0.0169,
                "key_pass": 0.284,
                "rating": 6.6695,
                "minutes": 26.1,
                "total_pass": 5.589,
                "accurate_pass": 3.3944,
                "duels_won": 0.951,
                "total_long_balls": 0.2441,
                "accurate_long_balls": 0.0669,
                "total_opp_half_passes": 3.6487,
                "accurate_opp_half_passes": 1.8311,
                "crosses_total": 0.1303,
                "crosses_accurate": 0.1089,
                "touches": 9.424,
                "possession_lost": 3.8874,
                "dispossessed": 0.6134,
                "duels_lost": 2.8943,
                "aerial_lost": 0.854,
                "total_contest": 0.4215,
                "won_contest": 0.0669,
                "ball_recovery": 0.6637,
                "challenges_lost": 0.2184,
                "fouls": 0.7998,
                "fouls_drawn": 0.0669,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0349,
                "tackles_won": 0.108,
                "tackles": 0.108,
                "clearances": 0.1306,
                "blocks": 0.1281,
                "big_chances_created": 0.1303,
                "big_chances_missed": 0.089,
                "xgot": 0.1009,
                "offsides": 0.3418,
                "ball_carries": 1.531,
                "total_progression": 10.6559,
                "progressive_carries": 0.4291,
                "shots_off_target": 0.492,
                "bench_appearance_probability": 0.595,
                "bench_expected_minutes": 26.1,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.483,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 0.8,
                "fifa_overall": 74.0
              },
              "params": {
                "match_squad_rank": 16,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3712,
                "fifa_rank": 2909.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 74.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.1698,
                "goal_rate": 0.2316,
                "goals": 0,
                "shots_on_target": 0.4412,
                "total_shots": 0.9334,
                "expected_assists": 0.0169,
                "key_pass": 0.284,
                "rating": 6.6695,
                "minutes": 26.1,
                "total_pass": 5.589,
                "accurate_pass": 3.3944,
                "duels_won": 0.951,
                "total_long_balls": 0.2441,
                "accurate_long_balls": 0.0669,
                "total_opp_half_passes": 3.6487,
                "accurate_opp_half_passes": 1.8311,
                "crosses_total": 0.1303,
                "crosses_accurate": 0.1089,
                "touches": 9.424,
                "possession_lost": 3.8874,
                "dispossessed": 0.6134,
                "duels_lost": 2.8943,
                "aerial_lost": 0.854,
                "total_contest": 0.4215,
                "won_contest": 0.0669,
                "ball_recovery": 0.6637,
                "challenges_lost": 0.2184,
                "fouls": 0.7998,
                "fouls_drawn": 0.0669,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0349,
                "tackles_won": 0.108,
                "tackles": 0.108,
                "clearances": 0.1306,
                "blocks": 0.1281,
                "big_chances_created": 0.1303,
                "big_chances_missed": 0.089,
                "xgot": 0.1009,
                "offsides": 0.3418,
                "ball_carries": 1.531,
                "total_progression": 10.6559,
                "progressive_carries": 0.4291,
                "shots_off_target": 0.492,
                "bench_appearance_probability": 0.595,
                "bench_expected_minutes": 26.1,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.483,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0929,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 0.8,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0929,
                "scorer_weight": 0.1263,
                "squad_weight_total": 1.6252,
                "weight_share": 0.0777,
                "finishing_factor": 1.25,
                "appearance_weight": 0.595,
                "weight_rank": 6,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Mikel Oyarzabal",
                    "weight": 0.301,
                    "already": 0,
                    "effective_weight": 0.301,
                    "runner_up": "Luka Sučić",
                    "runner_up_effective_weight": 0.2755
                  }
                ]
              }
            },
            {
              "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.1698,
                "goal_rate": 0.2316,
                "goals": 0,
                "shots_on_target": 0.4412,
                "total_shots": 0.9334,
                "expected_assists": 0.0169,
                "key_pass": 0.284,
                "rating": 6.6695,
                "minutes": 26.1,
                "total_pass": 5.589,
                "accurate_pass": 3.3944,
                "duels_won": 0.951,
                "total_long_balls": 0.2441,
                "accurate_long_balls": 0.0669,
                "total_opp_half_passes": 3.6487,
                "accurate_opp_half_passes": 1.8311,
                "crosses_total": 0.1303,
                "crosses_accurate": 0.1089,
                "touches": 9.424,
                "possession_lost": 3.8874,
                "dispossessed": 0.6134,
                "duels_lost": 2.8943,
                "aerial_lost": 0.854,
                "total_contest": 0.4215,
                "won_contest": 0.0669,
                "ball_recovery": 0.6637,
                "challenges_lost": 0.2184,
                "fouls": 0.7998,
                "fouls_drawn": 0.0669,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0349,
                "tackles_won": 0.108,
                "tackles": 0.108,
                "clearances": 0.1306,
                "blocks": 0.1281,
                "big_chances_created": 0.1303,
                "big_chances_missed": 0.089,
                "xgot": 0.1009,
                "offsides": 0.3418,
                "ball_carries": 1.531,
                "total_progression": 10.6559,
                "progressive_carries": 0.4291,
                "shots_off_target": 0.492,
                "bench_appearance_probability": 0.595,
                "bench_expected_minutes": 26.1,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.483,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0929,
                "projected_assists": 0,
                "assist_probability": 0.01,
                "finishing_factor": 1.25,
                "creation_factor": 0.8,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.01,
                "provider_weight": 0.008,
                "squad_weight_total": 1.0056,
                "weight_share": 0.008,
                "creation_factor": 0.8,
                "appearance_weight": 0.595,
                "weight_rank": 12,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Sergio Gómez",
                    "weight": 0.1771,
                    "already": 0,
                    "effective_weight": 0.1771,
                    "runner_up": "Carlos Soler",
                    "runner_up_effective_weight": 0.1401,
                    "blocked_own_goal": [
                      "Mikel Oyarzabal"
                    ]
                  }
                ]
              }
            }
          ]
        }
      },
      "team_totals": {
        "projected_goals": 1,
        "expected_goals": 1.5,
        "expected_assists": 0.97,
        "total_shots": 13,
        "shots_on_target": 4,
        "total_passes": 454,
        "interceptions": 5,
        "tackles": 11,
        "avg_rating": 6.86,
        "possession_estimated_pct": 50.0,
        "pressing_actions_per_90": 6.3
      }
    },
    "Deportivo": {
      "formation": "4-2-3-1",
      "players": {
        "Bil Nsongo": {
          "player_id": 2335487,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 32,
          "height": 182,
          "market_value": 3200000,
          "stats": {
            "expected_goals": 0.1319,
            "goal_rate": 0.135,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0469,
            "key_pass": 1,
            "rating": 6.7345,
            "minutes": 70,
            "total_pass": 12,
            "accurate_pass": 9,
            "duels_won": 6,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 8,
            "accurate_opp_half_passes": 5,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 31,
            "possession_lost": 10.9455,
            "dispossessed": 2.1892,
            "duels_lost": 9,
            "aerial_lost": 3,
            "total_contest": 4,
            "won_contest": 2,
            "ball_recovery": 2,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0412,
            "offsides": 1,
            "ball_carries": 9,
            "total_progression": 23,
            "progressive_carries": 2,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.7627,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.3,
            "aerial_won": 2,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.18,
            "pressing_faced": "MEDIUM",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Jon Martin, Mamadou Sarr",
            "opponent_faced": "Jon Martin, Mamadou Sarr",
            "antagonist_source": "attacking_duel",
            "projected_goals": 0,
            "goal_probability": 0.1236,
            "projected_assists": 0,
            "assist_probability": 0.0458,
            "finishing_factor": 1.0204,
            "creation_factor": 0.8,
            "fifa_overall": 69.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": "home",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 75,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2899,
                "expected_assists": 0.0122,
                "total_shots": 4,
                "total_pass": 5,
                "accurate_pass": 5,
                "key_pass": 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": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416343,
              "match_date": "2026-09-16",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 45,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0474,
                "expected_assists": 0.0196,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 8,
                "accurate_pass": 7,
                "tackles": 1,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 6,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416326,
              "match_date": "2026-09-13",
              "home_team": "Getafe",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Getafe",
              "stats": {
                "minutes": 71,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0754,
                "expected_assists": 0.0032,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 13,
                "accurate_pass": 7,
                "aerial_won": 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": 16416324,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 66,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0244,
                "expected_assists": 0.0048,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 16,
                "accurate_pass": 12,
                "tackles": 3,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 8,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416291,
              "match_date": "2026-08-30",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Valencia",
              "stats": {
                "minutes": 83,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2769,
                "expected_assists": 0.0462,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 25,
                "accurate_pass": 18,
                "key_pass": 2,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 1,
                "aerial_won": 4,
                "duels_won": 8,
                "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": 16416307,
              "match_date": "2026-08-24",
              "home_team": "Málaga CF",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Deportivo de A Coruña",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 9,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0016,
                "total_shots": 0,
                "total_pass": 4,
                "accurate_pass": 2,
                "tackles": 1,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421050,
              "match_date": "2026-08-17",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Elche",
              "stats": {
                "minutes": 60,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0104,
                "expected_assists": 0.0086,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 11,
                "accurate_pass": 9,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 5567,
            "combined_rank_score": 3769.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 578.0,
            "sofascore_rating": 6.8,
            "sofascore_appearances": 1.0,
            "fifa_rank": 6960.0,
            "fifa_overall": 69.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 12,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7345,
            "source_file": "data/player_rankings.csv",
            "player_name": "Bil Nsongo",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Guilherme Bissoli",
                  "ranking": 5562
                },
                {
                  "player_name": "Caio Vidal",
                  "ranking": 5563
                },
                {
                  "player_name": "Erick Marcus",
                  "ranking": 5564
                },
                {
                  "player_name": "Kwadwo Duah",
                  "ranking": 5565
                },
                {
                  "player_name": "Mateusz Skrzypczak",
                  "ranking": 5566
                }
              ],
              "lower": [
                {
                  "player_name": "Einar Galilea",
                  "ranking": 5568
                },
                {
                  "player_name": "Ashley Barnes",
                  "ranking": 5569
                },
                {
                  "player_name": "Deian Sorescu",
                  "ranking": 5570
                },
                {
                  "player_name": "Vasilije Adžić",
                  "ranking": 5571
                },
                {
                  "player_name": "Luca De La Torre",
                  "ranking": 5572
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.704,
          "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.704,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9919,
            "fbref_prior_metrics": {
              "squad": "Dep. A Coruña",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 2.0,
              "minutes": 147.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 1.84,
              "shots_on_target_pct": 33.3,
              "prior_reliability": 0.1067
            },
            "rationale": "XGBoost regressor (F_service) evaluated 7 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Dep. A Coruña, 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.1735,
                "goals": 0.1838,
                "goal_rate": 0.1838,
                "shots_on_target": 0.5647,
                "total_shots": 1.6344,
                "expected_assists": 0.0471,
                "key_pass": 0.6506,
                "rating": 6.7345,
                "minutes": 69.68,
                "total_pass": 11.7884,
                "accurate_pass": 8.8544,
                "duels_won": 5.9187,
                "total_long_balls": 0.4215,
                "accurate_long_balls": 0.2958,
                "total_opp_half_passes": 7.7097,
                "accurate_opp_half_passes": 5.175,
                "crosses_total": 0.2326,
                "crosses_accurate": 0.1257,
                "touches": 30.7937,
                "possession_lost": 11.0349,
                "dispossessed": 2.2071,
                "duels_lost": 8.9081,
                "aerial_lost": 2.9925,
                "total_contest": 3.7697,
                "won_contest": 1.6913,
                "ball_recovery": 2.0841,
                "challenges_lost": 0.5573,
                "fouls": 1.0728,
                "fouls_drawn": 0.826,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.613,
                "tackles": 1.1135,
                "clearances": 0.9946,
                "blocks": 0.1479,
                "big_chances_created": 0.1257,
                "big_chances_missed": 0.0,
                "xgot": 0.0541,
                "offsides": 0.656,
                "ball_carries": 9.0013,
                "total_progression": 22.8234,
                "progressive_carries": 1.7793,
                "shots_off_target": 1.0697
              },
              "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": "Real Betis",
                    "minutes": 75.0,
                    "is_starting": true,
                    "weight": 0.2208,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Sevilla",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.1877,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Getafe",
                    "minutes": 71.0,
                    "is_starting": true,
                    "weight": 0.1595,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Villarreal",
                    "minutes": 66.0,
                    "is_starting": true,
                    "weight": 0.1356,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Valencia",
                    "minutes": 83.0,
                    "is_starting": true,
                    "weight": 0.1152,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Málaga CF",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 0.098,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-17",
                    "opponent": "Elche",
                    "minutes": 60.0,
                    "is_starting": true,
                    "weight": 0.0833,
                    "rating": 6.8
                  }
                ],
                "feature_row": {
                  "history_matches": 7.0,
                  "is_starting_11": 1.0,
                  "expectedGoals": 0.121,
                  "totalOppositionHalfPasses": 7.3274,
                  "accurateOppositionHalfPasses": 4.8372,
                  "accuratePass": 8.1808,
                  "totalShots": 1.6796
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.17346708476543427,
                    "model_output": 0.1735,
                    "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.0606
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0469
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0208
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0109
                        },
                        {
                          "name": "aerialLost",
                          "contribution": 0.0094
                        }
                      ],
                      "others": -0.0375,
                      "total": 0.1735,
                      "log_link": true,
                      "margin_base": -1.62027,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.267055
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.200312
                        },
                        {
                          "name": "goals",
                          "margin": -0.103784
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.055452
                        },
                        {
                          "name": "aerialLost",
                          "margin": 0.045364
                        }
                      ],
                      "others_margin": -0.195272
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.18381263315677643,
                    "model_output": 0.1838,
                    "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.0549
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0415
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0235
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0083
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0071
                        }
                      ],
                      "others": -0.0081,
                      "total": 0.1838,
                      "log_link": true,
                      "margin_base": -1.593696,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.239028
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.175421
                        },
                        {
                          "name": "goals",
                          "margin": -0.115084
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.043995
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.03749
                        }
                      ],
                      "others_margin": -0.042161
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.5647335052490234,
                    "model_output": 0.5647,
                    "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.1414
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0628
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0339
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0273
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0196
                        }
                      ],
                      "others": -0.0244,
                      "total": 0.5647,
                      "log_link": true,
                      "margin_base": -0.622283,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.233875
                        },
                        {
                          "name": "goals",
                          "margin": -0.097106
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.056637
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.045907
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.032775
                        }
                      ],
                      "others_margin": -0.042384
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.634429693222046,
                    "model_output": 1.6344,
                    "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.4437
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0933
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0748
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0588
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0561
                        }
                      ],
                      "others": -0.0487,
                      "total": 1.6344,
                      "log_link": false,
                      "margin_base": 1.372807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.44372
                        },
                        {
                          "name": "goals",
                          "margin": -0.093263
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.074789
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.058798
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.056084
                        }
                      ],
                      "others_margin": -0.04874
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.047051262110471725,
                    "model_output": 0.0471,
                    "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.0157
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0093
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0075
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0045
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0031
                        }
                      ],
                      "others": -0.0143,
                      "total": 0.0471,
                      "log_link": true,
                      "margin_base": -2.751197,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.219449
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.123689
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.112136
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.074166
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.052003
                        }
                      ],
                      "others_margin": -0.266783
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.6506093740463257,
                    "model_output": 0.6506,
                    "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.223
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0575
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0493
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0388
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0271
                        }
                      ],
                      "others": -0.0725,
                      "total": 0.6506,
                      "log_link": true,
                      "margin_base": -0.396376,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.286279
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.066289
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.060656
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.050365
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.036819
                        }
                      ],
                      "others_margin": -0.105619
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.734522342681885,
                    "model_output": 6.7345,
                    "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.0492
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.022
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0179
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": -0.016
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0137
                        }
                      ],
                      "others": -0.0445,
                      "total": 6.7345,
                      "log_link": false,
                      "margin_base": 6.763607,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.049232
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.022028
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.017903
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": -0.015963
                        },
                        {
                          "name": "duelLost",
                          "margin": -0.013733
                        }
                      ],
                      "others_margin": -0.044495
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 7,
                  "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.9919, quality 0.440)",
              "stats": {
                "expected_goals": 0.1721,
                "goals": 0.1823,
                "goal_rate": 0.1823,
                "shots_on_target": 0.5602,
                "total_shots": 1.6212,
                "expected_assists": 0.0467,
                "key_pass": 0.6453,
                "rating": 6.7345,
                "minutes": 69.68,
                "total_pass": 11.6929,
                "accurate_pass": 8.7827,
                "duels_won": 5.8708,
                "total_long_balls": 0.4181,
                "accurate_long_balls": 0.2934,
                "total_opp_half_passes": 7.6473,
                "accurate_opp_half_passes": 5.1331,
                "crosses_total": 0.2307,
                "crosses_accurate": 0.1247,
                "touches": 30.5443,
                "possession_lost": 10.9455,
                "dispossessed": 2.1892,
                "duels_lost": 8.8359,
                "aerial_lost": 2.9683,
                "total_contest": 3.7392,
                "won_contest": 1.6776,
                "ball_recovery": 2.0672,
                "challenges_lost": 0.5528,
                "fouls": 1.0641,
                "fouls_drawn": 0.8193,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.608,
                "tackles": 1.1045,
                "clearances": 0.9865,
                "blocks": 0.1467,
                "big_chances_created": 0.1247,
                "big_chances_missed": 0.0,
                "xgot": 0.0537,
                "offsides": 0.6507,
                "ball_carries": 8.9284,
                "total_progression": 22.6385,
                "progressive_carries": 1.7649,
                "shots_off_target": 1.061
              },
              "params": {
                "market_value_eur": 3200000,
                "quality_factor": 0.4399,
                "boost_factor": 0.9919,
                "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.0289)",
              "stats": {
                "expected_goals": 0.1721,
                "goals": 0.177,
                "goal_rate": 0.177,
                "shots_on_target": 0.5577,
                "total_shots": 1.6155,
                "expected_assists": 0.0467,
                "key_pass": 0.6453,
                "rating": 6.7345,
                "minutes": 69.68,
                "total_pass": 11.6929,
                "accurate_pass": 8.7827,
                "duels_won": 5.8708,
                "total_long_balls": 0.4181,
                "accurate_long_balls": 0.2934,
                "total_opp_half_passes": 7.6473,
                "accurate_opp_half_passes": 5.1331,
                "crosses_total": 0.252,
                "crosses_accurate": 0.1247,
                "touches": 30.5443,
                "possession_lost": 10.9455,
                "dispossessed": 2.1892,
                "duels_lost": 8.8359,
                "aerial_lost": 2.9683,
                "total_contest": 3.7392,
                "won_contest": 1.6776,
                "ball_recovery": 2.0672,
                "challenges_lost": 0.5528,
                "fouls": 1.0893,
                "fouls_drawn": 0.8236,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.6464,
                "tackles": 1.1045,
                "clearances": 0.9865,
                "blocks": 0.1467,
                "big_chances_created": 0.1247,
                "big_chances_missed": 0.0,
                "xgot": 0.0537,
                "offsides": 0.6459,
                "ball_carries": 8.9284,
                "total_progression": 22.6385,
                "progressive_carries": 1.7649,
                "shots_off_target": 1.061
              },
              "params": {
                "blend_weight": 0.0289,
                "history_matches": 7,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.7742,
                "prior_reliability": 0.1067,
                "competition": "La Liga",
                "squad": "Dep. A Coruña"
              },
              "changes": [
                {
                  "stat": "wonTackle",
                  "before": 0.608,
                  "after": 0.6464
                },
                {
                  "stat": "fouls",
                  "before": 1.0641,
                  "after": 1.0893
                },
                {
                  "stat": "totalCross",
                  "before": 0.2307,
                  "after": 0.252
                },
                {
                  "stat": "totalShots",
                  "before": 1.6212,
                  "after": 1.6155
                },
                {
                  "stat": "goals",
                  "before": 0.1823,
                  "after": 0.177
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1721,
                "goals": 0.177,
                "goal_rate": 0.177,
                "shots_on_target": 0.5577,
                "total_shots": 1.6187,
                "expected_assists": 0.0467,
                "key_pass": 0.6453,
                "rating": 6.7345,
                "minutes": 69.68,
                "total_pass": 11.6929,
                "accurate_pass": 8.7827,
                "duels_won": 5.8708,
                "total_long_balls": 0.4181,
                "accurate_long_balls": 0.2934,
                "total_opp_half_passes": 7.6473,
                "accurate_opp_half_passes": 5.1331,
                "crosses_total": 0.252,
                "crosses_accurate": 0.1247,
                "touches": 30.5443,
                "possession_lost": 10.9455,
                "dispossessed": 2.1892,
                "duels_lost": 8.8359,
                "aerial_lost": 2.9683,
                "total_contest": 3.7392,
                "won_contest": 1.6776,
                "ball_recovery": 2.0672,
                "challenges_lost": 0.5528,
                "fouls": 1.0893,
                "fouls_drawn": 0.8236,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.6464,
                "tackles": 1.1045,
                "clearances": 0.9865,
                "blocks": 0.1467,
                "big_chances_created": 0.1247,
                "big_chances_missed": 0.0,
                "xgot": 0.0537,
                "offsides": 0.6459,
                "ball_carries": 8.9284,
                "total_progression": 22.6385,
                "progressive_carries": 1.7649,
                "shots_off_target": 1.061
              },
              "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.1313,
                "goals": 0.135,
                "goal_rate": 0.135,
                "shots_on_target": 0.4254,
                "total_shots": 1.2346,
                "expected_assists": 0.0467,
                "key_pass": 0.6453,
                "rating": 6.7345,
                "minutes": 69.68,
                "total_pass": 11.6929,
                "accurate_pass": 8.7827,
                "duels_won": 5.8708,
                "total_long_balls": 0.4181,
                "accurate_long_balls": 0.2934,
                "total_opp_half_passes": 7.6473,
                "accurate_opp_half_passes": 5.1331,
                "crosses_total": 0.252,
                "crosses_accurate": 0.1247,
                "touches": 30.5443,
                "possession_lost": 10.9455,
                "dispossessed": 2.1892,
                "duels_lost": 8.8359,
                "aerial_lost": 2.9683,
                "total_contest": 3.7392,
                "won_contest": 1.6776,
                "ball_recovery": 2.0672,
                "challenges_lost": 0.5528,
                "fouls": 1.0893,
                "fouls_drawn": 0.8236,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.6464,
                "tackles": 1.1045,
                "clearances": 0.9865,
                "blocks": 0.1467,
                "big_chances_created": 0.1247,
                "big_chances_missed": 0.0,
                "xgot": 0.041,
                "offsides": 0.6459,
                "ball_carries": 8.9284,
                "total_progression": 22.6385,
                "progressive_carries": 1.7649,
                "shots_off_target": 0.8092,
                "duel_xg_multiplier": 0.7627,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Jon Martin, Mamadou Sarr",
                "opponent_faced": "Jon Martin, Mamadou Sarr",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Jon Martin, Mamadou Sarr",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.18,
                  "pressing_faced": "MEDIUM",
                  "numerical_situation": "1v2",
                  "xg_multiplier": 0.7627,
                  "skill_edge": -0.1314,
                  "height_edge": -0.03,
                  "attacker_skill": 0.4399,
                  "defender_skill": 0.732,
                  "attacker_role": "ST",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Jon Martin",
                      "market_value": 24000000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.732
                    },
                    {
                      "player": "Mamadou Sarr",
                      "market_value": 24000000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.732
                    }
                  ],
                  "xg_override": 0.1313
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.6187,
                  "after": 1.2346
                },
                {
                  "stat": "shotOffTarget",
                  "before": 1.061,
                  "after": 0.8092
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.5577,
                  "after": 0.4254
                },
                {
                  "stat": "goals",
                  "before": 0.177,
                  "after": 0.135
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.1721,
                  "after": 0.1313
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.0537,
                  "after": 0.041
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 0.81 (squad xG sum 0.8013, xG scale 1.0047, xA scale 1.0047, team xA 0.63 = 0.78 x lambda)",
              "stats": {
                "expected_goals": 0.1319,
                "goal_rate": 0.135,
                "goals": 0,
                "shots_on_target": 0.4254,
                "total_shots": 1.2346,
                "expected_assists": 0.0469,
                "key_pass": 0.6453,
                "rating": 6.7345,
                "minutes": 69.68,
                "total_pass": 11.6929,
                "accurate_pass": 8.7827,
                "duels_won": 5.8708,
                "total_long_balls": 0.4181,
                "accurate_long_balls": 0.2934,
                "total_opp_half_passes": 7.6473,
                "accurate_opp_half_passes": 5.1331,
                "crosses_total": 0.252,
                "crosses_accurate": 0.1247,
                "touches": 30.5443,
                "possession_lost": 10.9455,
                "dispossessed": 2.1892,
                "duels_lost": 8.8359,
                "aerial_lost": 2.9683,
                "total_contest": 3.7392,
                "won_contest": 1.6776,
                "ball_recovery": 2.0672,
                "challenges_lost": 0.5528,
                "fouls": 1.0893,
                "fouls_drawn": 0.8236,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.6464,
                "tackles": 1.1045,
                "clearances": 0.9865,
                "blocks": 0.1467,
                "big_chances_created": 0.1247,
                "big_chances_missed": 0.0,
                "xgot": 0.0412,
                "offsides": 0.6459,
                "ball_carries": 8.9284,
                "total_progression": 22.6385,
                "progressive_carries": 1.7649,
                "shots_off_target": 0.8092,
                "duel_xg_multiplier": 0.7627,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Jon Martin, Mamadou Sarr",
                "opponent_faced": "Jon Martin, Mamadou Sarr",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0204,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 0.805,
                "squad_xg_sum": 0.8013,
                "squad_xa_sum": 0.6279,
                "team_expected_assists": 0.6308,
                "team_xa_to_xg_ratio": 0.7836,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0047,
                "xa_scale": 1.0047,
                "opponent_lambda": 1.498,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 12 by projected rating, fifa_overall 69.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.1319,
                "goal_rate": 0.135,
                "goals": 0,
                "shots_on_target": 0.4254,
                "total_shots": 1.2346,
                "expected_assists": 0.0469,
                "key_pass": 0.6453,
                "rating": 6.7345,
                "minutes": 69.68,
                "total_pass": 11.6929,
                "accurate_pass": 8.7827,
                "duels_won": 5.8708,
                "total_long_balls": 0.4181,
                "accurate_long_balls": 0.2934,
                "total_opp_half_passes": 7.6473,
                "accurate_opp_half_passes": 5.1331,
                "crosses_total": 0.252,
                "crosses_accurate": 0.1247,
                "touches": 30.5443,
                "possession_lost": 10.9455,
                "dispossessed": 2.1892,
                "duels_lost": 8.8359,
                "aerial_lost": 2.9683,
                "total_contest": 3.7392,
                "won_contest": 1.6776,
                "ball_recovery": 2.0672,
                "challenges_lost": 0.5528,
                "fouls": 1.0893,
                "fouls_drawn": 0.8236,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.6464,
                "tackles": 1.1045,
                "clearances": 0.9865,
                "blocks": 0.1467,
                "big_chances_created": 0.1247,
                "big_chances_missed": 0.0,
                "xgot": 0.0412,
                "offsides": 0.6459,
                "ball_carries": 8.9284,
                "total_progression": 22.6385,
                "progressive_carries": 1.7649,
                "shots_off_target": 0.8092,
                "duel_xg_multiplier": 0.7627,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Jon Martin, Mamadou Sarr",
                "opponent_faced": "Jon Martin, Mamadou Sarr",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0204,
                "creation_factor": 0.8,
                "fifa_overall": 69.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": 5567,
                "fifa_rank": 6960.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 69.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "expected_goals": 0.1319,
                "goal_rate": 0.135,
                "goals": 0,
                "shots_on_target": 0.4254,
                "total_shots": 1.2346,
                "expected_assists": 0.0469,
                "key_pass": 0.6453,
                "rating": 6.7345,
                "minutes": 69.68,
                "total_pass": 11.6929,
                "accurate_pass": 8.7827,
                "duels_won": 5.8708,
                "total_long_balls": 0.4181,
                "accurate_long_balls": 0.2934,
                "total_opp_half_passes": 7.6473,
                "accurate_opp_half_passes": 5.1331,
                "crosses_total": 0.252,
                "crosses_accurate": 0.1247,
                "touches": 30.5443,
                "possession_lost": 10.9455,
                "dispossessed": 2.1892,
                "duels_lost": 8.8359,
                "aerial_lost": 2.9683,
                "total_contest": 3.7392,
                "won_contest": 1.6776,
                "ball_recovery": 2.0672,
                "challenges_lost": 0.5528,
                "fouls": 1.0893,
                "fouls_drawn": 0.8236,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.6464,
                "tackles": 1.1045,
                "clearances": 0.9865,
                "blocks": 0.1467,
                "big_chances_created": 0.1247,
                "big_chances_missed": 0.0,
                "xgot": 0.0412,
                "offsides": 0.6459,
                "ball_carries": 8.9284,
                "total_progression": 22.6385,
                "progressive_carries": 1.7649,
                "shots_off_target": 0.8092,
                "duel_xg_multiplier": 0.7627,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Jon Martin, Mamadou Sarr",
                "opponent_faced": "Jon Martin, Mamadou Sarr",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.1236,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0204,
                "creation_factor": 0.8,
                "fifa_overall": 69.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.1236,
                "scorer_weight": 0.1346,
                "squad_weight_total": 0.751,
                "weight_share": 0.1792,
                "finishing_factor": 1.0204,
                "appearance_weight": 1.0,
                "weight_rank": 1,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "expected_goals": 0.1319,
                "goal_rate": 0.135,
                "goals": 0,
                "shots_on_target": 0.4254,
                "total_shots": 1.2346,
                "expected_assists": 0.0469,
                "key_pass": 0.6453,
                "rating": 6.7345,
                "minutes": 69.68,
                "total_pass": 11.6929,
                "accurate_pass": 8.7827,
                "duels_won": 5.8708,
                "total_long_balls": 0.4181,
                "accurate_long_balls": 0.2934,
                "total_opp_half_passes": 7.6473,
                "accurate_opp_half_passes": 5.1331,
                "crosses_total": 0.252,
                "crosses_accurate": 0.1247,
                "touches": 30.5443,
                "possession_lost": 10.9455,
                "dispossessed": 2.1892,
                "duels_lost": 8.8359,
                "aerial_lost": 2.9683,
                "total_contest": 3.7392,
                "won_contest": 1.6776,
                "ball_recovery": 2.0672,
                "challenges_lost": 0.5528,
                "fouls": 1.0893,
                "fouls_drawn": 0.8236,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.6464,
                "tackles": 1.1045,
                "clearances": 0.9865,
                "blocks": 0.1467,
                "big_chances_created": 0.1247,
                "big_chances_missed": 0.0,
                "xgot": 0.0412,
                "offsides": 0.6459,
                "ball_carries": 8.9284,
                "total_progression": 22.6385,
                "progressive_carries": 1.7649,
                "shots_off_target": 0.8092,
                "duel_xg_multiplier": 0.7627,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Jon Martin, Mamadou Sarr",
                "opponent_faced": "Jon Martin, Mamadou Sarr",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.1236,
                "projected_assists": 0,
                "assist_probability": 0.0458,
                "finishing_factor": 1.0204,
                "creation_factor": 0.8,
                "fifa_overall": 69.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0458,
                "provider_weight": 0.0375,
                "squad_weight_total": 0.6285,
                "weight_share": 0.0597,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 7,
                "eligible_players": 13
              }
            }
          ]
        },
        "Yeremay Hernández": {
          "player_id": 1096950,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 10,
          "height": 169,
          "market_value": 23000000,
          "stats": {
            "expected_goals": 0.0755,
            "goal_rate": 0.0549,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0785,
            "key_pass": 1,
            "rating": 6.6957,
            "minutes": 72,
            "total_pass": 17,
            "accurate_pass": 14,
            "duels_won": 3,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 12,
            "accurate_opp_half_passes": 10,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 25,
            "possession_lost": 6.776,
            "dispossessed": 0.5327,
            "duels_lost": 3,
            "aerial_lost": 0,
            "total_contest": 2,
            "won_contest": 0,
            "ball_recovery": 3,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "assist_rate": 0.1763,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 2,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "offsides": 0,
            "ball_carries": 9,
            "total_progression": 19,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.8638,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.3,
            "aerial_won": 1,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.18,
            "pressing_faced": "MEDIUM",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Jon Martin, Mamadou Sarr",
            "opponent_faced": "Jon Martin, Mamadou Sarr",
            "antagonist_source": "attacking_duel",
            "projected_goals": 0,
            "goal_probability": 0.0727,
            "projected_assists": 0,
            "assist_probability": 0.0755,
            "finishing_factor": 0.8385,
            "creation_factor": 1.25,
            "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": "home",
              "is_starting_11": 0,
              "team": "Deportivo de A Coruña",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 15,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0141,
                "total_shots": 0,
                "total_pass": 18,
                "accurate_pass": 15,
                "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": 16416343,
              "match_date": "2026-09-16",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 57,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.028,
                "total_shots": 0,
                "total_pass": 33,
                "accurate_pass": 28,
                "tackles": 5,
                "tackles_won": 3,
                "interceptions": 1,
                "duels_won": 7,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416326,
              "match_date": "2026-09-13",
              "home_team": "Getafe",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Deportivo de A Coruña",
              "opponent": "Getafe",
              "stats": {
                "minutes": 19,
                "rating": 6.7,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.1364,
                "total_shots": 0,
                "total_pass": 15,
                "accurate_pass": 13,
                "key_pass": 1,
                "interceptions": 1,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416324,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Deportivo de A Coruña",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 36,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0812,
                "expected_assists": 0.0007,
                "total_shots": 1,
                "total_pass": 12,
                "accurate_pass": 9,
                "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": 16416291,
              "match_date": "2026-08-30",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Deportivo de A Coruña",
              "opponent": "Valencia",
              "stats": {
                "minutes": 17,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "total_pass": 5,
                "accurate_pass": 2,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 1,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416307,
              "match_date": "2026-08-24",
              "home_team": "Málaga CF",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Deportivo de A Coruña",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 17,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0623,
                "total_shots": 0,
                "total_pass": 5,
                "accurate_pass": 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"
            }
          ],
          "ranking": {
            "global_player_rank": 2211,
            "combined_rank_score": 1041.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 822.0,
            "sofascore_rating": 6.6,
            "sofascore_appearances": 2.0,
            "fifa_rank": 1260.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 15,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6957,
            "source_file": "data/player_rankings.csv",
            "player_name": "Yeremay Hernández",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Sebastien Thill",
                  "ranking": 2206
                },
                {
                  "player_name": "Darko Velkovski",
                  "ranking": 2207
                },
                {
                  "player_name": "Sandro Wieser",
                  "ranking": 2208
                },
                {
                  "player_name": "Zafar Sadullayev",
                  "ranking": 2209
                },
                {
                  "player_name": "Tyrell Malacia",
                  "ranking": 2210
                }
              ],
              "lower": [
                {
                  "player_name": "Carles Aleñá",
                  "ranking": 2212
                },
                {
                  "player_name": "Jorge Cestero",
                  "ranking": 2213
                },
                {
                  "player_name": "Wallace Yan",
                  "ranking": 2214
                },
                {
                  "player_name": "Behruz Uktamov",
                  "ranking": 2215
                },
                {
                  "player_name": "Ilkhomzhon Kenzhaev",
                  "ranking": 2216
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.629,
          "history_matches": 6,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 6,
            "data_confidence": 0.629,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0211,
            "fbref_prior_metrics": {
              "squad": "Dep. A Coruña",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 0.0,
              "minutes": 36.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.0267
            },
            "rationale": "XGBoost regressor (F_service) evaluated 6 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Dep. A Coruña, rel: 0.03, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.0851,
                "goals": 0.0627,
                "goal_rate": 0.0627,
                "shots_on_target": 0.3048,
                "total_shots": 1.0428,
                "expected_assists": 0.0765,
                "key_pass": 0.8769,
                "rating": 6.6957,
                "minutes": 72.33,
                "total_pass": 16.6378,
                "accurate_pass": 13.5092,
                "duels_won": 2.4757,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 11.6241,
                "accurate_opp_half_passes": 9.4883,
                "crosses_total": 0.4148,
                "crosses_accurate": 0.174,
                "touches": 24.8549,
                "possession_lost": 6.636,
                "dispossessed": 0.5217,
                "duels_lost": 3.3906,
                "aerial_lost": 0.4094,
                "total_contest": 2.0615,
                "won_contest": 0.4094,
                "ball_recovery": 3.0666,
                "challenges_lost": 0.4549,
                "fouls": 0.3526,
                "fouls_drawn": 0.4027,
                "assists": 0.174,
                "assist_rate": 0.174,
                "interceptions": 0.3787,
                "tackles_won": 1.2543,
                "tackles": 1.6637,
                "clearances": 0.1257,
                "blocks": 0.0,
                "big_chances_created": 0.174,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.4372,
                "ball_carries": 8.626,
                "total_progression": 18.6161,
                "progressive_carries": 0.5924,
                "shots_off_target": 0.738
              },
              "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": "Real Betis",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.2408,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Sevilla",
                    "minutes": 57.0,
                    "is_starting": true,
                    "weight": 0.2047,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Getafe",
                    "minutes": 19.0,
                    "is_starting": false,
                    "weight": 0.174,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Villarreal",
                    "minutes": 36.0,
                    "is_starting": false,
                    "weight": 0.1479,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Valencia",
                    "minutes": 17.0,
                    "is_starting": false,
                    "weight": 0.1257,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Málaga CF",
                    "minutes": 17.0,
                    "is_starting": false,
                    "weight": 0.1069,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 6.0,
                  "is_starting_11": 1.0,
                  "expectedGoals": 0.012,
                  "totalOppositionHalfPasses": 11.6241,
                  "accurateOppositionHalfPasses": 9.4883,
                  "accuratePass": 13.5092,
                  "totalShots": 0.1479
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.0850858986377716,
                    "model_output": 0.0851,
                    "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": "expectedGoals",
                          "contribution": -0.0521
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0417
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.0264
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0218
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0099
                        }
                      ],
                      "others": -0.0442,
                      "total": 0.0851,
                      "log_link": true,
                      "margin_base": -1.62027,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.305355
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.251711
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": -0.151951
                        },
                        {
                          "name": "goals",
                          "margin": -0.145449
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.073706
                        }
                      ],
                      "others_margin": -0.419074
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.06270507723093033,
                    "model_output": 0.0627,
                    "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": "expectedGoals",
                          "contribution": -0.0473
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0377
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0306
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.0256
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0143
                        }
                      ],
                      "others": -0.0604,
                      "total": 0.0627,
                      "log_link": true,
                      "margin_base": -1.593696,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.264773
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.216432
                        },
                        {
                          "name": "goals",
                          "margin": -0.17179
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": -0.170598
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.10968
                        }
                      ],
                      "others_margin": -0.675209
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.3047642707824707,
                    "model_output": 0.3048,
                    "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.1355
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0939
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.062
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0546
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.0439
                        }
                      ],
                      "others": -0.113,
                      "total": 0.3048,
                      "log_link": true,
                      "margin_base": -0.622283,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.225044
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.150508
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.113429
                        },
                        {
                          "name": "goals",
                          "margin": -0.111799
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": -0.099884
                        }
                      ],
                      "others_margin": -0.315358
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.0427165031433105,
                    "model_output": 1.0427,
                    "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.3755
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.149
                        },
                        {
                          "name": "goals",
                          "contribution": -0.1137
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0752
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0608
                        }
                      ],
                      "others": -0.3069,
                      "total": 1.0427,
                      "log_link": false,
                      "margin_base": 1.372807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.375532
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.149037
                        },
                        {
                          "name": "goals",
                          "margin": -0.113695
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.075212
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.060797
                        }
                      ],
                      "others_margin": -0.306881
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.07649802416563034,
                    "model_output": 0.0765,
                    "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.0138
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0119
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0069
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0065
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0048
                        }
                      ],
                      "others": -0.0079,
                      "total": 0.0765,
                      "log_link": true,
                      "margin_base": -2.751197,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.195234
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.142143
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.079807
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.075378
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.055639
                        }
                      ],
                      "others_margin": -0.096602
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.8769392967224121,
                    "model_output": 0.8769,
                    "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.207
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.1524
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0625
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0404
                        },
                        {
                          "name": "shotOffTarget",
                          "contribution": -0.0363
                        }
                      ],
                      "others": -0.0969,
                      "total": 0.8769,
                      "log_link": true,
                      "margin_base": -0.396376,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.268265
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.159793
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.062418
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.040859
                        },
                        {
                          "name": "shotOffTarget",
                          "margin": -0.036559
                        }
                      ],
                      "others_margin": -0.104881
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.695682525634766,
                    "model_output": 6.6957,
                    "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.0431
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0225
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0184
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0152
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0152
                        }
                      ],
                      "others": -0.0701,
                      "total": 6.6957,
                      "log_link": false,
                      "margin_base": 6.763607,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.043111
                        },
                        {
                          "name": "rating",
                          "margin": -0.022475
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.018381
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.015171
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.015169
                        }
                      ],
                      "others_margin": -0.070181
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 6,
                  "role_matches": 1,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "all_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0211, quality 0.660)",
              "stats": {
                "expected_goals": 0.0869,
                "goals": 0.064,
                "goal_rate": 0.064,
                "shots_on_target": 0.3112,
                "total_shots": 1.0648,
                "expected_assists": 0.0781,
                "key_pass": 0.8954,
                "rating": 6.6957,
                "minutes": 72.33,
                "total_pass": 16.9889,
                "accurate_pass": 13.7942,
                "duels_won": 2.5279,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 11.8694,
                "accurate_opp_half_passes": 9.6885,
                "crosses_total": 0.4236,
                "crosses_accurate": 0.1777,
                "touches": 25.3793,
                "possession_lost": 6.776,
                "dispossessed": 0.5327,
                "duels_lost": 3.4621,
                "aerial_lost": 0.418,
                "total_contest": 2.105,
                "won_contest": 0.418,
                "ball_recovery": 3.1313,
                "challenges_lost": 0.4645,
                "fouls": 0.36,
                "fouls_drawn": 0.4112,
                "assists": 0.1777,
                "assist_rate": 0.1777,
                "interceptions": 0.3867,
                "tackles_won": 1.2808,
                "tackles": 1.6988,
                "clearances": 0.1284,
                "blocks": 0.0,
                "big_chances_created": 0.1777,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.4464,
                "ball_carries": 8.808,
                "total_progression": 19.0089,
                "progressive_carries": 0.6049,
                "shots_off_target": 0.7536
              },
              "params": {
                "market_value_eur": 23000000,
                "quality_factor": 0.6595,
                "boost_factor": 1.0211,
                "reference_quality": 0.505,
                "history_matches": 6,
                "history_shrink": 0.4545,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0079)",
              "stats": {
                "expected_goals": 0.0869,
                "goals": 0.0635,
                "goal_rate": 0.0635,
                "shots_on_target": 0.3087,
                "total_shots": 1.0564,
                "expected_assists": 0.0781,
                "key_pass": 0.8954,
                "rating": 6.6957,
                "minutes": 72.33,
                "total_pass": 16.9889,
                "accurate_pass": 13.7942,
                "duels_won": 2.5279,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 11.8694,
                "accurate_opp_half_passes": 9.6885,
                "crosses_total": 0.4203,
                "crosses_accurate": 0.1777,
                "touches": 25.3793,
                "possession_lost": 6.776,
                "dispossessed": 0.5327,
                "duels_lost": 3.4621,
                "aerial_lost": 0.418,
                "total_contest": 2.105,
                "won_contest": 0.418,
                "ball_recovery": 3.1313,
                "challenges_lost": 0.4645,
                "fouls": 0.3572,
                "fouls_drawn": 0.4238,
                "assists": 0.1763,
                "assist_rate": 0.1763,
                "interceptions": 0.3836,
                "tackles_won": 1.3024,
                "tackles": 1.6988,
                "clearances": 0.1284,
                "blocks": 0.0,
                "big_chances_created": 0.1777,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.4587,
                "ball_carries": 8.808,
                "total_progression": 19.0089,
                "progressive_carries": 0.6049,
                "shots_off_target": 0.7536
              },
              "params": {
                "blend_weight": 0.0079,
                "history_matches": 6,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.8037,
                "prior_reliability": 0.0267,
                "competition": "La Liga",
                "squad": "Dep. A Coruña"
              },
              "changes": [
                {
                  "stat": "wonTackle",
                  "before": 1.2808,
                  "after": 1.3024
                },
                {
                  "stat": "wasFouled",
                  "before": 0.4112,
                  "after": 0.4238
                },
                {
                  "stat": "totalOffside",
                  "before": 0.4464,
                  "after": 0.4587
                },
                {
                  "stat": "totalShots",
                  "before": 1.0648,
                  "after": 1.0564
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0869,
                "goals": 0.0635,
                "goal_rate": 0.0635,
                "shots_on_target": 0.3087,
                "total_shots": 1.0623,
                "expected_assists": 0.0781,
                "key_pass": 0.8954,
                "rating": 6.6957,
                "minutes": 72.33,
                "total_pass": 16.9889,
                "accurate_pass": 13.7942,
                "duels_won": 2.5279,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 11.8694,
                "accurate_opp_half_passes": 9.6885,
                "crosses_total": 0.4203,
                "crosses_accurate": 0.1777,
                "touches": 25.3793,
                "possession_lost": 6.776,
                "dispossessed": 0.5327,
                "duels_lost": 3.4621,
                "aerial_lost": 0.418,
                "total_contest": 2.105,
                "won_contest": 0.418,
                "ball_recovery": 3.1313,
                "challenges_lost": 0.4645,
                "fouls": 0.3572,
                "fouls_drawn": 0.4238,
                "assists": 0.1763,
                "assist_rate": 0.1763,
                "interceptions": 0.3836,
                "tackles_won": 1.3024,
                "tackles": 1.6988,
                "clearances": 0.1284,
                "blocks": 0.0,
                "big_chances_created": 0.1777,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.4587,
                "ball_carries": 8.808,
                "total_progression": 19.0089,
                "progressive_carries": 0.6049,
                "shots_off_target": 0.7536
              },
              "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.0751,
                "goals": 0.0549,
                "goal_rate": 0.0549,
                "shots_on_target": 0.2667,
                "total_shots": 0.9177,
                "expected_assists": 0.0781,
                "key_pass": 0.8954,
                "rating": 6.6957,
                "minutes": 72.33,
                "total_pass": 16.9889,
                "accurate_pass": 13.7942,
                "duels_won": 2.5279,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 11.8694,
                "accurate_opp_half_passes": 9.6885,
                "crosses_total": 0.4203,
                "crosses_accurate": 0.1777,
                "touches": 25.3793,
                "possession_lost": 6.776,
                "dispossessed": 0.5327,
                "duels_lost": 3.4621,
                "aerial_lost": 0.418,
                "total_contest": 2.105,
                "won_contest": 0.418,
                "ball_recovery": 3.1313,
                "challenges_lost": 0.4645,
                "fouls": 0.3572,
                "fouls_drawn": 0.4238,
                "assists": 0.1763,
                "assist_rate": 0.1763,
                "interceptions": 0.3836,
                "tackles_won": 1.3024,
                "tackles": 1.6988,
                "clearances": 0.1284,
                "blocks": 0.0,
                "big_chances_created": 0.1777,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.4587,
                "ball_carries": 8.808,
                "total_progression": 19.0089,
                "progressive_carries": 0.6049,
                "shots_off_target": 0.651,
                "duel_xg_multiplier": 0.8638,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Jon Martin, Mamadou Sarr",
                "opponent_faced": "Jon Martin, Mamadou Sarr",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Jon Martin, Mamadou Sarr",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.18,
                  "pressing_faced": "MEDIUM",
                  "numerical_situation": "1v2",
                  "xg_multiplier": 0.8638,
                  "skill_edge": -0.0326,
                  "height_edge": -0.06,
                  "attacker_skill": 0.6595,
                  "defender_skill": 0.732,
                  "attacker_role": "ST",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Jon Martin",
                      "market_value": 24000000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.732
                    },
                    {
                      "player": "Mamadou Sarr",
                      "market_value": 24000000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.732
                    }
                  ],
                  "xg_override": 0.0751
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.0623,
                  "after": 0.9177
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.7536,
                  "after": 0.651
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.3087,
                  "after": 0.2667
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.0869,
                  "after": 0.0751
                },
                {
                  "stat": "goals",
                  "before": 0.0635,
                  "after": 0.0549
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 0.81 (squad xG sum 0.8013, xG scale 1.0047, xA scale 1.0047, team xA 0.63 = 0.78 x lambda)",
              "stats": {
                "expected_goals": 0.0755,
                "goal_rate": 0.0549,
                "goals": 0,
                "shots_on_target": 0.2667,
                "total_shots": 0.9177,
                "expected_assists": 0.0785,
                "key_pass": 0.8954,
                "rating": 6.6957,
                "minutes": 72.33,
                "total_pass": 16.9889,
                "accurate_pass": 13.7942,
                "duels_won": 2.5279,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 11.8694,
                "accurate_opp_half_passes": 9.6885,
                "crosses_total": 0.4203,
                "crosses_accurate": 0.1777,
                "touches": 25.3793,
                "possession_lost": 6.776,
                "dispossessed": 0.5327,
                "duels_lost": 3.4621,
                "aerial_lost": 0.418,
                "total_contest": 2.105,
                "won_contest": 0.418,
                "ball_recovery": 3.1313,
                "challenges_lost": 0.4645,
                "fouls": 0.3572,
                "fouls_drawn": 0.4238,
                "assist_rate": 0.1763,
                "assists": 0,
                "interceptions": 0.3836,
                "tackles_won": 1.3024,
                "tackles": 1.6988,
                "clearances": 0.1284,
                "blocks": 0.0,
                "big_chances_created": 0.1777,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.4587,
                "ball_carries": 8.808,
                "total_progression": 19.0089,
                "progressive_carries": 0.6049,
                "shots_off_target": 0.651,
                "duel_xg_multiplier": 0.8638,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Jon Martin, Mamadou Sarr",
                "opponent_faced": "Jon Martin, Mamadou Sarr",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8385,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 0.805,
                "squad_xg_sum": 0.8013,
                "squad_xa_sum": 0.6279,
                "team_expected_assists": 0.6308,
                "team_xa_to_xg_ratio": 0.7836,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0047,
                "xa_scale": 1.0047,
                "opponent_lambda": 1.498,
                "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 78.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.0755,
                "goal_rate": 0.0549,
                "goals": 0,
                "shots_on_target": 0.2667,
                "total_shots": 0.9177,
                "expected_assists": 0.0785,
                "key_pass": 0.8954,
                "rating": 6.6957,
                "minutes": 72.33,
                "total_pass": 16.9889,
                "accurate_pass": 13.7942,
                "duels_won": 2.5279,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 11.8694,
                "accurate_opp_half_passes": 9.6885,
                "crosses_total": 0.4203,
                "crosses_accurate": 0.1777,
                "touches": 25.3793,
                "possession_lost": 6.776,
                "dispossessed": 0.5327,
                "duels_lost": 3.4621,
                "aerial_lost": 0.418,
                "total_contest": 2.105,
                "won_contest": 0.418,
                "ball_recovery": 3.1313,
                "challenges_lost": 0.4645,
                "fouls": 0.3572,
                "fouls_drawn": 0.4238,
                "assist_rate": 0.1763,
                "assists": 0,
                "interceptions": 0.3836,
                "tackles_won": 1.3024,
                "tackles": 1.6988,
                "clearances": 0.1284,
                "blocks": 0.0,
                "big_chances_created": 0.1777,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.4587,
                "ball_carries": 8.808,
                "total_progression": 19.0089,
                "progressive_carries": 0.6049,
                "shots_off_target": 0.651,
                "duel_xg_multiplier": 0.8638,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Jon Martin, Mamadou Sarr",
                "opponent_faced": "Jon Martin, Mamadou Sarr",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8385,
                "creation_factor": 1.25,
                "fifa_overall": 78.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": 2211,
                "fifa_rank": 1260.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 78.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "expected_goals": 0.0755,
                "goal_rate": 0.0549,
                "goals": 0,
                "shots_on_target": 0.2667,
                "total_shots": 0.9177,
                "expected_assists": 0.0785,
                "key_pass": 0.8954,
                "rating": 6.6957,
                "minutes": 72.33,
                "total_pass": 16.9889,
                "accurate_pass": 13.7942,
                "duels_won": 2.5279,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 11.8694,
                "accurate_opp_half_passes": 9.6885,
                "crosses_total": 0.4203,
                "crosses_accurate": 0.1777,
                "touches": 25.3793,
                "possession_lost": 6.776,
                "dispossessed": 0.5327,
                "duels_lost": 3.4621,
                "aerial_lost": 0.418,
                "total_contest": 2.105,
                "won_contest": 0.418,
                "ball_recovery": 3.1313,
                "challenges_lost": 0.4645,
                "fouls": 0.3572,
                "fouls_drawn": 0.4238,
                "assist_rate": 0.1763,
                "assists": 0,
                "interceptions": 0.3836,
                "tackles_won": 1.3024,
                "tackles": 1.6988,
                "clearances": 0.1284,
                "blocks": 0.0,
                "big_chances_created": 0.1777,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.4587,
                "ball_carries": 8.808,
                "total_progression": 19.0089,
                "progressive_carries": 0.6049,
                "shots_off_target": 0.651,
                "duel_xg_multiplier": 0.8638,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Jon Martin, Mamadou Sarr",
                "opponent_faced": "Jon Martin, Mamadou Sarr",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0727,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8385,
                "creation_factor": 1.25,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0727,
                "scorer_weight": 0.0633,
                "squad_weight_total": 0.751,
                "weight_share": 0.0843,
                "finishing_factor": 0.8385,
                "appearance_weight": 1.0,
                "weight_rank": 5,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "expected_goals": 0.0755,
                "goal_rate": 0.0549,
                "goals": 0,
                "shots_on_target": 0.2667,
                "total_shots": 0.9177,
                "expected_assists": 0.0785,
                "key_pass": 0.8954,
                "rating": 6.6957,
                "minutes": 72.33,
                "total_pass": 16.9889,
                "accurate_pass": 13.7942,
                "duels_won": 2.5279,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 11.8694,
                "accurate_opp_half_passes": 9.6885,
                "crosses_total": 0.4203,
                "crosses_accurate": 0.1777,
                "touches": 25.3793,
                "possession_lost": 6.776,
                "dispossessed": 0.5327,
                "duels_lost": 3.4621,
                "aerial_lost": 0.418,
                "total_contest": 2.105,
                "won_contest": 0.418,
                "ball_recovery": 3.1313,
                "challenges_lost": 0.4645,
                "fouls": 0.3572,
                "fouls_drawn": 0.4238,
                "assist_rate": 0.1763,
                "assists": 0,
                "interceptions": 0.3836,
                "tackles_won": 1.3024,
                "tackles": 1.6988,
                "clearances": 0.1284,
                "blocks": 0.0,
                "big_chances_created": 0.1777,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.4587,
                "ball_carries": 8.808,
                "total_progression": 19.0089,
                "progressive_carries": 0.6049,
                "shots_off_target": 0.651,
                "duel_xg_multiplier": 0.8638,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Jon Martin, Mamadou Sarr",
                "opponent_faced": "Jon Martin, Mamadou Sarr",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0727,
                "projected_assists": 0,
                "assist_probability": 0.0755,
                "finishing_factor": 0.8385,
                "creation_factor": 1.25,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0755,
                "provider_weight": 0.0981,
                "squad_weight_total": 0.6285,
                "weight_share": 0.1561,
                "creation_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 3,
                "eligible_players": 13
              }
            }
          ]
        },
        "Jonathan Asp Jensen": {
          "player_id": 1146545,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 18,
          "height": 182,
          "market_value": 3900000,
          "stats": {
            "expected_goals": 0.1313,
            "goal_rate": 0.1194,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 2,
            "expected_assists": 0.0671,
            "key_pass": 1,
            "rating": 6.6971,
            "minutes": 70,
            "total_pass": 10,
            "accurate_pass": 9,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 7,
            "accurate_opp_half_passes": 6,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 21,
            "possession_lost": 6.0068,
            "dispossessed": 0.6061,
            "duels_lost": 2,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 2,
            "challenges_lost": 1,
            "fouls": 0,
            "fouls_drawn": 0,
            "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.0693,
            "offsides": 0,
            "ball_carries": 6,
            "total_progression": 17,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.7684,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.3,
            "aerial_won": 2,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.18,
            "pressing_faced": "MEDIUM",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Jon Martin, Mamadou Sarr",
            "opponent_faced": "Jon Martin, Mamadou Sarr",
            "antagonist_source": "attacking_duel",
            "projected_goals": 0,
            "goal_probability": 0.123,
            "projected_assists": 0,
            "assist_probability": 0.0649,
            "finishing_factor": 0.9375,
            "creation_factor": 0.8,
            "fifa_overall": 69.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": "home",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 65,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0835,
                "expected_assists": 0.1731,
                "total_shots": 3,
                "shots_on_target": 2,
                "total_pass": 7,
                "accurate_pass": 7,
                "key_pass": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416343,
              "match_date": "2026-09-16",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Deportivo de A Coruña",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 33,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0793,
                "expected_assists": 0.0022,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 9,
                "accurate_pass": 9,
                "tackles": 2,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416291,
              "match_date": "2026-08-30",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Deportivo de A Coruña",
              "opponent": "Valencia",
              "stats": {
                "minutes": 11,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0328,
                "expected_assists": 0.0,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 1,
                "accurate_pass": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416307,
              "match_date": "2026-08-24",
              "home_team": "Málaga CF",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 62,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0302,
                "expected_assists": 0.0184,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 15,
                "accurate_pass": 12,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421050,
              "match_date": "2026-08-17",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Elche",
              "stats": {
                "minutes": 60,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0312,
                "expected_assists": 0.003,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 9,
                "accurate_pass": 7,
                "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"
            }
          ],
          "ranking": {
            "global_player_rank": 5662,
            "combined_rank_score": 3934.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 915.0,
            "sofascore_rating": 6.5,
            "sofascore_appearances": 1.0,
            "fifa_rank": 6954.0,
            "fifa_overall": 69.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 14,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6971,
            "source_file": "data/player_rankings.csv",
            "player_name": "Jonathan Asp Jensen",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Oleksandr Svatok",
                  "ranking": 5657
                },
                {
                  "player_name": "Dimitar Mitov",
                  "ranking": 5658
                },
                {
                  "player_name": "Víctor Dávila",
                  "ranking": 5659
                },
                {
                  "player_name": "Ulrik Saltnes",
                  "ranking": 5660
                },
                {
                  "player_name": "Kareem Tunde",
                  "ranking": 5661
                }
              ],
              "lower": [
                {
                  "player_name": "Wes Burns",
                  "ranking": 5663
                },
                {
                  "player_name": "Rodrigo Morínigo",
                  "ranking": 5664
                },
                {
                  "player_name": "Nicolás Lodeiro",
                  "ranking": 5665
                },
                {
                  "player_name": "Kalvin Phillips",
                  "ranking": 5666
                },
                {
                  "player_name": "Filip Krastev",
                  "ranking": 5667
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.576,
          "history_matches": 5,
          "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": 5,
            "data_confidence": 0.576,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9915,
            "fbref_prior_metrics": {
              "squad": "Dep. A Coruña",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 2.0,
              "minutes": 128.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 2.11,
              "shots_on_target_pct": 66.7,
              "prior_reliability": 0.0933
            },
            "rationale": "XGBoost regressor (F_service) evaluated 5 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Dep. A Coruña, rel: 0.09, 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.1716,
                "goals": 0.1616,
                "goal_rate": 0.1616,
                "shots_on_target": 0.7315,
                "total_shots": 1.9536,
                "expected_assists": 0.0674,
                "key_pass": 0.8202,
                "rating": 6.6971,
                "minutes": 69.56,
                "total_pass": 10.2051,
                "accurate_pass": 8.6521,
                "duels_won": 0.8921,
                "total_long_balls": 0.3304,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 7.3712,
                "accurate_opp_half_passes": 5.8182,
                "crosses_total": 1.447,
                "crosses_accurate": 0.3887,
                "touches": 20.7191,
                "possession_lost": 6.0583,
                "dispossessed": 0.6113,
                "duels_lost": 2.0,
                "aerial_lost": 0.0,
                "total_contest": 0.3887,
                "won_contest": 0.0,
                "ball_recovery": 1.6696,
                "challenges_lost": 0.7191,
                "fouls": 0.2809,
                "fouls_drawn": 0.3304,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.5617,
                "tackles": 0.5617,
                "clearances": 0.3304,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0906,
                "offsides": 0.0,
                "ball_carries": 5.7775,
                "total_progression": 16.8733,
                "progressive_carries": 1.1079,
                "shots_off_target": 1.2221
              },
              "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": "Real Betis",
                    "minutes": 65.0,
                    "is_starting": true,
                    "weight": 0.2696,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Sevilla",
                    "minutes": 33.0,
                    "is_starting": false,
                    "weight": 0.2292,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Valencia",
                    "minutes": 11.0,
                    "is_starting": false,
                    "weight": 0.1948,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Málaga CF",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.1656,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-17",
                    "opponent": "Elche",
                    "minutes": 60.0,
                    "is_starting": true,
                    "weight": 0.1408,
                    "rating": 6.5
                  }
                ],
                "feature_row": {
                  "history_matches": 5.0,
                  "is_starting_11": 1.0,
                  "expectedGoals": 0.0565,
                  "totalOppositionHalfPasses": 5.2891,
                  "accurateOppositionHalfPasses": 4.5108,
                  "accuratePass": 7.1175,
                  "totalShots": 1.7685
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.17155508697032928,
                    "model_output": 0.1716,
                    "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.0687
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0502
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0251
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.012
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0119
                        }
                      ],
                      "others": -0.0195,
                      "total": 0.1716,
                      "log_link": true,
                      "margin_base": -1.62027,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.297998
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.208737
                        },
                        {
                          "name": "goals",
                          "margin": -0.123213
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.065041
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.064177
                        }
                      ],
                      "others_margin": -0.107766
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.16163989901542664,
                    "model_output": 0.1616,
                    "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.0856
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0465
                        },
                        {
                          "name": "goals",
                          "contribution": -0.032
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": 0.0155
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0141
                        }
                      ],
                      "others": -0.0501,
                      "total": 0.1616,
                      "log_link": true,
                      "margin_base": -1.593696,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.351487
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.175613
                        },
                        {
                          "name": "goals",
                          "margin": -0.141688
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": 0.071178
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.064519
                        }
                      ],
                      "others_margin": -0.269533
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.7314545512199402,
                    "model_output": 0.7315,
                    "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.1449
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0653
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0473
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0441
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0439
                        }
                      ],
                      "others": 0.0681,
                      "total": 0.7315,
                      "log_link": true,
                      "margin_base": -0.622283,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.239038
                        },
                        {
                          "name": "goals",
                          "margin": -0.100624
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.074008
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.068694
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.068505
                        }
                      ],
                      "others_margin": 0.09733
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.9535363912582397,
                    "model_output": 1.9535,
                    "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.4888
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.1826
                        },
                        {
                          "name": "goals",
                          "contribution": -0.1215
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.1079
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0596
                        }
                      ],
                      "others": -0.0175,
                      "total": 1.9535,
                      "log_link": false,
                      "margin_base": 1.372807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.488775
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.182587
                        },
                        {
                          "name": "goals",
                          "margin": -0.121521
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.10789
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.059625
                        }
                      ],
                      "others_margin": -0.017377
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.06735856086015701,
                    "model_output": 0.0674,
                    "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.0165
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0082
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0055
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.004
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0039
                        }
                      ],
                      "others": 0.0008,
                      "total": 0.0674,
                      "log_link": true,
                      "margin_base": -2.751197,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.23033
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.108031
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.078628
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.06208
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.059955
                        }
                      ],
                      "others_margin": 0.011927
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.8202222585678101,
                    "model_output": 0.8202,
                    "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.2297
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0496
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0444
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0436
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0451
                        }
                      ],
                      "others": -0.077,
                      "total": 0.8202,
                      "log_link": true,
                      "margin_base": -0.396376,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.293719
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.05656
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.053483
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.052489
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.051533
                        }
                      ],
                      "others_margin": -0.089501
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.697073459625244,
                    "model_output": 6.6971,
                    "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.0445
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0238
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0218
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0196
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0147
                        }
                      ],
                      "others": -0.0747,
                      "total": 6.6971,
                      "log_link": false,
                      "margin_base": 6.763607,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.044519
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.023783
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.021773
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.019608
                        },
                        {
                          "name": "rating",
                          "margin": -0.014734
                        }
                      ],
                      "others_margin": -0.074703
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 5,
                  "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.9915, quality 0.449)",
              "stats": {
                "expected_goals": 0.1701,
                "goals": 0.1603,
                "goal_rate": 0.1603,
                "shots_on_target": 0.7252,
                "total_shots": 1.9369,
                "expected_assists": 0.0668,
                "key_pass": 0.8133,
                "rating": 6.6971,
                "minutes": 69.56,
                "total_pass": 10.1184,
                "accurate_pass": 8.5786,
                "duels_won": 0.8845,
                "total_long_balls": 0.3276,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 7.3085,
                "accurate_opp_half_passes": 5.7687,
                "crosses_total": 1.4347,
                "crosses_accurate": 0.3854,
                "touches": 20.543,
                "possession_lost": 6.0068,
                "dispossessed": 0.6061,
                "duels_lost": 1.983,
                "aerial_lost": 0.0,
                "total_contest": 0.3854,
                "won_contest": 0.0,
                "ball_recovery": 1.6554,
                "challenges_lost": 0.713,
                "fouls": 0.2785,
                "fouls_drawn": 0.3276,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.5569,
                "tackles": 0.5569,
                "clearances": 0.3276,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0898,
                "offsides": 0.0,
                "ball_carries": 5.7284,
                "total_progression": 16.7299,
                "progressive_carries": 1.0985,
                "shots_off_target": 1.2117
              },
              "params": {
                "market_value_eur": 3900000,
                "quality_factor": 0.4486,
                "boost_factor": 0.9915,
                "reference_quality": 0.505,
                "history_matches": 5,
                "history_shrink": 0.5,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0303)",
              "stats": {
                "expected_goals": 0.1701,
                "goals": 0.1554,
                "goal_rate": 0.1554,
                "shots_on_target": 0.7363,
                "total_shots": 1.9276,
                "expected_assists": 0.0668,
                "key_pass": 0.8133,
                "rating": 6.6971,
                "minutes": 69.56,
                "total_pass": 10.1184,
                "accurate_pass": 8.5786,
                "duels_won": 0.8845,
                "total_long_balls": 0.3276,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 7.3085,
                "accurate_opp_half_passes": 5.7687,
                "crosses_total": 1.4079,
                "crosses_accurate": 0.3854,
                "touches": 20.543,
                "possession_lost": 6.0068,
                "dispossessed": 0.6061,
                "duels_lost": 1.983,
                "aerial_lost": 0.0,
                "total_contest": 0.3854,
                "won_contest": 0.0,
                "ball_recovery": 1.6554,
                "challenges_lost": 0.713,
                "fouls": 0.3035,
                "fouls_drawn": 0.3344,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.5735,
                "tackles": 0.5569,
                "clearances": 0.3276,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0898,
                "offsides": 0.0,
                "ball_carries": 5.7284,
                "total_progression": 16.7299,
                "progressive_carries": 1.0985,
                "shots_off_target": 1.2117
              },
              "params": {
                "blend_weight": 0.0303,
                "history_matches": 5,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.7729,
                "prior_reliability": 0.0933,
                "competition": "La Liga",
                "squad": "Dep. A Coruña"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 1.4347,
                  "after": 1.4079
                },
                {
                  "stat": "fouls",
                  "before": 0.2785,
                  "after": 0.3035
                },
                {
                  "stat": "wonTackle",
                  "before": 0.5569,
                  "after": 0.5735
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.7252,
                  "after": 0.7363
                },
                {
                  "stat": "totalShots",
                  "before": 1.9369,
                  "after": 1.9276
                },
                {
                  "stat": "wasFouled",
                  "before": 0.3276,
                  "after": 0.3344
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1701,
                "goals": 0.1554,
                "goal_rate": 0.1554,
                "shots_on_target": 0.7363,
                "total_shots": 1.948,
                "expected_assists": 0.0668,
                "key_pass": 0.8133,
                "rating": 6.6971,
                "minutes": 69.56,
                "total_pass": 10.1184,
                "accurate_pass": 8.5786,
                "duels_won": 0.8845,
                "total_long_balls": 0.3276,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 7.3085,
                "accurate_opp_half_passes": 5.7687,
                "crosses_total": 1.4079,
                "crosses_accurate": 0.3854,
                "touches": 20.543,
                "possession_lost": 6.0068,
                "dispossessed": 0.6061,
                "duels_lost": 1.983,
                "aerial_lost": 0.0,
                "total_contest": 0.3854,
                "won_contest": 0.0,
                "ball_recovery": 1.6554,
                "challenges_lost": 0.713,
                "fouls": 0.3035,
                "fouls_drawn": 0.3344,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.5569,
                "tackles": 0.5569,
                "clearances": 0.3276,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0898,
                "offsides": 0.0,
                "ball_carries": 5.7284,
                "total_progression": 16.7299,
                "progressive_carries": 1.0985,
                "shots_off_target": 1.2117
              },
              "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.1307,
                "goals": 0.1194,
                "goal_rate": 0.1194,
                "shots_on_target": 0.5658,
                "total_shots": 1.4969,
                "expected_assists": 0.0668,
                "key_pass": 0.8133,
                "rating": 6.6971,
                "minutes": 69.56,
                "total_pass": 10.1184,
                "accurate_pass": 8.5786,
                "duels_won": 0.8845,
                "total_long_balls": 0.3276,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 7.3085,
                "accurate_opp_half_passes": 5.7687,
                "crosses_total": 1.4079,
                "crosses_accurate": 0.3854,
                "touches": 20.543,
                "possession_lost": 6.0068,
                "dispossessed": 0.6061,
                "duels_lost": 1.983,
                "aerial_lost": 0.0,
                "total_contest": 0.3854,
                "won_contest": 0.0,
                "ball_recovery": 1.6554,
                "challenges_lost": 0.713,
                "fouls": 0.3035,
                "fouls_drawn": 0.3344,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.5569,
                "tackles": 0.5569,
                "clearances": 0.3276,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.069,
                "offsides": 0.0,
                "ball_carries": 5.7284,
                "total_progression": 16.7299,
                "progressive_carries": 1.0985,
                "shots_off_target": 0.9311,
                "duel_xg_multiplier": 0.7684,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Jon Martin, Mamadou Sarr",
                "opponent_faced": "Jon Martin, Mamadou Sarr",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Jon Martin, Mamadou Sarr",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.18,
                  "pressing_faced": "MEDIUM",
                  "numerical_situation": "1v2",
                  "xg_multiplier": 0.7684,
                  "skill_edge": -0.1275,
                  "height_edge": -0.03,
                  "attacker_skill": 0.4486,
                  "defender_skill": 0.732,
                  "attacker_role": "ST",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Jon Martin",
                      "market_value": 24000000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.732
                    },
                    {
                      "player": "Mamadou Sarr",
                      "market_value": 24000000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.732
                    }
                  ],
                  "xg_override": 0.1307
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.948,
                  "after": 1.4969
                },
                {
                  "stat": "shotOffTarget",
                  "before": 1.2117,
                  "after": 0.9311
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.7363,
                  "after": 0.5658
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.1701,
                  "after": 0.1307
                },
                {
                  "stat": "goals",
                  "before": 0.1554,
                  "after": 0.1194
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.0898,
                  "after": 0.069
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 0.81 (squad xG sum 0.8013, xG scale 1.0047, xA scale 1.0047, team xA 0.63 = 0.78 x lambda)",
              "stats": {
                "expected_goals": 0.1313,
                "goal_rate": 0.1194,
                "goals": 0,
                "shots_on_target": 0.5658,
                "total_shots": 1.4969,
                "expected_assists": 0.0671,
                "key_pass": 0.8133,
                "rating": 6.6971,
                "minutes": 69.56,
                "total_pass": 10.1184,
                "accurate_pass": 8.5786,
                "duels_won": 0.8845,
                "total_long_balls": 0.3276,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 7.3085,
                "accurate_opp_half_passes": 5.7687,
                "crosses_total": 1.4079,
                "crosses_accurate": 0.3854,
                "touches": 20.543,
                "possession_lost": 6.0068,
                "dispossessed": 0.6061,
                "duels_lost": 1.983,
                "aerial_lost": 0.0,
                "total_contest": 0.3854,
                "won_contest": 0.0,
                "ball_recovery": 1.6554,
                "challenges_lost": 0.713,
                "fouls": 0.3035,
                "fouls_drawn": 0.3344,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.5569,
                "tackles": 0.5569,
                "clearances": 0.3276,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0693,
                "offsides": 0.0,
                "ball_carries": 5.7284,
                "total_progression": 16.7299,
                "progressive_carries": 1.0985,
                "shots_off_target": 0.9311,
                "duel_xg_multiplier": 0.7684,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Jon Martin, Mamadou Sarr",
                "opponent_faced": "Jon Martin, Mamadou Sarr",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9375,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 0.805,
                "squad_xg_sum": 0.8013,
                "squad_xa_sum": 0.6279,
                "team_expected_assists": 0.6308,
                "team_xa_to_xg_ratio": 0.7836,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0047,
                "xa_scale": 1.0047,
                "opponent_lambda": 1.498,
                "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 69.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.1313,
                "goal_rate": 0.1194,
                "goals": 0,
                "shots_on_target": 0.5658,
                "total_shots": 1.4969,
                "expected_assists": 0.0671,
                "key_pass": 0.8133,
                "rating": 6.6971,
                "minutes": 69.56,
                "total_pass": 10.1184,
                "accurate_pass": 8.5786,
                "duels_won": 0.8845,
                "total_long_balls": 0.3276,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 7.3085,
                "accurate_opp_half_passes": 5.7687,
                "crosses_total": 1.4079,
                "crosses_accurate": 0.3854,
                "touches": 20.543,
                "possession_lost": 6.0068,
                "dispossessed": 0.6061,
                "duels_lost": 1.983,
                "aerial_lost": 0.0,
                "total_contest": 0.3854,
                "won_contest": 0.0,
                "ball_recovery": 1.6554,
                "challenges_lost": 0.713,
                "fouls": 0.3035,
                "fouls_drawn": 0.3344,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.5569,
                "tackles": 0.5569,
                "clearances": 0.3276,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0693,
                "offsides": 0.0,
                "ball_carries": 5.7284,
                "total_progression": 16.7299,
                "progressive_carries": 1.0985,
                "shots_off_target": 0.9311,
                "duel_xg_multiplier": 0.7684,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Jon Martin, Mamadou Sarr",
                "opponent_faced": "Jon Martin, Mamadou Sarr",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9375,
                "creation_factor": 0.8,
                "fifa_overall": 69.0
              },
              "params": {
                "match_squad_rank": 14,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 5662,
                "fifa_rank": 6954.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 69.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "expected_goals": 0.1313,
                "goal_rate": 0.1194,
                "goals": 0,
                "shots_on_target": 0.5658,
                "total_shots": 1.4969,
                "expected_assists": 0.0671,
                "key_pass": 0.8133,
                "rating": 6.6971,
                "minutes": 69.56,
                "total_pass": 10.1184,
                "accurate_pass": 8.5786,
                "duels_won": 0.8845,
                "total_long_balls": 0.3276,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 7.3085,
                "accurate_opp_half_passes": 5.7687,
                "crosses_total": 1.4079,
                "crosses_accurate": 0.3854,
                "touches": 20.543,
                "possession_lost": 6.0068,
                "dispossessed": 0.6061,
                "duels_lost": 1.983,
                "aerial_lost": 0.0,
                "total_contest": 0.3854,
                "won_contest": 0.0,
                "ball_recovery": 1.6554,
                "challenges_lost": 0.713,
                "fouls": 0.3035,
                "fouls_drawn": 0.3344,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.5569,
                "tackles": 0.5569,
                "clearances": 0.3276,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0693,
                "offsides": 0.0,
                "ball_carries": 5.7284,
                "total_progression": 16.7299,
                "progressive_carries": 1.0985,
                "shots_off_target": 0.9311,
                "duel_xg_multiplier": 0.7684,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Jon Martin, Mamadou Sarr",
                "opponent_faced": "Jon Martin, Mamadou Sarr",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.123,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9375,
                "creation_factor": 0.8,
                "fifa_overall": 69.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.123,
                "scorer_weight": 0.1231,
                "squad_weight_total": 0.751,
                "weight_share": 0.1639,
                "finishing_factor": 0.9375,
                "appearance_weight": 1.0,
                "weight_rank": 2,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "expected_goals": 0.1313,
                "goal_rate": 0.1194,
                "goals": 0,
                "shots_on_target": 0.5658,
                "total_shots": 1.4969,
                "expected_assists": 0.0671,
                "key_pass": 0.8133,
                "rating": 6.6971,
                "minutes": 69.56,
                "total_pass": 10.1184,
                "accurate_pass": 8.5786,
                "duels_won": 0.8845,
                "total_long_balls": 0.3276,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 7.3085,
                "accurate_opp_half_passes": 5.7687,
                "crosses_total": 1.4079,
                "crosses_accurate": 0.3854,
                "touches": 20.543,
                "possession_lost": 6.0068,
                "dispossessed": 0.6061,
                "duels_lost": 1.983,
                "aerial_lost": 0.0,
                "total_contest": 0.3854,
                "won_contest": 0.0,
                "ball_recovery": 1.6554,
                "challenges_lost": 0.713,
                "fouls": 0.3035,
                "fouls_drawn": 0.3344,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.5569,
                "tackles": 0.5569,
                "clearances": 0.3276,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0693,
                "offsides": 0.0,
                "ball_carries": 5.7284,
                "total_progression": 16.7299,
                "progressive_carries": 1.0985,
                "shots_off_target": 0.9311,
                "duel_xg_multiplier": 0.7684,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Jon Martin, Mamadou Sarr",
                "opponent_faced": "Jon Martin, Mamadou Sarr",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.123,
                "projected_assists": 0,
                "assist_probability": 0.0649,
                "finishing_factor": 0.9375,
                "creation_factor": 0.8,
                "fifa_overall": 69.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0649,
                "provider_weight": 0.0537,
                "squad_weight_total": 0.6285,
                "weight_share": 0.0854,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 5,
                "eligible_players": 13
              }
            }
          ]
        },
        "Lorenzo Amatucci": {
          "player_id": 1100207,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 16,
          "height": 172,
          "market_value": 8199999,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0361,
            "assist_rate": 0.0635,
            "assists": 0,
            "expected_goals": 0.0284,
            "goal_rate": 0.0344,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.9727,
            "minutes": 89,
            "total_pass": 54,
            "accurate_pass": 49,
            "duels_won": 6,
            "total_long_balls": 3,
            "accurate_long_balls": 2,
            "total_own_half_passes": 29,
            "accurate_own_half_passes": 28,
            "total_opp_half_passes": 25,
            "accurate_opp_half_passes": 21,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 70,
            "possession_lost": 8.604,
            "dispossessed": 0.7549,
            "duels_lost": 6,
            "aerial_won": 1,
            "aerial_lost": 1,
            "interceptions": 1,
            "tackles_won": 1,
            "tackles": 3,
            "clearances": 3,
            "total_contest": 1,
            "won_contest": 0,
            "challenges_lost": 1,
            "fouls": 2,
            "fouls_drawn": 1,
            "blocks": 1,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 23,
            "total_progression": 99,
            "progressive_carries": 1,
            "shots_off_target": 0,
            "duel_xg_multiplier": 0.8615,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.5,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.306,
            "pressing_faced": "LOW",
            "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
            "numerical_situation": "1v1",
            "opponent_defenders": "Luka Sučić",
            "opponent_faced": "Luka Sučić",
            "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.028,
            "projected_assists": 0,
            "assist_probability": 0.0355,
            "finishing_factor": 1.0779,
            "creation_factor": 1.25,
            "fifa_overall": 73.0
          },
          "latest_10_games": [
            {
              "match_id": 16416343,
              "match_date": "2026-09-16",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0254,
                "total_shots": 0,
                "total_pass": 66,
                "accurate_pass": 60,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "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": 16416326,
              "match_date": "2026-09-13",
              "home_team": "Getafe",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0107,
                "total_shots": 0,
                "total_pass": 45,
                "accurate_pass": 38,
                "tackles": 4,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 6,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416324,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0398,
                "total_shots": 0,
                "total_pass": 45,
                "accurate_pass": 43,
                "key_pass": 2,
                "tackles": 5,
                "interceptions": 3,
                "clearances": 5,
                "aerial_won": 1,
                "duels_won": 6,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416291,
              "match_date": "2026-08-30",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.017,
                "total_shots": 0,
                "total_pass": 52,
                "accurate_pass": 45,
                "tackles": 4,
                "tackles_won": 3,
                "interceptions": 2,
                "clearances": 7,
                "aerial_won": 4,
                "duels_won": 9,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416307,
              "match_date": "2026-08-24",
              "home_team": "Málaga CF",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0125,
                "total_shots": 0,
                "total_pass": 57,
                "accurate_pass": 55,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 2,
                "duels_won": 3,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421050,
              "match_date": "2026-08-17",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.0256,
                "total_shots": 0,
                "total_pass": 62,
                "accurate_pass": 54,
                "key_pass": 1,
                "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"
            }
          ],
          "ranking": {
            "global_player_rank": 3910,
            "combined_rank_score": 1893.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 257.0,
            "sofascore_rating": 7.1,
            "sofascore_appearances": 3.0,
            "fifa_rank": 3530.0,
            "fifa_overall": 73.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 3,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9727,
            "source_file": "data/player_rankings.csv",
            "player_name": "Lorenzo Amatucci",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Simon Sohm",
                  "ranking": 3905
                },
                {
                  "player_name": "Arkadiusz Milik",
                  "ranking": 3906
                },
                {
                  "player_name": "Pietro Terracciano",
                  "ranking": 3907
                },
                {
                  "player_name": "Hugo Rodallega",
                  "ranking": 3908
                },
                {
                  "player_name": "Marc-Oliver Kempf",
                  "ranking": 3909
                }
              ],
              "lower": [
                {
                  "player_name": "Juan Iturbe",
                  "ranking": 3911
                },
                {
                  "player_name": "Adrià Pedrosa",
                  "ranking": 3912
                },
                {
                  "player_name": "Pedraza",
                  "ranking": 3913
                },
                {
                  "player_name": "Erick Sánchez",
                  "ranking": 3914
                },
                {
                  "player_name": "Keinan Davis",
                  "ranking": 3915
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.655,
          "history_matches": 6,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 6,
            "data_confidence": 0.655,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9995,
            "fbref_prior_metrics": {
              "squad": "Dep. A Coruña",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 270.0,
              "goals_per90": 0.0,
              "assists_per90": 0.3333333333333333,
              "shots_per90": 0.0,
              "prior_reliability": 0.2
            },
            "rationale": "XGBoost regressor (M_service) evaluated 6 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Dep. A Coruña, rel: 0.20, gls/90: 0.0, ast/90: 0.3333333333333333)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.5346,
                "expected_assists": 0.036,
                "assists": 0.0468,
                "assist_rate": 0.0468,
                "expected_goals": 0.0329,
                "goals": 0.0424,
                "goal_rate": 0.0424,
                "shots_on_target": 0.1283,
                "total_shots": 0.4742,
                "rating": 6.9727,
                "minutes": 89.0,
                "total_pass": 54.4178,
                "accurate_pass": 49.0503,
                "duels_won": 6.2276,
                "total_long_balls": 3.0418,
                "accurate_long_balls": 1.9218,
                "total_own_half_passes": 29.1642,
                "accurate_own_half_passes": 27.7943,
                "total_opp_half_passes": 25.2536,
                "accurate_opp_half_passes": 21.256,
                "crosses_total": 0.4094,
                "crosses_accurate": 0.0,
                "touches": 70.0456,
                "possession_lost": 8.6083,
                "dispossessed": 0.7553,
                "duels_lost": 5.8312,
                "aerial_won": 1.5588,
                "aerial_lost": 1.3041,
                "interceptions": 0.9435,
                "tackles_won": 1.2475,
                "tackles": 3.0052,
                "clearances": 2.7091,
                "total_contest": 1.1582,
                "won_contest": 0.3887,
                "challenges_lost": 0.8399,
                "fouls": 2.1624,
                "fouls_drawn": 1.2749,
                "blocks": 0.7692,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 23.2595,
                "total_progression": 98.9786,
                "progressive_carries": 0.905,
                "shots_off_target": 0.3459
              },
              "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-16",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2408,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2047,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.174,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1479,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Málaga CF",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1257,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-17",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1069,
                    "rating": 7.0
                  }
                ],
                "feature_row": {
                  "history_matches": 6.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.0,
                  "creative_index": 0.1952,
                  "expectedGoals": 0.0,
                  "expectedAssists": 0.022,
                  "onTargetScoringAttempt": 0.0
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.5345842838287354,
                    "model_output": 0.5346,
                    "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.105
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.1025
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0818
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0721
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.039
                        }
                      ],
                      "others": -0.1607,
                      "total": 0.5346,
                      "log_link": true,
                      "margin_base": -0.121432,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.112007
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.109241
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.096599
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.093698
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.054634
                        }
                      ],
                      "others_margin": -0.26267
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.035963598638772964,
                    "model_output": 0.036,
                    "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.017
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0129
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0068
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0063
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0033
                        }
                      ],
                      "others": -0.0168,
                      "total": 0.036,
                      "log_link": true,
                      "margin_base": -2.458929,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": -0.221706
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.208779
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.116095
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.106467
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.061358
                        }
                      ],
                      "others_margin": -0.384104
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.046844154596328735,
                    "model_output": 0.0468,
                    "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.0116
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0065
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.006
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0054
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0048
                        }
                      ],
                      "others": -0.0167,
                      "total": 0.0468,
                      "log_link": true,
                      "margin_base": -2.456317,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": -0.145894
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.091812
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.084746
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.076194
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.073105
                        }
                      ],
                      "others_margin": -0.302353
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.032912131398916245,
                    "model_output": 0.0329,
                    "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.0352
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0148
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0055
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.005
                        },
                        {
                          "name": "duelWon",
                          "contribution": 0.0024
                        }
                      ],
                      "others": -0.0126,
                      "total": 0.0329,
                      "log_link": true,
                      "margin_base": -2.368441,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.471063
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.293085
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.134533
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.12388
                        },
                        {
                          "name": "duelWon",
                          "margin": 0.054585
                        }
                      ],
                      "others_margin": -0.325257
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.04238289222121239,
                    "model_output": 0.0424,
                    "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.0231
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0153
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0068
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0048
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0036
                        }
                      ],
                      "others": -0.0006,
                      "total": 0.0424,
                      "log_link": true,
                      "margin_base": -2.337105,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.27373
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.233714
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.124485
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.097421
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.079791
                        }
                      ],
                      "others_margin": -0.014763
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.12827809154987335,
                    "model_output": 0.1283,
                    "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.0931
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0477
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0304
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0217
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0171
                        }
                      ],
                      "others": -0.0291,
                      "total": 0.1283,
                      "log_link": true,
                      "margin_base": -1.126872,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.338587
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.23133
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.181154
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.13245
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.10281
                        }
                      ],
                      "others_margin": -0.205252
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.4742037355899811,
                    "model_output": 0.4742,
                    "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.3022
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1109
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0566
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0501
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0447
                        }
                      ],
                      "others": -0.1731,
                      "total": 0.4742,
                      "log_link": false,
                      "margin_base": 0.989981,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.302205
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.110948
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.05656
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.050109
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.044743
                        }
                      ],
                      "others_margin": -0.173109
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.972701072692871,
                    "model_output": 6.9727,
                    "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.0935
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0336
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0323
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0306
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0282
                        }
                      ],
                      "others": -0.0287,
                      "total": 6.9727,
                      "log_link": false,
                      "margin_base": 6.850356,
                      "item_margins": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.093487
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.03359
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.032272
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.030618
                        },
                        {
                          "name": "rating",
                          "margin": 0.028214
                        }
                      ],
                      "others_margin": -0.028657
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 6,
                  "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.9995, quality 0.501)",
              "stats": {
                "key_pass": 0.5343,
                "expected_assists": 0.0359,
                "assists": 0.0468,
                "assist_rate": 0.0468,
                "expected_goals": 0.0329,
                "goals": 0.0424,
                "goal_rate": 0.0424,
                "shots_on_target": 0.1282,
                "total_shots": 0.474,
                "rating": 6.9727,
                "minutes": 89.0,
                "total_pass": 54.3906,
                "accurate_pass": 49.0258,
                "duels_won": 6.2245,
                "total_long_balls": 3.0403,
                "accurate_long_balls": 1.9208,
                "total_own_half_passes": 29.1496,
                "accurate_own_half_passes": 27.7804,
                "total_opp_half_passes": 25.241,
                "accurate_opp_half_passes": 21.2454,
                "crosses_total": 0.4092,
                "crosses_accurate": 0.0,
                "touches": 70.0106,
                "possession_lost": 8.604,
                "dispossessed": 0.7549,
                "duels_lost": 5.8283,
                "aerial_won": 1.558,
                "aerial_lost": 1.3034,
                "interceptions": 0.943,
                "tackles_won": 1.2469,
                "tackles": 3.0037,
                "clearances": 2.7077,
                "total_contest": 1.1576,
                "won_contest": 0.3885,
                "challenges_lost": 0.8395,
                "fouls": 2.1613,
                "fouls_drawn": 1.2743,
                "blocks": 0.7688,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 23.2479,
                "total_progression": 98.9291,
                "progressive_carries": 0.9045,
                "shots_off_target": 0.3457
              },
              "params": {
                "market_value_eur": 8199999,
                "quality_factor": 0.5011,
                "boost_factor": 0.9995,
                "reference_quality": 0.505,
                "history_matches": 6,
                "history_shrink": 0.4545,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0591)",
              "stats": {
                "key_pass": 0.5343,
                "expected_assists": 0.0359,
                "assists": 0.0635,
                "assist_rate": 0.0635,
                "expected_goals": 0.0329,
                "goals": 0.0399,
                "goal_rate": 0.0399,
                "shots_on_target": 0.1206,
                "total_shots": 0.446,
                "rating": 6.9727,
                "minutes": 89.0,
                "total_pass": 54.3906,
                "accurate_pass": 49.0258,
                "duels_won": 6.2245,
                "total_long_balls": 3.0403,
                "accurate_long_balls": 1.9208,
                "total_own_half_passes": 29.1496,
                "accurate_own_half_passes": 27.7804,
                "total_opp_half_passes": 25.241,
                "accurate_opp_half_passes": 21.2454,
                "crosses_total": 0.4045,
                "crosses_accurate": 0.0,
                "touches": 70.0106,
                "possession_lost": 8.604,
                "dispossessed": 0.7549,
                "duels_lost": 5.8283,
                "aerial_won": 1.558,
                "aerial_lost": 1.3034,
                "interceptions": 0.9457,
                "tackles_won": 1.2901,
                "tackles": 3.0037,
                "clearances": 2.7077,
                "total_contest": 1.1576,
                "won_contest": 0.3885,
                "challenges_lost": 0.8395,
                "fouls": 2.131,
                "fouls_drawn": 1.2185,
                "blocks": 0.7688,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 23.2479,
                "total_progression": 98.9291,
                "progressive_carries": 0.9045,
                "shots_off_target": 0.3457
              },
              "params": {
                "blend_weight": 0.0591,
                "history_matches": 6,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9889,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Dep. A Coruña"
              },
              "changes": [
                {
                  "stat": "wasFouled",
                  "before": 1.2743,
                  "after": 1.2185
                },
                {
                  "stat": "wonTackle",
                  "before": 1.2469,
                  "after": 1.2901
                },
                {
                  "stat": "fouls",
                  "before": 2.1613,
                  "after": 2.131
                },
                {
                  "stat": "totalShots",
                  "before": 0.474,
                  "after": 0.446
                },
                {
                  "stat": "goalAssist",
                  "before": 0.0468,
                  "after": 0.0635
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.1282,
                  "after": 0.1206
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.5343,
                "expected_assists": 0.0359,
                "assists": 0.0635,
                "assist_rate": 0.0635,
                "expected_goals": 0.0329,
                "goals": 0.0399,
                "goal_rate": 0.0399,
                "shots_on_target": 0.1206,
                "total_shots": 0.4663,
                "rating": 6.9727,
                "minutes": 89.0,
                "total_pass": 54.3906,
                "accurate_pass": 49.0258,
                "duels_won": 6.2245,
                "total_long_balls": 3.0403,
                "accurate_long_balls": 1.9208,
                "total_own_half_passes": 29.1496,
                "accurate_own_half_passes": 27.7804,
                "total_opp_half_passes": 25.241,
                "accurate_opp_half_passes": 21.2454,
                "crosses_total": 0.4045,
                "crosses_accurate": 0.0,
                "touches": 70.0106,
                "possession_lost": 8.604,
                "dispossessed": 0.7549,
                "duels_lost": 5.8283,
                "aerial_won": 1.558,
                "aerial_lost": 1.3034,
                "interceptions": 0.9457,
                "tackles_won": 1.2901,
                "tackles": 3.0037,
                "clearances": 2.7077,
                "total_contest": 1.1576,
                "won_contest": 0.3885,
                "challenges_lost": 0.8395,
                "fouls": 2.131,
                "fouls_drawn": 1.2185,
                "blocks": 0.7688,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 23.2479,
                "total_progression": 98.9291,
                "progressive_carries": 0.9045,
                "shots_off_target": 0.3457
              },
              "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.5343,
                "expected_assists": 0.0359,
                "assists": 0.0635,
                "assist_rate": 0.0635,
                "expected_goals": 0.0283,
                "goals": 0.0344,
                "goal_rate": 0.0344,
                "shots_on_target": 0.1039,
                "total_shots": 0.4017,
                "rating": 6.9727,
                "minutes": 89.0,
                "total_pass": 54.3906,
                "accurate_pass": 49.0258,
                "duels_won": 6.2245,
                "total_long_balls": 3.0403,
                "accurate_long_balls": 1.9208,
                "total_own_half_passes": 29.1496,
                "accurate_own_half_passes": 27.7804,
                "total_opp_half_passes": 25.241,
                "accurate_opp_half_passes": 21.2454,
                "crosses_total": 0.4045,
                "crosses_accurate": 0.0,
                "touches": 70.0106,
                "possession_lost": 8.604,
                "dispossessed": 0.7549,
                "duels_lost": 5.8283,
                "aerial_won": 0.8,
                "aerial_lost": 1.3034,
                "interceptions": 0.9457,
                "tackles_won": 1.2901,
                "tackles": 3.0037,
                "clearances": 2.7077,
                "total_contest": 1.1576,
                "won_contest": 0.3885,
                "challenges_lost": 0.8395,
                "fouls": 2.131,
                "fouls_drawn": 1.2185,
                "blocks": 0.7688,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 23.2479,
                "total_progression": 98.9291,
                "progressive_carries": 0.9045,
                "shots_off_target": 0.2978,
                "duel_xg_multiplier": 0.8615,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.306,
                "pressing_faced": "LOW",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Luka Sučić",
                "opponent_faced": "Luka Sučić",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Luka Sučić",
                  "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                  "duel_win_rate": 0.306,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 0.8615,
                  "skill_edge": -0.0422,
                  "height_edge": -0.052,
                  "attacker_skill": 0.5183,
                  "defender_skill": 0.6121,
                  "attacker_role": "CDM",
                  "attacker_mv_price_index": 0.85,
                  "defender_adjusted_parts": [
                    {
                      "player": "Luka Sučić",
                      "market_value": 16300000,
                      "role": "CM",
                      "price_index": 0.9,
                      "adjusted_quality": 0.6121
                    }
                  ],
                  "xg_override": 0.0283
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 1.558,
                  "after": 0.8
                },
                {
                  "stat": "totalShots",
                  "before": 0.4663,
                  "after": 0.4017
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.3457,
                  "after": 0.2978
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.1206,
                  "after": 0.1039
                },
                {
                  "stat": "goals",
                  "before": 0.0399,
                  "after": 0.0344
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 0.81 (squad xG sum 0.8013, xG scale 1.0047, xA scale 1.0047, team xA 0.63 = 0.78 x lambda)",
              "stats": {
                "key_pass": 0.5343,
                "expected_assists": 0.0361,
                "assist_rate": 0.0635,
                "assists": 0,
                "expected_goals": 0.0284,
                "goal_rate": 0.0344,
                "goals": 0,
                "shots_on_target": 0.1039,
                "total_shots": 0.4017,
                "rating": 6.9727,
                "minutes": 89.0,
                "total_pass": 54.3906,
                "accurate_pass": 49.0258,
                "duels_won": 6.2245,
                "total_long_balls": 3.0403,
                "accurate_long_balls": 1.9208,
                "total_own_half_passes": 29.1496,
                "accurate_own_half_passes": 27.7804,
                "total_opp_half_passes": 25.241,
                "accurate_opp_half_passes": 21.2454,
                "crosses_total": 0.4045,
                "crosses_accurate": 0.0,
                "touches": 70.0106,
                "possession_lost": 8.604,
                "dispossessed": 0.7549,
                "duels_lost": 5.8283,
                "aerial_won": 0.8,
                "aerial_lost": 1.3034,
                "interceptions": 0.9457,
                "tackles_won": 1.2901,
                "tackles": 3.0037,
                "clearances": 2.7077,
                "total_contest": 1.1576,
                "won_contest": 0.3885,
                "challenges_lost": 0.8395,
                "fouls": 2.131,
                "fouls_drawn": 1.2185,
                "blocks": 0.7688,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 23.2479,
                "total_progression": 98.9291,
                "progressive_carries": 0.9045,
                "shots_off_target": 0.2978,
                "duel_xg_multiplier": 0.8615,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.306,
                "pressing_faced": "LOW",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Luka Sučić",
                "opponent_faced": "Luka Sučić",
                "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.0779,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 0.805,
                "squad_xg_sum": 0.8013,
                "squad_xa_sum": 0.6279,
                "team_expected_assists": 0.6308,
                "team_xa_to_xg_ratio": 0.7836,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0047,
                "xa_scale": 1.0047,
                "opponent_lambda": 1.498,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 3 by projected rating, fifa_overall 73.0; not used by the projection)",
              "stats": {
                "key_pass": 0.5343,
                "expected_assists": 0.0361,
                "assist_rate": 0.0635,
                "assists": 0,
                "expected_goals": 0.0284,
                "goal_rate": 0.0344,
                "goals": 0,
                "shots_on_target": 0.1039,
                "total_shots": 0.4017,
                "rating": 6.9727,
                "minutes": 89.0,
                "total_pass": 54.3906,
                "accurate_pass": 49.0258,
                "duels_won": 6.2245,
                "total_long_balls": 3.0403,
                "accurate_long_balls": 1.9208,
                "total_own_half_passes": 29.1496,
                "accurate_own_half_passes": 27.7804,
                "total_opp_half_passes": 25.241,
                "accurate_opp_half_passes": 21.2454,
                "crosses_total": 0.4045,
                "crosses_accurate": 0.0,
                "touches": 70.0106,
                "possession_lost": 8.604,
                "dispossessed": 0.7549,
                "duels_lost": 5.8283,
                "aerial_won": 0.8,
                "aerial_lost": 1.3034,
                "interceptions": 0.9457,
                "tackles_won": 1.2901,
                "tackles": 3.0037,
                "clearances": 2.7077,
                "total_contest": 1.1576,
                "won_contest": 0.3885,
                "challenges_lost": 0.8395,
                "fouls": 2.131,
                "fouls_drawn": 1.2185,
                "blocks": 0.7688,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 23.2479,
                "total_progression": 98.9291,
                "progressive_carries": 0.9045,
                "shots_off_target": 0.2978,
                "duel_xg_multiplier": 0.8615,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.306,
                "pressing_faced": "LOW",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Luka Sučić",
                "opponent_faced": "Luka Sučić",
                "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.0779,
                "creation_factor": 1.25,
                "fifa_overall": 73.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": 3910,
                "fifa_rank": 3530.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.5343,
                "expected_assists": 0.0361,
                "assist_rate": 0.0635,
                "assists": 0,
                "expected_goals": 0.0284,
                "goal_rate": 0.0344,
                "goals": 0,
                "shots_on_target": 0.1039,
                "total_shots": 0.4017,
                "rating": 6.9727,
                "minutes": 89.0,
                "total_pass": 54.3906,
                "accurate_pass": 49.0258,
                "duels_won": 6.2245,
                "total_long_balls": 3.0403,
                "accurate_long_balls": 1.9208,
                "total_own_half_passes": 29.1496,
                "accurate_own_half_passes": 27.7804,
                "total_opp_half_passes": 25.241,
                "accurate_opp_half_passes": 21.2454,
                "crosses_total": 0.4045,
                "crosses_accurate": 0.0,
                "touches": 70.0106,
                "possession_lost": 8.604,
                "dispossessed": 0.7549,
                "duels_lost": 5.8283,
                "aerial_won": 0.8,
                "aerial_lost": 1.3034,
                "interceptions": 0.9457,
                "tackles_won": 1.2901,
                "tackles": 3.0037,
                "clearances": 2.7077,
                "total_contest": 1.1576,
                "won_contest": 0.3885,
                "challenges_lost": 0.8395,
                "fouls": 2.131,
                "fouls_drawn": 1.2185,
                "blocks": 0.7688,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 23.2479,
                "total_progression": 98.9291,
                "progressive_carries": 0.9045,
                "shots_off_target": 0.2978,
                "duel_xg_multiplier": 0.8615,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.306,
                "pressing_faced": "LOW",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Luka Sučić",
                "opponent_faced": "Luka Sučić",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.028,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0779,
                "creation_factor": 1.25,
                "fifa_overall": 73.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.028,
                "scorer_weight": 0.0306,
                "squad_weight_total": 0.751,
                "weight_share": 0.0408,
                "finishing_factor": 1.0779,
                "appearance_weight": 1.0,
                "weight_rank": 11,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "key_pass": 0.5343,
                "expected_assists": 0.0361,
                "assist_rate": 0.0635,
                "assists": 0,
                "expected_goals": 0.0284,
                "goal_rate": 0.0344,
                "goals": 0,
                "shots_on_target": 0.1039,
                "total_shots": 0.4017,
                "rating": 6.9727,
                "minutes": 89.0,
                "total_pass": 54.3906,
                "accurate_pass": 49.0258,
                "duels_won": 6.2245,
                "total_long_balls": 3.0403,
                "accurate_long_balls": 1.9208,
                "total_own_half_passes": 29.1496,
                "accurate_own_half_passes": 27.7804,
                "total_opp_half_passes": 25.241,
                "accurate_opp_half_passes": 21.2454,
                "crosses_total": 0.4045,
                "crosses_accurate": 0.0,
                "touches": 70.0106,
                "possession_lost": 8.604,
                "dispossessed": 0.7549,
                "duels_lost": 5.8283,
                "aerial_won": 0.8,
                "aerial_lost": 1.3034,
                "interceptions": 0.9457,
                "tackles_won": 1.2901,
                "tackles": 3.0037,
                "clearances": 2.7077,
                "total_contest": 1.1576,
                "won_contest": 0.3885,
                "challenges_lost": 0.8395,
                "fouls": 2.131,
                "fouls_drawn": 1.2185,
                "blocks": 0.7688,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 23.2479,
                "total_progression": 98.9291,
                "progressive_carries": 0.9045,
                "shots_off_target": 0.2978,
                "duel_xg_multiplier": 0.8615,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.306,
                "pressing_faced": "LOW",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Luka Sučić",
                "opponent_faced": "Luka Sučić",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.028,
                "projected_assists": 0,
                "assist_probability": 0.0355,
                "finishing_factor": 1.0779,
                "creation_factor": 1.25,
                "fifa_overall": 73.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0355,
                "provider_weight": 0.0451,
                "squad_weight_total": 0.6285,
                "weight_share": 0.0718,
                "creation_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 6,
                "eligible_players": 13
              }
            }
          ]
        },
        "Mario Soriano": {
          "player_id": 984622,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 21,
          "height": 163,
          "market_value": 4600000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.1179,
            "assist_rate": 0.1034,
            "assists": 0,
            "expected_goals": 0.051,
            "goal_rate": 0.0514,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 7.1137,
            "minutes": 82,
            "total_pass": 53,
            "accurate_pass": 48,
            "duels_won": 2,
            "total_long_balls": 6,
            "accurate_long_balls": 3,
            "total_own_half_passes": 24,
            "accurate_own_half_passes": 24,
            "total_opp_half_passes": 29,
            "accurate_opp_half_passes": 25,
            "crosses_total": 2,
            "crosses_accurate": 1,
            "touches": 64,
            "possession_lost": 9.0389,
            "dispossessed": 1.559,
            "duels_lost": 3,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 1,
            "clearances": 1,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 1,
            "big_chances_missed": 0,
            "xgot": 0.0408,
            "ball_carries": 23,
            "total_progression": 50,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.816,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.5,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.275,
            "pressing_faced": "LOW",
            "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
            "numerical_situation": "1v1",
            "opponent_defenders": "Luka Sučić",
            "opponent_faced": "Luka Sučić",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0497,
            "projected_assists": 0,
            "assist_probability": 0.1112,
            "finishing_factor": 1.006,
            "creation_factor": 0.9164,
            "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": "home",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 7.6,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.0243,
                "expected_assists": 0.3098,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 61,
                "accurate_pass": 57,
                "key_pass": 3,
                "interceptions": 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": 16416343,
              "match_date": "2026-09-16",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Deportivo de A Coruña",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 33,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0156,
                "expected_assists": 0.0049,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 23,
                "accurate_pass": 21,
                "tackles": 2,
                "interceptions": 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": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416326,
              "match_date": "2026-09-13",
              "home_team": "Getafe",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2285,
                "expected_assists": 0.0571,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 60,
                "accurate_pass": 49,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 5,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416324,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 66,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0287,
                "total_shots": 0,
                "total_pass": 44,
                "accurate_pass": 42,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416291,
              "match_date": "2026-08-30",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Valencia",
              "stats": {
                "minutes": 73,
                "rating": 7.3,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.0158,
                "expected_assists": 0.3162,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 57,
                "accurate_pass": 55,
                "key_pass": 2,
                "tackles": 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": 16416307,
              "match_date": "2026-08-24",
              "home_team": "Málaga CF",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 85,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0291,
                "expected_assists": 0.0122,
                "total_shots": 1,
                "total_pass": 47,
                "accurate_pass": 43,
                "tackles": 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": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421050,
              "match_date": "2026-08-17",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Elche",
              "stats": {
                "minutes": 71,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0427,
                "expected_assists": 0.0145,
                "total_shots": 1,
                "total_pass": 42,
                "accurate_pass": 37,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 1,
                "duels_won": 4,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 3373,
            "combined_rank_score": 1333.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 257.0,
            "sofascore_rating": 7.1,
            "sofascore_appearances": 1.0,
            "fifa_rank": 2409.0,
            "fifa_overall": 75.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 1,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.1137,
            "source_file": "data/player_rankings.csv",
            "player_name": "Mario Soriano",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Maxime Estève",
                  "ranking": 3368
                },
                {
                  "player_name": "Fotis Ioannidis",
                  "ranking": 3369
                },
                {
                  "player_name": "Álvaro Rodriguez",
                  "ranking": 3370
                },
                {
                  "player_name": "Franjo Ivanović",
                  "ranking": 3371
                },
                {
                  "player_name": "Mika Biereth",
                  "ranking": 3372
                }
              ],
              "lower": [
                {
                  "player_name": "Ernest Poku",
                  "ranking": 3374
                },
                {
                  "player_name": "Dilane Bakwa",
                  "ranking": 3375
                },
                {
                  "player_name": "Martin Erlić",
                  "ranking": 3376
                },
                {
                  "player_name": "Atakan Karazor",
                  "ranking": 3377
                },
                {
                  "player_name": "Lesley Ugochukwu",
                  "ranking": 3378
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.713,
          "history_matches": 7,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 7,
            "data_confidence": 0.713,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.994,
            "fbref_prior_metrics": {
              "squad": "Dep. A Coruña",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 226.0,
              "goals_per90": 0.0,
              "assists_per90": 0.4,
              "shots_per90": 1.19,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.1667
            },
            "rationale": "XGBoost regressor (M_service) evaluated 7 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Dep. A Coruña, rel: 0.17, gls/90: 0.0, ast/90: 0.4)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1.404,
                "expected_assists": 0.1181,
                "assists": 0.0917,
                "assist_rate": 0.0917,
                "expected_goals": 0.0626,
                "goals": 0.0664,
                "goal_rate": 0.0664,
                "shots_on_target": 0.2547,
                "total_shots": 1.0151,
                "rating": 7.1137,
                "minutes": 81.99,
                "total_pass": 53.4555,
                "accurate_pass": 48.5595,
                "duels_won": 2.413,
                "total_long_balls": 5.6282,
                "accurate_long_balls": 3.0923,
                "total_own_half_passes": 24.5261,
                "accurate_own_half_passes": 23.7584,
                "total_opp_half_passes": 28.9293,
                "accurate_opp_half_passes": 24.801,
                "crosses_total": 1.7566,
                "crosses_accurate": 0.6502,
                "touches": 64.4523,
                "possession_lost": 9.0935,
                "dispossessed": 1.5684,
                "duels_lost": 2.6562,
                "aerial_won": 0.174,
                "aerial_lost": 0.0,
                "interceptions": 0.3887,
                "tackles_won": 0.4184,
                "tackles": 0.8177,
                "clearances": 0.5806,
                "total_contest": 0.4094,
                "won_contest": 0.4094,
                "challenges_lost": 0.2047,
                "fouls": 0.8831,
                "fouls_drawn": 1.0118,
                "blocks": 0.2408,
                "big_chances_created": 0.8343,
                "big_chances_missed": 0.0,
                "xgot": 0.0501,
                "ball_carries": 23.4283,
                "total_progression": 49.9981,
                "progressive_carries": 0.776,
                "shots_off_target": 0.7604
              },
              "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": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2208,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Sevilla",
                    "minutes": 33.0,
                    "is_starting": false,
                    "weight": 0.1877,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1595,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Villarreal",
                    "minutes": 66.0,
                    "is_starting": true,
                    "weight": 0.1356,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Valencia",
                    "minutes": 73.0,
                    "is_starting": true,
                    "weight": 0.1152,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Málaga CF",
                    "minutes": 85.0,
                    "is_starting": true,
                    "weight": 0.098,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-17",
                    "opponent": "Elche",
                    "minutes": 71.0,
                    "is_starting": true,
                    "weight": 0.0833,
                    "rating": 7.1
                  }
                ],
                "feature_row": {
                  "history_matches": 7.0,
                  "is_starting_11": 1.0,
                  "totalShots": 1.0852,
                  "creative_index": 0.5269,
                  "expectedGoals": 0.053,
                  "expectedAssists": 0.1211,
                  "onTargetScoringAttempt": 0.1595
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.4039961099624634,
                    "model_output": 1.404,
                    "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.1296
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0852
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0842
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0772
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0583
                        }
                      ],
                      "others": 0.0838,
                      "total": 1.404,
                      "log_link": true,
                      "margin_base": -0.121432,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.136573
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.080601
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.073758
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.063157
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.045126
                        }
                      ],
                      "others_margin": 0.061539
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.11807097494602203,
                    "model_output": 0.1181,
                    "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.0115
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0106
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0106
                        },
                        {
                          "name": "wonTackle",
                          "contribution": 0.0035
                        },
                        {
                          "name": "goalAssist",
                          "contribution": 0.0033
                        }
                      ],
                      "others": 0.0143,
                      "total": 0.1181,
                      "log_link": true,
                      "margin_base": -2.458929,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.12574
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.103833
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.103253
                        },
                        {
                          "name": "wonTackle",
                          "margin": 0.035213
                        },
                        {
                          "name": "goalAssist",
                          "margin": 0.032411
                        }
                      ],
                      "others_margin": 0.128516
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.09167064726352692,
                    "model_output": 0.0917,
                    "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.0117
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0064
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0055
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0048
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0034
                        }
                      ],
                      "others": -0.0025,
                      "total": 0.0917,
                      "log_link": true,
                      "margin_base": -2.456317,
                      "item_margins": [
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.147142
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.082489
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.066164
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.05429
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.037274
                        }
                      ],
                      "others_margin": -0.026312
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.06257276237010956,
                    "model_output": 0.0626,
                    "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": "opp_half_pass_pct",
                          "contribution": -0.0133
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0087
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0085
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0034
                        },
                        {
                          "name": "goals",
                          "contribution": -0.003
                        }
                      ],
                      "others": -0.0111,
                      "total": 0.0626,
                      "log_link": true,
                      "margin_base": -2.368441,
                      "item_margins": [
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.152962
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.115281
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.112382
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.043928
                        },
                        {
                          "name": "goals",
                          "margin": -0.040523
                        }
                      ],
                      "others_margin": -0.162673
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.06637712568044662,
                    "model_output": 0.0664,
                    "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.0117
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0101
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0094
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0074
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0058
                        }
                      ],
                      "others": -0.006,
                      "total": 0.0664,
                      "log_link": true,
                      "margin_base": -2.337105,
                      "item_margins": [
                        {
                          "name": "duelLost",
                          "margin": -0.128535
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.112316
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.103836
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.089866
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.076804
                        }
                      ],
                      "others_margin": -0.088572
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.2546738386154175,
                    "model_output": 0.2547,
                    "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": "opp_half_pass_pct",
                          "contribution": -0.0551
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0343
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0282
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0248
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0194
                        }
                      ],
                      "others": -0.0325,
                      "total": 0.2547,
                      "log_link": true,
                      "margin_base": -1.126872,
                      "item_margins": [
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.186438
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.120028
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.089046
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.07785
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.065254
                        }
                      ],
                      "others_margin": -0.120431
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.0150624513626099,
                    "model_output": 1.0151,
                    "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.1357
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.051
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0501
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0304
                        },
                        {
                          "name": "dispossessed",
                          "contribution": 0.0298
                        }
                      ],
                      "others": -0.1109,
                      "total": 1.0151,
                      "log_link": false,
                      "margin_base": 0.989981,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.135701
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.050993
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.050084
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.030382
                        },
                        {
                          "name": "dispossessed",
                          "margin": 0.029787
                        }
                      ],
                      "others_margin": -0.110933
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.113653182983398,
                    "model_output": 7.1137,
                    "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.1069
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0915
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.03
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0255
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0194
                        }
                      ],
                      "others": 0.05,
                      "total": 7.1137,
                      "log_link": false,
                      "margin_base": 6.850356,
                      "item_margins": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.106935
                        },
                        {
                          "name": "rating",
                          "margin": 0.091459
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.030045
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.025487
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.019366
                        }
                      ],
                      "others_margin": 0.050095
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 7,
                  "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.9940, quality 0.457)",
              "stats": {
                "key_pass": 1.3956,
                "expected_assists": 0.1174,
                "assists": 0.0911,
                "assist_rate": 0.0911,
                "expected_goals": 0.0622,
                "goals": 0.066,
                "goal_rate": 0.066,
                "shots_on_target": 0.2531,
                "total_shots": 1.009,
                "rating": 7.1137,
                "minutes": 81.99,
                "total_pass": 53.1348,
                "accurate_pass": 48.2681,
                "duels_won": 2.3985,
                "total_long_balls": 5.5944,
                "accurate_long_balls": 3.0737,
                "total_own_half_passes": 24.3789,
                "accurate_own_half_passes": 23.6158,
                "total_opp_half_passes": 28.7557,
                "accurate_opp_half_passes": 24.6522,
                "crosses_total": 1.7461,
                "crosses_accurate": 0.6463,
                "touches": 64.0656,
                "possession_lost": 9.0389,
                "dispossessed": 1.559,
                "duels_lost": 2.6403,
                "aerial_won": 0.173,
                "aerial_lost": 0.0,
                "interceptions": 0.3864,
                "tackles_won": 0.4159,
                "tackles": 0.8128,
                "clearances": 0.5771,
                "total_contest": 0.4069,
                "won_contest": 0.4069,
                "challenges_lost": 0.2035,
                "fouls": 0.8778,
                "fouls_drawn": 1.0057,
                "blocks": 0.2394,
                "big_chances_created": 0.8293,
                "big_chances_missed": 0.0,
                "xgot": 0.0498,
                "ball_carries": 23.2877,
                "total_progression": 49.6981,
                "progressive_carries": 0.7713,
                "shots_off_target": 0.7558
              },
              "params": {
                "market_value_eur": 4600000,
                "quality_factor": 0.4572,
                "boost_factor": 0.994,
                "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.0451)",
              "stats": {
                "key_pass": 1.3956,
                "expected_assists": 0.1174,
                "assists": 0.1034,
                "assist_rate": 0.1034,
                "expected_goals": 0.0622,
                "goals": 0.063,
                "goal_rate": 0.063,
                "shots_on_target": 0.2417,
                "total_shots": 1.0124,
                "rating": 7.1137,
                "minutes": 81.99,
                "total_pass": 53.1348,
                "accurate_pass": 48.2681,
                "duels_won": 2.3985,
                "total_long_balls": 5.5944,
                "accurate_long_balls": 3.0737,
                "total_own_half_passes": 24.3789,
                "accurate_own_half_passes": 23.6158,
                "total_opp_half_passes": 28.7557,
                "accurate_opp_half_passes": 24.6522,
                "crosses_total": 1.7002,
                "crosses_accurate": 0.6463,
                "touches": 64.0656,
                "possession_lost": 9.0389,
                "dispossessed": 1.559,
                "duels_lost": 2.6403,
                "aerial_won": 0.173,
                "aerial_lost": 0.0,
                "interceptions": 0.3854,
                "tackles_won": 0.43,
                "tackles": 0.8128,
                "clearances": 0.5771,
                "total_contest": 0.4069,
                "won_contest": 0.4069,
                "challenges_lost": 0.2035,
                "fouls": 0.8546,
                "fouls_drawn": 1.0097,
                "blocks": 0.2394,
                "big_chances_created": 0.8293,
                "big_chances_missed": 0.0,
                "xgot": 0.0498,
                "ball_carries": 23.2877,
                "total_progression": 49.6981,
                "progressive_carries": 0.7713,
                "shots_off_target": 0.7558
              },
              "params": {
                "blend_weight": 0.0451,
                "history_matches": 7,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.911,
                "prior_reliability": 0.1667,
                "competition": "La Liga",
                "squad": "Dep. A Coruña"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 1.7461,
                  "after": 1.7002
                },
                {
                  "stat": "fouls",
                  "before": 0.8778,
                  "after": 0.8546
                },
                {
                  "stat": "wonTackle",
                  "before": 0.4159,
                  "after": 0.43
                },
                {
                  "stat": "goalAssist",
                  "before": 0.0911,
                  "after": 0.1034
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.2531,
                  "after": 0.2417
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1.3956,
                "expected_assists": 0.1174,
                "assists": 0.1034,
                "assist_rate": 0.1034,
                "expected_goals": 0.0622,
                "goals": 0.063,
                "goal_rate": 0.063,
                "shots_on_target": 0.2417,
                "total_shots": 1.0124,
                "rating": 7.1137,
                "minutes": 81.99,
                "total_pass": 53.1348,
                "accurate_pass": 48.2681,
                "duels_won": 2.3985,
                "total_long_balls": 5.5944,
                "accurate_long_balls": 3.0737,
                "total_own_half_passes": 24.3789,
                "accurate_own_half_passes": 23.6158,
                "total_opp_half_passes": 28.7557,
                "accurate_opp_half_passes": 24.6522,
                "crosses_total": 1.7002,
                "crosses_accurate": 0.6463,
                "touches": 64.0656,
                "possession_lost": 9.0389,
                "dispossessed": 1.559,
                "duels_lost": 2.6403,
                "aerial_won": 0.173,
                "aerial_lost": 0.0,
                "interceptions": 0.3854,
                "tackles_won": 0.43,
                "tackles": 0.8128,
                "clearances": 0.5771,
                "total_contest": 0.4069,
                "won_contest": 0.4069,
                "challenges_lost": 0.2035,
                "fouls": 0.8546,
                "fouls_drawn": 1.0097,
                "blocks": 0.2394,
                "big_chances_created": 0.8293,
                "big_chances_missed": 0.0,
                "xgot": 0.0498,
                "ball_carries": 23.2877,
                "total_progression": 49.6981,
                "progressive_carries": 0.7713,
                "shots_off_target": 0.7558
              },
              "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.3956,
                "expected_assists": 0.1174,
                "assists": 0.1034,
                "assist_rate": 0.1034,
                "expected_goals": 0.0508,
                "goals": 0.0514,
                "goal_rate": 0.0514,
                "shots_on_target": 0.1972,
                "total_shots": 0.8261,
                "rating": 7.1137,
                "minutes": 81.99,
                "total_pass": 53.1348,
                "accurate_pass": 48.2681,
                "duels_won": 2.3985,
                "total_long_balls": 5.5944,
                "accurate_long_balls": 3.0737,
                "total_own_half_passes": 24.3789,
                "accurate_own_half_passes": 23.6158,
                "total_opp_half_passes": 28.7557,
                "accurate_opp_half_passes": 24.6522,
                "crosses_total": 1.7002,
                "crosses_accurate": 0.6463,
                "touches": 64.0656,
                "possession_lost": 9.0389,
                "dispossessed": 1.559,
                "duels_lost": 2.6403,
                "aerial_won": 0.6,
                "aerial_lost": 0.0,
                "interceptions": 0.3854,
                "tackles_won": 0.43,
                "tackles": 0.8128,
                "clearances": 0.5771,
                "total_contest": 0.4069,
                "won_contest": 0.4069,
                "challenges_lost": 0.2035,
                "fouls": 0.8546,
                "fouls_drawn": 1.0097,
                "blocks": 0.2394,
                "big_chances_created": 0.8293,
                "big_chances_missed": 0.0,
                "xgot": 0.0406,
                "ball_carries": 23.2877,
                "total_progression": 49.6981,
                "progressive_carries": 0.7713,
                "shots_off_target": 0.6167,
                "duel_xg_multiplier": 0.816,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.275,
                "pressing_faced": "LOW",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Luka Sučić",
                "opponent_faced": "Luka Sučić",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Luka Sučić",
                  "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                  "duel_win_rate": 0.275,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 0.816,
                  "skill_edge": -0.0652,
                  "height_edge": -0.06,
                  "attacker_skill": 0.4672,
                  "defender_skill": 0.6121,
                  "attacker_role": "CDM",
                  "attacker_mv_price_index": 0.85,
                  "defender_adjusted_parts": [
                    {
                      "player": "Luka Sučić",
                      "market_value": 16300000,
                      "role": "CM",
                      "price_index": 0.9,
                      "adjusted_quality": 0.6121
                    }
                  ],
                  "xg_override": 0.0508
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.173,
                  "after": 0.6
                },
                {
                  "stat": "totalShots",
                  "before": 1.0124,
                  "after": 0.8261
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.7558,
                  "after": 0.6167
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.2417,
                  "after": 0.1972
                },
                {
                  "stat": "goals",
                  "before": 0.063,
                  "after": 0.0514
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.0622,
                  "after": 0.0508
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.0498,
                  "after": 0.0406
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 0.81 (squad xG sum 0.8013, xG scale 1.0047, xA scale 1.0047, team xA 0.63 = 0.78 x lambda)",
              "stats": {
                "key_pass": 1.3956,
                "expected_assists": 0.1179,
                "assist_rate": 0.1034,
                "assists": 0,
                "expected_goals": 0.051,
                "goal_rate": 0.0514,
                "goals": 0,
                "shots_on_target": 0.1972,
                "total_shots": 0.8261,
                "rating": 7.1137,
                "minutes": 81.99,
                "total_pass": 53.1348,
                "accurate_pass": 48.2681,
                "duels_won": 2.3985,
                "total_long_balls": 5.5944,
                "accurate_long_balls": 3.0737,
                "total_own_half_passes": 24.3789,
                "accurate_own_half_passes": 23.6158,
                "total_opp_half_passes": 28.7557,
                "accurate_opp_half_passes": 24.6522,
                "crosses_total": 1.7002,
                "crosses_accurate": 0.6463,
                "touches": 64.0656,
                "possession_lost": 9.0389,
                "dispossessed": 1.559,
                "duels_lost": 2.6403,
                "aerial_won": 0.6,
                "aerial_lost": 0.0,
                "interceptions": 0.3854,
                "tackles_won": 0.43,
                "tackles": 0.8128,
                "clearances": 0.5771,
                "total_contest": 0.4069,
                "won_contest": 0.4069,
                "challenges_lost": 0.2035,
                "fouls": 0.8546,
                "fouls_drawn": 1.0097,
                "blocks": 0.2394,
                "big_chances_created": 0.8293,
                "big_chances_missed": 0.0,
                "xgot": 0.0408,
                "ball_carries": 23.2877,
                "total_progression": 49.6981,
                "progressive_carries": 0.7713,
                "shots_off_target": 0.6167,
                "duel_xg_multiplier": 0.816,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.275,
                "pressing_faced": "LOW",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Luka Sučić",
                "opponent_faced": "Luka Sučić",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.006,
                "creation_factor": 0.9164
              },
              "params": {
                "team_lambda": 0.805,
                "squad_xg_sum": 0.8013,
                "squad_xa_sum": 0.6279,
                "team_expected_assists": 0.6308,
                "team_xa_to_xg_ratio": 0.7836,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0047,
                "xa_scale": 1.0047,
                "opponent_lambda": 1.498,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 1 by projected rating, fifa_overall 75.0; not used by the projection)",
              "stats": {
                "key_pass": 1.3956,
                "expected_assists": 0.1179,
                "assist_rate": 0.1034,
                "assists": 0,
                "expected_goals": 0.051,
                "goal_rate": 0.0514,
                "goals": 0,
                "shots_on_target": 0.1972,
                "total_shots": 0.8261,
                "rating": 7.1137,
                "minutes": 81.99,
                "total_pass": 53.1348,
                "accurate_pass": 48.2681,
                "duels_won": 2.3985,
                "total_long_balls": 5.5944,
                "accurate_long_balls": 3.0737,
                "total_own_half_passes": 24.3789,
                "accurate_own_half_passes": 23.6158,
                "total_opp_half_passes": 28.7557,
                "accurate_opp_half_passes": 24.6522,
                "crosses_total": 1.7002,
                "crosses_accurate": 0.6463,
                "touches": 64.0656,
                "possession_lost": 9.0389,
                "dispossessed": 1.559,
                "duels_lost": 2.6403,
                "aerial_won": 0.6,
                "aerial_lost": 0.0,
                "interceptions": 0.3854,
                "tackles_won": 0.43,
                "tackles": 0.8128,
                "clearances": 0.5771,
                "total_contest": 0.4069,
                "won_contest": 0.4069,
                "challenges_lost": 0.2035,
                "fouls": 0.8546,
                "fouls_drawn": 1.0097,
                "blocks": 0.2394,
                "big_chances_created": 0.8293,
                "big_chances_missed": 0.0,
                "xgot": 0.0408,
                "ball_carries": 23.2877,
                "total_progression": 49.6981,
                "progressive_carries": 0.7713,
                "shots_off_target": 0.6167,
                "duel_xg_multiplier": 0.816,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.275,
                "pressing_faced": "LOW",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Luka Sučić",
                "opponent_faced": "Luka Sučić",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.006,
                "creation_factor": 0.9164,
                "fifa_overall": 75.0
              },
              "params": {
                "match_squad_rank": 1,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3373,
                "fifa_rank": 2409.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 75.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "key_pass": 1.3956,
                "expected_assists": 0.1179,
                "assist_rate": 0.1034,
                "assists": 0,
                "expected_goals": 0.051,
                "goal_rate": 0.0514,
                "goals": 0,
                "shots_on_target": 0.1972,
                "total_shots": 0.8261,
                "rating": 7.1137,
                "minutes": 81.99,
                "total_pass": 53.1348,
                "accurate_pass": 48.2681,
                "duels_won": 2.3985,
                "total_long_balls": 5.5944,
                "accurate_long_balls": 3.0737,
                "total_own_half_passes": 24.3789,
                "accurate_own_half_passes": 23.6158,
                "total_opp_half_passes": 28.7557,
                "accurate_opp_half_passes": 24.6522,
                "crosses_total": 1.7002,
                "crosses_accurate": 0.6463,
                "touches": 64.0656,
                "possession_lost": 9.0389,
                "dispossessed": 1.559,
                "duels_lost": 2.6403,
                "aerial_won": 0.6,
                "aerial_lost": 0.0,
                "interceptions": 0.3854,
                "tackles_won": 0.43,
                "tackles": 0.8128,
                "clearances": 0.5771,
                "total_contest": 0.4069,
                "won_contest": 0.4069,
                "challenges_lost": 0.2035,
                "fouls": 0.8546,
                "fouls_drawn": 1.0097,
                "blocks": 0.2394,
                "big_chances_created": 0.8293,
                "big_chances_missed": 0.0,
                "xgot": 0.0408,
                "ball_carries": 23.2877,
                "total_progression": 49.6981,
                "progressive_carries": 0.7713,
                "shots_off_target": 0.6167,
                "duel_xg_multiplier": 0.816,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.275,
                "pressing_faced": "LOW",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Luka Sučić",
                "opponent_faced": "Luka Sučić",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0497,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.006,
                "creation_factor": 0.9164,
                "fifa_overall": 75.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0497,
                "scorer_weight": 0.0513,
                "squad_weight_total": 0.751,
                "weight_share": 0.0683,
                "finishing_factor": 1.006,
                "appearance_weight": 1.0,
                "weight_rank": 6,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "key_pass": 1.3956,
                "expected_assists": 0.1179,
                "assist_rate": 0.1034,
                "assists": 0,
                "expected_goals": 0.051,
                "goal_rate": 0.0514,
                "goals": 0,
                "shots_on_target": 0.1972,
                "total_shots": 0.8261,
                "rating": 7.1137,
                "minutes": 81.99,
                "total_pass": 53.1348,
                "accurate_pass": 48.2681,
                "duels_won": 2.3985,
                "total_long_balls": 5.5944,
                "accurate_long_balls": 3.0737,
                "total_own_half_passes": 24.3789,
                "accurate_own_half_passes": 23.6158,
                "total_opp_half_passes": 28.7557,
                "accurate_opp_half_passes": 24.6522,
                "crosses_total": 1.7002,
                "crosses_accurate": 0.6463,
                "touches": 64.0656,
                "possession_lost": 9.0389,
                "dispossessed": 1.559,
                "duels_lost": 2.6403,
                "aerial_won": 0.6,
                "aerial_lost": 0.0,
                "interceptions": 0.3854,
                "tackles_won": 0.43,
                "tackles": 0.8128,
                "clearances": 0.5771,
                "total_contest": 0.4069,
                "won_contest": 0.4069,
                "challenges_lost": 0.2035,
                "fouls": 0.8546,
                "fouls_drawn": 1.0097,
                "blocks": 0.2394,
                "big_chances_created": 0.8293,
                "big_chances_missed": 0.0,
                "xgot": 0.0408,
                "ball_carries": 23.2877,
                "total_progression": 49.6981,
                "progressive_carries": 0.7713,
                "shots_off_target": 0.6167,
                "duel_xg_multiplier": 0.816,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.275,
                "pressing_faced": "LOW",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Luka Sučić",
                "opponent_faced": "Luka Sučić",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0497,
                "projected_assists": 0,
                "assist_probability": 0.1112,
                "finishing_factor": 1.006,
                "creation_factor": 0.9164,
                "fifa_overall": 75.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.1112,
                "provider_weight": 0.108,
                "squad_weight_total": 0.6285,
                "weight_share": 0.1719,
                "creation_factor": 0.9164,
                "appearance_weight": 1.0,
                "weight_rank": 2,
                "eligible_players": 13
              }
            }
          ]
        },
        "Giacomo Quagliata": {
          "player_id": 973300,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 12,
          "height": 177,
          "market_value": 2100000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 1,
            "clearances": 2,
            "aerial_won": 1,
            "total_shots": 1,
            "rating": 6.7549,
            "minutes": 90,
            "total_pass": 32,
            "accurate_pass": 24,
            "duels_won": 3,
            "total_long_balls": 5,
            "accurate_long_balls": 1,
            "total_own_half_passes": 14,
            "accurate_own_half_passes": 11,
            "total_opp_half_passes": 19,
            "accurate_opp_half_passes": 13,
            "crosses_total": 4,
            "crosses_accurate": 1,
            "touches": 56,
            "possession_lost": 15.0257,
            "dispossessed": 0.2306,
            "duels_lost": 3,
            "aerial_lost": 1,
            "total_contest": 1,
            "won_contest": 1,
            "ball_recovery": 5,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 2,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0501,
            "expected_assists": 0.0995,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.018,
            "ball_carries": 14,
            "total_progression": 44,
            "progressive_carries": 1,
            "key_pass": 1,
            "shots_off_target": 0,
            "opponent_faced": "Gonçalo Guedes",
            "matchup_zone": "Shape fallback",
            "antagonist_source": "formation_fallback",
            "projected_goals": 0,
            "goal_probability": 0.0489,
            "projected_assists": 0,
            "assist_probability": 0.0947,
            "finishing_factor": 0.8,
            "creation_factor": 0.8,
            "fifa_overall": 73.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": "home",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0357,
                "expected_assists": 0.077,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 30,
                "accurate_pass": 22,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 3,
                "clearances": 3,
                "duels_won": 3,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416343,
              "match_date": "2026-09-16",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Deportivo de A Coruña",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 29,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.002,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 8,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "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": 16416326,
              "match_date": "2026-09-13",
              "home_team": "Getafe",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1907,
                "expected_assists": 0.0127,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 2,
                "total_pass": 36,
                "accurate_pass": 22,
                "key_pass": 1,
                "tackles": 1,
                "interceptions": 2,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416324,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0156,
                "expected_assists": 0.0537,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 32,
                "accurate_pass": 26,
                "interceptions": 3,
                "clearances": 4,
                "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": 16416291,
              "match_date": "2026-08-30",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.4268,
                "total_shots": 0,
                "total_pass": 36,
                "accurate_pass": 28,
                "key_pass": 2,
                "tackles": 1,
                "interceptions": 2,
                "clearances": 1,
                "duels_won": 2,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416307,
              "match_date": "2026-08-24",
              "home_team": "Málaga CF",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 90,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0078,
                "total_shots": 0,
                "total_pass": 29,
                "accurate_pass": 25,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 6,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421050,
              "match_date": "2026-08-17",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.049,
                "total_shots": 0,
                "total_pass": 30,
                "accurate_pass": 24,
                "key_pass": 1,
                "clearances": 2,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 4186,
            "combined_rank_score": 2213.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 915.0,
            "sofascore_rating": 6.5,
            "sofascore_appearances": 3.0,
            "fifa_rank": 3511.0,
            "fifa_overall": 73.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 9,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7549,
            "source_file": "data/player_rankings.csv",
            "player_name": "Giacomo Quagliata",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Ștefan Baiaram",
                  "ranking": 4181
                },
                {
                  "player_name": "Ricardo Mangas",
                  "ranking": 4182
                },
                {
                  "player_name": "Brian Aguirre",
                  "ranking": 4183
                },
                {
                  "player_name": "Christian Fassnacht",
                  "ranking": 4184
                },
                {
                  "player_name": "Aliou Dieng",
                  "ranking": 4185
                }
              ],
              "lower": [
                {
                  "player_name": "Abdul Fatawu",
                  "ranking": 4187
                },
                {
                  "player_name": "Adama Boiro",
                  "ranking": 4188
                },
                {
                  "player_name": "Radek Vítek",
                  "ranking": 4189
                },
                {
                  "player_name": "Gonzalo",
                  "ranking": 4190
                },
                {
                  "player_name": "José Sosa",
                  "ranking": 4191
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.718,
          "history_matches": 7,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "totalTackle",
              "totalShots",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 7,
            "data_confidence": 0.718,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9916,
            "fbref_prior_metrics": {
              "squad": "Dep. A Coruña",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 270.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.2
            },
            "rationale": "XGBoost regressor (D_service) evaluated 7 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Dep. A Coruña, rel: 0.20, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1.0756,
                "tackles": 1.563,
                "tackles_won": 1.055,
                "clearances": 2.3675,
                "aerial_won": 0.6958,
                "total_shots": 0.6581,
                "rating": 6.7549,
                "minutes": 90.0,
                "total_pass": 32.3379,
                "accurate_pass": 24.1742,
                "duels_won": 3.3578,
                "total_long_balls": 4.9476,
                "accurate_long_balls": 1.308,
                "total_own_half_passes": 13.6761,
                "accurate_own_half_passes": 11.3653,
                "total_opp_half_passes": 18.6618,
                "accurate_opp_half_passes": 12.8089,
                "crosses_total": 4.1574,
                "crosses_accurate": 1.263,
                "touches": 56.5494,
                "possession_lost": 15.153,
                "dispossessed": 0.2326,
                "duels_lost": 3.0666,
                "aerial_lost": 1.0307,
                "total_contest": 1.0868,
                "won_contest": 0.6216,
                "ball_recovery": 4.6794,
                "challenges_lost": 0.6769,
                "fouls": 0.6613,
                "fouls_drawn": 1.6866,
                "blocks": 0.3477,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0503,
                "expected_assists": 0.0998,
                "shots_on_target": 0.2047,
                "big_chances_created": 0.2408,
                "xgot": 0.0181,
                "ball_carries": 14.1547,
                "total_progression": 44.2695,
                "progressive_carries": 0.6696,
                "key_pass": 0.9739,
                "shots_off_target": 0.4534
              },
              "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": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2208,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Sevilla",
                    "minutes": 29.0,
                    "is_starting": false,
                    "weight": 0.1877,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1595,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1356,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1152,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Málaga CF",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.098,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-08-17",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0833,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 7.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 1.5844,
                  "aerialWon": 0.2575,
                  "totalClearance_p90": 1.5844,
                  "totalTackle": 0.7812,
                  "totalPass": 28.6315
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 1.0755702257156372,
                    "model_output": 1.0756,
                    "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.1019
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0473
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0296
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0285
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.0276
                        }
                      ],
                      "others": 0.0409,
                      "total": 1.0756,
                      "log_link": true,
                      "margin_base": -0.152032,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.112146
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.048015
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.029795
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.02872
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": 0.027076
                        }
                      ],
                      "others_margin": 0.038721
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.5630475282669067,
                    "model_output": 1.563,
                    "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.1649
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.1191
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0868
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0544
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0393
                        }
                      ],
                      "others": 0.1932,
                      "total": 1.563,
                      "log_link": true,
                      "margin_base": 0.333417,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.111662
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.079362
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.062088
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.039372
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.028314
                        }
                      ],
                      "others_margin": 0.13195
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 1.0549646615982056,
                    "model_output": 1.055,
                    "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.0919
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0678
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0582
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0442
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": 0.0391
                        }
                      ],
                      "others": 0.12,
                      "total": 1.055,
                      "log_link": true,
                      "margin_base": -0.153422,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.101748
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.074116
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.063944
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.0482
                        },
                        {
                          "name": "aerial_dominance",
                          "margin": 0.042703
                        }
                      ],
                      "others_margin": 0.12085
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.367478847503662,
                    "model_output": 2.3675,
                    "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.7656
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.339
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.3121
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.2219
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.2016
                        }
                      ],
                      "others": 0.0885,
                      "total": 2.3675,
                      "log_link": true,
                      "margin_base": 1.235809,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": -0.251633
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.1193
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.109271
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.085671
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.084771
                        }
                      ],
                      "others_margin": 0.038063
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.6957671642303467,
                    "model_output": 0.6958,
                    "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.4918
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.122
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0941
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0763
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0383
                        }
                      ],
                      "others": -0.1249,
                      "total": 0.6958,
                      "log_link": true,
                      "margin_base": 0.320928,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": -0.441241
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.147999
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.116078
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.093069
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.047845
                        }
                      ],
                      "others_margin": -0.165282
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.6580976247787476,
                    "model_output": 0.6581,
                    "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.149
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0628
                        },
                        {
                          "name": "rating",
                          "contribution": -0.057
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0404
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0166
                        }
                      ],
                      "others": -0.026,
                      "total": 0.6581,
                      "log_link": false,
                      "margin_base": 0.47232,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.148973
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.062825
                        },
                        {
                          "name": "rating",
                          "margin": -0.056952
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.040448
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.016572
                        }
                      ],
                      "others_margin": -0.026086
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.754883766174316,
                    "model_output": 6.7549,
                    "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": "totalShots",
                          "contribution": 0.0258
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0235
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0128
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0114
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0102
                        }
                      ],
                      "others": 0.001,
                      "total": 6.7549,
                      "log_link": false,
                      "margin_base": 6.785968,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.02583
                        },
                        {
                          "name": "rating",
                          "margin": -0.023463
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.012803
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.011371
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.010174
                        }
                      ],
                      "others_margin": 0.000898
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 7,
                  "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.9916, quality 0.437)",
              "stats": {
                "interceptions": 1.0665,
                "tackles": 1.5499,
                "tackles_won": 1.0461,
                "clearances": 2.3476,
                "aerial_won": 0.6899,
                "total_shots": 0.6526,
                "rating": 6.7549,
                "minutes": 90.0,
                "total_pass": 32.0663,
                "accurate_pass": 23.9711,
                "duels_won": 3.3296,
                "total_long_balls": 4.906,
                "accurate_long_balls": 1.297,
                "total_own_half_passes": 13.5612,
                "accurate_own_half_passes": 11.2698,
                "total_opp_half_passes": 18.505,
                "accurate_opp_half_passes": 12.7013,
                "crosses_total": 4.1225,
                "crosses_accurate": 1.2524,
                "touches": 56.0744,
                "possession_lost": 15.0257,
                "dispossessed": 0.2306,
                "duels_lost": 3.0408,
                "aerial_lost": 1.022,
                "total_contest": 1.0777,
                "won_contest": 0.6164,
                "ball_recovery": 4.6401,
                "challenges_lost": 0.6712,
                "fouls": 0.6557,
                "fouls_drawn": 1.6724,
                "blocks": 0.3448,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0499,
                "expected_assists": 0.099,
                "shots_on_target": 0.203,
                "big_chances_created": 0.2388,
                "xgot": 0.0179,
                "ball_carries": 14.0358,
                "total_progression": 43.8976,
                "progressive_carries": 0.664,
                "key_pass": 0.9657,
                "shots_off_target": 0.4496
              },
              "params": {
                "market_value_eur": 2100000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9916,
                "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.0542)",
              "stats": {
                "interceptions": 1.081,
                "tackles": 1.5499,
                "tackles_won": 1.0075,
                "clearances": 2.3476,
                "aerial_won": 0.6899,
                "total_shots": 0.6173,
                "rating": 6.7549,
                "minutes": 90.0,
                "total_pass": 32.0663,
                "accurate_pass": 23.9711,
                "duels_won": 3.3296,
                "total_long_balls": 4.906,
                "accurate_long_balls": 1.297,
                "total_own_half_passes": 13.5612,
                "accurate_own_half_passes": 11.2698,
                "total_opp_half_passes": 18.505,
                "accurate_opp_half_passes": 12.7013,
                "crosses_total": 4.0256,
                "crosses_accurate": 1.2524,
                "touches": 56.0744,
                "possession_lost": 15.0257,
                "dispossessed": 0.2306,
                "duels_lost": 3.0408,
                "aerial_lost": 1.022,
                "total_contest": 1.0777,
                "won_contest": 0.6164,
                "ball_recovery": 4.6401,
                "challenges_lost": 0.6712,
                "fouls": 0.6924,
                "fouls_drawn": 1.6721,
                "blocks": 0.3448,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0499,
                "expected_assists": 0.099,
                "shots_on_target": 0.192,
                "big_chances_created": 0.2388,
                "xgot": 0.0179,
                "ball_carries": 14.0358,
                "total_progression": 43.8976,
                "progressive_carries": 0.664,
                "key_pass": 0.9657,
                "shots_off_target": 0.4496
              },
              "params": {
                "blend_weight": 0.0542,
                "history_matches": 7,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 1.0,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Dep. A Coruña"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 4.1225,
                  "after": 4.0256
                },
                {
                  "stat": "wonTackle",
                  "before": 1.0461,
                  "after": 1.0075
                },
                {
                  "stat": "fouls",
                  "before": 0.6557,
                  "after": 0.6924
                },
                {
                  "stat": "totalShots",
                  "before": 0.6526,
                  "after": 0.6173
                },
                {
                  "stat": "interceptionWon",
                  "before": 1.0665,
                  "after": 1.081
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.203,
                  "after": 0.192
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1.081,
                "tackles": 1.5499,
                "tackles_won": 1.0075,
                "clearances": 2.3476,
                "aerial_won": 0.6899,
                "total_shots": 0.6416,
                "rating": 6.7549,
                "minutes": 90.0,
                "total_pass": 32.0663,
                "accurate_pass": 23.9711,
                "duels_won": 3.3296,
                "total_long_balls": 4.906,
                "accurate_long_balls": 1.297,
                "total_own_half_passes": 13.5612,
                "accurate_own_half_passes": 11.2698,
                "total_opp_half_passes": 18.505,
                "accurate_opp_half_passes": 12.7013,
                "crosses_total": 4.0256,
                "crosses_accurate": 1.2524,
                "touches": 56.0744,
                "possession_lost": 15.0257,
                "dispossessed": 0.2306,
                "duels_lost": 3.0408,
                "aerial_lost": 1.022,
                "total_contest": 1.0777,
                "won_contest": 0.6164,
                "ball_recovery": 4.6401,
                "challenges_lost": 0.6712,
                "fouls": 0.6924,
                "fouls_drawn": 1.6721,
                "blocks": 0.3448,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0499,
                "expected_assists": 0.099,
                "shots_on_target": 0.192,
                "big_chances_created": 0.2388,
                "xgot": 0.0179,
                "ball_carries": 14.0358,
                "total_progression": 43.8976,
                "progressive_carries": 0.664,
                "key_pass": 0.9657,
                "shots_off_target": 0.4496
              },
              "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.081,
                "tackles": 1.5499,
                "tackles_won": 1.0075,
                "clearances": 2.3476,
                "aerial_won": 0.6899,
                "total_shots": 0.6416,
                "rating": 6.7549,
                "minutes": 90.0,
                "total_pass": 32.0663,
                "accurate_pass": 23.9711,
                "duels_won": 3.3296,
                "total_long_balls": 4.906,
                "accurate_long_balls": 1.297,
                "total_own_half_passes": 13.5612,
                "accurate_own_half_passes": 11.2698,
                "total_opp_half_passes": 18.505,
                "accurate_opp_half_passes": 12.7013,
                "crosses_total": 4.0256,
                "crosses_accurate": 1.2524,
                "touches": 56.0744,
                "possession_lost": 15.0257,
                "dispossessed": 0.2306,
                "duels_lost": 3.0408,
                "aerial_lost": 1.022,
                "total_contest": 1.0777,
                "won_contest": 0.6164,
                "ball_recovery": 4.6401,
                "challenges_lost": 0.6712,
                "fouls": 0.6924,
                "fouls_drawn": 1.6721,
                "blocks": 0.3448,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0499,
                "expected_assists": 0.099,
                "shots_on_target": 0.192,
                "big_chances_created": 0.2388,
                "xgot": 0.0179,
                "ball_carries": 14.0358,
                "total_progression": 43.8976,
                "progressive_carries": 0.664,
                "key_pass": 0.9657,
                "shots_off_target": 0.4496,
                "opponent_faced": "Gonçalo Guedes",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Gonçalo Guedes",
                  "matchup_zone": "Shape fallback"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 0.81 (squad xG sum 0.8013, xG scale 1.0047, xA scale 1.0047, team xA 0.63 = 0.78 x lambda)",
              "stats": {
                "interceptions": 1.081,
                "tackles": 1.5499,
                "tackles_won": 1.0075,
                "clearances": 2.3476,
                "aerial_won": 0.6899,
                "total_shots": 0.6416,
                "rating": 6.7549,
                "minutes": 90.0,
                "total_pass": 32.0663,
                "accurate_pass": 23.9711,
                "duels_won": 3.3296,
                "total_long_balls": 4.906,
                "accurate_long_balls": 1.297,
                "total_own_half_passes": 13.5612,
                "accurate_own_half_passes": 11.2698,
                "total_opp_half_passes": 18.505,
                "accurate_opp_half_passes": 12.7013,
                "crosses_total": 4.0256,
                "crosses_accurate": 1.2524,
                "touches": 56.0744,
                "possession_lost": 15.0257,
                "dispossessed": 0.2306,
                "duels_lost": 3.0408,
                "aerial_lost": 1.022,
                "total_contest": 1.0777,
                "won_contest": 0.6164,
                "ball_recovery": 4.6401,
                "challenges_lost": 0.6712,
                "fouls": 0.6924,
                "fouls_drawn": 1.6721,
                "blocks": 0.3448,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0501,
                "expected_assists": 0.0995,
                "shots_on_target": 0.192,
                "big_chances_created": 0.2388,
                "xgot": 0.018,
                "ball_carries": 14.0358,
                "total_progression": 43.8976,
                "progressive_carries": 0.664,
                "key_pass": 0.9657,
                "shots_off_target": 0.4496,
                "opponent_faced": "Gonçalo Guedes",
                "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.805,
                "squad_xg_sum": 0.8013,
                "squad_xa_sum": 0.6279,
                "team_expected_assists": 0.6308,
                "team_xa_to_xg_ratio": 0.7836,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0047,
                "xa_scale": 1.0047,
                "opponent_lambda": 1.498,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 9 by projected rating, fifa_overall 73.0; not used by the projection)",
              "stats": {
                "interceptions": 1.081,
                "tackles": 1.5499,
                "tackles_won": 1.0075,
                "clearances": 2.3476,
                "aerial_won": 0.6899,
                "total_shots": 0.6416,
                "rating": 6.7549,
                "minutes": 90.0,
                "total_pass": 32.0663,
                "accurate_pass": 23.9711,
                "duels_won": 3.3296,
                "total_long_balls": 4.906,
                "accurate_long_balls": 1.297,
                "total_own_half_passes": 13.5612,
                "accurate_own_half_passes": 11.2698,
                "total_opp_half_passes": 18.505,
                "accurate_opp_half_passes": 12.7013,
                "crosses_total": 4.0256,
                "crosses_accurate": 1.2524,
                "touches": 56.0744,
                "possession_lost": 15.0257,
                "dispossessed": 0.2306,
                "duels_lost": 3.0408,
                "aerial_lost": 1.022,
                "total_contest": 1.0777,
                "won_contest": 0.6164,
                "ball_recovery": 4.6401,
                "challenges_lost": 0.6712,
                "fouls": 0.6924,
                "fouls_drawn": 1.6721,
                "blocks": 0.3448,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0501,
                "expected_assists": 0.0995,
                "shots_on_target": 0.192,
                "big_chances_created": 0.2388,
                "xgot": 0.018,
                "ball_carries": 14.0358,
                "total_progression": 43.8976,
                "progressive_carries": 0.664,
                "key_pass": 0.9657,
                "shots_off_target": 0.4496,
                "opponent_faced": "Gonçalo Guedes",
                "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": 73.0
              },
              "params": {
                "match_squad_rank": 9,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 4186,
                "fifa_rank": 3511.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": {
                "interceptions": 1.081,
                "tackles": 1.5499,
                "tackles_won": 1.0075,
                "clearances": 2.3476,
                "aerial_won": 0.6899,
                "total_shots": 0.6416,
                "rating": 6.7549,
                "minutes": 90.0,
                "total_pass": 32.0663,
                "accurate_pass": 23.9711,
                "duels_won": 3.3296,
                "total_long_balls": 4.906,
                "accurate_long_balls": 1.297,
                "total_own_half_passes": 13.5612,
                "accurate_own_half_passes": 11.2698,
                "total_opp_half_passes": 18.505,
                "accurate_opp_half_passes": 12.7013,
                "crosses_total": 4.0256,
                "crosses_accurate": 1.2524,
                "touches": 56.0744,
                "possession_lost": 15.0257,
                "dispossessed": 0.2306,
                "duels_lost": 3.0408,
                "aerial_lost": 1.022,
                "total_contest": 1.0777,
                "won_contest": 0.6164,
                "ball_recovery": 4.6401,
                "challenges_lost": 0.6712,
                "fouls": 0.6924,
                "fouls_drawn": 1.6721,
                "blocks": 0.3448,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0501,
                "expected_assists": 0.0995,
                "shots_on_target": 0.192,
                "big_chances_created": 0.2388,
                "xgot": 0.018,
                "ball_carries": 14.0358,
                "total_progression": 43.8976,
                "progressive_carries": 0.664,
                "key_pass": 0.9657,
                "shots_off_target": 0.4496,
                "opponent_faced": "Gonçalo Guedes",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0489,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 73.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0489,
                "scorer_weight": 0.0401,
                "squad_weight_total": 0.751,
                "weight_share": 0.0534,
                "finishing_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 9,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "interceptions": 1.081,
                "tackles": 1.5499,
                "tackles_won": 1.0075,
                "clearances": 2.3476,
                "aerial_won": 0.6899,
                "total_shots": 0.6416,
                "rating": 6.7549,
                "minutes": 90.0,
                "total_pass": 32.0663,
                "accurate_pass": 23.9711,
                "duels_won": 3.3296,
                "total_long_balls": 4.906,
                "accurate_long_balls": 1.297,
                "total_own_half_passes": 13.5612,
                "accurate_own_half_passes": 11.2698,
                "total_opp_half_passes": 18.505,
                "accurate_opp_half_passes": 12.7013,
                "crosses_total": 4.0256,
                "crosses_accurate": 1.2524,
                "touches": 56.0744,
                "possession_lost": 15.0257,
                "dispossessed": 0.2306,
                "duels_lost": 3.0408,
                "aerial_lost": 1.022,
                "total_contest": 1.0777,
                "won_contest": 0.6164,
                "ball_recovery": 4.6401,
                "challenges_lost": 0.6712,
                "fouls": 0.6924,
                "fouls_drawn": 1.6721,
                "blocks": 0.3448,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0501,
                "expected_assists": 0.0995,
                "shots_on_target": 0.192,
                "big_chances_created": 0.2388,
                "xgot": 0.018,
                "ball_carries": 14.0358,
                "total_progression": 43.8976,
                "progressive_carries": 0.664,
                "key_pass": 0.9657,
                "shots_off_target": 0.4496,
                "opponent_faced": "Gonçalo Guedes",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0489,
                "projected_assists": 0,
                "assist_probability": 0.0947,
                "finishing_factor": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 73.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0947,
                "provider_weight": 0.0796,
                "squad_weight_total": 0.6285,
                "weight_share": 0.1266,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 4,
                "eligible_players": 13
              }
            }
          ]
        },
        "José María Giménez": {
          "player_id": 325355,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 20,
          "height": 185,
          "market_value": 5800000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 6,
            "aerial_won": 3,
            "total_shots": 1,
            "rating": 6.8712,
            "minutes": 82,
            "total_pass": 59,
            "accurate_pass": 54,
            "duels_won": 5,
            "total_long_balls": 7,
            "accurate_long_balls": 4,
            "total_own_half_passes": 39,
            "accurate_own_half_passes": 37,
            "total_opp_half_passes": 20,
            "accurate_opp_half_passes": 17,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 73,
            "possession_lost": 6.3594,
            "dispossessed": 0.0917,
            "duels_lost": 4,
            "aerial_lost": 2,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 2,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 0,
            "blocks": 1,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0601,
            "assists": 0,
            "expected_goals": 0.099,
            "expected_assists": 0.0226,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0758,
            "ball_carries": 22,
            "total_progression": 54,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "tackles_in_zone": 1.0,
            "tackles_won_in_zone": 0.9,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.7,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.715,
            "opponent_faced": "Mikel Oyarzabal",
            "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.0943,
            "projected_assists": 0,
            "assist_probability": 0.0223,
            "finishing_factor": 0.8,
            "creation_factor": 1.25,
            "fifa_overall": 82.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": "home",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2293,
                "expected_assists": 0.0074,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 68,
                "accurate_pass": 61,
                "key_pass": 1,
                "tackles": 1,
                "clearances": 7,
                "aerial_won": 5,
                "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": 16416343,
              "match_date": "2026-09-16",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 83,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0042,
                "total_shots": 0,
                "total_pass": 64,
                "accurate_pass": 57,
                "tackles": 1,
                "interceptions": 2,
                "clearances": 6,
                "aerial_won": 2,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416326,
              "match_date": "2026-09-13",
              "home_team": "Getafe",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1191,
                "expected_assists": 0.0083,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 76,
                "accurate_pass": 71,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 5,
                "aerial_won": 3,
                "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": 16416324,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 66,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0141,
                "total_shots": 0,
                "total_pass": 34,
                "accurate_pass": 32,
                "key_pass": 1,
                "interceptions": 1,
                "clearances": 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": 16416316,
              "match_date": "2026-08-29",
              "home_team": "Sevilla",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 24,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0003,
                "total_shots": 0,
                "total_pass": 8,
                "accurate_pass": 4,
                "clearances": 5,
                "aerial_won": 3,
                "duels_won": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416302,
              "match_date": "2026-08-23",
              "home_team": "Atlético Madrid",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 11,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0077,
                "total_shots": 0,
                "total_pass": 19,
                "accurate_pass": 17,
                "clearances": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083551,
              "match_date": "2026-05-09",
              "home_team": "Atlético Madrid",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 20,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0041,
                "total_shots": 0,
                "total_pass": 23,
                "accurate_pass": 23,
                "tackles": 2,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true
            },
            {
              "match_id": 14081810,
              "match_date": "2026-04-04",
              "home_team": "Atlético Madrid",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 29,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0,
                "total_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 2,
                "duels_won": 2
              },
              "has_player_stats": true
            },
            {
              "match_id": 14081807,
              "match_date": "2026-03-22",
              "home_team": "Real Madrid",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 45,
                "rating": 5.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0097,
                "total_shots": 0,
                "total_pass": 24,
                "accurate_pass": 20,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083612,
              "match_date": "2026-03-14",
              "home_team": "Atlético Madrid",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 7.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.006,
                "total_shots": 0,
                "total_pass": 65,
                "accurate_pass": 62,
                "tackles": 4,
                "tackles_won": 2,
                "clearances": 10,
                "aerial_won": 3,
                "duels_won": 8,
                "ball_recovery": 3
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 823,
            "combined_rank_score": 393.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 374.0,
            "sofascore_rating": 6.9667,
            "sofascore_appearances": 6.0,
            "fifa_rank": 412.0,
            "fifa_overall": 82.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 4,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8712,
            "source_file": "data/player_rankings.csv",
            "player_name": "José María Giménez",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Jan Kliment",
                  "ranking": 818
                },
                {
                  "player_name": "Michal Beran",
                  "ranking": 819
                },
                {
                  "player_name": "Kim Jisung",
                  "ranking": 820
                },
                {
                  "player_name": "Florian Thauvin",
                  "ranking": 821
                },
                {
                  "player_name": "Corentin Tolisso",
                  "ranking": 822
                }
              ],
              "lower": [
                {
                  "player_name": "Dean Henderson",
                  "ranking": 824
                },
                {
                  "player_name": "Palhinha",
                  "ranking": 825
                },
                {
                  "player_name": "Pape Gueye",
                  "ranking": 826
                },
                {
                  "player_name": "Caoimhin Kelleher",
                  "ranking": 827
                },
                {
                  "player_name": "Antonio Raíllo",
                  "ranking": 828
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.754,
          "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.754,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9982,
            "fbref_prior_metrics": {
              "squad": "Atlético Madrid",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 0.0,
              "minutes": 37.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.0267
            },
            "rationale": "XGBoost regressor (D_service) evaluated 22 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Atlético Madrid, rel: 0.03, 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.9831,
                "tackles": 1.3596,
                "tackles_won": 0.7799,
                "clearances": 5.9463,
                "aerial_won": 2.6042,
                "total_shots": 0.6919,
                "rating": 6.8712,
                "minutes": 81.8,
                "total_pass": 59.4593,
                "accurate_pass": 54.2147,
                "duels_won": 4.6926,
                "total_long_balls": 6.5426,
                "accurate_long_balls": 3.8167,
                "total_own_half_passes": 39.1588,
                "accurate_own_half_passes": 37.3374,
                "total_opp_half_passes": 20.3005,
                "accurate_opp_half_passes": 16.8773,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 73.1693,
                "possession_lost": 6.3709,
                "dispossessed": 0.0919,
                "duels_lost": 3.6158,
                "aerial_lost": 1.709,
                "total_contest": 0.2578,
                "won_contest": 0.0949,
                "ball_recovery": 2.4313,
                "challenges_lost": 1.0001,
                "fouls": 0.7229,
                "fouls_drawn": 0.3308,
                "blocks": 0.7186,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0604,
                "assist_rate": 0.0604,
                "expected_goals": 0.0987,
                "expected_assists": 0.0225,
                "shots_on_target": 0.2779,
                "big_chances_created": 0.1639,
                "xgot": 0.0755,
                "ball_carries": 21.6574,
                "total_progression": 54.5015,
                "progressive_carries": 0.4389,
                "key_pass": 0.3188,
                "shots_off_target": 0.414
              },
              "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": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1543,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Sevilla",
                    "minutes": 83.0,
                    "is_starting": true,
                    "weight": 0.1312,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1115,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Villarreal",
                    "minutes": 66.0,
                    "is_starting": true,
                    "weight": 0.0948,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Sevilla",
                    "minutes": 24.0,
                    "is_starting": false,
                    "weight": 0.0806,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Villarreal",
                    "minutes": 11.0,
                    "is_starting": false,
                    "weight": 0.0685,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-09",
                    "opponent": "Celta Vigo",
                    "minutes": 20.0,
                    "is_starting": true,
                    "weight": 0.0582,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-04-04",
                    "opponent": "FC Barcelona",
                    "minutes": 29.0,
                    "is_starting": false,
                    "weight": 0.0495,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-03-22",
                    "opponent": "Real Madrid",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.0421,
                    "rating": 5.1
                  },
                  {
                    "match_date": "2026-03-14",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0357,
                    "rating": 7.9
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 4.7735,
                  "aerialWon": 2.4215,
                  "totalClearance_p90": 7.2286,
                  "totalTackle": 1.0193,
                  "totalPass": 47.5394
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.9831216931343079,
                    "model_output": 0.9831,
                    "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.1205
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0205
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0181
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0149
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0133
                        }
                      ],
                      "others": 0.0044,
                      "total": 0.9831,
                      "log_link": true,
                      "margin_base": -0.152032,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.1313
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.021167
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.018717
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.015133
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.013535
                        }
                      ],
                      "others_margin": 0.004562
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.3596194982528687,
                    "model_output": 1.3596,
                    "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.1785
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0612
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0577
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0402
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0317
                        }
                      ],
                      "others": -0.1462,
                      "total": 1.3596,
                      "log_link": true,
                      "margin_base": 0.333417,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.12034
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.038154
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.03589
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": -0.025807
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.020848
                        }
                      ],
                      "others_margin": -0.102161
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.7798560261726379,
                    "model_output": 0.7799,
                    "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.1026
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0367
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0365
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0313
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0282
                        }
                      ],
                      "others": -0.1208,
                      "total": 0.7799,
                      "log_link": true,
                      "margin_base": -0.153422,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.112952
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.038954
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.038779
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.03311
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.030786
                        }
                      ],
                      "others_margin": -0.144105
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 5.946308135986328,
                    "model_output": 5.9463,
                    "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.4814
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.5061
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.3151
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.2854
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.2202
                        }
                      ],
                      "others": 0.6969,
                      "total": 5.9463,
                      "log_link": true,
                      "margin_base": 1.235809,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": 0.130943
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.121348
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.068731
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.058428
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.042857
                        }
                      ],
                      "others_margin": 0.124655
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 2.604224443435669,
                    "model_output": 2.6042,
                    "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.3459
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2044
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.1944
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.1345
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0805
                        }
                      ],
                      "others": 0.2661,
                      "total": 2.6042,
                      "log_link": true,
                      "margin_base": 0.320928,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": 0.223896
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.112023
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.096017
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.061411
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.035054
                        }
                      ],
                      "others_margin": 0.107808
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.6918686628341675,
                    "model_output": 0.6919,
                    "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.1193
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0619
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0299
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0218
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.014
                        }
                      ],
                      "others": 0.0605,
                      "total": 0.6919,
                      "log_link": false,
                      "margin_base": 0.47232,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.119324
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.061898
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.029852
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.021779
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.013952
                        }
                      ],
                      "others_margin": 0.060352
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.871219635009766,
                    "model_output": 6.8712,
                    "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.0298
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0222
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0172
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0135
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0123
                        }
                      ],
                      "others": 0.0246,
                      "total": 6.8712,
                      "log_link": false,
                      "margin_base": 6.785968,
                      "item_margins": [
                        {
                          "name": "accuratePass",
                          "margin": 0.029775
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.022158
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.017185
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.013457
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.012349
                        }
                      ],
                      "others_margin": 0.024697
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 22,
                  "role_matches": 17,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9982, quality 0.472)",
              "stats": {
                "interceptions": 0.9814,
                "tackles": 1.3572,
                "tackles_won": 0.7785,
                "clearances": 5.9356,
                "aerial_won": 2.5995,
                "total_shots": 0.6907,
                "rating": 6.8712,
                "minutes": 81.8,
                "total_pass": 59.3523,
                "accurate_pass": 54.1171,
                "duels_won": 4.6842,
                "total_long_balls": 6.5308,
                "accurate_long_balls": 3.8098,
                "total_own_half_passes": 39.0883,
                "accurate_own_half_passes": 37.2702,
                "total_opp_half_passes": 20.264,
                "accurate_opp_half_passes": 16.8469,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 73.0376,
                "possession_lost": 6.3594,
                "dispossessed": 0.0917,
                "duels_lost": 3.6093,
                "aerial_lost": 1.7059,
                "total_contest": 0.2573,
                "won_contest": 0.0947,
                "ball_recovery": 2.4269,
                "challenges_lost": 0.9983,
                "fouls": 0.7216,
                "fouls_drawn": 0.3302,
                "blocks": 0.7173,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0603,
                "assist_rate": 0.0603,
                "expected_goals": 0.0985,
                "expected_assists": 0.0225,
                "shots_on_target": 0.2774,
                "big_chances_created": 0.1636,
                "xgot": 0.0754,
                "ball_carries": 21.6184,
                "total_progression": 54.4034,
                "progressive_carries": 0.4381,
                "key_pass": 0.3182,
                "shots_off_target": 0.4133
              },
              "params": {
                "market_value_eur": 5800000,
                "quality_factor": 0.472,
                "boost_factor": 0.9982,
                "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.0032)",
              "stats": {
                "interceptions": 0.9782,
                "tackles": 1.3572,
                "tackles_won": 0.776,
                "clearances": 5.9356,
                "aerial_won": 2.5995,
                "total_shots": 0.6885,
                "rating": 6.8712,
                "minutes": 81.8,
                "total_pass": 59.3523,
                "accurate_pass": 54.1171,
                "duels_won": 4.6842,
                "total_long_balls": 6.5308,
                "accurate_long_balls": 3.8098,
                "total_own_half_passes": 39.0883,
                "accurate_own_half_passes": 37.2702,
                "total_opp_half_passes": 20.264,
                "accurate_opp_half_passes": 16.8469,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 73.0376,
                "possession_lost": 6.3594,
                "dispossessed": 0.0917,
                "duels_lost": 3.6093,
                "aerial_lost": 1.7059,
                "total_contest": 0.2573,
                "won_contest": 0.0947,
                "ball_recovery": 2.4269,
                "challenges_lost": 0.9983,
                "fouls": 0.7339,
                "fouls_drawn": 0.3291,
                "blocks": 0.7173,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0601,
                "assist_rate": 0.0601,
                "expected_goals": 0.0985,
                "expected_assists": 0.0225,
                "shots_on_target": 0.2765,
                "big_chances_created": 0.1636,
                "xgot": 0.0754,
                "ball_carries": 21.6184,
                "total_progression": 54.4034,
                "progressive_carries": 0.4381,
                "key_pass": 0.3182,
                "shots_off_target": 0.4133
              },
              "params": {
                "blend_weight": 0.0032,
                "history_matches": 22,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9089,
                "prior_reliability": 0.0267,
                "competition": "La Liga",
                "squad": "Atlético Madrid"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 0.7216,
                  "after": 0.7339
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.9782,
                "tackles": 1.3572,
                "tackles_won": 0.776,
                "clearances": 5.9356,
                "aerial_won": 2.5995,
                "total_shots": 0.6898,
                "rating": 6.8712,
                "minutes": 81.8,
                "total_pass": 59.3523,
                "accurate_pass": 54.1171,
                "duels_won": 4.6842,
                "total_long_balls": 6.5308,
                "accurate_long_balls": 3.8098,
                "total_own_half_passes": 39.0883,
                "accurate_own_half_passes": 37.2702,
                "total_opp_half_passes": 20.264,
                "accurate_opp_half_passes": 16.8469,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 73.0376,
                "possession_lost": 6.3594,
                "dispossessed": 0.0917,
                "duels_lost": 3.6093,
                "aerial_lost": 1.7059,
                "total_contest": 0.2573,
                "won_contest": 0.0947,
                "ball_recovery": 2.4269,
                "challenges_lost": 0.9983,
                "fouls": 0.7339,
                "fouls_drawn": 0.3291,
                "blocks": 0.7173,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0601,
                "assist_rate": 0.0601,
                "expected_goals": 0.0985,
                "expected_assists": 0.0225,
                "shots_on_target": 0.2765,
                "big_chances_created": 0.1636,
                "xgot": 0.0754,
                "ball_carries": 21.6184,
                "total_progression": 54.4034,
                "progressive_carries": 0.4381,
                "key_pass": 0.3182,
                "shots_off_target": 0.4133
              },
              "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.9782,
                "tackles": 1.3572,
                "tackles_won": 0.776,
                "clearances": 5.9356,
                "aerial_won": 2.5995,
                "total_shots": 0.6898,
                "rating": 6.8712,
                "minutes": 81.8,
                "total_pass": 59.3523,
                "accurate_pass": 54.1171,
                "duels_won": 4.6842,
                "total_long_balls": 6.5308,
                "accurate_long_balls": 3.8098,
                "total_own_half_passes": 39.0883,
                "accurate_own_half_passes": 37.2702,
                "total_opp_half_passes": 20.264,
                "accurate_opp_half_passes": 16.8469,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 73.0376,
                "possession_lost": 6.3594,
                "dispossessed": 0.0917,
                "duels_lost": 3.6093,
                "aerial_lost": 1.7059,
                "total_contest": 0.2573,
                "won_contest": 0.0947,
                "ball_recovery": 2.4269,
                "challenges_lost": 0.9983,
                "fouls": 0.7339,
                "fouls_drawn": 0.3291,
                "blocks": 0.7173,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0601,
                "assist_rate": 0.0601,
                "expected_goals": 0.0985,
                "expected_assists": 0.0225,
                "shots_on_target": 0.2765,
                "big_chances_created": 0.1636,
                "xgot": 0.0754,
                "ball_carries": 21.6184,
                "total_progression": 54.4034,
                "progressive_carries": 0.4381,
                "key_pass": 0.3182,
                "shots_off_target": 0.4133,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.715,
                "opponent_faced": "Mikel Oyarzabal",
                "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": "Mikel Oyarzabal",
                  "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.81 (squad xG sum 0.8013, xG scale 1.0047, xA scale 1.0047, team xA 0.63 = 0.78 x lambda)",
              "stats": {
                "interceptions": 0.9782,
                "tackles": 1.3572,
                "tackles_won": 0.776,
                "clearances": 5.9356,
                "aerial_won": 2.5995,
                "total_shots": 0.6898,
                "rating": 6.8712,
                "minutes": 81.8,
                "total_pass": 59.3523,
                "accurate_pass": 54.1171,
                "duels_won": 4.6842,
                "total_long_balls": 6.5308,
                "accurate_long_balls": 3.8098,
                "total_own_half_passes": 39.0883,
                "accurate_own_half_passes": 37.2702,
                "total_opp_half_passes": 20.264,
                "accurate_opp_half_passes": 16.8469,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 73.0376,
                "possession_lost": 6.3594,
                "dispossessed": 0.0917,
                "duels_lost": 3.6093,
                "aerial_lost": 1.7059,
                "total_contest": 0.2573,
                "won_contest": 0.0947,
                "ball_recovery": 2.4269,
                "challenges_lost": 0.9983,
                "fouls": 0.7339,
                "fouls_drawn": 0.3291,
                "blocks": 0.7173,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0601,
                "assists": 0,
                "expected_goals": 0.099,
                "expected_assists": 0.0226,
                "shots_on_target": 0.2765,
                "big_chances_created": 0.1636,
                "xgot": 0.0758,
                "ball_carries": 21.6184,
                "total_progression": 54.4034,
                "progressive_carries": 0.4381,
                "key_pass": 0.3182,
                "shots_off_target": 0.4133,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.715,
                "opponent_faced": "Mikel Oyarzabal",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 0.805,
                "squad_xg_sum": 0.8013,
                "squad_xa_sum": 0.6279,
                "team_expected_assists": 0.6308,
                "team_xa_to_xg_ratio": 0.7836,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0047,
                "xa_scale": 1.0047,
                "opponent_lambda": 1.498,
                "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 82.0; not used by the projection)",
              "stats": {
                "interceptions": 0.9782,
                "tackles": 1.3572,
                "tackles_won": 0.776,
                "clearances": 5.9356,
                "aerial_won": 2.5995,
                "total_shots": 0.6898,
                "rating": 6.8712,
                "minutes": 81.8,
                "total_pass": 59.3523,
                "accurate_pass": 54.1171,
                "duels_won": 4.6842,
                "total_long_balls": 6.5308,
                "accurate_long_balls": 3.8098,
                "total_own_half_passes": 39.0883,
                "accurate_own_half_passes": 37.2702,
                "total_opp_half_passes": 20.264,
                "accurate_opp_half_passes": 16.8469,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 73.0376,
                "possession_lost": 6.3594,
                "dispossessed": 0.0917,
                "duels_lost": 3.6093,
                "aerial_lost": 1.7059,
                "total_contest": 0.2573,
                "won_contest": 0.0947,
                "ball_recovery": 2.4269,
                "challenges_lost": 0.9983,
                "fouls": 0.7339,
                "fouls_drawn": 0.3291,
                "blocks": 0.7173,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0601,
                "assists": 0,
                "expected_goals": 0.099,
                "expected_assists": 0.0226,
                "shots_on_target": 0.2765,
                "big_chances_created": 0.1636,
                "xgot": 0.0758,
                "ball_carries": 21.6184,
                "total_progression": 54.4034,
                "progressive_carries": 0.4381,
                "key_pass": 0.3182,
                "shots_off_target": 0.4133,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.715,
                "opponent_faced": "Mikel Oyarzabal",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 1.25,
                "fifa_overall": 82.0
              },
              "params": {
                "match_squad_rank": 4,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 823,
                "fifa_rank": 412.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": {
                "interceptions": 0.9782,
                "tackles": 1.3572,
                "tackles_won": 0.776,
                "clearances": 5.9356,
                "aerial_won": 2.5995,
                "total_shots": 0.6898,
                "rating": 6.8712,
                "minutes": 81.8,
                "total_pass": 59.3523,
                "accurate_pass": 54.1171,
                "duels_won": 4.6842,
                "total_long_balls": 6.5308,
                "accurate_long_balls": 3.8098,
                "total_own_half_passes": 39.0883,
                "accurate_own_half_passes": 37.2702,
                "total_opp_half_passes": 20.264,
                "accurate_opp_half_passes": 16.8469,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 73.0376,
                "possession_lost": 6.3594,
                "dispossessed": 0.0917,
                "duels_lost": 3.6093,
                "aerial_lost": 1.7059,
                "total_contest": 0.2573,
                "won_contest": 0.0947,
                "ball_recovery": 2.4269,
                "challenges_lost": 0.9983,
                "fouls": 0.7339,
                "fouls_drawn": 0.3291,
                "blocks": 0.7173,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0601,
                "assists": 0,
                "expected_goals": 0.099,
                "expected_assists": 0.0226,
                "shots_on_target": 0.2765,
                "big_chances_created": 0.1636,
                "xgot": 0.0758,
                "ball_carries": 21.6184,
                "total_progression": 54.4034,
                "progressive_carries": 0.4381,
                "key_pass": 0.3182,
                "shots_off_target": 0.4133,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.715,
                "opponent_faced": "Mikel Oyarzabal",
                "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.0943,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 1.25,
                "fifa_overall": 82.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0943,
                "scorer_weight": 0.0792,
                "squad_weight_total": 0.751,
                "weight_share": 0.1055,
                "finishing_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 4,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "interceptions": 0.9782,
                "tackles": 1.3572,
                "tackles_won": 0.776,
                "clearances": 5.9356,
                "aerial_won": 2.5995,
                "total_shots": 0.6898,
                "rating": 6.8712,
                "minutes": 81.8,
                "total_pass": 59.3523,
                "accurate_pass": 54.1171,
                "duels_won": 4.6842,
                "total_long_balls": 6.5308,
                "accurate_long_balls": 3.8098,
                "total_own_half_passes": 39.0883,
                "accurate_own_half_passes": 37.2702,
                "total_opp_half_passes": 20.264,
                "accurate_opp_half_passes": 16.8469,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 73.0376,
                "possession_lost": 6.3594,
                "dispossessed": 0.0917,
                "duels_lost": 3.6093,
                "aerial_lost": 1.7059,
                "total_contest": 0.2573,
                "won_contest": 0.0947,
                "ball_recovery": 2.4269,
                "challenges_lost": 0.9983,
                "fouls": 0.7339,
                "fouls_drawn": 0.3291,
                "blocks": 0.7173,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0601,
                "assists": 0,
                "expected_goals": 0.099,
                "expected_assists": 0.0226,
                "shots_on_target": 0.2765,
                "big_chances_created": 0.1636,
                "xgot": 0.0758,
                "ball_carries": 21.6184,
                "total_progression": 54.4034,
                "progressive_carries": 0.4381,
                "key_pass": 0.3182,
                "shots_off_target": 0.4133,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.715,
                "opponent_faced": "Mikel Oyarzabal",
                "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.0943,
                "projected_assists": 0,
                "assist_probability": 0.0223,
                "finishing_factor": 0.8,
                "creation_factor": 1.25,
                "fifa_overall": 82.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0223,
                "provider_weight": 0.0282,
                "squad_weight_total": 0.6285,
                "weight_share": 0.0449,
                "creation_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 8,
                "eligible_players": 13
              }
            }
          ]
        },
        "Lucas Noubi": {
          "player_id": 1127337,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 4,
          "height": 184,
          "market_value": 3100000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 6,
            "aerial_won": 2,
            "total_shots": 1,
            "rating": 6.8091,
            "minutes": 90,
            "total_pass": 53,
            "accurate_pass": 44,
            "duels_won": 5,
            "total_long_balls": 11,
            "accurate_long_balls": 5,
            "total_own_half_passes": 39,
            "accurate_own_half_passes": 35,
            "total_opp_half_passes": 14,
            "accurate_opp_half_passes": 9,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 70,
            "possession_lost": 10.7606,
            "dispossessed": 0.0,
            "duels_lost": 3,
            "aerial_lost": 2,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 3,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 1,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.0102,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 17,
            "total_progression": 54,
            "progressive_carries": 1,
            "key_pass": 0,
            "shots_off_target": 1,
            "tackles_in_zone": 1.0,
            "tackles_won_in_zone": 0.8,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.715,
            "opponent_faced": "Mikel Oyarzabal",
            "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.0101,
            "finishing_factor": 1.0,
            "creation_factor": 0.8306,
            "fifa_overall": 73.0
          },
          "latest_10_games": [
            {
              "match_id": 16416326,
              "match_date": "2026-09-13",
              "home_team": "Getafe",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0278,
                "total_shots": 0,
                "total_pass": 68,
                "accurate_pass": 54,
                "key_pass": 1,
                "tackles": 4,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 13,
                "aerial_won": 3,
                "duels_won": 10,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416324,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0061,
                "total_shots": 0,
                "total_pass": 53,
                "accurate_pass": 42,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 7,
                "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": 16416291,
              "match_date": "2026-08-30",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0009,
                "total_shots": 0,
                "total_pass": 46,
                "accurate_pass": 39,
                "interceptions": 3,
                "clearances": 7,
                "aerial_won": 2,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416307,
              "match_date": "2026-08-24",
              "home_team": "Málaga CF",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0031,
                "total_shots": 0,
                "total_pass": 42,
                "accurate_pass": 38,
                "tackles": 3,
                "tackles_won": 3,
                "interceptions": 1,
                "clearances": 5,
                "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": 16421050,
              "match_date": "2026-08-17",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0049,
                "total_shots": 0,
                "total_pass": 53,
                "accurate_pass": 44,
                "interceptions": 1,
                "clearances": 5,
                "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"
            }
          ],
          "ranking": {
            "global_player_rank": 4136,
            "combined_rank_score": 2133.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 745.0,
            "sofascore_rating": 6.6667,
            "sofascore_appearances": 3.0,
            "fifa_rank": 3521.0,
            "fifa_overall": 73.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 7,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8091,
            "source_file": "data/player_rankings.csv",
            "player_name": "Lucas Noubi",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Marcus Pedersen",
                  "ranking": 4131
                },
                {
                  "player_name": "Tyrique George",
                  "ranking": 4132
                },
                {
                  "player_name": "Yunus Musah",
                  "ranking": 4133
                },
                {
                  "player_name": "Florent Muslija",
                  "ranking": 4134
                },
                {
                  "player_name": "Darnell Furlong",
                  "ranking": 4135
                }
              ],
              "lower": [
                {
                  "player_name": "Marcão",
                  "ranking": 4137
                },
                {
                  "player_name": "Nicolás Valentini",
                  "ranking": 4138
                },
                {
                  "player_name": "Borna Sosa",
                  "ranking": 4139
                },
                {
                  "player_name": "Nathan Broadhead",
                  "ranking": 4140
                },
                {
                  "player_name": "Fábio Cardoso",
                  "ranking": 4141
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.593,
          "history_matches": 5,
          "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": 5,
            "data_confidence": 0.593,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9901,
            "fbref_prior_metrics": {
              "squad": "Dep. A Coruña",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 270.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.2
            },
            "rationale": "XGBoost regressor (D_service) evaluated 5 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Dep. A Coruña, rel: 0.20, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1.194,
                "tackles": 1.4754,
                "tackles_won": 0.8739,
                "clearances": 6.1827,
                "aerial_won": 2.0694,
                "total_shots": 0.5077,
                "rating": 6.8091,
                "minutes": 90.0,
                "total_pass": 53.8594,
                "accurate_pass": 44.2704,
                "duels_won": 4.8239,
                "total_long_balls": 10.9498,
                "accurate_long_balls": 5.0926,
                "total_own_half_passes": 39.2775,
                "accurate_own_half_passes": 35.3098,
                "total_opp_half_passes": 14.5819,
                "accurate_opp_half_passes": 8.9606,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 70.9578,
                "possession_lost": 10.8682,
                "dispossessed": 0.0,
                "duels_lost": 3.5315,
                "aerial_lost": 2.1907,
                "total_contest": 0.1948,
                "won_contest": 0.1948,
                "ball_recovery": 2.8688,
                "challenges_lost": 0.1408,
                "fouls": 1.2,
                "fouls_drawn": 1.1153,
                "blocks": 0.5355,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0103,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 16.859,
                "total_progression": 54.386,
                "progressive_carries": 0.7304,
                "key_pass": 0.2696,
                "shots_off_target": 0.5077
              },
              "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-13",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2696,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2292,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1948,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Málaga CF",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1656,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-17",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1408,
                    "rating": 6.5
                  }
                ],
                "feature_row": {
                  "history_matches": 5.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 8.0052,
                  "aerialWon": 1.7093,
                  "totalClearance_p90": 8.0052,
                  "totalTackle": 1.8045,
                  "totalPass": 53.8594
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 1.194039225578308,
                    "model_output": 1.194,
                    "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.0953
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0737
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0373
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0283
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0279
                        }
                      ],
                      "others": 0.0725,
                      "total": 1.194,
                      "log_link": true,
                      "margin_base": -0.152032,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.10517
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.074417
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.035617
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.026256
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.02518
                        }
                      ],
                      "others_margin": 0.062733
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.4753901958465576,
                    "model_output": 1.4754,
                    "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.1487
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0971
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0661
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0597
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0581
                        }
                      ],
                      "others": -0.0396,
                      "total": 1.4754,
                      "log_link": true,
                      "margin_base": 0.333417,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.101267
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.064951
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.044642
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.038718
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.037662
                        }
                      ],
                      "others_margin": -0.02651
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.8738526701927185,
                    "model_output": 0.8739,
                    "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.0937
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0537
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0514
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0398
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0376
                        }
                      ],
                      "others": -0.0025,
                      "total": 0.8739,
                      "log_link": true,
                      "margin_base": -0.153422,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.103698
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.05489
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.052513
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.042592
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.041974
                        }
                      ],
                      "others_margin": -0.00293
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 6.182666778564453,
                    "model_output": 6.1827,
                    "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.8117
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.56
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.4642
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.4145
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.4382
                        }
                      ],
                      "others": 0.0529,
                      "total": 6.1827,
                      "log_link": true,
                      "margin_base": 1.235809,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": 0.211786
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.123708
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.092085
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.075622
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.074168
                        }
                      ],
                      "others_margin": 0.008569
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 2.0694220066070557,
                    "model_output": 2.0694,
                    "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": "totalClearance",
                          "contribution": 0.1898
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.179
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.1951
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.192
                        },
                        {
                          "name": "aerialLost",
                          "contribution": 0.1611
                        }
                      ],
                      "others": -0.226,
                      "total": 2.0694,
                      "log_link": true,
                      "margin_base": 0.320928,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": 0.128986
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.108075
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.105843
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.094266
                        },
                        {
                          "name": "aerialLost",
                          "margin": 0.072789
                        }
                      ],
                      "others_margin": -0.103616
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5076687335968018,
                    "model_output": 0.5077,
                    "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.1061
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0827
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0643
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0248
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0098
                        }
                      ],
                      "others": -0.0401,
                      "total": 0.5077,
                      "log_link": false,
                      "margin_base": 0.47232,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.106066
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.082681
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.064303
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.024751
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.009762
                        }
                      ],
                      "others_margin": -0.040082
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.809070587158203,
                    "model_output": 6.8091,
                    "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.0275
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0205
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0181
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0144
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.013
                        }
                      ],
                      "others": 0.0106,
                      "total": 6.8091,
                      "log_link": false,
                      "margin_base": 6.785968,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": -0.027494
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.020494
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.018066
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.01444
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.013009
                        }
                      ],
                      "others_margin": 0.010604
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 5,
                  "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.9901, quality 0.439)",
              "stats": {
                "interceptions": 1.1822,
                "tackles": 1.4608,
                "tackles_won": 0.8652,
                "clearances": 6.1215,
                "aerial_won": 2.0489,
                "total_shots": 0.5027,
                "rating": 6.8091,
                "minutes": 90.0,
                "total_pass": 53.3262,
                "accurate_pass": 43.8321,
                "duels_won": 4.7761,
                "total_long_balls": 10.8414,
                "accurate_long_balls": 5.0422,
                "total_own_half_passes": 38.8887,
                "accurate_own_half_passes": 34.9602,
                "total_opp_half_passes": 14.4375,
                "accurate_opp_half_passes": 8.8719,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 70.2553,
                "possession_lost": 10.7606,
                "dispossessed": 0.0,
                "duels_lost": 3.4965,
                "aerial_lost": 2.169,
                "total_contest": 0.1929,
                "won_contest": 0.1929,
                "ball_recovery": 2.8404,
                "challenges_lost": 0.1394,
                "fouls": 1.1881,
                "fouls_drawn": 1.1043,
                "blocks": 0.5302,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0102,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 16.6921,
                "total_progression": 53.8476,
                "progressive_carries": 0.7232,
                "key_pass": 0.2669,
                "shots_off_target": 0.5027
              },
              "params": {
                "market_value_eur": 3100000,
                "quality_factor": 0.4387,
                "boost_factor": 0.9901,
                "reference_quality": 0.505,
                "history_matches": 5,
                "history_shrink": 0.5,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0650)",
              "stats": {
                "interceptions": 1.2137,
                "tackles": 1.4608,
                "tackles_won": 0.874,
                "clearances": 6.1215,
                "aerial_won": 2.0489,
                "total_shots": 0.47,
                "rating": 6.8091,
                "minutes": 90.0,
                "total_pass": 53.3262,
                "accurate_pass": 43.8321,
                "duels_won": 4.7761,
                "total_long_balls": 10.8414,
                "accurate_long_balls": 5.0422,
                "total_own_half_passes": 38.8887,
                "accurate_own_half_passes": 34.9602,
                "total_opp_half_passes": 14.4375,
                "accurate_opp_half_passes": 8.8719,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 70.2553,
                "possession_lost": 10.7606,
                "dispossessed": 0.0,
                "duels_lost": 3.4965,
                "aerial_lost": 2.169,
                "total_contest": 0.1929,
                "won_contest": 0.1929,
                "ball_recovery": 2.8404,
                "challenges_lost": 0.1394,
                "fouls": 1.1759,
                "fouls_drawn": 1.0759,
                "blocks": 0.5302,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0102,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 16.6921,
                "total_progression": 53.8476,
                "progressive_carries": 0.7232,
                "key_pass": 0.2669,
                "shots_off_target": 0.5027
              },
              "params": {
                "blend_weight": 0.065,
                "history_matches": 5,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 1.0,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Dep. A Coruña"
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 0.5027,
                  "after": 0.47
                },
                {
                  "stat": "interceptionWon",
                  "before": 1.1822,
                  "after": 1.2137
                },
                {
                  "stat": "wasFouled",
                  "before": 1.1043,
                  "after": 1.0759
                },
                {
                  "stat": "fouls",
                  "before": 1.1881,
                  "after": 1.1759
                },
                {
                  "stat": "wonTackle",
                  "before": 0.8652,
                  "after": 0.874
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1.2137,
                "tackles": 1.4608,
                "tackles_won": 0.874,
                "clearances": 6.1215,
                "aerial_won": 2.0489,
                "total_shots": 0.5027,
                "rating": 6.8091,
                "minutes": 90.0,
                "total_pass": 53.3262,
                "accurate_pass": 43.8321,
                "duels_won": 4.7761,
                "total_long_balls": 10.8414,
                "accurate_long_balls": 5.0422,
                "total_own_half_passes": 38.8887,
                "accurate_own_half_passes": 34.9602,
                "total_opp_half_passes": 14.4375,
                "accurate_opp_half_passes": 8.8719,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 70.2553,
                "possession_lost": 10.7606,
                "dispossessed": 0.0,
                "duels_lost": 3.4965,
                "aerial_lost": 2.169,
                "total_contest": 0.1929,
                "won_contest": 0.1929,
                "ball_recovery": 2.8404,
                "challenges_lost": 0.1394,
                "fouls": 1.1759,
                "fouls_drawn": 1.0759,
                "blocks": 0.5302,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0102,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 16.6921,
                "total_progression": 53.8476,
                "progressive_carries": 0.7232,
                "key_pass": 0.2669,
                "shots_off_target": 0.5027
              },
              "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.2137,
                "tackles": 1.4608,
                "tackles_won": 0.874,
                "clearances": 6.1215,
                "aerial_won": 2.0489,
                "total_shots": 0.5027,
                "rating": 6.8091,
                "minutes": 90.0,
                "total_pass": 53.3262,
                "accurate_pass": 43.8321,
                "duels_won": 4.7761,
                "total_long_balls": 10.8414,
                "accurate_long_balls": 5.0422,
                "total_own_half_passes": 38.8887,
                "accurate_own_half_passes": 34.9602,
                "total_opp_half_passes": 14.4375,
                "accurate_opp_half_passes": 8.8719,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 70.2553,
                "possession_lost": 10.7606,
                "dispossessed": 0.0,
                "duels_lost": 3.4965,
                "aerial_lost": 2.169,
                "total_contest": 0.1929,
                "won_contest": 0.1929,
                "ball_recovery": 2.8404,
                "challenges_lost": 0.1394,
                "fouls": 1.1759,
                "fouls_drawn": 1.0759,
                "blocks": 0.5302,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0102,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 16.6921,
                "total_progression": 53.8476,
                "progressive_carries": 0.7232,
                "key_pass": 0.2669,
                "shots_off_target": 0.5027,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.8,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.715,
                "opponent_faced": "Mikel Oyarzabal",
                "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": "Mikel Oyarzabal",
                  "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.81 (squad xG sum 0.8013, xG scale 1.0047, xA scale 1.0047, team xA 0.63 = 0.78 x lambda)",
              "stats": {
                "interceptions": 1.2137,
                "tackles": 1.4608,
                "tackles_won": 0.874,
                "clearances": 6.1215,
                "aerial_won": 2.0489,
                "total_shots": 0.5027,
                "rating": 6.8091,
                "minutes": 90.0,
                "total_pass": 53.3262,
                "accurate_pass": 43.8321,
                "duels_won": 4.7761,
                "total_long_balls": 10.8414,
                "accurate_long_balls": 5.0422,
                "total_own_half_passes": 38.8887,
                "accurate_own_half_passes": 34.9602,
                "total_opp_half_passes": 14.4375,
                "accurate_opp_half_passes": 8.8719,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 70.2553,
                "possession_lost": 10.7606,
                "dispossessed": 0.0,
                "duels_lost": 3.4965,
                "aerial_lost": 2.169,
                "total_contest": 0.1929,
                "won_contest": 0.1929,
                "ball_recovery": 2.8404,
                "challenges_lost": 0.1394,
                "fouls": 1.1759,
                "fouls_drawn": 1.0759,
                "blocks": 0.5302,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0102,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 16.6921,
                "total_progression": 53.8476,
                "progressive_carries": 0.7232,
                "key_pass": 0.2669,
                "shots_off_target": 0.5027,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.8,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.715,
                "opponent_faced": "Mikel Oyarzabal",
                "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.0,
                "creation_factor": 0.8306
              },
              "params": {
                "team_lambda": 0.805,
                "squad_xg_sum": 0.8013,
                "squad_xa_sum": 0.6279,
                "team_expected_assists": 0.6308,
                "team_xa_to_xg_ratio": 0.7836,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0047,
                "xa_scale": 1.0047,
                "opponent_lambda": 1.498,
                "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 73.0; not used by the projection)",
              "stats": {
                "interceptions": 1.2137,
                "tackles": 1.4608,
                "tackles_won": 0.874,
                "clearances": 6.1215,
                "aerial_won": 2.0489,
                "total_shots": 0.5027,
                "rating": 6.8091,
                "minutes": 90.0,
                "total_pass": 53.3262,
                "accurate_pass": 43.8321,
                "duels_won": 4.7761,
                "total_long_balls": 10.8414,
                "accurate_long_balls": 5.0422,
                "total_own_half_passes": 38.8887,
                "accurate_own_half_passes": 34.9602,
                "total_opp_half_passes": 14.4375,
                "accurate_opp_half_passes": 8.8719,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 70.2553,
                "possession_lost": 10.7606,
                "dispossessed": 0.0,
                "duels_lost": 3.4965,
                "aerial_lost": 2.169,
                "total_contest": 0.1929,
                "won_contest": 0.1929,
                "ball_recovery": 2.8404,
                "challenges_lost": 0.1394,
                "fouls": 1.1759,
                "fouls_drawn": 1.0759,
                "blocks": 0.5302,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0102,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 16.6921,
                "total_progression": 53.8476,
                "progressive_carries": 0.7232,
                "key_pass": 0.2669,
                "shots_off_target": 0.5027,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.8,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.715,
                "opponent_faced": "Mikel Oyarzabal",
                "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.0,
                "creation_factor": 0.8306,
                "fifa_overall": 73.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": 4136,
                "fifa_rank": 3521.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": {
                "interceptions": 1.2137,
                "tackles": 1.4608,
                "tackles_won": 0.874,
                "clearances": 6.1215,
                "aerial_won": 2.0489,
                "total_shots": 0.5027,
                "rating": 6.8091,
                "minutes": 90.0,
                "total_pass": 53.3262,
                "accurate_pass": 43.8321,
                "duels_won": 4.7761,
                "total_long_balls": 10.8414,
                "accurate_long_balls": 5.0422,
                "total_own_half_passes": 38.8887,
                "accurate_own_half_passes": 34.9602,
                "total_opp_half_passes": 14.4375,
                "accurate_opp_half_passes": 8.8719,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 70.2553,
                "possession_lost": 10.7606,
                "dispossessed": 0.0,
                "duels_lost": 3.4965,
                "aerial_lost": 2.169,
                "total_contest": 0.1929,
                "won_contest": 0.1929,
                "ball_recovery": 2.8404,
                "challenges_lost": 0.1394,
                "fouls": 1.1759,
                "fouls_drawn": 1.0759,
                "blocks": 0.5302,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0102,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 16.6921,
                "total_progression": 53.8476,
                "progressive_carries": 0.7232,
                "key_pass": 0.2669,
                "shots_off_target": 0.5027,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.8,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.715,
                "opponent_faced": "Mikel Oyarzabal",
                "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.0,
                "creation_factor": 0.8306,
                "fifa_overall": 73.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.001,
                "squad_weight_total": 0.751,
                "weight_share": 0.0013,
                "finishing_factor": 1.0,
                "appearance_weight": 1.0,
                "weight_rank": 13,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "interceptions": 1.2137,
                "tackles": 1.4608,
                "tackles_won": 0.874,
                "clearances": 6.1215,
                "aerial_won": 2.0489,
                "total_shots": 0.5027,
                "rating": 6.8091,
                "minutes": 90.0,
                "total_pass": 53.3262,
                "accurate_pass": 43.8321,
                "duels_won": 4.7761,
                "total_long_balls": 10.8414,
                "accurate_long_balls": 5.0422,
                "total_own_half_passes": 38.8887,
                "accurate_own_half_passes": 34.9602,
                "total_opp_half_passes": 14.4375,
                "accurate_opp_half_passes": 8.8719,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 70.2553,
                "possession_lost": 10.7606,
                "dispossessed": 0.0,
                "duels_lost": 3.4965,
                "aerial_lost": 2.169,
                "total_contest": 0.1929,
                "won_contest": 0.1929,
                "ball_recovery": 2.8404,
                "challenges_lost": 0.1394,
                "fouls": 1.1759,
                "fouls_drawn": 1.0759,
                "blocks": 0.5302,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0102,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 16.6921,
                "total_progression": 53.8476,
                "progressive_carries": 0.7232,
                "key_pass": 0.2669,
                "shots_off_target": 0.5027,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.8,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.715,
                "opponent_faced": "Mikel Oyarzabal",
                "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.0101,
                "finishing_factor": 1.0,
                "creation_factor": 0.8306,
                "fifa_overall": 73.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0101,
                "provider_weight": 0.0085,
                "squad_weight_total": 0.6285,
                "weight_share": 0.0135,
                "creation_factor": 0.8306,
                "appearance_weight": 1.0,
                "weight_rank": 13,
                "eligible_players": 13
              }
            }
          ]
        },
        "Ximo Navarro": {
          "player_id": 150864,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 23,
          "height": 176,
          "market_value": 95000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 1,
            "clearances": 5,
            "aerial_won": 1,
            "total_shots": 1,
            "rating": 6.7507,
            "minutes": 89,
            "total_pass": 37,
            "accurate_pass": 32,
            "duels_won": 4,
            "total_long_balls": 4,
            "accurate_long_balls": 2,
            "total_own_half_passes": 22,
            "accurate_own_half_passes": 20,
            "total_opp_half_passes": 15,
            "accurate_opp_half_passes": 11,
            "crosses_total": 2,
            "crosses_accurate": 0,
            "touches": 60,
            "possession_lost": 9.2835,
            "dispossessed": 0.2028,
            "duels_lost": 5,
            "aerial_lost": 2,
            "total_contest": 1,
            "won_contest": 0,
            "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.0542,
            "expected_assists": 0.0162,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 12,
            "total_progression": 22,
            "progressive_carries": 1,
            "key_pass": 0,
            "shots_off_target": 1,
            "tackles_in_zone": 1.9,
            "tackles_won_in_zone": 1.5,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.9,
            "defensive_success_rate": 0.5,
            "opponent_faced": "Carlos Soler",
            "pressing_zone": "Left Mid vs Right Back — Wide Channel",
            "matchup_zone": "Left Mid vs Right Back — Wide Channel",
            "antagonist_source": "defensive_duel",
            "projected_goals": 0,
            "goal_probability": 0.0528,
            "projected_assists": 0,
            "assist_probability": 0.0161,
            "finishing_factor": 0.8,
            "creation_factor": 0.8,
            "fifa_overall": 72.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": "home",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1813,
                "expected_assists": 0.0046,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 36,
                "accurate_pass": 32,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 3,
                "clearances": 4,
                "aerial_won": 2,
                "duels_won": 5,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416326,
              "match_date": "2026-09-13",
              "home_team": "Getafe",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0038,
                "total_shots": 0,
                "total_pass": 45,
                "accurate_pass": 36,
                "tackles": 3,
                "tackles_won": 1,
                "clearances": 8,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416324,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0142,
                "total_shots": 0,
                "total_pass": 30,
                "accurate_pass": 25,
                "tackles": 5,
                "tackles_won": 4,
                "interceptions": 2,
                "clearances": 8,
                "duels_won": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416291,
              "match_date": "2026-08-30",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Valencia",
              "stats": {
                "minutes": 83,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0724,
                "expected_assists": 0.0117,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 36,
                "accurate_pass": 31,
                "interceptions": 2,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416307,
              "match_date": "2026-08-24",
              "home_team": "Málaga CF",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0662,
                "total_shots": 0,
                "total_pass": 38,
                "accurate_pass": 37,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 3,
                "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": 16421050,
              "match_date": "2026-08-17",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0163,
                "total_shots": 0,
                "total_pass": 36,
                "accurate_pass": 30,
                "tackles": 3,
                "tackles_won": 1,
                "interceptions": 1,
                "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"
            }
          ],
          "ranking": {
            "global_player_rank": 4544,
            "combined_rank_score": 2602.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 959.0,
            "sofascore_rating": 6.4,
            "sofascore_appearances": 1.0,
            "fifa_rank": 4245.0,
            "fifa_overall": 72.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 10,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7507,
            "source_file": "data/player_rankings.csv",
            "player_name": "Ximo Navarro",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Ibrahim Diabaté",
                  "ranking": 4539
                },
                {
                  "player_name": "Chuba Akpom",
                  "ranking": 4540
                },
                {
                  "player_name": "Dani Rodríguez",
                  "ranking": 4541
                },
                {
                  "player_name": "Alex Valera",
                  "ranking": 4542
                },
                {
                  "player_name": "Marcos Fernández",
                  "ranking": 4543
                }
              ],
              "lower": [
                {
                  "player_name": "João Virgínia",
                  "ranking": 4545
                },
                {
                  "player_name": "Dimitri Foulquier",
                  "ranking": 4546
                },
                {
                  "player_name": "Nathan Patterson",
                  "ranking": 4547
                },
                {
                  "player_name": "Isaac Price",
                  "ranking": 4548
                },
                {
                  "player_name": "Andy Irving",
                  "ranking": 4549
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.654,
          "history_matches": 6,
          "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": 6,
            "data_confidence": 0.654,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9908,
            "fbref_prior_metrics": {
              "squad": "Dep. A Coruña",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 262.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.69,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.1933
            },
            "rationale": "XGBoost regressor (D_service) evaluated 6 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Dep. A Coruña, 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": 1.1366,
                "tackles": 2.0209,
                "tackles_won": 1.3198,
                "clearances": 5.0116,
                "aerial_won": 1.4241,
                "total_shots": 0.5167,
                "rating": 6.7507,
                "minutes": 89.22,
                "total_pass": 37.0498,
                "accurate_pass": 31.8678,
                "duels_won": 4.2708,
                "total_long_balls": 3.5986,
                "accurate_long_balls": 1.9104,
                "total_own_half_passes": 22.1211,
                "accurate_own_half_passes": 20.5633,
                "total_opp_half_passes": 14.9287,
                "accurate_opp_half_passes": 11.3045,
                "crosses_total": 1.8436,
                "crosses_accurate": 0.0,
                "touches": 60.8075,
                "possession_lost": 9.3697,
                "dispossessed": 0.2047,
                "duels_lost": 4.9649,
                "aerial_lost": 2.2297,
                "total_contest": 0.8639,
                "won_contest": 0.0,
                "ball_recovery": 2.4764,
                "challenges_lost": 1.1035,
                "fouls": 0.563,
                "fouls_drawn": 0.9778,
                "blocks": 0.174,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0544,
                "expected_assists": 0.0162,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 12.1908,
                "total_progression": 21.949,
                "progressive_carries": 0.7452,
                "key_pass": 0.1257,
                "shots_off_target": 0.5167
              },
              "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": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2408,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2047,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.174,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Valencia",
                    "minutes": 83.0,
                    "is_starting": true,
                    "weight": 0.1479,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Málaga CF",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1257,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-17",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1069,
                    "rating": 6.3
                  }
                ],
                "feature_row": {
                  "history_matches": 6.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 4.7317,
                  "aerialWon": 0.7553,
                  "totalClearance_p90": 4.7442,
                  "totalTackle": 2.5378,
                  "totalPass": 37.0498
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 1.1365976333618164,
                    "model_output": 1.1366,
                    "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.1184
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.088
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0325
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0277
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0251
                        }
                      ],
                      "others": 0.0361,
                      "total": 1.1366,
                      "log_link": true,
                      "margin_base": -0.152032,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.129178
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.08624
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.030078
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.024891
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.022506
                        }
                      ],
                      "others_margin": 0.032191
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 2.0208964347839355,
                    "model_output": 2.0209,
                    "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.2065
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.1059
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.1052
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.1044
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0981
                        }
                      ],
                      "others": 0.0051,
                      "total": 2.0209,
                      "log_link": true,
                      "margin_base": 0.333417,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.137975
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.064
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.059755
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.055983
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.049888
                        }
                      ],
                      "others_margin": 0.002524
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 1.31981360912323,
                    "model_output": 1.3198,
                    "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.1228
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0827
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0825
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0791
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.069
                        }
                      ],
                      "others": 0.0259,
                      "total": 1.3198,
                      "log_link": true,
                      "margin_base": -0.153422,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.133757
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.080973
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.074711
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.066721
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.054786
                        }
                      ],
                      "others_margin": 0.019964
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 5.0116448402404785,
                    "model_output": 5.0116,
                    "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": 0.4718
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.5257
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.2765
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.2148
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.1421
                        }
                      ],
                      "others": 0.2237,
                      "total": 5.0116,
                      "log_link": true,
                      "margin_base": 1.235809,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.128496
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.126061
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.060424
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.044555
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.029251
                        }
                      ],
                      "others_margin": 0.045671
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.4241423606872559,
                    "model_output": 1.4241,
                    "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.29
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1522
                        },
                        {
                          "name": "aerialLost",
                          "contribution": 0.1129
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.1196
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.124
                        }
                      ],
                      "others": -0.173,
                      "total": 1.4241,
                      "log_link": true,
                      "margin_base": 0.320928,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": -0.236208
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.130862
                        },
                        {
                          "name": "aerialLost",
                          "margin": 0.087075
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.084709
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.080833
                        }
                      ],
                      "others_margin": -0.114629
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5166583061218262,
                    "model_output": 0.5167,
                    "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.0616
                        },
                        {
                          "name": "rating",
                          "contribution": -0.04
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0335
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": 0.0213
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.0106
                        }
                      ],
                      "others": -0.0214,
                      "total": 0.5167,
                      "log_link": false,
                      "margin_base": 0.47232,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.061648
                        },
                        {
                          "name": "rating",
                          "margin": -0.040018
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.033509
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": 0.021252
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": -0.010592
                        }
                      ],
                      "others_margin": -0.021461
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.750722408294678,
                    "model_output": 6.7507,
                    "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.0218
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0175
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0136
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0131
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0121
                        }
                      ],
                      "others": -0.0194,
                      "total": 6.7507,
                      "log_link": false,
                      "margin_base": 6.785968,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": -0.021758
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.017504
                        },
                        {
                          "name": "touches",
                          "margin": 0.013572
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.013083
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.01209
                        }
                      ],
                      "others_margin": -0.019391
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 6,
                  "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.9908, quality 0.437)",
              "stats": {
                "interceptions": 1.1261,
                "tackles": 2.0023,
                "tackles_won": 1.3077,
                "clearances": 4.9655,
                "aerial_won": 1.411,
                "total_shots": 0.5119,
                "rating": 6.7507,
                "minutes": 89.22,
                "total_pass": 36.7089,
                "accurate_pass": 31.5746,
                "duels_won": 4.2315,
                "total_long_balls": 3.5655,
                "accurate_long_balls": 1.8928,
                "total_own_half_passes": 21.9176,
                "accurate_own_half_passes": 20.3741,
                "total_opp_half_passes": 14.7914,
                "accurate_opp_half_passes": 11.2005,
                "crosses_total": 1.8266,
                "crosses_accurate": 0.0,
                "touches": 60.2481,
                "possession_lost": 9.2835,
                "dispossessed": 0.2028,
                "duels_lost": 4.9192,
                "aerial_lost": 2.2092,
                "total_contest": 0.856,
                "won_contest": 0.0,
                "ball_recovery": 2.4536,
                "challenges_lost": 1.0933,
                "fouls": 0.5578,
                "fouls_drawn": 0.9688,
                "blocks": 0.1724,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0539,
                "expected_assists": 0.0161,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 12.0786,
                "total_progression": 21.7471,
                "progressive_carries": 0.7383,
                "key_pass": 0.1245,
                "shots_off_target": 0.5119
              },
              "params": {
                "market_value_eur": 95000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9908,
                "reference_quality": 0.505,
                "history_matches": 6,
                "history_shrink": 0.4545,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0571)",
              "stats": {
                "interceptions": 1.1399,
                "tackles": 2.0023,
                "tackles_won": 1.2721,
                "clearances": 4.9655,
                "aerial_won": 1.411,
                "total_shots": 0.5217,
                "rating": 6.7507,
                "minutes": 89.22,
                "total_pass": 36.7089,
                "accurate_pass": 31.5746,
                "duels_won": 4.2315,
                "total_long_balls": 3.5655,
                "accurate_long_balls": 1.8928,
                "total_own_half_passes": 21.9176,
                "accurate_own_half_passes": 20.3741,
                "total_opp_half_passes": 14.7914,
                "accurate_opp_half_passes": 11.2005,
                "crosses_total": 1.8199,
                "crosses_accurate": 0.0,
                "touches": 60.2481,
                "possession_lost": 9.2835,
                "dispossessed": 0.2028,
                "duels_lost": 4.9192,
                "aerial_lost": 2.2092,
                "total_contest": 0.856,
                "won_contest": 0.0,
                "ball_recovery": 2.4536,
                "challenges_lost": 1.0933,
                "fouls": 0.5845,
                "fouls_drawn": 0.972,
                "blocks": 0.1724,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0539,
                "expected_assists": 0.0161,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 12.0786,
                "total_progression": 21.7471,
                "progressive_carries": 0.7383,
                "key_pass": 0.1245,
                "shots_off_target": 0.5119
              },
              "params": {
                "blend_weight": 0.0571,
                "history_matches": 6,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9913,
                "prior_reliability": 0.1933,
                "competition": "La Liga",
                "squad": "Dep. A Coruña"
              },
              "changes": [
                {
                  "stat": "wonTackle",
                  "before": 1.3077,
                  "after": 1.2721
                },
                {
                  "stat": "fouls",
                  "before": 0.5578,
                  "after": 0.5845
                },
                {
                  "stat": "interceptionWon",
                  "before": 1.1261,
                  "after": 1.1399
                },
                {
                  "stat": "totalShots",
                  "before": 0.5119,
                  "after": 0.5217
                },
                {
                  "stat": "totalCross",
                  "before": 1.8266,
                  "after": 1.8199
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1.1399,
                "tackles": 2.0023,
                "tackles_won": 1.2721,
                "clearances": 4.9655,
                "aerial_won": 1.411,
                "total_shots": 0.5217,
                "rating": 6.7507,
                "minutes": 89.22,
                "total_pass": 36.7089,
                "accurate_pass": 31.5746,
                "duels_won": 4.2315,
                "total_long_balls": 3.5655,
                "accurate_long_balls": 1.8928,
                "total_own_half_passes": 21.9176,
                "accurate_own_half_passes": 20.3741,
                "total_opp_half_passes": 14.7914,
                "accurate_opp_half_passes": 11.2005,
                "crosses_total": 1.8199,
                "crosses_accurate": 0.0,
                "touches": 60.2481,
                "possession_lost": 9.2835,
                "dispossessed": 0.2028,
                "duels_lost": 4.9192,
                "aerial_lost": 2.2092,
                "total_contest": 0.856,
                "won_contest": 0.0,
                "ball_recovery": 2.4536,
                "challenges_lost": 1.0933,
                "fouls": 0.5845,
                "fouls_drawn": 0.972,
                "blocks": 0.1724,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0539,
                "expected_assists": 0.0161,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 12.0786,
                "total_progression": 21.7471,
                "progressive_carries": 0.7383,
                "key_pass": 0.1245,
                "shots_off_target": 0.5119
              },
              "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.1399,
                "tackles": 2.0023,
                "tackles_won": 1.2721,
                "clearances": 4.9655,
                "aerial_won": 1.411,
                "total_shots": 0.5217,
                "rating": 6.7507,
                "minutes": 89.22,
                "total_pass": 36.7089,
                "accurate_pass": 31.5746,
                "duels_won": 4.2315,
                "total_long_balls": 3.5655,
                "accurate_long_balls": 1.8928,
                "total_own_half_passes": 21.9176,
                "accurate_own_half_passes": 20.3741,
                "total_opp_half_passes": 14.7914,
                "accurate_opp_half_passes": 11.2005,
                "crosses_total": 1.8199,
                "crosses_accurate": 0.0,
                "touches": 60.2481,
                "possession_lost": 9.2835,
                "dispossessed": 0.2028,
                "duels_lost": 4.9192,
                "aerial_lost": 2.2092,
                "total_contest": 0.856,
                "won_contest": 0.0,
                "ball_recovery": 2.4536,
                "challenges_lost": 1.0933,
                "fouls": 0.5845,
                "fouls_drawn": 0.972,
                "blocks": 0.1724,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0539,
                "expected_assists": 0.0161,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 12.0786,
                "total_progression": 21.7471,
                "progressive_carries": 0.7383,
                "key_pass": 0.1245,
                "shots_off_target": 0.5119,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.5,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 0.9,
                "defensive_success_rate": 0.5,
                "opponent_faced": "Carlos Soler",
                "pressing_zone": "Left Mid vs Right Back — Wide Channel",
                "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                "antagonist_source": "defensive_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Carlos Soler",
                  "matchup_zone": "Left Mid vs Right Back — Wide Channel"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 0.81 (squad xG sum 0.8013, xG scale 1.0047, xA scale 1.0047, team xA 0.63 = 0.78 x lambda)",
              "stats": {
                "interceptions": 1.1399,
                "tackles": 2.0023,
                "tackles_won": 1.2721,
                "clearances": 4.9655,
                "aerial_won": 1.411,
                "total_shots": 0.5217,
                "rating": 6.7507,
                "minutes": 89.22,
                "total_pass": 36.7089,
                "accurate_pass": 31.5746,
                "duels_won": 4.2315,
                "total_long_balls": 3.5655,
                "accurate_long_balls": 1.8928,
                "total_own_half_passes": 21.9176,
                "accurate_own_half_passes": 20.3741,
                "total_opp_half_passes": 14.7914,
                "accurate_opp_half_passes": 11.2005,
                "crosses_total": 1.8199,
                "crosses_accurate": 0.0,
                "touches": 60.2481,
                "possession_lost": 9.2835,
                "dispossessed": 0.2028,
                "duels_lost": 4.9192,
                "aerial_lost": 2.2092,
                "total_contest": 0.856,
                "won_contest": 0.0,
                "ball_recovery": 2.4536,
                "challenges_lost": 1.0933,
                "fouls": 0.5845,
                "fouls_drawn": 0.972,
                "blocks": 0.1724,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0542,
                "expected_assists": 0.0162,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 12.0786,
                "total_progression": 21.7471,
                "progressive_carries": 0.7383,
                "key_pass": 0.1245,
                "shots_off_target": 0.5119,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.5,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 0.9,
                "defensive_success_rate": 0.5,
                "opponent_faced": "Carlos Soler",
                "pressing_zone": "Left Mid vs Right Back — Wide Channel",
                "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                "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.805,
                "squad_xg_sum": 0.8013,
                "squad_xa_sum": 0.6279,
                "team_expected_assists": 0.6308,
                "team_xa_to_xg_ratio": 0.7836,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0047,
                "xa_scale": 1.0047,
                "opponent_lambda": 1.498,
                "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 72.0; not used by the projection)",
              "stats": {
                "interceptions": 1.1399,
                "tackles": 2.0023,
                "tackles_won": 1.2721,
                "clearances": 4.9655,
                "aerial_won": 1.411,
                "total_shots": 0.5217,
                "rating": 6.7507,
                "minutes": 89.22,
                "total_pass": 36.7089,
                "accurate_pass": 31.5746,
                "duels_won": 4.2315,
                "total_long_balls": 3.5655,
                "accurate_long_balls": 1.8928,
                "total_own_half_passes": 21.9176,
                "accurate_own_half_passes": 20.3741,
                "total_opp_half_passes": 14.7914,
                "accurate_opp_half_passes": 11.2005,
                "crosses_total": 1.8199,
                "crosses_accurate": 0.0,
                "touches": 60.2481,
                "possession_lost": 9.2835,
                "dispossessed": 0.2028,
                "duels_lost": 4.9192,
                "aerial_lost": 2.2092,
                "total_contest": 0.856,
                "won_contest": 0.0,
                "ball_recovery": 2.4536,
                "challenges_lost": 1.0933,
                "fouls": 0.5845,
                "fouls_drawn": 0.972,
                "blocks": 0.1724,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0542,
                "expected_assists": 0.0162,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 12.0786,
                "total_progression": 21.7471,
                "progressive_carries": 0.7383,
                "key_pass": 0.1245,
                "shots_off_target": 0.5119,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.5,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 0.9,
                "defensive_success_rate": 0.5,
                "opponent_faced": "Carlos Soler",
                "pressing_zone": "Left Mid vs Right Back — Wide Channel",
                "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                "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": 72.0
              },
              "params": {
                "match_squad_rank": 10,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 4544,
                "fifa_rank": 4245.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 72.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "interceptions": 1.1399,
                "tackles": 2.0023,
                "tackles_won": 1.2721,
                "clearances": 4.9655,
                "aerial_won": 1.411,
                "total_shots": 0.5217,
                "rating": 6.7507,
                "minutes": 89.22,
                "total_pass": 36.7089,
                "accurate_pass": 31.5746,
                "duels_won": 4.2315,
                "total_long_balls": 3.5655,
                "accurate_long_balls": 1.8928,
                "total_own_half_passes": 21.9176,
                "accurate_own_half_passes": 20.3741,
                "total_opp_half_passes": 14.7914,
                "accurate_opp_half_passes": 11.2005,
                "crosses_total": 1.8199,
                "crosses_accurate": 0.0,
                "touches": 60.2481,
                "possession_lost": 9.2835,
                "dispossessed": 0.2028,
                "duels_lost": 4.9192,
                "aerial_lost": 2.2092,
                "total_contest": 0.856,
                "won_contest": 0.0,
                "ball_recovery": 2.4536,
                "challenges_lost": 1.0933,
                "fouls": 0.5845,
                "fouls_drawn": 0.972,
                "blocks": 0.1724,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0542,
                "expected_assists": 0.0162,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 12.0786,
                "total_progression": 21.7471,
                "progressive_carries": 0.7383,
                "key_pass": 0.1245,
                "shots_off_target": 0.5119,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.5,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 0.9,
                "defensive_success_rate": 0.5,
                "opponent_faced": "Carlos Soler",
                "pressing_zone": "Left Mid vs Right Back — Wide Channel",
                "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0528,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 72.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0528,
                "scorer_weight": 0.0434,
                "squad_weight_total": 0.751,
                "weight_share": 0.0577,
                "finishing_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 8,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "interceptions": 1.1399,
                "tackles": 2.0023,
                "tackles_won": 1.2721,
                "clearances": 4.9655,
                "aerial_won": 1.411,
                "total_shots": 0.5217,
                "rating": 6.7507,
                "minutes": 89.22,
                "total_pass": 36.7089,
                "accurate_pass": 31.5746,
                "duels_won": 4.2315,
                "total_long_balls": 3.5655,
                "accurate_long_balls": 1.8928,
                "total_own_half_passes": 21.9176,
                "accurate_own_half_passes": 20.3741,
                "total_opp_half_passes": 14.7914,
                "accurate_opp_half_passes": 11.2005,
                "crosses_total": 1.8199,
                "crosses_accurate": 0.0,
                "touches": 60.2481,
                "possession_lost": 9.2835,
                "dispossessed": 0.2028,
                "duels_lost": 4.9192,
                "aerial_lost": 2.2092,
                "total_contest": 0.856,
                "won_contest": 0.0,
                "ball_recovery": 2.4536,
                "challenges_lost": 1.0933,
                "fouls": 0.5845,
                "fouls_drawn": 0.972,
                "blocks": 0.1724,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0542,
                "expected_assists": 0.0162,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 12.0786,
                "total_progression": 21.7471,
                "progressive_carries": 0.7383,
                "key_pass": 0.1245,
                "shots_off_target": 0.5119,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.5,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 0.9,
                "defensive_success_rate": 0.5,
                "opponent_faced": "Carlos Soler",
                "pressing_zone": "Left Mid vs Right Back — Wide Channel",
                "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0528,
                "projected_assists": 0,
                "assist_probability": 0.0161,
                "finishing_factor": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 72.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0161,
                "provider_weight": 0.013,
                "squad_weight_total": 0.6285,
                "weight_share": 0.0206,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 10,
                "eligible_players": 13
              }
            }
          ]
        },
        "Leo Román": {
          "player_id": 1131909,
          "position": "G",
          "position_depth": "G",
          "is_starter": true,
          "shirt_number": 13,
          "height": 189,
          "market_value": 5800000,
          "stats": {
            "saves": 3,
            "goals_prevented": 0.0247,
            "rating": 7.0762,
            "minutes": 90,
            "total_pass": 39,
            "accurate_pass": 32,
            "total_long_balls": 13,
            "accurate_long_balls": 5,
            "touches": 47,
            "clearances": 1,
            "ball_recovery": 7,
            "high_claims": 1,
            "punches": 0.5757,
            "aerial_won": 0,
            "sweeper_actions": 1,
            "sweeper_accurate": 1,
            "saves_inside_box": 1,
            "possession_lost": 7.9608,
            "duels_won": 0,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 30,
            "accurate_own_half_passes": 28,
            "gk_engine_opponent_lambda": 1.4672,
            "shots_faced": 14.2,
            "expected_saves": 3.47,
            "high_pressure_saves": 1.2,
            "opponent_faced": "Mikel Oyarzabal, Luka Sučić",
            "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": "home",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0004,
                "total_shots": 0,
                "total_pass": 34,
                "accurate_pass": 28,
                "clearances": 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": 16416343,
              "match_date": "2026-09-16",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 7.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0018,
                "total_shots": 0,
                "total_pass": 42,
                "accurate_pass": 36,
                "ball_recovery": 12,
                "saves": 5,
                "goals_prevented": -0.0802
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416326,
              "match_date": "2026-09-13",
              "home_team": "Getafe",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0005,
                "total_shots": 0,
                "total_pass": 44,
                "accurate_pass": 36,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 8,
                "saves": 3,
                "goals_prevented": -0.0592
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416324,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0006,
                "total_shots": 0,
                "total_pass": 40,
                "accurate_pass": 28,
                "ball_recovery": 7,
                "saves": 4,
                "goals_prevented": -0.5197
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416291,
              "match_date": "2026-08-30",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0045,
                "total_shots": 0,
                "total_pass": 37,
                "accurate_pass": 24,
                "ball_recovery": 7,
                "saves": 3,
                "goals_prevented": 0.5332
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416307,
              "match_date": "2026-08-24",
              "home_team": "Málaga CF",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 90,
                "rating": 7.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0018,
                "total_shots": 0,
                "total_pass": 42,
                "accurate_pass": 39,
                "ball_recovery": 6,
                "saves": 1,
                "goals_prevented": 0.3223
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421050,
              "match_date": "2026-08-17",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 7.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0004,
                "total_shots": 0,
                "total_pass": 33,
                "accurate_pass": 24,
                "clearances": 2,
                "ball_recovery": 7,
                "saves": 5,
                "goals_prevented": 0.538
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083727,
              "match_date": "2026-05-23",
              "home_team": "Mallorca",
              "away_team": "Real Oviedo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Mallorca",
              "opponent": "Real Oviedo",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0022,
                "total_shots": 0,
                "total_pass": 39,
                "accurate_pass": 30,
                "clearances": 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": 14083676,
              "match_date": "2026-05-17",
              "home_team": "Levante UD",
              "away_team": "Mallorca",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Mallorca",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0024,
                "total_shots": 0,
                "total_pass": 48,
                "accurate_pass": 45,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 8,
                "saves": 1,
                "goals_prevented": -0.1518
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083618,
              "match_date": "2026-05-13",
              "home_team": "Getafe",
              "away_team": "Mallorca",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Mallorca",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 5.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0004,
                "total_shots": 0,
                "total_pass": 40,
                "accurate_pass": 36,
                "ball_recovery": 5,
                "saves": 1,
                "goals_prevented": -0.8454
              },
              "has_player_stats": true,
              "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": 2271,
            "combined_rank_score": 830.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 91.0,
            "sofascore_rating": 7.5,
            "sofascore_appearances": 1.0,
            "fifa_rank": 1570.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.0762,
            "source_file": "data/player_rankings.csv",
            "player_name": "Leo Román",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Bafodé Diakité",
                  "ranking": 2266
                },
                {
                  "player_name": "Kwasi Sibo",
                  "ranking": 2267
                },
                {
                  "player_name": "Jordan Henderson",
                  "ranking": 2268
                },
                {
                  "player_name": "Andoni Gorosabel",
                  "ranking": 2269
                },
                {
                  "player_name": "Jeong-Yeon Wu",
                  "ranking": 2270
                }
              ],
              "lower": [
                {
                  "player_name": "Mathías Olivera",
                  "ranking": 2272
                },
                {
                  "player_name": "Luis Suárez",
                  "ranking": 2273
                },
                {
                  "player_name": "Calvin Bassey",
                  "ranking": 2274
                },
                {
                  "player_name": "Shahzod Akramov",
                  "ranking": 2275
                },
                {
                  "player_name": "Yves Bissouma",
                  "ranking": 2276
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.78,
          "history_matches": 40,
          "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": 40,
            "data_confidence": 0.78,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9989,
            "fbref_prior_metrics": {
              "squad": "Dep. A Coruña",
              "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 40 historical appearances across 3 target models; FBref 2026-2027 prior blended (La Liga, Dep. A Coruña, rel: 0.20, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost G_service raw output over 3 target models",
              "stats": {
                "saves": 2.9343,
                "goals_prevented": 0.0247,
                "rating": 7.0762,
                "minutes": 90.0,
                "total_pass": 39.4293,
                "accurate_pass": 31.6914,
                "total_long_balls": 12.8463,
                "accurate_long_balls": 5.4572,
                "touches": 46.9298,
                "clearances": 0.8877,
                "ball_recovery": 7.374,
                "high_claims": 0.6191,
                "punches": 0.5763,
                "aerial_won": 0.1691,
                "sweeper_actions": 0.8334,
                "sweeper_accurate": 0.8334,
                "saves_inside_box": 1.3981,
                "possession_lost": 7.9696,
                "duels_won": 0.254,
                "duels_lost": 0.0425,
                "total_contest": 0.0409,
                "won_contest": 0.0409,
                "fouls": 0.0019,
                "fouls_drawn": 0.0418,
                "total_own_half_passes": 30.427,
                "accurate_own_half_passes": 28.2689
              },
              "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": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1502,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1277,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1085,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0923,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Málaga CF",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-08-17",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Real Oviedo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 5.8
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "sweeper_actions_p90": 0.5007,
                  "accurateOwnHalfPasses": 28.2689,
                  "accurateLongBalls": 5.4572,
                  "aerialWon": 0.1691,
                  "accurateKeeperSweeper": 0.8334,
                  "sweeper_accuracy": 0.3621
                },
                "per_target": [
                  {
                    "target": "saves",
                    "predicted": 2.934324264526367,
                    "model_output": 2.9343,
                    "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": "accurateLongBalls",
                          "contribution": 0.0162
                        },
                        {
                          "name": "saves",
                          "contribution": -0.0131
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0107
                        },
                        {
                          "name": "totalOwnHalfPasses",
                          "contribution": 0.0078
                        },
                        {
                          "name": "sweeper_accuracy",
                          "contribution": -0.0077
                        }
                      ],
                      "others": 0.0063,
                      "total": 2.9343,
                      "log_link": true,
                      "margin_base": 1.07688,
                      "item_margins": [
                        {
                          "name": "accurateLongBalls",
                          "margin": 0.005501
                        },
                        {
                          "name": "saves",
                          "margin": -0.004449
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.003649
                        },
                        {
                          "name": "totalOwnHalfPasses",
                          "margin": 0.002655
                        },
                        {
                          "name": "sweeper_accuracy",
                          "margin": -0.002622
                        }
                      ],
                      "others_margin": 0.002161
                    }
                  },
                  {
                    "target": "goalsPrevented",
                    "predicted": 0.024736275896430016,
                    "model_output": 0.0247,
                    "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": "pass_accuracy",
                          "contribution": 0.0212
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "contribution": -0.0098
                        },
                        {
                          "name": "sweeper_actions_p90",
                          "contribution": -0.0095
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0093
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0077
                        }
                      ],
                      "others": 0.0274,
                      "total": 0.0247,
                      "log_link": false,
                      "margin_base": -0.021558,
                      "item_margins": [
                        {
                          "name": "pass_accuracy",
                          "margin": 0.021228
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "margin": -0.009793
                        },
                        {
                          "name": "sweeper_actions_p90",
                          "margin": -0.009454
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.009286
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.007659
                        }
                      ],
                      "others_margin": 0.02737
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.076220989227295,
                    "model_output": 7.0762,
                    "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": "totalPass",
                          "contribution": 0.0164
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": 0.0162
                        },
                        {
                          "name": "accurateLongBalls",
                          "contribution": 0.0126
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "contribution": -0.0111
                        },
                        {
                          "name": "sweeper_accuracy",
                          "contribution": -0.0105
                        }
                      ],
                      "others": 0.0498,
                      "total": 7.0762,
                      "log_link": false,
                      "margin_base": 7.00281,
                      "item_margins": [
                        {
                          "name": "totalPass",
                          "margin": 0.016414
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": 0.016247
                        },
                        {
                          "name": "accurateLongBalls",
                          "margin": 0.012576
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "margin": -0.011078
                        },
                        {
                          "name": "sweeper_accuracy",
                          "margin": -0.010539
                        }
                      ],
                      "others_margin": 0.049789
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 40,
                  "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.9989, quality 0.472)",
              "stats": {
                "saves": 2.9311,
                "goals_prevented": 0.0247,
                "rating": 7.0762,
                "minutes": 90.0,
                "total_pass": 39.3859,
                "accurate_pass": 31.6565,
                "total_long_balls": 12.8322,
                "accurate_long_balls": 5.4512,
                "touches": 46.8782,
                "clearances": 0.8867,
                "ball_recovery": 7.3659,
                "high_claims": 0.6184,
                "punches": 0.5757,
                "aerial_won": 0.1689,
                "sweeper_actions": 0.8325,
                "sweeper_accurate": 0.8325,
                "saves_inside_box": 1.3966,
                "possession_lost": 7.9608,
                "duels_won": 0.2537,
                "duels_lost": 0.0425,
                "total_contest": 0.0409,
                "won_contest": 0.0409,
                "fouls": 0.0019,
                "fouls_drawn": 0.0418,
                "total_own_half_passes": 30.3935,
                "accurate_own_half_passes": 28.2378
              },
              "params": {
                "market_value_eur": 5800000,
                "quality_factor": 0.472,
                "boost_factor": 0.9989,
                "reference_quality": 0.505,
                "history_matches": 40,
                "history_shrink": 0.1111,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0144)",
              "stats": {
                "saves": 2.9321,
                "goals_prevented": 0.0247,
                "rating": 7.0762,
                "minutes": 90.0,
                "total_pass": 39.3859,
                "accurate_pass": 31.6565,
                "total_long_balls": 12.8322,
                "accurate_long_balls": 5.4512,
                "touches": 46.8782,
                "clearances": 0.8867,
                "ball_recovery": 7.3659,
                "high_claims": 0.6184,
                "punches": 0.5757,
                "aerial_won": 0.1689,
                "sweeper_actions": 0.8325,
                "sweeper_accurate": 0.8325,
                "saves_inside_box": 1.3966,
                "possession_lost": 7.9608,
                "duels_won": 0.2537,
                "duels_lost": 0.0425,
                "total_contest": 0.0409,
                "won_contest": 0.0409,
                "fouls": 0.0019,
                "fouls_drawn": 0.0412,
                "total_own_half_passes": 30.3935,
                "accurate_own_half_passes": 28.2378
              },
              "params": {
                "blend_weight": 0.0144,
                "history_matches": 40,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 1.0,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Dep. A Coruña"
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 2.9321,
                "goals_prevented": 0.0247,
                "rating": 7.0762,
                "minutes": 90.0,
                "total_pass": 39.3859,
                "accurate_pass": 31.6565,
                "total_long_balls": 12.8322,
                "accurate_long_balls": 5.4512,
                "touches": 46.8782,
                "clearances": 0.8867,
                "ball_recovery": 7.3659,
                "high_claims": 0.6184,
                "punches": 0.5757,
                "aerial_won": 0.1689,
                "sweeper_actions": 0.8325,
                "sweeper_accurate": 0.8325,
                "saves_inside_box": 1.3966,
                "possession_lost": 7.9608,
                "duels_won": 0.2537,
                "duels_lost": 0.0425,
                "total_contest": 0.0409,
                "won_contest": 0.0409,
                "fouls": 0.0019,
                "fouls_drawn": 0.0412,
                "total_own_half_passes": 30.3935,
                "accurate_own_half_passes": 28.2378
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "saves": 2.9321,
                "goals_prevented": 0.0247,
                "rating": 7.0762,
                "minutes": 90.0,
                "total_pass": 39.3859,
                "accurate_pass": 31.6565,
                "total_long_balls": 12.8322,
                "accurate_long_balls": 5.4512,
                "touches": 46.8782,
                "clearances": 0.8867,
                "ball_recovery": 7.3659,
                "high_claims": 0.6184,
                "punches": 0.5757,
                "aerial_won": 0.1689,
                "sweeper_actions": 0.8325,
                "sweeper_accurate": 0.8325,
                "saves_inside_box": 1.3966,
                "possession_lost": 7.9608,
                "duels_won": 0.2537,
                "duels_lost": 0.0425,
                "total_contest": 0.0409,
                "won_contest": 0.0409,
                "fouls": 0.0019,
                "fouls_drawn": 0.0412,
                "total_own_half_passes": 30.3935,
                "accurate_own_half_passes": 28.2378,
                "gk_engine_opponent_lambda": 1.4672,
                "shots_faced": 13.9,
                "expected_saves": 3.4,
                "high_pressure_saves": 1.17,
                "opponent_faced": "Mikel Oyarzabal, Luka Sučić",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Mikel Oyarzabal, Luka Sučić",
                  "matchup_zone": "Goalkeeper shot-stopping context",
                  "opponent_lambda": 1.4672
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 0.81 (squad xG sum 0.8013, xG scale 1.0047, xA scale 1.0047, team xA 0.63 = 0.78 x lambda)",
              "stats": {
                "saves": 2.9321,
                "goals_prevented": 0.0247,
                "rating": 7.0762,
                "minutes": 90.0,
                "total_pass": 39.3859,
                "accurate_pass": 31.6565,
                "total_long_balls": 12.8322,
                "accurate_long_balls": 5.4512,
                "touches": 46.8782,
                "clearances": 0.8867,
                "ball_recovery": 7.3659,
                "high_claims": 0.6184,
                "punches": 0.5757,
                "aerial_won": 0.1689,
                "sweeper_actions": 0.8325,
                "sweeper_accurate": 0.8325,
                "saves_inside_box": 1.3966,
                "possession_lost": 7.9608,
                "duels_won": 0.2537,
                "duels_lost": 0.0425,
                "total_contest": 0.0409,
                "won_contest": 0.0409,
                "fouls": 0.0019,
                "fouls_drawn": 0.0412,
                "total_own_half_passes": 30.3935,
                "accurate_own_half_passes": 28.2378,
                "gk_engine_opponent_lambda": 1.4672,
                "shots_faced": 14.2,
                "expected_saves": 3.47,
                "high_pressure_saves": 1.2,
                "opponent_faced": "Mikel Oyarzabal, Luka Sučić",
                "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.805,
                "squad_xg_sum": 0.8013,
                "squad_xa_sum": 0.6279,
                "team_expected_assists": 0.6308,
                "team_xa_to_xg_ratio": 0.7836,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0047,
                "xa_scale": 1.0047,
                "opponent_lambda": 1.498,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "shots_faced",
                  "before": 13.9,
                  "after": 14.2
                },
                {
                  "stat": "expected_saves",
                  "before": 3.4,
                  "after": 3.47
                },
                {
                  "stat": "high_pressure_saves",
                  "before": 1.17,
                  "after": 1.2
                }
              ]
            },
            {
              "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": 2.9321,
                "goals_prevented": 0.0247,
                "rating": 7.0762,
                "minutes": 90.0,
                "total_pass": 39.3859,
                "accurate_pass": 31.6565,
                "total_long_balls": 12.8322,
                "accurate_long_balls": 5.4512,
                "touches": 46.8782,
                "clearances": 0.8867,
                "ball_recovery": 7.3659,
                "high_claims": 0.6184,
                "punches": 0.5757,
                "aerial_won": 0.1689,
                "sweeper_actions": 0.8325,
                "sweeper_accurate": 0.8325,
                "saves_inside_box": 1.3966,
                "possession_lost": 7.9608,
                "duels_won": 0.2537,
                "duels_lost": 0.0425,
                "total_contest": 0.0409,
                "won_contest": 0.0409,
                "fouls": 0.0019,
                "fouls_drawn": 0.0412,
                "total_own_half_passes": 30.3935,
                "accurate_own_half_passes": 28.2378,
                "gk_engine_opponent_lambda": 1.4672,
                "shots_faced": 14.2,
                "expected_saves": 3.47,
                "high_pressure_saves": 1.2,
                "opponent_faced": "Mikel Oyarzabal, Luka Sučić",
                "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": 2271,
                "fifa_rank": 1570.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": 2.9321,
                "goals_prevented": 0.0247,
                "rating": 7.0762,
                "minutes": 90.0,
                "total_pass": 39.3859,
                "accurate_pass": 31.6565,
                "total_long_balls": 12.8322,
                "accurate_long_balls": 5.4512,
                "touches": 46.8782,
                "clearances": 0.8867,
                "ball_recovery": 7.3659,
                "high_claims": 0.6184,
                "punches": 0.5757,
                "aerial_won": 0.1689,
                "sweeper_actions": 0.8325,
                "sweeper_accurate": 0.8325,
                "saves_inside_box": 1.3966,
                "possession_lost": 7.9608,
                "duels_won": 0.2537,
                "duels_lost": 0.0425,
                "total_contest": 0.0409,
                "won_contest": 0.0409,
                "fouls": 0.0019,
                "fouls_drawn": 0.0412,
                "total_own_half_passes": 30.3935,
                "accurate_own_half_passes": 28.2378,
                "gk_engine_opponent_lambda": 1.4672,
                "shots_faced": 14.2,
                "expected_saves": 3.47,
                "high_pressure_saves": 1.2,
                "opponent_faced": "Mikel Oyarzabal, Luka Sučić",
                "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.751,
                "weight_share": 0.0,
                "finishing_factor": 1.0,
                "appearance_weight": 1.0
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "saves": 2.9321,
                "goals_prevented": 0.0247,
                "rating": 7.0762,
                "minutes": 90.0,
                "total_pass": 39.3859,
                "accurate_pass": 31.6565,
                "total_long_balls": 12.8322,
                "accurate_long_balls": 5.4512,
                "touches": 46.8782,
                "clearances": 0.8867,
                "ball_recovery": 7.3659,
                "high_claims": 0.6184,
                "punches": 0.5757,
                "aerial_won": 0.1689,
                "sweeper_actions": 0.8325,
                "sweeper_accurate": 0.8325,
                "saves_inside_box": 1.3966,
                "possession_lost": 7.9608,
                "duels_won": 0.2537,
                "duels_lost": 0.0425,
                "total_contest": 0.0409,
                "won_contest": 0.0409,
                "fouls": 0.0019,
                "fouls_drawn": 0.0412,
                "total_own_half_passes": 30.3935,
                "accurate_own_half_passes": 28.2378,
                "gk_engine_opponent_lambda": 1.4672,
                "shots_faced": 14.2,
                "expected_saves": 3.47,
                "high_pressure_saves": 1.2,
                "opponent_faced": "Mikel Oyarzabal, Luka Sučić",
                "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.6285,
                "weight_share": 0.0,
                "creation_factor": 1.0,
                "appearance_weight": 1.0
              }
            }
          ]
        },
        "Luismi Cruz": {
          "player_id": 966526,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 19,
          "height": 166,
          "market_value": 2100000,
          "stats": {
            "expected_goals": 0.0836,
            "goal_rate": 0.0857,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0967,
            "key_pass": 1,
            "rating": 6.8134,
            "minutes": 73,
            "total_pass": 25,
            "accurate_pass": 21,
            "duels_won": 5,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_opp_half_passes": 16,
            "accurate_opp_half_passes": 13,
            "crosses_total": 2,
            "crosses_accurate": 0,
            "touches": 38,
            "possession_lost": 8.2506,
            "dispossessed": 0.6001,
            "duels_lost": 4,
            "aerial_lost": 0,
            "total_contest": 1,
            "won_contest": 1,
            "ball_recovery": 3,
            "challenges_lost": 1,
            "fouls": 2,
            "fouls_drawn": 1,
            "assist_rate": 0.1396,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 2,
            "clearances": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.121,
            "offsides": 0,
            "ball_carries": 11,
            "total_progression": 44,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.7169,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.3,
            "aerial_won": 1,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.18,
            "pressing_faced": "MEDIUM",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Jon Martin, Mamadou Sarr",
            "opponent_faced": "Jon Martin, Mamadou Sarr",
            "antagonist_source": "attacking_duel",
            "projected_goals": 0,
            "goal_probability": 0.0802,
            "projected_assists": 0,
            "assist_probability": 0.0922,
            "finishing_factor": 1.0188,
            "creation_factor": 1.25,
            "fifa_overall": 74.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": "home",
              "is_starting_11": 0,
              "team": "Deportivo de A Coruña",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 25,
                "rating": 7.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.5819,
                "total_shots": 0,
                "total_pass": 11,
                "accurate_pass": 9,
                "key_pass": 5,
                "tackles": 2,
                "tackles_won": 1,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416343,
              "match_date": "2026-09-16",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 61,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0389,
                "total_shots": 0,
                "total_pass": 24,
                "accurate_pass": 21,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416326,
              "match_date": "2026-09-13",
              "home_team": "Getafe",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Getafe",
              "stats": {
                "minutes": 71,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0602,
                "expected_assists": 0.1841,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 28,
                "accurate_pass": 23,
                "key_pass": 4,
                "tackles": 3,
                "tackles_won": 1,
                "clearances": 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": 16416324,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 77,
                "rating": 7.7,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1947,
                "expected_assists": 0.0615,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 21,
                "accurate_pass": 16,
                "tackles": 3,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 8,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416291,
              "match_date": "2026-08-30",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Valencia",
              "stats": {
                "minutes": 73,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0405,
                "total_shots": 0,
                "total_pass": 34,
                "accurate_pass": 31,
                "key_pass": 1,
                "tackles": 2,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416307,
              "match_date": "2026-08-24",
              "home_team": "Málaga CF",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 73,
                "rating": 6.9,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.0067,
                "expected_assists": 0.356,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 20,
                "accurate_pass": 16,
                "key_pass": 3,
                "tackles": 2,
                "aerial_won": 1,
                "duels_won": 7,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421050,
              "match_date": "2026-08-17",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Deportivo de A Coruña",
              "opponent": "Elche",
              "stats": {
                "minutes": 19,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.107,
                "expected_assists": 0.0047,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 10,
                "accurate_pass": 5,
                "key_pass": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 3835,
            "combined_rank_score": 1833.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 745.0,
            "sofascore_rating": 6.6667,
            "sofascore_appearances": 3.0,
            "fifa_rank": 2922.0,
            "fifa_overall": 74.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 6,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8134,
            "source_file": "data/player_rankings.csv",
            "player_name": "Luismi Cruz",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Jordan Lefort",
                  "ranking": 3830
                },
                {
                  "player_name": "Rasmus Nicolaisen",
                  "ranking": 3831
                },
                {
                  "player_name": "Marin Pongračić",
                  "ranking": 3832
                },
                {
                  "player_name": "Yehvann Diouf",
                  "ranking": 3833
                },
                {
                  "player_name": "Hugo Magnetti",
                  "ranking": 3834
                }
              ],
              "lower": [
                {
                  "player_name": "Sofiane Diop",
                  "ranking": 3836
                },
                {
                  "player_name": "Adam Karabec",
                  "ranking": 3837
                },
                {
                  "player_name": "Oso",
                  "ranking": 3838
                },
                {
                  "player_name": "David López",
                  "ranking": 3839
                },
                {
                  "player_name": "Mohammed Salisu",
                  "ranking": 3840
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.688,
          "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.688,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9916,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (F_service) evaluated 7 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.1171,
                "goals": 0.1206,
                "goal_rate": 0.1206,
                "shots_on_target": 0.3847,
                "total_shots": 1.1328,
                "expected_assists": 0.0971,
                "key_pass": 1.1303,
                "rating": 6.8134,
                "minutes": 72.92,
                "total_pass": 25.4252,
                "accurate_pass": 21.4364,
                "duels_won": 5.3671,
                "total_long_balls": 2.0283,
                "accurate_long_balls": 1.4292,
                "total_opp_half_passes": 15.8312,
                "accurate_opp_half_passes": 13.3075,
                "crosses_total": 1.5953,
                "crosses_accurate": 0.3699,
                "touches": 38.2849,
                "possession_lost": 8.3205,
                "dispossessed": 0.6052,
                "duels_lost": 4.1988,
                "aerial_lost": 0.1656,
                "total_contest": 1.2471,
                "won_contest": 0.7827,
                "ball_recovery": 2.6212,
                "challenges_lost": 0.6916,
                "fouls": 2.4376,
                "fouls_drawn": 1.3553,
                "assists": 0.1408,
                "assist_rate": 0.1408,
                "interceptions": 0.4645,
                "tackles_won": 0.9633,
                "tackles": 2.424,
                "clearances": 0.7685,
                "blocks": 0.1408,
                "big_chances_created": 0.1408,
                "big_chances_missed": 0.0,
                "xgot": 0.1693,
                "offsides": 0.0,
                "ball_carries": 10.591,
                "total_progression": 44.0877,
                "progressive_carries": 1.4645,
                "shots_off_target": 0.7481
              },
              "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": "Real Betis",
                    "minutes": 25.0,
                    "is_starting": false,
                    "weight": 0.2208,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Sevilla",
                    "minutes": 61.0,
                    "is_starting": true,
                    "weight": 0.1877,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Getafe",
                    "minutes": 71.0,
                    "is_starting": true,
                    "weight": 0.1595,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Villarreal",
                    "minutes": 77.0,
                    "is_starting": true,
                    "weight": 0.1356,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Valencia",
                    "minutes": 73.0,
                    "is_starting": true,
                    "weight": 0.1152,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Málaga CF",
                    "minutes": 73.0,
                    "is_starting": true,
                    "weight": 0.098,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-17",
                    "opponent": "Elche",
                    "minutes": 19.0,
                    "is_starting": false,
                    "weight": 0.0833,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 7.0,
                  "is_starting_11": 1.0,
                  "expectedGoals": 0.0456,
                  "totalOppositionHalfPasses": 13.5044,
                  "accurateOppositionHalfPasses": 11.2775,
                  "accuratePass": 17.3222,
                  "totalShots": 0.4763
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.1170998364686966,
                    "model_output": 0.1171,
                    "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.0604
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0538
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.016
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.013
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.01
                        }
                      ],
                      "others": -0.0483,
                      "total": 0.1171,
                      "log_link": true,
                      "margin_base": -1.62027,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.266585
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.233507
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.081291
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.071694
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": -0.058766
                        }
                      ],
                      "others_margin": -0.345784
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.1205831989645958,
                    "model_output": 0.1206,
                    "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.0692
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0406
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0289
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0165
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0136
                        }
                      ],
                      "others": -0.0522,
                      "total": 0.1206,
                      "log_link": true,
                      "margin_base": -1.593696,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.292986
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.161508
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.133058
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.084741
                        },
                        {
                          "name": "goals",
                          "margin": -0.075876
                        }
                      ],
                      "others_margin": -0.359523
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.384739488363266,
                    "model_output": 0.3847,
                    "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.1554
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0831
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0563
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0445
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0296
                        }
                      ],
                      "others": -0.0939,
                      "total": 0.3847,
                      "log_link": true,
                      "margin_base": -0.622283,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.254281
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.127879
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.097034
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.083984
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": -0.060083
                        }
                      ],
                      "others_margin": -0.218208
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.132827639579773,
                    "model_output": 1.1328,
                    "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.3888
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.185
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0843
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0647
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0577
                        }
                      ],
                      "others": -0.2371,
                      "total": 1.1328,
                      "log_link": false,
                      "margin_base": 1.372807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.388754
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.184996
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.084299
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.064702
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.057707
                        }
                      ],
                      "others_margin": -0.237029
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.09710414707660675,
                    "model_output": 0.0971,
                    "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.0096
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0102
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0087
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0085
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0074
                        }
                      ],
                      "others": -0.0112,
                      "total": 0.0971,
                      "log_link": true,
                      "margin_base": -2.751197,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.140003
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.129536
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.099036
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.087807
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.070655
                        }
                      ],
                      "others_margin": -0.107811
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 1.130307912826538,
                    "model_output": 1.1303,
                    "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.1772
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0775
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0707
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0544
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0447
                        }
                      ],
                      "others": 0.033,
                      "total": 1.1303,
                      "log_link": true,
                      "margin_base": -0.396376,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.233794
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.087269
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.073491
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.053089
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.041609
                        }
                      ],
                      "others_margin": 0.029615
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.813441753387451,
                    "model_output": 6.8134,
                    "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.0575
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0182
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0145
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0131
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0126
                        }
                      ],
                      "others": -0.0147,
                      "total": 6.8134,
                      "log_link": false,
                      "margin_base": 6.763607,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.057484
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.01816
                        },
                        {
                          "name": "rating",
                          "margin": 0.014518
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.013117
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.012635
                        }
                      ],
                      "others_margin": -0.014575
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "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.9916, quality 0.437)",
              "stats": {
                "expected_goals": 0.1161,
                "goals": 0.1196,
                "goal_rate": 0.1196,
                "shots_on_target": 0.3815,
                "total_shots": 1.1233,
                "expected_assists": 0.0963,
                "key_pass": 1.1208,
                "rating": 6.8134,
                "minutes": 72.92,
                "total_pass": 25.2116,
                "accurate_pass": 21.2563,
                "duels_won": 5.322,
                "total_long_balls": 2.0113,
                "accurate_long_balls": 1.4172,
                "total_opp_half_passes": 15.6982,
                "accurate_opp_half_passes": 13.1957,
                "crosses_total": 1.5819,
                "crosses_accurate": 0.3668,
                "touches": 37.9633,
                "possession_lost": 8.2506,
                "dispossessed": 0.6001,
                "duels_lost": 4.1635,
                "aerial_lost": 0.1642,
                "total_contest": 1.2366,
                "won_contest": 0.7761,
                "ball_recovery": 2.5992,
                "challenges_lost": 0.6858,
                "fouls": 2.4171,
                "fouls_drawn": 1.3439,
                "assists": 0.1396,
                "assist_rate": 0.1396,
                "interceptions": 0.4606,
                "tackles_won": 0.9552,
                "tackles": 2.4036,
                "clearances": 0.762,
                "blocks": 0.1396,
                "big_chances_created": 0.1396,
                "big_chances_missed": 0.0,
                "xgot": 0.1679,
                "offsides": 0.0,
                "ball_carries": 10.502,
                "total_progression": 43.7174,
                "progressive_carries": 1.4522,
                "shots_off_target": 0.7418
              },
              "params": {
                "market_value_eur": 2100000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9916,
                "reference_quality": 0.505,
                "history_matches": 7,
                "history_shrink": 0.4167,
                "market_value_known": true
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1161,
                "goals": 0.1196,
                "goal_rate": 0.1196,
                "shots_on_target": 0.3815,
                "total_shots": 1.1233,
                "expected_assists": 0.0963,
                "key_pass": 1.1208,
                "rating": 6.8134,
                "minutes": 72.92,
                "total_pass": 25.2116,
                "accurate_pass": 21.2563,
                "duels_won": 5.322,
                "total_long_balls": 2.0113,
                "accurate_long_balls": 1.4172,
                "total_opp_half_passes": 15.6982,
                "accurate_opp_half_passes": 13.1957,
                "crosses_total": 1.5819,
                "crosses_accurate": 0.3668,
                "touches": 37.9633,
                "possession_lost": 8.2506,
                "dispossessed": 0.6001,
                "duels_lost": 4.1635,
                "aerial_lost": 0.1642,
                "total_contest": 1.2366,
                "won_contest": 0.7761,
                "ball_recovery": 2.5992,
                "challenges_lost": 0.6858,
                "fouls": 2.4171,
                "fouls_drawn": 1.3439,
                "assists": 0.1396,
                "assist_rate": 0.1396,
                "interceptions": 0.4606,
                "tackles_won": 0.9552,
                "tackles": 2.4036,
                "clearances": 0.762,
                "blocks": 0.1396,
                "big_chances_created": 0.1396,
                "big_chances_missed": 0.0,
                "xgot": 0.1679,
                "offsides": 0.0,
                "ball_carries": 10.502,
                "total_progression": 43.7174,
                "progressive_carries": 1.4522,
                "shots_off_target": 0.7418
              },
              "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.0832,
                "goals": 0.0857,
                "goal_rate": 0.0857,
                "shots_on_target": 0.2735,
                "total_shots": 0.8053,
                "expected_assists": 0.0963,
                "key_pass": 1.1208,
                "rating": 6.8134,
                "minutes": 72.92,
                "total_pass": 25.2116,
                "accurate_pass": 21.2563,
                "duels_won": 5.322,
                "total_long_balls": 2.0113,
                "accurate_long_balls": 1.4172,
                "total_opp_half_passes": 15.6982,
                "accurate_opp_half_passes": 13.1957,
                "crosses_total": 1.5819,
                "crosses_accurate": 0.3668,
                "touches": 37.9633,
                "possession_lost": 8.2506,
                "dispossessed": 0.6001,
                "duels_lost": 4.1635,
                "aerial_lost": 0.1642,
                "total_contest": 1.2366,
                "won_contest": 0.7761,
                "ball_recovery": 2.5992,
                "challenges_lost": 0.6858,
                "fouls": 2.4171,
                "fouls_drawn": 1.3439,
                "assists": 0.1396,
                "assist_rate": 0.1396,
                "interceptions": 0.4606,
                "tackles_won": 0.9552,
                "tackles": 2.4036,
                "clearances": 0.762,
                "blocks": 0.1396,
                "big_chances_created": 0.1396,
                "big_chances_missed": 0.0,
                "xgot": 0.1204,
                "offsides": 0.0,
                "ball_carries": 10.502,
                "total_progression": 43.7174,
                "progressive_carries": 1.4522,
                "shots_off_target": 0.5318,
                "duel_xg_multiplier": 0.7169,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.0,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Jon Martin, Mamadou Sarr",
                "opponent_faced": "Jon Martin, Mamadou Sarr",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Jon Martin, Mamadou Sarr",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.18,
                  "pressing_faced": "MEDIUM",
                  "numerical_situation": "1v2",
                  "xg_multiplier": 0.7169,
                  "skill_edge": -0.1326,
                  "height_edge": -0.06,
                  "attacker_skill": 0.4374,
                  "defender_skill": 0.732,
                  "attacker_role": "ST",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Jon Martin",
                      "market_value": 24000000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.732
                    },
                    {
                      "player": "Mamadou Sarr",
                      "market_value": 24000000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.732
                    }
                  ],
                  "xg_override": 0.0832
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.1233,
                  "after": 0.8053
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.7418,
                  "after": 0.5318
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.3815,
                  "after": 0.2735
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.1679,
                  "after": 0.1204
                },
                {
                  "stat": "goals",
                  "before": 0.1196,
                  "after": 0.0857
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.1161,
                  "after": 0.0832
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 0.81 (squad xG sum 0.8013, xG scale 1.0047, xA scale 1.0047, team xA 0.63 = 0.78 x lambda)",
              "stats": {
                "expected_goals": 0.0836,
                "goal_rate": 0.0857,
                "goals": 0,
                "shots_on_target": 0.2735,
                "total_shots": 0.8053,
                "expected_assists": 0.0967,
                "key_pass": 1.1208,
                "rating": 6.8134,
                "minutes": 72.92,
                "total_pass": 25.2116,
                "accurate_pass": 21.2563,
                "duels_won": 5.322,
                "total_long_balls": 2.0113,
                "accurate_long_balls": 1.4172,
                "total_opp_half_passes": 15.6982,
                "accurate_opp_half_passes": 13.1957,
                "crosses_total": 1.5819,
                "crosses_accurate": 0.3668,
                "touches": 37.9633,
                "possession_lost": 8.2506,
                "dispossessed": 0.6001,
                "duels_lost": 4.1635,
                "aerial_lost": 0.1642,
                "total_contest": 1.2366,
                "won_contest": 0.7761,
                "ball_recovery": 2.5992,
                "challenges_lost": 0.6858,
                "fouls": 2.4171,
                "fouls_drawn": 1.3439,
                "assist_rate": 0.1396,
                "assists": 0,
                "interceptions": 0.4606,
                "tackles_won": 0.9552,
                "tackles": 2.4036,
                "clearances": 0.762,
                "blocks": 0.1396,
                "big_chances_created": 0.1396,
                "big_chances_missed": 0.0,
                "xgot": 0.121,
                "offsides": 0.0,
                "ball_carries": 10.502,
                "total_progression": 43.7174,
                "progressive_carries": 1.4522,
                "shots_off_target": 0.5318,
                "duel_xg_multiplier": 0.7169,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.0,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Jon Martin, Mamadou Sarr",
                "opponent_faced": "Jon Martin, Mamadou Sarr",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0188,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 0.805,
                "squad_xg_sum": 0.8013,
                "squad_xa_sum": 0.6279,
                "team_expected_assists": 0.6308,
                "team_xa_to_xg_ratio": 0.7836,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0047,
                "xa_scale": 1.0047,
                "opponent_lambda": 1.498,
                "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 74.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.0836,
                "goal_rate": 0.0857,
                "goals": 0,
                "shots_on_target": 0.2735,
                "total_shots": 0.8053,
                "expected_assists": 0.0967,
                "key_pass": 1.1208,
                "rating": 6.8134,
                "minutes": 72.92,
                "total_pass": 25.2116,
                "accurate_pass": 21.2563,
                "duels_won": 5.322,
                "total_long_balls": 2.0113,
                "accurate_long_balls": 1.4172,
                "total_opp_half_passes": 15.6982,
                "accurate_opp_half_passes": 13.1957,
                "crosses_total": 1.5819,
                "crosses_accurate": 0.3668,
                "touches": 37.9633,
                "possession_lost": 8.2506,
                "dispossessed": 0.6001,
                "duels_lost": 4.1635,
                "aerial_lost": 0.1642,
                "total_contest": 1.2366,
                "won_contest": 0.7761,
                "ball_recovery": 2.5992,
                "challenges_lost": 0.6858,
                "fouls": 2.4171,
                "fouls_drawn": 1.3439,
                "assist_rate": 0.1396,
                "assists": 0,
                "interceptions": 0.4606,
                "tackles_won": 0.9552,
                "tackles": 2.4036,
                "clearances": 0.762,
                "blocks": 0.1396,
                "big_chances_created": 0.1396,
                "big_chances_missed": 0.0,
                "xgot": 0.121,
                "offsides": 0.0,
                "ball_carries": 10.502,
                "total_progression": 43.7174,
                "progressive_carries": 1.4522,
                "shots_off_target": 0.5318,
                "duel_xg_multiplier": 0.7169,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.0,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Jon Martin, Mamadou Sarr",
                "opponent_faced": "Jon Martin, Mamadou Sarr",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0188,
                "creation_factor": 1.25,
                "fifa_overall": 74.0
              },
              "params": {
                "match_squad_rank": 6,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3835,
                "fifa_rank": 2922.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 74.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "expected_goals": 0.0836,
                "goal_rate": 0.0857,
                "goals": 0,
                "shots_on_target": 0.2735,
                "total_shots": 0.8053,
                "expected_assists": 0.0967,
                "key_pass": 1.1208,
                "rating": 6.8134,
                "minutes": 72.92,
                "total_pass": 25.2116,
                "accurate_pass": 21.2563,
                "duels_won": 5.322,
                "total_long_balls": 2.0113,
                "accurate_long_balls": 1.4172,
                "total_opp_half_passes": 15.6982,
                "accurate_opp_half_passes": 13.1957,
                "crosses_total": 1.5819,
                "crosses_accurate": 0.3668,
                "touches": 37.9633,
                "possession_lost": 8.2506,
                "dispossessed": 0.6001,
                "duels_lost": 4.1635,
                "aerial_lost": 0.1642,
                "total_contest": 1.2366,
                "won_contest": 0.7761,
                "ball_recovery": 2.5992,
                "challenges_lost": 0.6858,
                "fouls": 2.4171,
                "fouls_drawn": 1.3439,
                "assist_rate": 0.1396,
                "assists": 0,
                "interceptions": 0.4606,
                "tackles_won": 0.9552,
                "tackles": 2.4036,
                "clearances": 0.762,
                "blocks": 0.1396,
                "big_chances_created": 0.1396,
                "big_chances_missed": 0.0,
                "xgot": 0.121,
                "offsides": 0.0,
                "ball_carries": 10.502,
                "total_progression": 43.7174,
                "progressive_carries": 1.4522,
                "shots_off_target": 0.5318,
                "duel_xg_multiplier": 0.7169,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.0,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Jon Martin, Mamadou Sarr",
                "opponent_faced": "Jon Martin, Mamadou Sarr",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0802,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0188,
                "creation_factor": 1.25,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0802,
                "scorer_weight": 0.0852,
                "squad_weight_total": 0.751,
                "weight_share": 0.1134,
                "finishing_factor": 1.0188,
                "appearance_weight": 1.0,
                "weight_rank": 3,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "expected_goals": 0.0836,
                "goal_rate": 0.0857,
                "goals": 0,
                "shots_on_target": 0.2735,
                "total_shots": 0.8053,
                "expected_assists": 0.0967,
                "key_pass": 1.1208,
                "rating": 6.8134,
                "minutes": 72.92,
                "total_pass": 25.2116,
                "accurate_pass": 21.2563,
                "duels_won": 5.322,
                "total_long_balls": 2.0113,
                "accurate_long_balls": 1.4172,
                "total_opp_half_passes": 15.6982,
                "accurate_opp_half_passes": 13.1957,
                "crosses_total": 1.5819,
                "crosses_accurate": 0.3668,
                "touches": 37.9633,
                "possession_lost": 8.2506,
                "dispossessed": 0.6001,
                "duels_lost": 4.1635,
                "aerial_lost": 0.1642,
                "total_contest": 1.2366,
                "won_contest": 0.7761,
                "ball_recovery": 2.5992,
                "challenges_lost": 0.6858,
                "fouls": 2.4171,
                "fouls_drawn": 1.3439,
                "assist_rate": 0.1396,
                "assists": 0,
                "interceptions": 0.4606,
                "tackles_won": 0.9552,
                "tackles": 2.4036,
                "clearances": 0.762,
                "blocks": 0.1396,
                "big_chances_created": 0.1396,
                "big_chances_missed": 0.0,
                "xgot": 0.121,
                "offsides": 0.0,
                "ball_carries": 10.502,
                "total_progression": 43.7174,
                "progressive_carries": 1.4522,
                "shots_off_target": 0.5318,
                "duel_xg_multiplier": 0.7169,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.0,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Jon Martin, Mamadou Sarr",
                "opponent_faced": "Jon Martin, Mamadou Sarr",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0802,
                "projected_assists": 0,
                "assist_probability": 0.0922,
                "finishing_factor": 1.0188,
                "creation_factor": 1.25,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0922,
                "provider_weight": 0.1209,
                "squad_weight_total": 0.6285,
                "weight_share": 0.1923,
                "creation_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 1,
                "eligible_players": 13
              }
            }
          ]
        }
      },
      "bench_players": {
        "Álvaro Ferllo": {
          "player_id": 852412,
          "position": "G",
          "position_depth": "G_BENCH",
          "is_starter": false,
          "shirt_number": 25,
          "height": 186,
          "market_value": 2100000,
          "stats": {
            "saves": 0,
            "goals_prevented": 0.022,
            "rating": 6.8,
            "minutes": 4,
            "total_pass": 1,
            "accurate_pass": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "touches": 2,
            "clearances": 0,
            "ball_recovery": 0,
            "high_claims": 0,
            "punches": 0.0146,
            "aerial_won": 0,
            "sweeper_actions": 0,
            "sweeper_accurate": 0,
            "saves_inside_box": 0,
            "possession_lost": 0.1171,
            "duels_won": 0,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 1,
            "accurate_own_half_passes": 1,
            "bench_appearance_probability": 0.109,
            "bench_expected_minutes": 4.39,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.463,
            "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": 74.0
          },
          "latest_10_games": [],
          "ranking": {
            "global_player_rank": 3585,
            "combined_rank_score": 1550.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": 0.0,
            "fifa_rank": 2885.0,
            "fifa_overall": 74.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 8,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8,
            "source_file": "data/player_rankings.csv",
            "player_name": "Álvaro Ferllo",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Callum McGregor",
                  "ranking": 3580
                },
                {
                  "player_name": "Costinha",
                  "ranking": 3581
                },
                {
                  "player_name": "Gayà",
                  "ranking": 3582
                },
                {
                  "player_name": "Alisson Santos",
                  "ranking": 3583
                },
                {
                  "player_name": "Dakonam Djené",
                  "ranking": 3584
                }
              ],
              "lower": [
                {
                  "player_name": "Sivera",
                  "ranking": 3586
                },
                {
                  "player_name": "Kike García",
                  "ranking": 3587
                },
                {
                  "player_name": "Ephron Mason-Clark",
                  "ranking": 3588
                },
                {
                  "player_name": "Zubeldia",
                  "ranking": 3589
                },
                {
                  "player_name": "Hugo Rincón",
                  "ranking": 3590
                }
              ]
            }
          },
          "data_sources": [
            "market_value"
          ],
          "data_confidence": 0.25,
          "history_matches": 0,
          "xgboost_reasoning": {
            "model_source": "market_value_prior",
            "position_service": "G_service",
            "features_evaluated": [],
            "targets_predicted": [],
            "history_matches": 0,
            "data_confidence": 0.25,
            "data_sources": [
              "market_value"
            ],
            "bench_expected_minutes": 4.392222187561249,
            "bench_appearance_prob": 0.10873737216187492,
            "market_value_adjustment": 0.4374,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection from market-value prior (€2,100,000) scaled to 4.4 expected mins."
          },
          "stat_evolution": [
            {
              "step": "market_value_prior",
              "description": "Market-value baseline for position G (quality 0.44)",
              "stats": {
                "saves": 2.9,
                "goals_prevented": 0.45,
                "rating": 6.8,
                "minutes": 90.0,
                "total_pass": 27.0,
                "accurate_pass": 20.0,
                "total_long_balls": 8.0,
                "accurate_long_balls": 4.0,
                "touches": 32.0,
                "clearances": 0.9,
                "ball_recovery": 1.2,
                "high_claims": 0.5,
                "punches": 0.3,
                "aerial_won": 0.6,
                "sweeper_actions": 1.2,
                "sweeper_accurate": 0.7,
                "saves_inside_box": 1.2,
                "possession_lost": 2.4,
                "duels_won": 0.4,
                "duels_lost": 0.2,
                "total_contest": 0.4,
                "won_contest": 0.2,
                "fouls": 0.2,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 21.0,
                "accurate_own_half_passes": 16.0
              },
              "params": {
                "market_value_eur": 2100000,
                "quality_factor": 0.4374
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 90.0 to 4.4 expected minutes (appearance prob 0.11)",
              "stats": {
                "saves": 0.1415,
                "goals_prevented": 0.022,
                "rating": 6.8,
                "minutes": 4.39,
                "total_pass": 1.3177,
                "accurate_pass": 0.976,
                "total_long_balls": 0.3904,
                "accurate_long_balls": 0.1952,
                "touches": 1.5617,
                "clearances": 0.0439,
                "ball_recovery": 0.0586,
                "high_claims": 0.0244,
                "punches": 0.0146,
                "aerial_won": 0.0293,
                "sweeper_actions": 0.0586,
                "sweeper_accurate": 0.0342,
                "saves_inside_box": 0.0586,
                "possession_lost": 0.1171,
                "duels_won": 0.0195,
                "duels_lost": 0.0098,
                "total_contest": 0.0195,
                "won_contest": 0.0098,
                "fouls": 0.0098,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 1.0249,
                "accurate_own_half_passes": 0.7808,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.39
              },
              "params": {
                "expected_minutes": 4.39,
                "projection_minutes": 90.0,
                "minutes_scale": 0.0488,
                "appearance_probability": 0.109
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 0.1415,
                "goals_prevented": 0.022,
                "rating": 6.8,
                "minutes": 4.39,
                "total_pass": 1.3177,
                "accurate_pass": 0.976,
                "total_long_balls": 0.3904,
                "accurate_long_balls": 0.1952,
                "touches": 1.5617,
                "clearances": 0.0439,
                "ball_recovery": 0.0586,
                "high_claims": 0.0244,
                "punches": 0.0146,
                "aerial_won": 0.0293,
                "sweeper_actions": 0.0586,
                "sweeper_accurate": 0.0342,
                "saves_inside_box": 0.0586,
                "possession_lost": 0.1171,
                "duels_won": 0.0195,
                "duels_lost": 0.0098,
                "total_contest": 0.0195,
                "won_contest": 0.0098,
                "fouls": 0.0098,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 1.0249,
                "accurate_own_half_passes": 0.7808,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.39
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "not_projected_to_play",
              "description": "Not among the projected substitutes: no share of the team's goals or assists",
              "stats": {
                "saves": 0.1415,
                "goals_prevented": 0.022,
                "rating": 6.8,
                "minutes": 4.39,
                "total_pass": 1.3177,
                "accurate_pass": 0.976,
                "total_long_balls": 0.3904,
                "accurate_long_balls": 0.1952,
                "touches": 1.5617,
                "clearances": 0.0439,
                "ball_recovery": 0.0586,
                "high_claims": 0.0244,
                "punches": 0.0146,
                "aerial_won": 0.0293,
                "sweeper_actions": 0.0586,
                "sweeper_accurate": 0.0342,
                "saves_inside_box": 0.0586,
                "possession_lost": 0.1171,
                "duels_won": 0.0195,
                "duels_lost": 0.0098,
                "total_contest": 0.0195,
                "won_contest": 0.0098,
                "fouls": 0.0098,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 1.0249,
                "accurate_own_half_passes": 0.7808,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.39,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.463,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "available_bench_not_projected_used",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "appearance_probability": 0.109,
                "projected_substitutes": 3,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 8 by projected rating, fifa_overall 74.0; not used by the projection)",
              "stats": {
                "saves": 0.1415,
                "goals_prevented": 0.022,
                "rating": 6.8,
                "minutes": 4.39,
                "total_pass": 1.3177,
                "accurate_pass": 0.976,
                "total_long_balls": 0.3904,
                "accurate_long_balls": 0.1952,
                "touches": 1.5617,
                "clearances": 0.0439,
                "ball_recovery": 0.0586,
                "high_claims": 0.0244,
                "punches": 0.0146,
                "aerial_won": 0.0293,
                "sweeper_actions": 0.0586,
                "sweeper_accurate": 0.0342,
                "saves_inside_box": 0.0586,
                "possession_lost": 0.1171,
                "duels_won": 0.0195,
                "duels_lost": 0.0098,
                "total_contest": 0.0195,
                "won_contest": 0.0098,
                "fouls": 0.0098,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 1.0249,
                "accurate_own_half_passes": 0.7808,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.39,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.463,
                "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": 74.0
              },
              "params": {
                "match_squad_rank": 8,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3585,
                "fifa_rank": 2885.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 74.0
              }
            }
          ]
        },
        "Bright Ede": {
          "player_id": 1978292,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 22,
          "height": 193,
          "market_value": 6200000,
          "stats": {
            "interceptions": 0,
            "tackles": 0,
            "tackles_won": 0,
            "clearances": 2,
            "aerial_won": 1,
            "total_shots": 0,
            "rating": 6.8373,
            "minutes": 14,
            "total_pass": 35,
            "accurate_pass": 31,
            "duels_won": 2,
            "total_long_balls": 3,
            "accurate_long_balls": 1,
            "total_own_half_passes": 23,
            "accurate_own_half_passes": 21,
            "total_opp_half_passes": 12,
            "accurate_opp_half_passes": 10,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 44,
            "possession_lost": 4.6235,
            "dispossessed": 0.1918,
            "duels_lost": 1,
            "aerial_lost": 1,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 1,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0422,
            "expected_assists": 0.0046,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 12,
            "total_progression": 31,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.306,
            "bench_expected_minutes": 13.73,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.463,
            "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": 66.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": "home",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1473,
                "expected_assists": 0.0073,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 54,
                "accurate_pass": 48,
                "clearances": 8,
                "aerial_won": 3,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416291,
              "match_date": "2026-08-30",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.008,
                "total_shots": 0,
                "total_pass": 57,
                "accurate_pass": 52,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 8,
                "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": 16416307,
              "match_date": "2026-08-24",
              "home_team": "Málaga CF",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Deportivo de A Coruña",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 16,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0019,
                "total_shots": 0,
                "total_pass": 20,
                "accurate_pass": 18,
                "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": 16421050,
              "match_date": "2026-08-17",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0384,
                "expected_assists": 0.0048,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 38,
                "accurate_pass": 33,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 5,
                "aerial_won": 4,
                "duels_won": 6,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 7066,
            "combined_rank_score": 5498.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 445.0,
            "sofascore_rating": 6.9,
            "sofascore_appearances": 1.0,
            "fifa_rank": 10552.0,
            "fifa_overall": 66.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 5,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8373,
            "source_file": "data/player_rankings.csv",
            "player_name": "Bright Ede",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Hernesto Caballero",
                  "ranking": 7061
                },
                {
                  "player_name": "Carlo Diez",
                  "ranking": 7062
                },
                {
                  "player_name": "Edwin Mosquera",
                  "ranking": 7063
                },
                {
                  "player_name": "Luis Pena",
                  "ranking": 7064
                },
                {
                  "player_name": "Jake Girdwood-Reich",
                  "ranking": 7065
                }
              ],
              "lower": [
                {
                  "player_name": "Jeppe Grønning",
                  "ranking": 7067
                },
                {
                  "player_name": "Tobias Salquist",
                  "ranking": 7068
                },
                {
                  "player_name": "Kevin Yakob",
                  "ranking": 7069
                },
                {
                  "player_name": "Callum McCowatt",
                  "ranking": 7070
                },
                {
                  "player_name": "Luis Binks",
                  "ranking": 7071
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.5,
          "history_matches": 4,
          "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": 4,
            "data_confidence": 0.5,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 13.728465634082903,
            "bench_appearance_prob": 0.30583934700376836,
            "market_value_adjustment": 0.9953,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost D_service (4 historical appearances) to 13.7 expected mins (appearance prob 0.31)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 0.3512,
                "tackles": 0.4466,
                "tackles_won": 0.2864,
                "clearances": 2.1853,
                "aerial_won": 0.9287,
                "total_shots": 0.2296,
                "rating": 6.8373,
                "minutes": 17.33,
                "total_pass": 44.0079,
                "accurate_pass": 39.3743,
                "duels_won": 3.1247,
                "total_long_balls": 4.1402,
                "accurate_long_balls": 1.5782,
                "total_own_half_passes": 28.7499,
                "accurate_own_half_passes": 27.2434,
                "total_opp_half_passes": 15.2581,
                "accurate_opp_half_passes": 12.131,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 56.1601,
                "possession_lost": 5.864,
                "dispossessed": 0.1927,
                "duels_lost": 1.8944,
                "aerial_lost": 0.8944,
                "total_contest": 0.2667,
                "won_contest": 0.0,
                "ball_recovery": 1.4595,
                "challenges_lost": 0.2267,
                "fouls": 0.3138,
                "fouls_drawn": 0.2267,
                "blocks": 0.8944,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0536,
                "expected_assists": 0.0058,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 15.8531,
                "total_progression": 38.8272,
                "progressive_carries": 0.3854,
                "key_pass": 0.0,
                "shots_off_target": 0.2296
              },
              "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": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Málaga CF",
                    "minutes": 16.0,
                    "is_starting": false,
                    "weight": 0.2267,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-17",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1927,
                    "rating": 6.9
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 0.0,
                  "totalClearance": 6.0615,
                  "aerialWon": 1.9791,
                  "totalClearance_p90": 8.1587,
                  "totalTackle": 0.9189,
                  "totalPass": 44.0079
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.3512182831764221,
                    "model_output": 0.3512,
                    "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.4836
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0182
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0176
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0116
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0102
                        }
                      ],
                      "others": -0.0234,
                      "total": 0.3512,
                      "log_link": true,
                      "margin_base": -0.152032,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.827721
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.047457
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.045672
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.031273
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.027532
                        }
                      ],
                      "others_margin": -0.064639
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 0.44661006331443787,
                    "model_output": 0.4466,
                    "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.7962
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0272
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0236
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0201
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0148
                        }
                      ],
                      "others": -0.1074,
                      "total": 0.4466,
                      "log_link": true,
                      "margin_base": 0.333417,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.844998
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.046475
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.042164
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.035956
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.026291
                        }
                      ],
                      "others_margin": -0.215516
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.28636905550956726,
                    "model_output": 0.2864,
                    "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.4404
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0236
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0217
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0177
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0154
                        }
                      ],
                      "others": -0.0526,
                      "total": 0.2864,
                      "log_link": true,
                      "margin_base": -0.153422,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.720417
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.058179
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.056654
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.048695
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.044409
                        }
                      ],
                      "others_margin": -0.168697
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.1852962970733643,
                    "model_output": 2.1853,
                    "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.0989
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.3438
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.1042
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.1047
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0908
                        }
                      ],
                      "others": 0.1995,
                      "total": 2.1853,
                      "log_link": true,
                      "margin_base": 1.235809,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.941433
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.228013
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.059987
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.056831
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.046818
                        }
                      ],
                      "others_margin": 0.095726
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.9287225604057312,
                    "model_output": 0.9287,
                    "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.7929
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.1192
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0542
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0531
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0428
                        }
                      ],
                      "others": 0.0739,
                      "total": 0.9287,
                      "log_link": true,
                      "margin_base": 0.320928,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.856258
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.185351
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.074131
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.067582
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.051349
                        }
                      ],
                      "others_margin": 0.082973
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.229564368724823,
                    "model_output": 0.2296,
                    "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.2488
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": 0.017
                        },
                        {
                          "name": "error_severity",
                          "contribution": 0.0096
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.009
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0089
                        }
                      ],
                      "others": -0.0026,
                      "total": 0.2296,
                      "log_link": false,
                      "margin_base": 0.47232,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.248768
                        },
                        {
                          "name": "aerial_dominance",
                          "margin": 0.01702
                        },
                        {
                          "name": "error_severity",
                          "margin": 0.009556
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.00897
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.00886
                        }
                      ],
                      "others_margin": -0.002733
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.837313175201416,
                    "model_output": 6.8373,
                    "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": "is_starting_11",
                          "contribution": -0.023
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0211
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0155
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0117
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0102
                        }
                      ],
                      "others": 0.0362,
                      "total": 6.8373,
                      "log_link": false,
                      "margin_base": 6.785968,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.022961
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.021131
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.015456
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.011653
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.010226
                        }
                      ],
                      "others_margin": 0.036291
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 4,
                  "role_matches": 1,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "all_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9953, quality 0.477)",
              "stats": {
                "interceptions": 0.3496,
                "tackles": 0.4445,
                "tackles_won": 0.285,
                "clearances": 2.175,
                "aerial_won": 0.9244,
                "total_shots": 0.2285,
                "rating": 6.8373,
                "minutes": 17.33,
                "total_pass": 43.8011,
                "accurate_pass": 39.1892,
                "duels_won": 3.11,
                "total_long_balls": 4.1207,
                "accurate_long_balls": 1.5708,
                "total_own_half_passes": 28.6148,
                "accurate_own_half_passes": 27.1154,
                "total_opp_half_passes": 15.1864,
                "accurate_opp_half_passes": 12.074,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 55.8961,
                "possession_lost": 5.8364,
                "dispossessed": 0.1918,
                "duels_lost": 1.8855,
                "aerial_lost": 0.8902,
                "total_contest": 0.2654,
                "won_contest": 0.0,
                "ball_recovery": 1.4526,
                "challenges_lost": 0.2256,
                "fouls": 0.3123,
                "fouls_drawn": 0.2256,
                "blocks": 0.8902,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0533,
                "expected_assists": 0.0058,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 15.7786,
                "total_progression": 38.6447,
                "progressive_carries": 0.3836,
                "key_pass": 0.0,
                "shots_off_target": 0.2285
              },
              "params": {
                "market_value_eur": 6200000,
                "quality_factor": 0.4769,
                "boost_factor": 0.9953,
                "reference_quality": 0.505,
                "history_matches": 4,
                "history_shrink": 0.5556,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 17.3 to 13.7 expected minutes (appearance prob 0.31)",
              "stats": {
                "interceptions": 0.2769,
                "tackles": 0.3521,
                "tackles_won": 0.2258,
                "clearances": 1.723,
                "aerial_won": 0.7323,
                "total_shots": 0.181,
                "rating": 6.8373,
                "minutes": 13.73,
                "total_pass": 34.6983,
                "accurate_pass": 31.0449,
                "duels_won": 2.4637,
                "total_long_balls": 3.2643,
                "accurate_long_balls": 1.2444,
                "total_own_half_passes": 22.668,
                "accurate_own_half_passes": 21.4803,
                "total_opp_half_passes": 12.0304,
                "accurate_opp_half_passes": 9.5648,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 44.2797,
                "possession_lost": 4.6235,
                "dispossessed": 0.1918,
                "duels_lost": 1.4937,
                "aerial_lost": 0.8902,
                "total_contest": 0.2102,
                "won_contest": 0.0,
                "ball_recovery": 1.1507,
                "challenges_lost": 0.2256,
                "fouls": 0.2474,
                "fouls_drawn": 0.1787,
                "blocks": 0.7052,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0422,
                "expected_assists": 0.0046,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 12.4995,
                "total_progression": 30.6135,
                "progressive_carries": 0.3039,
                "key_pass": 0.0,
                "shots_off_target": 0.181,
                "bench_appearance_probability": 0.306,
                "bench_expected_minutes": 13.73
              },
              "params": {
                "expected_minutes": 13.73,
                "projection_minutes": 17.33,
                "minutes_scale": 0.7922,
                "appearance_probability": 0.306
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.2769,
                "tackles": 0.3521,
                "tackles_won": 0.2258,
                "clearances": 1.723,
                "aerial_won": 0.7323,
                "total_shots": 0.181,
                "rating": 6.8373,
                "minutes": 13.73,
                "total_pass": 34.6983,
                "accurate_pass": 31.0449,
                "duels_won": 2.4637,
                "total_long_balls": 3.2643,
                "accurate_long_balls": 1.2444,
                "total_own_half_passes": 22.668,
                "accurate_own_half_passes": 21.4803,
                "total_opp_half_passes": 12.0304,
                "accurate_opp_half_passes": 9.5648,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 44.2797,
                "possession_lost": 4.6235,
                "dispossessed": 0.1918,
                "duels_lost": 1.4937,
                "aerial_lost": 0.8902,
                "total_contest": 0.2102,
                "won_contest": 0.0,
                "ball_recovery": 1.1507,
                "challenges_lost": 0.2256,
                "fouls": 0.2474,
                "fouls_drawn": 0.1787,
                "blocks": 0.7052,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0422,
                "expected_assists": 0.0046,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 12.4995,
                "total_progression": 30.6135,
                "progressive_carries": 0.3039,
                "key_pass": 0.0,
                "shots_off_target": 0.181,
                "bench_appearance_probability": 0.306,
                "bench_expected_minutes": 13.73
              },
              "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.2769,
                "tackles": 0.3521,
                "tackles_won": 0.2258,
                "clearances": 1.723,
                "aerial_won": 0.7323,
                "total_shots": 0.181,
                "rating": 6.8373,
                "minutes": 13.73,
                "total_pass": 34.6983,
                "accurate_pass": 31.0449,
                "duels_won": 2.4637,
                "total_long_balls": 3.2643,
                "accurate_long_balls": 1.2444,
                "total_own_half_passes": 22.668,
                "accurate_own_half_passes": 21.4803,
                "total_opp_half_passes": 12.0304,
                "accurate_opp_half_passes": 9.5648,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 44.2797,
                "possession_lost": 4.6235,
                "dispossessed": 0.1918,
                "duels_lost": 1.4937,
                "aerial_lost": 0.8902,
                "total_contest": 0.2102,
                "won_contest": 0.0,
                "ball_recovery": 1.1507,
                "challenges_lost": 0.2256,
                "fouls": 0.2474,
                "fouls_drawn": 0.1787,
                "blocks": 0.7052,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0422,
                "expected_assists": 0.0046,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 12.4995,
                "total_progression": 30.6135,
                "progressive_carries": 0.3039,
                "key_pass": 0.0,
                "shots_off_target": 0.181,
                "bench_appearance_probability": 0.306,
                "bench_expected_minutes": 13.73,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.463,
                "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.306,
                "projected_substitutes": 3,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 5 by projected rating, fifa_overall 66.0; not used by the projection)",
              "stats": {
                "interceptions": 0.2769,
                "tackles": 0.3521,
                "tackles_won": 0.2258,
                "clearances": 1.723,
                "aerial_won": 0.7323,
                "total_shots": 0.181,
                "rating": 6.8373,
                "minutes": 13.73,
                "total_pass": 34.6983,
                "accurate_pass": 31.0449,
                "duels_won": 2.4637,
                "total_long_balls": 3.2643,
                "accurate_long_balls": 1.2444,
                "total_own_half_passes": 22.668,
                "accurate_own_half_passes": 21.4803,
                "total_opp_half_passes": 12.0304,
                "accurate_opp_half_passes": 9.5648,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 44.2797,
                "possession_lost": 4.6235,
                "dispossessed": 0.1918,
                "duels_lost": 1.4937,
                "aerial_lost": 0.8902,
                "total_contest": 0.2102,
                "won_contest": 0.0,
                "ball_recovery": 1.1507,
                "challenges_lost": 0.2256,
                "fouls": 0.2474,
                "fouls_drawn": 0.1787,
                "blocks": 0.7052,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0422,
                "expected_assists": 0.0046,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 12.4995,
                "total_progression": 30.6135,
                "progressive_carries": 0.3039,
                "key_pass": 0.0,
                "shots_off_target": 0.181,
                "bench_appearance_probability": 0.306,
                "bench_expected_minutes": 13.73,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.463,
                "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": 66.0
              },
              "params": {
                "match_squad_rank": 5,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 7066,
                "fifa_rank": 10552.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 66.0
              }
            }
          ]
        },
        "Adrià Altimira": {
          "player_id": 980732,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 2,
          "height": 170,
          "market_value": 1700000,
          "stats": {
            "interceptions": 0,
            "tackles": 1,
            "tackles_won": 0,
            "clearances": 1,
            "aerial_won": 0,
            "total_shots": 0,
            "rating": 6.6237,
            "minutes": 14,
            "total_pass": 17,
            "accurate_pass": 15,
            "duels_won": 2,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_own_half_passes": 8,
            "accurate_own_half_passes": 7,
            "total_opp_half_passes": 9,
            "accurate_opp_half_passes": 8,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 25,
            "possession_lost": 4.0082,
            "dispossessed": 0.0,
            "duels_lost": 2,
            "aerial_lost": 0,
            "total_contest": 1,
            "won_contest": 0,
            "ball_recovery": 2,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.0114,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 7,
            "total_progression": 13,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.299,
            "bench_expected_minutes": 13.57,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.463,
            "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": 82.0
          },
          "latest_10_games": [
            {
              "match_id": 16416343,
              "match_date": "2026-09-16",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0189,
                "total_shots": 0,
                "total_pass": 53,
                "accurate_pass": 46,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 3,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416291,
              "match_date": "2026-08-30",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Deportivo de A Coruña",
              "opponent": "Valencia",
              "stats": {
                "minutes": 20,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 2,
                "accurate_pass": 2,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 2,
                "duels_won": 4,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416307,
              "match_date": "2026-08-24",
              "home_team": "Málaga CF",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 62,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0017,
                "total_shots": 0,
                "total_pass": 12,
                "accurate_pass": 10,
                "tackles": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421050,
              "match_date": "2026-08-17",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Elche",
              "stats": {
                "minutes": 71,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0487,
                "total_shots": 0,
                "total_pass": 14,
                "accurate_pass": 13,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083620,
              "match_date": "2025-10-04",
              "home_team": "Real Madrid",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 8,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0018,
                "total_shots": 0,
                "total_pass": 8,
                "accurate_pass": 8,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 689,
            "combined_rank_score": 360.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 336.0,
            "sofascore_rating": 7.0,
            "sofascore_appearances": 1.0,
            "fifa_rank": 385.0,
            "fifa_overall": 82.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 17,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6237,
            "source_file": "data/player_rankings.csv",
            "player_name": "Adrià Altimira",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Andraž Šporar",
                  "ranking": 684
                },
                {
                  "player_name": "Abdul Fatawu Issahaku",
                  "ranking": 685
                },
                {
                  "player_name": "Kahiser Lenis",
                  "ranking": 686
                },
                {
                  "player_name": "Oleksandr Zinchenko",
                  "ranking": 687
                },
                {
                  "player_name": "Germán Valera",
                  "ranking": 688
                }
              ],
              "lower": [
                {
                  "player_name": "Kepa Arrizabalaga",
                  "ranking": 690
                },
                {
                  "player_name": "Hugo Ancajima",
                  "ranking": 691
                },
                {
                  "player_name": "Andrew",
                  "ranking": 692
                },
                {
                  "player_name": "Joseph Lacey",
                  "ranking": 693
                },
                {
                  "player_name": "Eui-jeong Park",
                  "ranking": 694
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.562,
          "history_matches": 5,
          "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": 5,
            "data_confidence": 0.562,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 13.572222187561248,
            "bench_appearance_prob": 0.2987373721618749,
            "market_value_adjustment": 0.9899,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost D_service (5 historical appearances) to 13.6 expected mins (appearance prob 0.30)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 0.3613,
                "tackles": 0.6318,
                "tackles_won": 0.3364,
                "clearances": 0.8863,
                "aerial_won": 0.3558,
                "total_shots": 0.1473,
                "rating": 6.6237,
                "minutes": 16.24,
                "total_pass": 20.5315,
                "accurate_pass": 18.0888,
                "duels_won": 2.9477,
                "total_long_balls": 1.6178,
                "accurate_long_balls": 0.5393,
                "total_own_half_passes": 9.6798,
                "accurate_own_half_passes": 8.9749,
                "total_opp_half_passes": 10.8518,
                "accurate_opp_half_passes": 9.114,
                "crosses_total": 1.0361,
                "crosses_accurate": 0.3312,
                "touches": 30.2866,
                "possession_lost": 4.845,
                "dispossessed": 0.0,
                "duels_lost": 2.8766,
                "aerial_lost": 0.2696,
                "total_contest": 1.3873,
                "won_contest": 0.2292,
                "ball_recovery": 2.5138,
                "challenges_lost": 0.3948,
                "fouls": 1.0541,
                "fouls_drawn": 0.8592,
                "blocks": 0.2292,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0138,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 7.9224,
                "total_progression": 15.4255,
                "progressive_carries": 0.0,
                "key_pass": 0.1656,
                "shots_off_target": 0.1473
              },
              "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": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2696,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Valencia",
                    "minutes": 20.0,
                    "is_starting": false,
                    "weight": 0.2292,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Málaga CF",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.1948,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-17",
                    "opponent": "Elche",
                    "minutes": 71.0,
                    "is_starting": true,
                    "weight": 0.1656,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2025-10-04",
                    "opponent": "Real Madrid",
                    "minutes": 8.0,
                    "is_starting": false,
                    "weight": 0.1408,
                    "rating": 7.0
                  }
                ],
                "feature_row": {
                  "history_matches": 5.0,
                  "is_starting_11": 0.0,
                  "totalClearance": 0.9228,
                  "aerialWon": 0.7341,
                  "totalClearance_p90": 2.6152,
                  "totalTackle": 1.3948,
                  "totalPass": 20.5315
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.36130979657173157,
                    "model_output": 0.3613,
                    "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.469
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0446
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.014
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0122
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0099
                        }
                      ],
                      "others": 0.0042,
                      "total": 0.3613,
                      "log_link": true,
                      "margin_base": -0.152032,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.789688
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.121471
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.039738
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.034652
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.028259
                        }
                      ],
                      "others_margin": 0.011824
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 0.6318270564079285,
                    "model_output": 0.6318,
                    "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.7818
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0283
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.025
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.015
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0126
                        }
                      ],
                      "others": -0.033,
                      "total": 0.6318,
                      "log_link": true,
                      "margin_base": 0.333417,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.821345
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.045057
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.038249
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.022764
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.019199
                        }
                      ],
                      "others_margin": -0.050953
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.33642908930778503,
                    "model_output": 0.3364,
                    "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.4774
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0135
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0108
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0104
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": -0.0088
                        }
                      ],
                      "others": -0.0275,
                      "total": 0.3364,
                      "log_link": true,
                      "margin_base": -0.153422,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.813269
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.034983
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.027826
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.027648
                        },
                        {
                          "name": "aerial_dominance",
                          "margin": -0.024002
                        }
                      ],
                      "others_margin": -0.078184
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 0.8863101005554199,
                    "model_output": 0.8863,
                    "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.0981
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.2848
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.1124
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0564
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0403
                        }
                      ],
                      "others": 0.0371,
                      "total": 0.8863,
                      "log_link": true,
                      "margin_base": 1.235809,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.940857
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.238337
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.112307
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.061482
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.046386
                        }
                      ],
                      "others_margin": 0.042873
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.35580626130104065,
                    "model_output": 0.3558,
                    "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.8199
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.1354
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0397
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0313
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0121
                        }
                      ],
                      "others": -0.0084,
                      "total": 0.3558,
                      "log_link": true,
                      "margin_base": 0.320928,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.903463
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.277659
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.098649
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.085159
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": 0.033907
                        }
                      ],
                      "others_margin": -0.023274
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.1472984254360199,
                    "model_output": 0.1473,
                    "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.1972
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0734
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0128
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0115
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.0105
                        }
                      ],
                      "others": -0.0196,
                      "total": 0.1473,
                      "log_link": false,
                      "margin_base": 0.47232,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.197224
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.073438
                        },
                        {
                          "name": "rating",
                          "margin": -0.012762
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.011528
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": -0.010474
                        }
                      ],
                      "others_margin": -0.019595
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.623738765716553,
                    "model_output": 6.6237,
                    "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.031
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0239
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0156
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0152
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0143
                        }
                      ],
                      "others": -0.0623,
                      "total": 6.6237,
                      "log_link": false,
                      "margin_base": 6.785968,
                      "item_margins": [
                        {
                          "name": "totalPass",
                          "margin": -0.031039
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.02391
                        },
                        {
                          "name": "rating",
                          "margin": -0.015599
                        },
                        {
                          "name": "touches",
                          "margin": -0.015152
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.014288
                        }
                      ],
                      "others_margin": -0.062242
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 5,
                  "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.9899, quality 0.437)",
              "stats": {
                "interceptions": 0.3577,
                "tackles": 0.6254,
                "tackles_won": 0.333,
                "clearances": 0.8774,
                "aerial_won": 0.3522,
                "total_shots": 0.1458,
                "rating": 6.6237,
                "minutes": 16.24,
                "total_pass": 20.3241,
                "accurate_pass": 17.9061,
                "duels_won": 2.9179,
                "total_long_balls": 1.6015,
                "accurate_long_balls": 0.5339,
                "total_own_half_passes": 9.582,
                "accurate_own_half_passes": 8.8843,
                "total_opp_half_passes": 10.7422,
                "accurate_opp_half_passes": 9.0219,
                "crosses_total": 1.0256,
                "crosses_accurate": 0.3279,
                "touches": 29.9807,
                "possession_lost": 4.7961,
                "dispossessed": 0.0,
                "duels_lost": 2.8475,
                "aerial_lost": 0.2669,
                "total_contest": 1.3733,
                "won_contest": 0.2269,
                "ball_recovery": 2.4884,
                "challenges_lost": 0.3908,
                "fouls": 1.0435,
                "fouls_drawn": 0.8505,
                "blocks": 0.2269,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0137,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 7.8424,
                "total_progression": 15.2697,
                "progressive_carries": 0.0,
                "key_pass": 0.1639,
                "shots_off_target": 0.1458
              },
              "params": {
                "market_value_eur": 1700000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9899,
                "reference_quality": 0.505,
                "history_matches": 5,
                "history_shrink": 0.5,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 16.2 to 13.6 expected minutes (appearance prob 0.30)",
              "stats": {
                "interceptions": 0.2989,
                "tackles": 0.5227,
                "tackles_won": 0.2783,
                "clearances": 0.7333,
                "aerial_won": 0.2943,
                "total_shots": 0.1218,
                "rating": 6.6237,
                "minutes": 13.57,
                "total_pass": 16.9854,
                "accurate_pass": 14.9646,
                "duels_won": 2.4386,
                "total_long_balls": 1.3384,
                "accurate_long_balls": 0.4462,
                "total_own_half_passes": 8.0079,
                "accurate_own_half_passes": 7.4249,
                "total_opp_half_passes": 8.9776,
                "accurate_opp_half_passes": 7.5399,
                "crosses_total": 0.8571,
                "crosses_accurate": 0.274,
                "touches": 25.0557,
                "possession_lost": 4.0082,
                "dispossessed": 0.0,
                "duels_lost": 2.3797,
                "aerial_lost": 0.2669,
                "total_contest": 1.1477,
                "won_contest": 0.1896,
                "ball_recovery": 2.0796,
                "challenges_lost": 0.3908,
                "fouls": 0.8721,
                "fouls_drawn": 0.7108,
                "blocks": 0.1896,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0114,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 6.5541,
                "total_progression": 12.7613,
                "progressive_carries": 0.0,
                "key_pass": 0.137,
                "shots_off_target": 0.1218,
                "bench_appearance_probability": 0.299,
                "bench_expected_minutes": 13.57
              },
              "params": {
                "expected_minutes": 13.57,
                "projection_minutes": 16.24,
                "minutes_scale": 0.8357,
                "appearance_probability": 0.299
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.2989,
                "tackles": 0.5227,
                "tackles_won": 0.2783,
                "clearances": 0.7333,
                "aerial_won": 0.2943,
                "total_shots": 0.1218,
                "rating": 6.6237,
                "minutes": 13.57,
                "total_pass": 16.9854,
                "accurate_pass": 14.9646,
                "duels_won": 2.4386,
                "total_long_balls": 1.3384,
                "accurate_long_balls": 0.4462,
                "total_own_half_passes": 8.0079,
                "accurate_own_half_passes": 7.4249,
                "total_opp_half_passes": 8.9776,
                "accurate_opp_half_passes": 7.5399,
                "crosses_total": 0.8571,
                "crosses_accurate": 0.274,
                "touches": 25.0557,
                "possession_lost": 4.0082,
                "dispossessed": 0.0,
                "duels_lost": 2.3797,
                "aerial_lost": 0.2669,
                "total_contest": 1.1477,
                "won_contest": 0.1896,
                "ball_recovery": 2.0796,
                "challenges_lost": 0.3908,
                "fouls": 0.8721,
                "fouls_drawn": 0.7108,
                "blocks": 0.1896,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0114,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 6.5541,
                "total_progression": 12.7613,
                "progressive_carries": 0.0,
                "key_pass": 0.137,
                "shots_off_target": 0.1218,
                "bench_appearance_probability": 0.299,
                "bench_expected_minutes": 13.57
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "not_projected_to_play",
              "description": "Not among the projected substitutes: no share of the team's goals or assists",
              "stats": {
                "interceptions": 0.2989,
                "tackles": 0.5227,
                "tackles_won": 0.2783,
                "clearances": 0.7333,
                "aerial_won": 0.2943,
                "total_shots": 0.1218,
                "rating": 6.6237,
                "minutes": 13.57,
                "total_pass": 16.9854,
                "accurate_pass": 14.9646,
                "duels_won": 2.4386,
                "total_long_balls": 1.3384,
                "accurate_long_balls": 0.4462,
                "total_own_half_passes": 8.0079,
                "accurate_own_half_passes": 7.4249,
                "total_opp_half_passes": 8.9776,
                "accurate_opp_half_passes": 7.5399,
                "crosses_total": 0.8571,
                "crosses_accurate": 0.274,
                "touches": 25.0557,
                "possession_lost": 4.0082,
                "dispossessed": 0.0,
                "duels_lost": 2.3797,
                "aerial_lost": 0.2669,
                "total_contest": 1.1477,
                "won_contest": 0.1896,
                "ball_recovery": 2.0796,
                "challenges_lost": 0.3908,
                "fouls": 0.8721,
                "fouls_drawn": 0.7108,
                "blocks": 0.1896,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0114,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 6.5541,
                "total_progression": 12.7613,
                "progressive_carries": 0.0,
                "key_pass": 0.137,
                "shots_off_target": 0.1218,
                "bench_appearance_probability": 0.299,
                "bench_expected_minutes": 13.57,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.463,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "appearance_probability": 0.299,
                "projected_substitutes": 3,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 17 by projected rating, fifa_overall 82.0; not used by the projection)",
              "stats": {
                "interceptions": 0.2989,
                "tackles": 0.5227,
                "tackles_won": 0.2783,
                "clearances": 0.7333,
                "aerial_won": 0.2943,
                "total_shots": 0.1218,
                "rating": 6.6237,
                "minutes": 13.57,
                "total_pass": 16.9854,
                "accurate_pass": 14.9646,
                "duels_won": 2.4386,
                "total_long_balls": 1.3384,
                "accurate_long_balls": 0.4462,
                "total_own_half_passes": 8.0079,
                "accurate_own_half_passes": 7.4249,
                "total_opp_half_passes": 8.9776,
                "accurate_opp_half_passes": 7.5399,
                "crosses_total": 0.8571,
                "crosses_accurate": 0.274,
                "touches": 25.0557,
                "possession_lost": 4.0082,
                "dispossessed": 0.0,
                "duels_lost": 2.3797,
                "aerial_lost": 0.2669,
                "total_contest": 1.1477,
                "won_contest": 0.1896,
                "ball_recovery": 2.0796,
                "challenges_lost": 0.3908,
                "fouls": 0.8721,
                "fouls_drawn": 0.7108,
                "blocks": 0.1896,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0114,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 6.5541,
                "total_progression": 12.7613,
                "progressive_carries": 0.0,
                "key_pass": 0.137,
                "shots_off_target": 0.1218,
                "bench_appearance_probability": 0.299,
                "bench_expected_minutes": 13.57,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.463,
                "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": 82.0
              },
              "params": {
                "match_squad_rank": 17,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 689,
                "fifa_rank": 385.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 82.0
              }
            }
          ]
        },
        "Marc Casadó": {
          "player_id": 1000483,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 6,
          "height": 172,
          "market_value": 17400000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0245,
            "assist_rate": 0.0362,
            "assists": 0,
            "expected_goals": 0.034,
            "goal_rate": 0.0516,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.7386,
            "minutes": 23,
            "total_pass": 17,
            "accurate_pass": 15,
            "duels_won": 2,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_own_half_passes": 7,
            "accurate_own_half_passes": 6,
            "total_opp_half_passes": 10,
            "accurate_opp_half_passes": 9,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 21,
            "possession_lost": 2.3426,
            "dispossessed": 0.0899,
            "duels_lost": 1,
            "aerial_won": 0,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 6,
            "total_progression": 6,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.529,
            "bench_expected_minutes": 22.63,
            "projected_substitution_order": 3,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.463,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0177,
            "projected_assists": 0,
            "assist_probability": 0.0128,
            "finishing_factor": 1.2124,
            "creation_factor": 1.1586,
            "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": "home",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 34,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0009,
                "total_shots": 0,
                "total_pass": 18,
                "accurate_pass": 16,
                "interceptions": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416326,
              "match_date": "2026-09-13",
              "home_team": "Getafe",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Getafe",
              "stats": {
                "minutes": 62,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0103,
                "total_shots": 0,
                "total_pass": 52,
                "accurate_pass": 43,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416324,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Deportivo de A Coruña",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 24,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0006,
                "total_shots": 0,
                "total_pass": 7,
                "accurate_pass": 6,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083739,
              "match_date": "2026-05-23",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Valencia",
              "stats": {
                "minutes": 17,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0168,
                "total_shots": 0,
                "total_pass": 18,
                "accurate_pass": 17,
                "clearances": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083666,
              "match_date": "2026-05-17",
              "home_team": "FC Barcelona",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 8,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0468,
                "total_shots": 0,
                "total_pass": 10,
                "accurate_pass": 10,
                "key_pass": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083603,
              "match_date": "2026-05-13",
              "home_team": "Deportivo Alavés",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 62,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2038,
                "expected_assists": 0.0305,
                "total_shots": 1,
                "total_pass": 59,
                "accurate_pass": 51,
                "key_pass": 2,
                "tackles": 1,
                "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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083245,
              "match_date": "2026-04-25",
              "home_team": "Getafe",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Getafe",
              "stats": {
                "minutes": 2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2735,
                "expected_assists": 0.0059,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 4,
                "accurate_pass": 4,
                "duels_won": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083113,
              "match_date": "2026-04-11",
              "home_team": "FC Barcelona",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 45,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.009,
                "total_shots": 0,
                "total_pass": 25,
                "accurate_pass": 22,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "duels_won": 2
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083662,
              "match_date": "2026-03-22",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 29,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0312,
                "total_shots": 0,
                "total_pass": 14,
                "accurate_pass": 11,
                "tackles": 2,
                "tackles_won": 2,
                "aerial_won": 1,
                "duels_won": 5
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083617,
              "match_date": "2026-03-15",
              "home_team": "FC Barcelona",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 23,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0056,
                "total_shots": 0,
                "total_pass": 16,
                "accurate_pass": 14,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 2
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 2842,
            "combined_rank_score": 962.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 678.0,
            "sofascore_rating": 6.72,
            "sofascore_appearances": 6.0,
            "fifa_rank": 1246.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 11,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7386,
            "source_file": "data/player_rankings.csv",
            "player_name": "Marc Casadó",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Shumaira Mheuka",
                  "ranking": 2837
                },
                {
                  "player_name": "Zaid Romero",
                  "ranking": 2838
                },
                {
                  "player_name": "Diego Carrasco",
                  "ranking": 2839
                },
                {
                  "player_name": "James Scanlon",
                  "ranking": 2840
                },
                {
                  "player_name": "Paulinho",
                  "ranking": 2841
                }
              ],
              "lower": [
                {
                  "player_name": "Maximilian Göppel",
                  "ranking": 2843
                },
                {
                  "player_name": "Yevgeniy Malashevich",
                  "ranking": 2844
                },
                {
                  "player_name": "Barrenetxea",
                  "ranking": 2845
                },
                {
                  "player_name": "Sergio Canales",
                  "ranking": 2846
                },
                {
                  "player_name": "Josip Šutalo",
                  "ranking": 2847
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "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.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 22.63479296407244,
            "bench_appearance_prob": 0.5288542256396563,
            "market_value_adjustment": 1.0047,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost M_service (27 historical appearances) to 22.6 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.2951,
                "expected_assists": 0.0196,
                "assists": 0.0291,
                "assist_rate": 0.0291,
                "expected_goals": 0.0272,
                "goals": 0.0415,
                "goal_rate": 0.0415,
                "shots_on_target": 0.0715,
                "total_shots": 0.2289,
                "rating": 6.7386,
                "minutes": 18.28,
                "total_pass": 13.3074,
                "accurate_pass": 12.079,
                "duels_won": 1.2808,
                "total_long_balls": 0.6592,
                "accurate_long_balls": 0.3876,
                "total_own_half_passes": 5.5621,
                "accurate_own_half_passes": 5.0209,
                "total_opp_half_passes": 7.7452,
                "accurate_opp_half_passes": 7.058,
                "crosses_total": 0.1672,
                "crosses_accurate": 0.0275,
                "touches": 16.8439,
                "possession_lost": 1.883,
                "dispossessed": 0.0895,
                "duels_lost": 0.536,
                "aerial_won": 0.1279,
                "aerial_lost": 0.1587,
                "interceptions": 0.1147,
                "tackles_won": 0.3463,
                "tackles": 0.3787,
                "clearances": 0.2875,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.1092,
                "fouls": 0.2644,
                "fouls_drawn": 0.7742,
                "blocks": 0.2373,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1009,
                "xgot": 0.0,
                "ball_carries": 4.8213,
                "total_progression": 4.6517,
                "progressive_carries": 0.0,
                "shots_off_target": 0.1574
              },
              "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": "Real Betis",
                    "minutes": 34.0,
                    "is_starting": true,
                    "weight": 0.1519,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Getafe",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.1291,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Villarreal",
                    "minutes": 24.0,
                    "is_starting": false,
                    "weight": 0.1097,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Valencia",
                    "minutes": 17.0,
                    "is_starting": false,
                    "weight": 0.0933,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Real Betis",
                    "minutes": 8.0,
                    "is_starting": false,
                    "weight": 0.0793,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Deportivo Alavés",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.0674,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-04-25",
                    "opponent": "Getafe",
                    "minutes": 2.0,
                    "is_starting": false,
                    "weight": 0.0573,
                    "rating": 0.0
                  },
                  {
                    "match_date": "2026-04-11",
                    "opponent": "Espanyol",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.0487,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-03-22",
                    "opponent": "Rayo Vallecano",
                    "minutes": 29.0,
                    "is_starting": false,
                    "weight": 0.0414,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-03-15",
                    "opponent": "Sevilla",
                    "minutes": 23.0,
                    "is_starting": false,
                    "weight": 0.0352,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalShots": 0.207,
                  "creative_index": 0.1512,
                  "expectedGoals": 0.0352,
                  "expectedAssists": 0.0167,
                  "onTargetScoringAttempt": 0.0
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.2951282262802124,
                    "model_output": 0.2951,
                    "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.41
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0508
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0441
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0376
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0216
                        }
                      ],
                      "others": -0.0265,
                      "total": 0.2951,
                      "log_link": true,
                      "margin_base": -0.121432,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.62158
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.112835
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.109548
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.103814
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.065041
                        }
                      ],
                      "others_margin": -0.086096
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.019620006904006004,
                    "model_output": 0.0196,
                    "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.0383
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.011
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0053
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0039
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0016
                        }
                      ],
                      "others": -0.0058,
                      "total": 0.0196,
                      "log_link": true,
                      "margin_base": -2.458929,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.59357
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.266288
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.156921
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.136469
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": -0.061555
                        }
                      ],
                      "others_margin": -0.257474
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.029076190665364265,
                    "model_output": 0.0291,
                    "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.0232
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0095
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0053
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0036
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0033
                        }
                      ],
                      "others": -0.0118,
                      "total": 0.0291,
                      "log_link": true,
                      "margin_base": -2.456317,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.315372
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.164459
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.105118
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.078153
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.077056
                        }
                      ],
                      "others_margin": -0.341359
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.0271750595420599,
                    "model_output": 0.0272,
                    "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.0404
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0122
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0041
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0023
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0014
                        }
                      ],
                      "others": -0.006,
                      "total": 0.0272,
                      "log_link": true,
                      "margin_base": -2.368441,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.564376
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.260209
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.105108
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.065551
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.041516
                        }
                      ],
                      "others_margin": -0.200256
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.04151133820414543,
                    "model_output": 0.0415,
                    "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.0332
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0085
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0046
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0038
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0024
                        }
                      ],
                      "others": -0.0074,
                      "total": 0.0415,
                      "log_link": true,
                      "margin_base": -2.337105,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.421742
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.143142
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.086927
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.078161
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.049804
                        }
                      ],
                      "others_margin": -0.164515
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.07152626663446426,
                    "model_output": 0.0715,
                    "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.1438
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0591
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0116
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": -0.0096
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0048
                        }
                      ],
                      "others": -0.0236,
                      "total": 0.0715,
                      "log_link": true,
                      "margin_base": -1.126872,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.586653
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.397144
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.100994
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": -0.091379
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.048961
                        }
                      ],
                      "others_margin": -0.285686
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.22891779243946075,
                    "model_output": 0.2289,
                    "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.3098
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.2717
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0326
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0291
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0244
                        }
                      ],
                      "others": -0.0935,
                      "total": 0.2289,
                      "log_link": false,
                      "margin_base": 0.989981,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.309757
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.271722
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.032622
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.029085
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.024449
                        }
                      ],
                      "others_margin": -0.093428
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.738554954528809,
                    "model_output": 6.7386,
                    "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.0948
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0281
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0259
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0186
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0135
                        }
                      ],
                      "others": 0.0129,
                      "total": 6.7386,
                      "log_link": false,
                      "margin_base": 6.850356,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.094829
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.028141
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.025906
                        },
                        {
                          "name": "rating",
                          "margin": -0.018578
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.013498
                        }
                      ],
                      "others_margin": 0.01287
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 27,
                  "role_matches": 15,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0047, quality 0.605)",
              "stats": {
                "key_pass": 0.2965,
                "expected_assists": 0.0197,
                "assists": 0.0292,
                "assist_rate": 0.0292,
                "expected_goals": 0.0273,
                "goals": 0.0417,
                "goal_rate": 0.0417,
                "shots_on_target": 0.0719,
                "total_shots": 0.23,
                "rating": 6.7386,
                "minutes": 18.28,
                "total_pass": 13.3699,
                "accurate_pass": 12.1358,
                "duels_won": 1.2868,
                "total_long_balls": 0.6623,
                "accurate_long_balls": 0.3894,
                "total_own_half_passes": 5.5882,
                "accurate_own_half_passes": 5.0445,
                "total_opp_half_passes": 7.7816,
                "accurate_opp_half_passes": 7.0912,
                "crosses_total": 0.168,
                "crosses_accurate": 0.0276,
                "touches": 16.9231,
                "possession_lost": 1.8919,
                "dispossessed": 0.0899,
                "duels_lost": 0.5385,
                "aerial_won": 0.1285,
                "aerial_lost": 0.1594,
                "interceptions": 0.1152,
                "tackles_won": 0.3479,
                "tackles": 0.3805,
                "clearances": 0.2889,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.1097,
                "fouls": 0.2656,
                "fouls_drawn": 0.7778,
                "blocks": 0.2384,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1014,
                "xgot": 0.0,
                "ball_carries": 4.844,
                "total_progression": 4.6736,
                "progressive_carries": 0.0,
                "shots_off_target": 0.1581
              },
              "params": {
                "market_value_eur": 17400000,
                "quality_factor": 0.6047,
                "boost_factor": 1.0047,
                "reference_quality": 0.505,
                "history_matches": 27,
                "history_shrink": 0.1562,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 18.3 to 22.6 expected minutes (appearance prob 0.53)",
              "stats": {
                "key_pass": 0.3671,
                "expected_assists": 0.0244,
                "assists": 0.0362,
                "assist_rate": 0.0362,
                "expected_goals": 0.0338,
                "goals": 0.0516,
                "goal_rate": 0.0516,
                "shots_on_target": 0.089,
                "total_shots": 0.2848,
                "rating": 6.7386,
                "minutes": 22.63,
                "total_pass": 16.555,
                "accurate_pass": 15.0269,
                "duels_won": 1.5934,
                "total_long_balls": 0.8201,
                "accurate_long_balls": 0.4822,
                "total_own_half_passes": 6.9195,
                "accurate_own_half_passes": 6.2462,
                "total_opp_half_passes": 9.6354,
                "accurate_opp_half_passes": 8.7805,
                "crosses_total": 0.208,
                "crosses_accurate": 0.0342,
                "touches": 20.9546,
                "possession_lost": 2.3426,
                "dispossessed": 0.0899,
                "duels_lost": 0.6668,
                "aerial_won": 0.1591,
                "aerial_lost": 0.1594,
                "interceptions": 0.1426,
                "tackles_won": 0.4308,
                "tackles": 0.4711,
                "clearances": 0.3577,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.1097,
                "fouls": 0.3289,
                "fouls_drawn": 0.9631,
                "blocks": 0.2952,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1256,
                "xgot": 0.0,
                "ball_carries": 5.998,
                "total_progression": 5.787,
                "progressive_carries": 0.0,
                "shots_off_target": 0.1958,
                "bench_appearance_probability": 0.529,
                "bench_expected_minutes": 22.63
              },
              "params": {
                "expected_minutes": 22.63,
                "projection_minutes": 18.28,
                "minutes_scale": 1.2382,
                "appearance_probability": 0.529
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.3671,
                "expected_assists": 0.0244,
                "assists": 0.0362,
                "assist_rate": 0.0362,
                "expected_goals": 0.0338,
                "goals": 0.0516,
                "goal_rate": 0.0516,
                "shots_on_target": 0.089,
                "total_shots": 0.2848,
                "rating": 6.7386,
                "minutes": 22.63,
                "total_pass": 16.555,
                "accurate_pass": 15.0269,
                "duels_won": 1.5934,
                "total_long_balls": 0.8201,
                "accurate_long_balls": 0.4822,
                "total_own_half_passes": 6.9195,
                "accurate_own_half_passes": 6.2462,
                "total_opp_half_passes": 9.6354,
                "accurate_opp_half_passes": 8.7805,
                "crosses_total": 0.208,
                "crosses_accurate": 0.0342,
                "touches": 20.9546,
                "possession_lost": 2.3426,
                "dispossessed": 0.0899,
                "duels_lost": 0.6668,
                "aerial_won": 0.1591,
                "aerial_lost": 0.1594,
                "interceptions": 0.1426,
                "tackles_won": 0.4308,
                "tackles": 0.4711,
                "clearances": 0.3577,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.1097,
                "fouls": 0.3289,
                "fouls_drawn": 0.9631,
                "blocks": 0.2952,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1256,
                "xgot": 0.0,
                "ball_carries": 5.998,
                "total_progression": 5.787,
                "progressive_carries": 0.0,
                "shots_off_target": 0.1958,
                "bench_appearance_probability": 0.529,
                "bench_expected_minutes": 22.63
              },
              "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.81 (squad xG sum 0.8013, xG scale 1.0047, xA scale 1.0047, team xA 0.63 = 0.78 x lambda)",
              "stats": {
                "key_pass": 0.3671,
                "expected_assists": 0.0245,
                "assist_rate": 0.0362,
                "assists": 0,
                "expected_goals": 0.034,
                "goal_rate": 0.0516,
                "goals": 0,
                "shots_on_target": 0.089,
                "total_shots": 0.2848,
                "rating": 6.7386,
                "minutes": 22.63,
                "total_pass": 16.555,
                "accurate_pass": 15.0269,
                "duels_won": 1.5934,
                "total_long_balls": 0.8201,
                "accurate_long_balls": 0.4822,
                "total_own_half_passes": 6.9195,
                "accurate_own_half_passes": 6.2462,
                "total_opp_half_passes": 9.6354,
                "accurate_opp_half_passes": 8.7805,
                "crosses_total": 0.208,
                "crosses_accurate": 0.0342,
                "touches": 20.9546,
                "possession_lost": 2.3426,
                "dispossessed": 0.0899,
                "duels_lost": 0.6668,
                "aerial_won": 0.1591,
                "aerial_lost": 0.1594,
                "interceptions": 0.1426,
                "tackles_won": 0.4308,
                "tackles": 0.4711,
                "clearances": 0.3577,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.1097,
                "fouls": 0.3289,
                "fouls_drawn": 0.9631,
                "blocks": 0.2952,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1256,
                "xgot": 0.0,
                "ball_carries": 5.998,
                "total_progression": 5.787,
                "progressive_carries": 0.0,
                "shots_off_target": 0.1958,
                "bench_appearance_probability": 0.529,
                "bench_expected_minutes": 22.63,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.463,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.2124,
                "creation_factor": 1.1586
              },
              "params": {
                "team_lambda": 0.805,
                "squad_xg_sum": 0.8013,
                "squad_xa_sum": 0.6279,
                "team_expected_assists": 0.6308,
                "team_xa_to_xg_ratio": 0.7836,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0047,
                "xa_scale": 1.0047,
                "opponent_lambda": 1.498,
                "scoreline_reset": true,
                "appearance_weight": 0.529
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 11 by projected rating, fifa_overall 78.0; not used by the projection)",
              "stats": {
                "key_pass": 0.3671,
                "expected_assists": 0.0245,
                "assist_rate": 0.0362,
                "assists": 0,
                "expected_goals": 0.034,
                "goal_rate": 0.0516,
                "goals": 0,
                "shots_on_target": 0.089,
                "total_shots": 0.2848,
                "rating": 6.7386,
                "minutes": 22.63,
                "total_pass": 16.555,
                "accurate_pass": 15.0269,
                "duels_won": 1.5934,
                "total_long_balls": 0.8201,
                "accurate_long_balls": 0.4822,
                "total_own_half_passes": 6.9195,
                "accurate_own_half_passes": 6.2462,
                "total_opp_half_passes": 9.6354,
                "accurate_opp_half_passes": 8.7805,
                "crosses_total": 0.208,
                "crosses_accurate": 0.0342,
                "touches": 20.9546,
                "possession_lost": 2.3426,
                "dispossessed": 0.0899,
                "duels_lost": 0.6668,
                "aerial_won": 0.1591,
                "aerial_lost": 0.1594,
                "interceptions": 0.1426,
                "tackles_won": 0.4308,
                "tackles": 0.4711,
                "clearances": 0.3577,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.1097,
                "fouls": 0.3289,
                "fouls_drawn": 0.9631,
                "blocks": 0.2952,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1256,
                "xgot": 0.0,
                "ball_carries": 5.998,
                "total_progression": 5.787,
                "progressive_carries": 0.0,
                "shots_off_target": 0.1958,
                "bench_appearance_probability": 0.529,
                "bench_expected_minutes": 22.63,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.463,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.2124,
                "creation_factor": 1.1586,
                "fifa_overall": 78.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": 2842,
                "fifa_rank": 1246.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 78.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "key_pass": 0.3671,
                "expected_assists": 0.0245,
                "assist_rate": 0.0362,
                "assists": 0,
                "expected_goals": 0.034,
                "goal_rate": 0.0516,
                "goals": 0,
                "shots_on_target": 0.089,
                "total_shots": 0.2848,
                "rating": 6.7386,
                "minutes": 22.63,
                "total_pass": 16.555,
                "accurate_pass": 15.0269,
                "duels_won": 1.5934,
                "total_long_balls": 0.8201,
                "accurate_long_balls": 0.4822,
                "total_own_half_passes": 6.9195,
                "accurate_own_half_passes": 6.2462,
                "total_opp_half_passes": 9.6354,
                "accurate_opp_half_passes": 8.7805,
                "crosses_total": 0.208,
                "crosses_accurate": 0.0342,
                "touches": 20.9546,
                "possession_lost": 2.3426,
                "dispossessed": 0.0899,
                "duels_lost": 0.6668,
                "aerial_won": 0.1591,
                "aerial_lost": 0.1594,
                "interceptions": 0.1426,
                "tackles_won": 0.4308,
                "tackles": 0.4711,
                "clearances": 0.3577,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.1097,
                "fouls": 0.3289,
                "fouls_drawn": 0.9631,
                "blocks": 0.2952,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1256,
                "xgot": 0.0,
                "ball_carries": 5.998,
                "total_progression": 5.787,
                "progressive_carries": 0.0,
                "shots_off_target": 0.1958,
                "bench_appearance_probability": 0.529,
                "bench_expected_minutes": 22.63,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.463,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0177,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.2124,
                "creation_factor": 1.1586,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0177,
                "scorer_weight": 0.0218,
                "squad_weight_total": 0.751,
                "weight_share": 0.029,
                "finishing_factor": 1.2124,
                "appearance_weight": 0.529,
                "weight_rank": 12,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "key_pass": 0.3671,
                "expected_assists": 0.0245,
                "assist_rate": 0.0362,
                "assists": 0,
                "expected_goals": 0.034,
                "goal_rate": 0.0516,
                "goals": 0,
                "shots_on_target": 0.089,
                "total_shots": 0.2848,
                "rating": 6.7386,
                "minutes": 22.63,
                "total_pass": 16.555,
                "accurate_pass": 15.0269,
                "duels_won": 1.5934,
                "total_long_balls": 0.8201,
                "accurate_long_balls": 0.4822,
                "total_own_half_passes": 6.9195,
                "accurate_own_half_passes": 6.2462,
                "total_opp_half_passes": 9.6354,
                "accurate_opp_half_passes": 8.7805,
                "crosses_total": 0.208,
                "crosses_accurate": 0.0342,
                "touches": 20.9546,
                "possession_lost": 2.3426,
                "dispossessed": 0.0899,
                "duels_lost": 0.6668,
                "aerial_won": 0.1591,
                "aerial_lost": 0.1594,
                "interceptions": 0.1426,
                "tackles_won": 0.4308,
                "tackles": 0.4711,
                "clearances": 0.3577,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.1097,
                "fouls": 0.3289,
                "fouls_drawn": 0.9631,
                "blocks": 0.2952,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1256,
                "xgot": 0.0,
                "ball_carries": 5.998,
                "total_progression": 5.787,
                "progressive_carries": 0.0,
                "shots_off_target": 0.1958,
                "bench_appearance_probability": 0.529,
                "bench_expected_minutes": 22.63,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.463,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0177,
                "projected_assists": 0,
                "assist_probability": 0.0128,
                "finishing_factor": 1.2124,
                "creation_factor": 1.1586,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0128,
                "provider_weight": 0.015,
                "squad_weight_total": 0.6285,
                "weight_share": 0.0239,
                "creation_factor": 1.1586,
                "appearance_weight": 0.529,
                "weight_rank": 9,
                "eligible_players": 13
              }
            }
          ]
        },
        "Angeliño": {
          "player_id": 848355,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 17,
          "height": 171,
          "market_value": 4200000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0529,
            "assist_rate": 0.0691,
            "assists": 0,
            "expected_goals": 0.0212,
            "goal_rate": 0.0386,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.7132,
            "minutes": 22,
            "total_pass": 34,
            "accurate_pass": 26,
            "duels_won": 3,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_own_half_passes": 18,
            "accurate_own_half_passes": 14,
            "total_opp_half_passes": 16,
            "accurate_opp_half_passes": 13,
            "crosses_total": 6,
            "crosses_accurate": 0,
            "touches": 70,
            "possession_lost": 24.0288,
            "dispossessed": 0.0,
            "duels_lost": 5,
            "aerial_won": 0,
            "aerial_lost": 0,
            "interceptions": 1,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 2,
            "total_contest": 2,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 2,
            "fouls_drawn": 2,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 7,
            "total_progression": 8,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.501,
            "bench_expected_minutes": 22.03,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.463,
            "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": 16416343,
              "match_date": "2026-09-16",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 59,
                "rating": 5.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0152,
                "total_shots": 0,
                "total_pass": 30,
                "accurate_pass": 23,
                "tackles": 1,
                "tackles_won": 1,
                "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"
            }
          ],
          "ranking": {
            "global_player_rank": 1704,
            "combined_rank_score": 690.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": 0.0,
            "fifa_rank": 1185.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 13,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7132,
            "source_file": "data/player_rankings.csv",
            "player_name": "Angeliño",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Arthur Theate",
                  "ranking": 1699
                },
                {
                  "player_name": "Javokhir Kakhramonov",
                  "ranking": 1700
                },
                {
                  "player_name": "Wilson Odobert",
                  "ranking": 1701
                },
                {
                  "player_name": "Aitor Paredes",
                  "ranking": 1702
                },
                {
                  "player_name": "Danny Welbeck",
                  "ranking": 1703
                }
              ],
              "lower": [
                {
                  "player_name": "Park Kyu-Min",
                  "ranking": 1705
                },
                {
                  "player_name": "Valentín Vidal",
                  "ranking": 1706
                },
                {
                  "player_name": "Tyler Adams",
                  "ranking": 1707
                },
                {
                  "player_name": "Ryu Jun-sun",
                  "ranking": 1708
                },
                {
                  "player_name": "Dan Burn",
                  "ranking": 1709
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.312,
          "history_matches": 1,
          "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": 1,
            "data_confidence": 0.312,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 22.031139321914328,
            "bench_appearance_prob": 0.5014154237233786,
            "market_value_adjustment": 0.9868,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost M_service (1 historical appearances) to 22.0 expected mins (appearance prob 0.50)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.2882,
                "expected_assists": 0.0462,
                "assists": 0.0604,
                "assist_rate": 0.0604,
                "expected_goals": 0.0185,
                "goals": 0.0337,
                "goal_rate": 0.0337,
                "shots_on_target": 0.0936,
                "total_shots": 0.2123,
                "rating": 6.7132,
                "minutes": 19.0,
                "total_pass": 30.0,
                "accurate_pass": 23.0,
                "duels_won": 3.0,
                "total_long_balls": 1.0,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 16.0,
                "accurate_own_half_passes": 12.0,
                "total_opp_half_passes": 14.0,
                "accurate_opp_half_passes": 11.0,
                "crosses_total": 5.0,
                "crosses_accurate": 0.0,
                "touches": 61.0,
                "possession_lost": 21.0,
                "dispossessed": 0.0,
                "duels_lost": 4.0,
                "aerial_won": 0.0,
                "aerial_lost": 0.0,
                "interceptions": 1.0,
                "tackles_won": 1.0,
                "tackles": 1.0,
                "clearances": 2.0,
                "total_contest": 2.0,
                "won_contest": 0.0,
                "challenges_lost": 0.0,
                "fouls": 2.0,
                "fouls_drawn": 2.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 6.0,
                "total_progression": 7.1267,
                "progressive_carries": 0.0,
                "shots_off_target": 0.1186
              },
              "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-16",
                    "opponent": "Sevilla",
                    "minutes": 59.0,
                    "is_starting": true,
                    "weight": 1.0,
                    "rating": 5.5
                  }
                ],
                "feature_row": {
                  "history_matches": 1.0,
                  "is_starting_11": 0.0,
                  "totalShots": 0.0,
                  "creative_index": 0.0091,
                  "expectedGoals": 0.0,
                  "expectedAssists": 0.0152,
                  "onTargetScoringAttempt": 0.0
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.2882235646247864,
                    "model_output": 0.2882,
                    "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.4484
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0515
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0511
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0378
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0272
                        }
                      ],
                      "others": -0.0837,
                      "total": 0.2882,
                      "log_link": true,
                      "margin_base": -0.121432,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.705835
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.125237
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.124411
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.09046
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.070539
                        }
                      ],
                      "others_margin": -0.254928
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.046174146234989166,
                    "model_output": 0.0462,
                    "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.0337
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0154
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0068
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0066
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.006
                        }
                      ],
                      "others": -0.0148,
                      "total": 0.0462,
                      "log_link": true,
                      "margin_base": -2.458929,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.50003
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.259624
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.106536
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": 0.103503
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.093771
                        }
                      ],
                      "others_margin": -0.279196
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.06035719811916351,
                    "model_output": 0.0604,
                    "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.0223
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0222
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0072
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0065
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": -0.0063
                        }
                      ],
                      "others": -0.0185,
                      "total": 0.0604,
                      "log_link": true,
                      "margin_base": -2.456317,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": 0.230937
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.230601
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.087375
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.078913
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": -0.077589
                        }
                      ],
                      "others_margin": -0.265443
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.018536699935793877,
                    "model_output": 0.0185,
                    "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.0362
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.022
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0081
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0026
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0017
                        }
                      ],
                      "others": -0.0045,
                      "total": 0.0185,
                      "log_link": true,
                      "margin_base": -2.368441,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.488958
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.48382
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.261511
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.09947
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.072521
                        }
                      ],
                      "others_margin": -0.213282
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.033738311380147934,
                    "model_output": 0.0337,
                    "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.0297
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0137
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0089
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0034
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.003
                        }
                      ],
                      "others": -0.0042,
                      "total": 0.0337,
                      "log_link": true,
                      "margin_base": -2.337105,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.367409
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.228673
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.18207
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.08029
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.075192
                        }
                      ],
                      "others_margin": -0.118382
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.09363212436437607,
                    "model_output": 0.0936,
                    "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.132
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0481
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0281
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0165
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0107
                        }
                      ],
                      "others": -0.0164,
                      "total": 0.0936,
                      "log_link": true,
                      "margin_base": -1.126872,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.52296
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.288176
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.217424
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.154102
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.102483
                        }
                      ],
                      "others_margin": -0.161329
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.21225181221961975,
                    "model_output": 0.2123,
                    "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.2951
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.2272
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.096
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.088
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0391
                        }
                      ],
                      "others": -0.2083,
                      "total": 0.2123,
                      "log_link": false,
                      "margin_base": 0.989981,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.295122
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.227153
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.096009
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.08797
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.039108
                        }
                      ],
                      "others_margin": -0.208308
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.713220119476318,
                    "model_output": 6.7132,
                    "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.059
                        },
                        {
                          "name": "rating",
                          "contribution": -0.057
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0246
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0117
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0105
                        }
                      ],
                      "others": -0.0236,
                      "total": 6.7132,
                      "log_link": false,
                      "margin_base": 6.850356,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.058968
                        },
                        {
                          "name": "rating",
                          "margin": -0.056999
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.024572
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.011679
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.010528
                        }
                      ],
                      "others_margin": -0.023535
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 1,
                  "role_matches": 0,
                  "minutes_source": "position_median",
                  "volume_basis": "all_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9868, quality 0.452)",
              "stats": {
                "key_pass": 0.2844,
                "expected_assists": 0.0456,
                "assists": 0.0596,
                "assist_rate": 0.0596,
                "expected_goals": 0.0183,
                "goals": 0.0333,
                "goal_rate": 0.0333,
                "shots_on_target": 0.0924,
                "total_shots": 0.2095,
                "rating": 6.7132,
                "minutes": 19.0,
                "total_pass": 29.604,
                "accurate_pass": 22.6964,
                "duels_won": 2.9604,
                "total_long_balls": 0.9868,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 15.7888,
                "accurate_own_half_passes": 11.8416,
                "total_opp_half_passes": 13.8152,
                "accurate_opp_half_passes": 10.8548,
                "crosses_total": 4.934,
                "crosses_accurate": 0.0,
                "touches": 60.1948,
                "possession_lost": 20.7228,
                "dispossessed": 0.0,
                "duels_lost": 3.9472,
                "aerial_won": 0.0,
                "aerial_lost": 0.0,
                "interceptions": 0.9868,
                "tackles_won": 0.9868,
                "tackles": 0.9868,
                "clearances": 1.9736,
                "total_contest": 1.9736,
                "won_contest": 0.0,
                "challenges_lost": 0.0,
                "fouls": 1.9736,
                "fouls_drawn": 1.9736,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 5.9208,
                "total_progression": 7.0326,
                "progressive_carries": 0.0,
                "shots_off_target": 0.117
              },
              "params": {
                "market_value_eur": 4200000,
                "quality_factor": 0.4523,
                "boost_factor": 0.9868,
                "reference_quality": 0.505,
                "history_matches": 1,
                "history_shrink": 0.8333,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 19.0 to 22.0 expected minutes (appearance prob 0.50)",
              "stats": {
                "key_pass": 0.3298,
                "expected_assists": 0.0529,
                "assists": 0.0691,
                "assist_rate": 0.0691,
                "expected_goals": 0.0212,
                "goals": 0.0386,
                "goal_rate": 0.0386,
                "shots_on_target": 0.1071,
                "total_shots": 0.2429,
                "rating": 6.7132,
                "minutes": 22.03,
                "total_pass": 34.3268,
                "accurate_pass": 26.3172,
                "duels_won": 3.4327,
                "total_long_balls": 1.1442,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 18.3076,
                "accurate_own_half_passes": 13.7307,
                "total_opp_half_passes": 16.0192,
                "accurate_opp_half_passes": 12.5865,
                "crosses_total": 5.7211,
                "crosses_accurate": 0.0,
                "touches": 69.7979,
                "possession_lost": 24.0288,
                "dispossessed": 0.0,
                "duels_lost": 4.5769,
                "aerial_won": 0.0,
                "aerial_lost": 0.0,
                "interceptions": 1.1442,
                "tackles_won": 1.1442,
                "tackles": 1.1442,
                "clearances": 2.2885,
                "total_contest": 2.2885,
                "won_contest": 0.0,
                "challenges_lost": 0.0,
                "fouls": 2.2885,
                "fouls_drawn": 2.2885,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 6.8654,
                "total_progression": 8.1545,
                "progressive_carries": 0.0,
                "shots_off_target": 0.1357,
                "bench_appearance_probability": 0.501,
                "bench_expected_minutes": 22.03
              },
              "params": {
                "expected_minutes": 22.03,
                "projection_minutes": 19.0,
                "minutes_scale": 1.1595,
                "appearance_probability": 0.501
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.3298,
                "expected_assists": 0.0529,
                "assists": 0.0691,
                "assist_rate": 0.0691,
                "expected_goals": 0.0212,
                "goals": 0.0386,
                "goal_rate": 0.0386,
                "shots_on_target": 0.1071,
                "total_shots": 0.2429,
                "rating": 6.7132,
                "minutes": 22.03,
                "total_pass": 34.3268,
                "accurate_pass": 26.3172,
                "duels_won": 3.4327,
                "total_long_balls": 1.1442,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 18.3076,
                "accurate_own_half_passes": 13.7307,
                "total_opp_half_passes": 16.0192,
                "accurate_opp_half_passes": 12.5865,
                "crosses_total": 5.7211,
                "crosses_accurate": 0.0,
                "touches": 69.7979,
                "possession_lost": 24.0288,
                "dispossessed": 0.0,
                "duels_lost": 4.5769,
                "aerial_won": 0.0,
                "aerial_lost": 0.0,
                "interceptions": 1.1442,
                "tackles_won": 1.1442,
                "tackles": 1.1442,
                "clearances": 2.2885,
                "total_contest": 2.2885,
                "won_contest": 0.0,
                "challenges_lost": 0.0,
                "fouls": 2.2885,
                "fouls_drawn": 2.2885,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 6.8654,
                "total_progression": 8.1545,
                "progressive_carries": 0.0,
                "shots_off_target": 0.1357,
                "bench_appearance_probability": 0.501,
                "bench_expected_minutes": 22.03
              },
              "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.3298,
                "expected_assists": 0.0529,
                "assist_rate": 0.0691,
                "assists": 0,
                "expected_goals": 0.0212,
                "goal_rate": 0.0386,
                "goals": 0,
                "shots_on_target": 0.1071,
                "total_shots": 0.2429,
                "rating": 6.7132,
                "minutes": 22.03,
                "total_pass": 34.3268,
                "accurate_pass": 26.3172,
                "duels_won": 3.4327,
                "total_long_balls": 1.1442,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 18.3076,
                "accurate_own_half_passes": 13.7307,
                "total_opp_half_passes": 16.0192,
                "accurate_opp_half_passes": 12.5865,
                "crosses_total": 5.7211,
                "crosses_accurate": 0.0,
                "touches": 69.7979,
                "possession_lost": 24.0288,
                "dispossessed": 0.0,
                "duels_lost": 4.5769,
                "aerial_won": 0.0,
                "aerial_lost": 0.0,
                "interceptions": 1.1442,
                "tackles_won": 1.1442,
                "tackles": 1.1442,
                "clearances": 2.2885,
                "total_contest": 2.2885,
                "won_contest": 0.0,
                "challenges_lost": 0.0,
                "fouls": 2.2885,
                "fouls_drawn": 2.2885,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 6.8654,
                "total_progression": 8.1545,
                "progressive_carries": 0.0,
                "shots_off_target": 0.1357,
                "bench_appearance_probability": 0.501,
                "bench_expected_minutes": 22.03,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.463,
                "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.501,
                "projected_substitutes": 3,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 13 by projected rating, fifa_overall 78.0; not used by the projection)",
              "stats": {
                "key_pass": 0.3298,
                "expected_assists": 0.0529,
                "assist_rate": 0.0691,
                "assists": 0,
                "expected_goals": 0.0212,
                "goal_rate": 0.0386,
                "goals": 0,
                "shots_on_target": 0.1071,
                "total_shots": 0.2429,
                "rating": 6.7132,
                "minutes": 22.03,
                "total_pass": 34.3268,
                "accurate_pass": 26.3172,
                "duels_won": 3.4327,
                "total_long_balls": 1.1442,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 18.3076,
                "accurate_own_half_passes": 13.7307,
                "total_opp_half_passes": 16.0192,
                "accurate_opp_half_passes": 12.5865,
                "crosses_total": 5.7211,
                "crosses_accurate": 0.0,
                "touches": 69.7979,
                "possession_lost": 24.0288,
                "dispossessed": 0.0,
                "duels_lost": 4.5769,
                "aerial_won": 0.0,
                "aerial_lost": 0.0,
                "interceptions": 1.1442,
                "tackles_won": 1.1442,
                "tackles": 1.1442,
                "clearances": 2.2885,
                "total_contest": 2.2885,
                "won_contest": 0.0,
                "challenges_lost": 0.0,
                "fouls": 2.2885,
                "fouls_drawn": 2.2885,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 6.8654,
                "total_progression": 8.1545,
                "progressive_carries": 0.0,
                "shots_off_target": 0.1357,
                "bench_appearance_probability": 0.501,
                "bench_expected_minutes": 22.03,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.463,
                "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": 13,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 1704,
                "fifa_rank": 1185.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 78.0
              }
            }
          ]
        },
        "Adama Traoré": {
          "player_id": 286165,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 24,
          "height": 178,
          "market_value": 5700000,
          "stats": {
            "expected_goals": 0.0625,
            "goal_rate": 0.0537,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0231,
            "key_pass": 0,
            "rating": 6.6237,
            "minutes": 25,
            "total_pass": 7,
            "accurate_pass": 5,
            "duels_won": 2,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 5,
            "accurate_opp_half_passes": 3,
            "crosses_total": 2,
            "crosses_accurate": 0,
            "touches": 16,
            "possession_lost": 7.1152,
            "dispossessed": 1.3384,
            "duels_lost": 3,
            "aerial_lost": 0,
            "total_contest": 2,
            "won_contest": 1,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 1,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0014,
            "offsides": 0,
            "ball_carries": 7,
            "total_progression": 53,
            "progressive_carries": 2,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.565,
            "bench_expected_minutes": 25.42,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.463,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0342,
            "projected_assists": 0,
            "assist_probability": 0.0129,
            "finishing_factor": 0.9242,
            "creation_factor": 0.8,
            "fifa_overall": 68.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": "home",
              "is_starting_11": 0,
              "team": "Deportivo de A Coruña",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 15,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0391,
                "expected_assists": 0.0113,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 5,
                "accurate_pass": 3,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416343,
              "match_date": "2026-09-16",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Deportivo de A Coruña",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 45,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0105,
                "total_shots": 0,
                "total_pass": 6,
                "accurate_pass": 4,
                "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": 16416326,
              "match_date": "2026-09-13",
              "home_team": "Getafe",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Deportivo de A Coruña",
              "opponent": "Getafe",
              "stats": {
                "minutes": 28,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0029,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 11,
                "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": 16416324,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Deportivo de A Coruña",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 24,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0101,
                "total_shots": 0,
                "total_pass": 11,
                "accurate_pass": 10,
                "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": 14023945,
              "match_date": "2026-05-02",
              "home_team": "Brentford",
              "away_team": "West Ham United",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "West Ham United",
              "opponent": "Brentford",
              "stats": {
                "minutes": 16,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0128,
                "total_shots": 0,
                "total_pass": 5,
                "accurate_pass": 3,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "Premier League",
              "league_id": "17",
              "league_slug": "premier-league",
              "league_country": "England",
              "season_id": "76986",
              "season_name": "Premier League 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14025029,
              "match_date": "2026-04-10",
              "home_team": "West Ham United",
              "away_team": "Wolverhampton",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "West Ham United",
              "opponent": "Wolverhampton",
              "stats": {
                "minutes": 12,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.346,
                "expected_assists": 0.0002,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 4,
                "accurate_pass": 4
              },
              "has_player_stats": true,
              "league_name": "Premier League",
              "league_id": "17",
              "league_slug": "premier-league",
              "league_country": "England",
              "season_id": "76986",
              "season_name": "Premier League 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14024014,
              "match_date": "2026-03-22",
              "home_team": "Aston Villa",
              "away_team": "West Ham United",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "West Ham United",
              "opponent": "Aston Villa",
              "stats": {
                "minutes": 45,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0089,
                "total_shots": 0,
                "total_pass": 7,
                "accurate_pass": 6,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "Premier League",
              "league_id": "17",
              "league_slug": "premier-league",
              "league_country": "England",
              "season_id": "76986",
              "season_name": "Premier League 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14023993,
              "match_date": "2026-03-14",
              "home_team": "West Ham United",
              "away_team": "Manchester City",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "West Ham United",
              "opponent": "Manchester City",
              "stats": {
                "minutes": 15,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0,
                "total_pass": 1,
                "clearances": 1
              },
              "has_player_stats": true,
              "league_name": "Premier League",
              "league_id": "17",
              "league_slug": "premier-league",
              "league_country": "England",
              "season_id": "76986",
              "season_name": "Premier League 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14023947,
              "match_date": "2026-03-04",
              "home_team": "Fulham",
              "away_team": "West Ham United",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "West Ham United",
              "opponent": "Fulham",
              "stats": {
                "minutes": 12,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "total_pass": 1,
                "accurate_pass": 1
              },
              "has_player_stats": true,
              "league_name": "Premier League",
              "league_id": "17",
              "league_slug": "premier-league",
              "league_country": "England",
              "season_id": "76986",
              "season_name": "Premier League 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14023976,
              "match_date": "2026-02-28",
              "home_team": "Liverpool FC",
              "away_team": "West Ham United",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "West Ham United",
              "opponent": "Liverpool FC",
              "stats": {
                "minutes": 14,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0004,
                "total_shots": 0,
                "total_pass": 4,
                "accurate_pass": 2
              },
              "has_player_stats": true,
              "league_name": "Premier League",
              "league_id": "17",
              "league_slug": "premier-league",
              "league_country": "England",
              "season_id": "76986",
              "season_name": "Premier League 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 6326,
            "combined_rank_score": 4631.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 910.0,
            "sofascore_rating": 6.5095,
            "sofascore_appearances": 24.0,
            "fifa_rank": 8353.0,
            "fifa_overall": 68.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 16,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6237,
            "source_file": "data/player_rankings.csv",
            "player_name": "Adama Traoré",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Ermal Krasniqi",
                  "ranking": 6321
                },
                {
                  "player_name": "Piris da Motta",
                  "ranking": 6322
                },
                {
                  "player_name": "Eugenio Raggio",
                  "ranking": 6323
                },
                {
                  "player_name": "David Akintola",
                  "ranking": 6324
                },
                {
                  "player_name": "João Rêgo",
                  "ranking": 6325
                }
              ],
              "lower": [
                {
                  "player_name": "Esteban Matus",
                  "ranking": 6327
                },
                {
                  "player_name": "Cameron Humphreys",
                  "ranking": 6328
                },
                {
                  "player_name": "Brandon Austin",
                  "ranking": 6329
                },
                {
                  "player_name": "Javier García",
                  "ranking": 6330
                },
                {
                  "player_name": "Alexis Zapata",
                  "ranking": 6331
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 28,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 28,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 25.424255583102187,
            "bench_appearance_prob": 0.5647388901410085,
            "market_value_adjustment": 0.9984,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (28 historical appearances) to 25.4 expected mins (appearance prob 0.56)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.0526,
                "goals": 0.0454,
                "goal_rate": 0.0454,
                "shots_on_target": 0.2189,
                "total_shots": 0.6507,
                "expected_assists": 0.0195,
                "key_pass": 0.2546,
                "rating": 6.6237,
                "minutes": 21.51,
                "total_pass": 5.765,
                "accurate_pass": 4.469,
                "duels_won": 1.8235,
                "total_long_balls": 0.2897,
                "accurate_long_balls": 0.1902,
                "total_opp_half_passes": 3.8737,
                "accurate_opp_half_passes": 2.7388,
                "crosses_total": 1.9563,
                "crosses_accurate": 0.1464,
                "touches": 13.8674,
                "possession_lost": 6.0294,
                "dispossessed": 1.3405,
                "duels_lost": 2.8497,
                "aerial_lost": 0.1867,
                "total_contest": 1.6158,
                "won_contest": 0.8442,
                "ball_recovery": 0.9403,
                "challenges_lost": 0.0654,
                "fouls": 0.4996,
                "fouls_drawn": 0.7678,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.0793,
                "tackles": 0.0793,
                "clearances": 0.2006,
                "blocks": 0.0,
                "big_chances_created": 0.0036,
                "big_chances_missed": 0.0677,
                "xgot": 0.0012,
                "offsides": 0.0932,
                "ball_carries": 5.764,
                "total_progression": 44.7272,
                "progressive_carries": 2.003,
                "shots_off_target": 0.4318
              },
              "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": "Real Betis",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.1516,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Sevilla",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.1289,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Getafe",
                    "minutes": 28.0,
                    "is_starting": false,
                    "weight": 0.1095,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Villarreal",
                    "minutes": 24.0,
                    "is_starting": false,
                    "weight": 0.0931,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Brentford",
                    "minutes": 16.0,
                    "is_starting": false,
                    "weight": 0.0791,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-04-10",
                    "opponent": "Wolverhampton",
                    "minutes": 12.0,
                    "is_starting": false,
                    "weight": 0.0673,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-03-22",
                    "opponent": "Aston Villa",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.0572,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-03-14",
                    "opponent": "Manchester City",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.0486,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-03-04",
                    "opponent": "Fulham",
                    "minutes": 12.0,
                    "is_starting": false,
                    "weight": 0.0413,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-02-28",
                    "opponent": "Liverpool FC",
                    "minutes": 14.0,
                    "is_starting": false,
                    "weight": 0.0351,
                    "rating": 6.3
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "expectedGoals": 0.0348,
                  "totalOppositionHalfPasses": 3.9039,
                  "accurateOppositionHalfPasses": 2.7663,
                  "accuratePass": 4.5056,
                  "totalShots": 0.2733
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.05264390632510185,
                    "model_output": 0.0526,
                    "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.0886
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0209
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0087
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0061
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.0047
                        }
                      ],
                      "others": -0.0162,
                      "total": 0.0526,
                      "log_link": true,
                      "margin_base": -1.62027,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.593676
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.211936
                        },
                        {
                          "name": "goals",
                          "margin": -0.10335
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.079381
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": -0.06571
                        }
                      ],
                      "others_margin": -0.269881
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.04542307183146477,
                    "model_output": 0.0454,
                    "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.0971
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0199
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.01
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0072
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0052
                        }
                      ],
                      "others": -0.0184,
                      "total": 0.0454,
                      "log_link": true,
                      "margin_base": -1.593696,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.649928
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.208109
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.123735
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.099488
                        },
                        {
                          "name": "goals",
                          "margin": -0.078572
                        }
                      ],
                      "others_margin": -0.338209
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.218898206949234,
                    "model_output": 0.2189,
                    "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.2007
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.037
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0238
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0154
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0133
                        }
                      ],
                      "others": -0.0276,
                      "total": 0.2189,
                      "log_link": true,
                      "margin_base": -0.622283,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.468345
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.116684
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.08279
                        },
                        {
                          "name": "goals",
                          "margin": -0.057605
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.052681
                        }
                      ],
                      "others_margin": -0.11876
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.6507166028022766,
                    "model_output": 0.6507,
                    "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.494
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1139
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0514
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0393
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.028
                        }
                      ],
                      "others": 0.0045,
                      "total": 0.6507,
                      "log_link": false,
                      "margin_base": 1.372807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.494012
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.113937
                        },
                        {
                          "name": "goals",
                          "margin": -0.051395
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.039255
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.028025
                        }
                      ],
                      "others_margin": 0.004535
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.019535506144165993,
                    "model_output": 0.0195,
                    "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.0231
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0107
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0042
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0022
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0015
                        }
                      ],
                      "others": -0.0027,
                      "total": 0.0195,
                      "log_link": true,
                      "margin_base": -2.751197,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.449935
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.303831
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.15104
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.089911
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.067695
                        }
                      ],
                      "others_margin": -0.121912
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.254574179649353,
                    "model_output": 0.2546,
                    "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.3195
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0376
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0324
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.019
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0162
                        }
                      ],
                      "others": -0.0259,
                      "total": 0.2546,
                      "log_link": true,
                      "margin_base": -0.396376,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.644241
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.112592
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.108483
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.06938
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.059374
                        }
                      ],
                      "others_margin": -0.096466
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.623709201812744,
                    "model_output": 6.6237,
                    "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.0637
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0171
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0164
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0147
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0102
                        }
                      ],
                      "others": -0.0472,
                      "total": 6.6237,
                      "log_link": false,
                      "margin_base": 6.763607,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.06371
                        },
                        {
                          "name": "rating",
                          "margin": -0.01709
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.016408
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.014655
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.010214
                        }
                      ],
                      "others_margin": -0.04713
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 28,
                  "role_matches": 27,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9984, quality 0.471)",
              "stats": {
                "expected_goals": 0.0526,
                "goals": 0.0454,
                "goal_rate": 0.0454,
                "shots_on_target": 0.2185,
                "total_shots": 0.6497,
                "expected_assists": 0.0195,
                "key_pass": 0.2542,
                "rating": 6.6237,
                "minutes": 21.51,
                "total_pass": 5.7558,
                "accurate_pass": 4.4618,
                "duels_won": 1.8206,
                "total_long_balls": 0.2892,
                "accurate_long_balls": 0.1899,
                "total_opp_half_passes": 3.8675,
                "accurate_opp_half_passes": 2.7344,
                "crosses_total": 1.9532,
                "crosses_accurate": 0.1462,
                "touches": 13.8452,
                "possession_lost": 6.0198,
                "dispossessed": 1.3384,
                "duels_lost": 2.8451,
                "aerial_lost": 0.1864,
                "total_contest": 1.6132,
                "won_contest": 0.8428,
                "ball_recovery": 0.9388,
                "challenges_lost": 0.0653,
                "fouls": 0.4988,
                "fouls_drawn": 0.7666,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.0792,
                "tackles": 0.0792,
                "clearances": 0.2003,
                "blocks": 0.0,
                "big_chances_created": 0.0036,
                "big_chances_missed": 0.0676,
                "xgot": 0.0012,
                "offsides": 0.0931,
                "ball_carries": 5.7548,
                "total_progression": 44.6556,
                "progressive_carries": 1.9998,
                "shots_off_target": 0.4311
              },
              "params": {
                "market_value_eur": 5700000,
                "quality_factor": 0.4708,
                "boost_factor": 0.9984,
                "reference_quality": 0.505,
                "history_matches": 28,
                "history_shrink": 0.1515,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 21.5 to 25.4 expected minutes (appearance prob 0.56)",
              "stats": {
                "expected_goals": 0.0622,
                "goals": 0.0537,
                "goal_rate": 0.0537,
                "shots_on_target": 0.2583,
                "total_shots": 0.7679,
                "expected_assists": 0.023,
                "key_pass": 0.3005,
                "rating": 6.6237,
                "minutes": 25.42,
                "total_pass": 6.8032,
                "accurate_pass": 5.2737,
                "duels_won": 2.1519,
                "total_long_balls": 0.3418,
                "accurate_long_balls": 0.2245,
                "total_opp_half_passes": 4.5713,
                "accurate_opp_half_passes": 3.232,
                "crosses_total": 2.3086,
                "crosses_accurate": 0.1728,
                "touches": 16.3647,
                "possession_lost": 7.1152,
                "dispossessed": 1.3384,
                "duels_lost": 3.3628,
                "aerial_lost": 0.1864,
                "total_contest": 1.9068,
                "won_contest": 0.9962,
                "ball_recovery": 1.1096,
                "challenges_lost": 0.0653,
                "fouls": 0.5896,
                "fouls_drawn": 0.9061,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.0936,
                "tackles": 0.0936,
                "clearances": 0.2367,
                "blocks": 0.0,
                "big_chances_created": 0.0043,
                "big_chances_missed": 0.0799,
                "xgot": 0.0014,
                "offsides": 0.0931,
                "ball_carries": 6.802,
                "total_progression": 52.7817,
                "progressive_carries": 2.3637,
                "shots_off_target": 0.5095,
                "bench_appearance_probability": 0.565,
                "bench_expected_minutes": 25.42
              },
              "params": {
                "expected_minutes": 25.42,
                "projection_minutes": 21.51,
                "minutes_scale": 1.182,
                "appearance_probability": 0.565
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0622,
                "goals": 0.0537,
                "goal_rate": 0.0537,
                "shots_on_target": 0.2583,
                "total_shots": 0.7679,
                "expected_assists": 0.023,
                "key_pass": 0.3005,
                "rating": 6.6237,
                "minutes": 25.42,
                "total_pass": 6.8032,
                "accurate_pass": 5.2737,
                "duels_won": 2.1519,
                "total_long_balls": 0.3418,
                "accurate_long_balls": 0.2245,
                "total_opp_half_passes": 4.5713,
                "accurate_opp_half_passes": 3.232,
                "crosses_total": 2.3086,
                "crosses_accurate": 0.1728,
                "touches": 16.3647,
                "possession_lost": 7.1152,
                "dispossessed": 1.3384,
                "duels_lost": 3.3628,
                "aerial_lost": 0.1864,
                "total_contest": 1.9068,
                "won_contest": 0.9962,
                "ball_recovery": 1.1096,
                "challenges_lost": 0.0653,
                "fouls": 0.5896,
                "fouls_drawn": 0.9061,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.0936,
                "tackles": 0.0936,
                "clearances": 0.2367,
                "blocks": 0.0,
                "big_chances_created": 0.0043,
                "big_chances_missed": 0.0799,
                "xgot": 0.0014,
                "offsides": 0.0931,
                "ball_carries": 6.802,
                "total_progression": 52.7817,
                "progressive_carries": 2.3637,
                "shots_off_target": 0.5095,
                "bench_appearance_probability": 0.565,
                "bench_expected_minutes": 25.42
              },
              "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.81 (squad xG sum 0.8013, xG scale 1.0047, xA scale 1.0047, team xA 0.63 = 0.78 x lambda)",
              "stats": {
                "expected_goals": 0.0625,
                "goal_rate": 0.0537,
                "goals": 0,
                "shots_on_target": 0.2583,
                "total_shots": 0.7679,
                "expected_assists": 0.0231,
                "key_pass": 0.3005,
                "rating": 6.6237,
                "minutes": 25.42,
                "total_pass": 6.8032,
                "accurate_pass": 5.2737,
                "duels_won": 2.1519,
                "total_long_balls": 0.3418,
                "accurate_long_balls": 0.2245,
                "total_opp_half_passes": 4.5713,
                "accurate_opp_half_passes": 3.232,
                "crosses_total": 2.3086,
                "crosses_accurate": 0.1728,
                "touches": 16.3647,
                "possession_lost": 7.1152,
                "dispossessed": 1.3384,
                "duels_lost": 3.3628,
                "aerial_lost": 0.1864,
                "total_contest": 1.9068,
                "won_contest": 0.9962,
                "ball_recovery": 1.1096,
                "challenges_lost": 0.0653,
                "fouls": 0.5896,
                "fouls_drawn": 0.9061,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0936,
                "tackles": 0.0936,
                "clearances": 0.2367,
                "blocks": 0.0,
                "big_chances_created": 0.0043,
                "big_chances_missed": 0.0799,
                "xgot": 0.0014,
                "offsides": 0.0931,
                "ball_carries": 6.802,
                "total_progression": 52.7817,
                "progressive_carries": 2.3637,
                "shots_off_target": 0.5095,
                "bench_appearance_probability": 0.565,
                "bench_expected_minutes": 25.42,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.463,
                "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.9242,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 0.805,
                "squad_xg_sum": 0.8013,
                "squad_xa_sum": 0.6279,
                "team_expected_assists": 0.6308,
                "team_xa_to_xg_ratio": 0.7836,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0047,
                "xa_scale": 1.0047,
                "opponent_lambda": 1.498,
                "scoreline_reset": true,
                "appearance_weight": 0.565
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 16 by projected rating, fifa_overall 68.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.0625,
                "goal_rate": 0.0537,
                "goals": 0,
                "shots_on_target": 0.2583,
                "total_shots": 0.7679,
                "expected_assists": 0.0231,
                "key_pass": 0.3005,
                "rating": 6.6237,
                "minutes": 25.42,
                "total_pass": 6.8032,
                "accurate_pass": 5.2737,
                "duels_won": 2.1519,
                "total_long_balls": 0.3418,
                "accurate_long_balls": 0.2245,
                "total_opp_half_passes": 4.5713,
                "accurate_opp_half_passes": 3.232,
                "crosses_total": 2.3086,
                "crosses_accurate": 0.1728,
                "touches": 16.3647,
                "possession_lost": 7.1152,
                "dispossessed": 1.3384,
                "duels_lost": 3.3628,
                "aerial_lost": 0.1864,
                "total_contest": 1.9068,
                "won_contest": 0.9962,
                "ball_recovery": 1.1096,
                "challenges_lost": 0.0653,
                "fouls": 0.5896,
                "fouls_drawn": 0.9061,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0936,
                "tackles": 0.0936,
                "clearances": 0.2367,
                "blocks": 0.0,
                "big_chances_created": 0.0043,
                "big_chances_missed": 0.0799,
                "xgot": 0.0014,
                "offsides": 0.0931,
                "ball_carries": 6.802,
                "total_progression": 52.7817,
                "progressive_carries": 2.3637,
                "shots_off_target": 0.5095,
                "bench_appearance_probability": 0.565,
                "bench_expected_minutes": 25.42,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.463,
                "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.9242,
                "creation_factor": 0.8,
                "fifa_overall": 68.0
              },
              "params": {
                "match_squad_rank": 16,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 6326,
                "fifa_rank": 8353.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 68.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "expected_goals": 0.0625,
                "goal_rate": 0.0537,
                "goals": 0,
                "shots_on_target": 0.2583,
                "total_shots": 0.7679,
                "expected_assists": 0.0231,
                "key_pass": 0.3005,
                "rating": 6.6237,
                "minutes": 25.42,
                "total_pass": 6.8032,
                "accurate_pass": 5.2737,
                "duels_won": 2.1519,
                "total_long_balls": 0.3418,
                "accurate_long_balls": 0.2245,
                "total_opp_half_passes": 4.5713,
                "accurate_opp_half_passes": 3.232,
                "crosses_total": 2.3086,
                "crosses_accurate": 0.1728,
                "touches": 16.3647,
                "possession_lost": 7.1152,
                "dispossessed": 1.3384,
                "duels_lost": 3.3628,
                "aerial_lost": 0.1864,
                "total_contest": 1.9068,
                "won_contest": 0.9962,
                "ball_recovery": 1.1096,
                "challenges_lost": 0.0653,
                "fouls": 0.5896,
                "fouls_drawn": 0.9061,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0936,
                "tackles": 0.0936,
                "clearances": 0.2367,
                "blocks": 0.0,
                "big_chances_created": 0.0043,
                "big_chances_missed": 0.0799,
                "xgot": 0.0014,
                "offsides": 0.0931,
                "ball_carries": 6.802,
                "total_progression": 52.7817,
                "progressive_carries": 2.3637,
                "shots_off_target": 0.5095,
                "bench_appearance_probability": 0.565,
                "bench_expected_minutes": 25.42,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.463,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0342,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9242,
                "creation_factor": 0.8,
                "fifa_overall": 68.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0342,
                "scorer_weight": 0.0326,
                "squad_weight_total": 0.751,
                "weight_share": 0.0435,
                "finishing_factor": 0.9242,
                "appearance_weight": 0.565,
                "weight_rank": 10,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "expected_goals": 0.0625,
                "goal_rate": 0.0537,
                "goals": 0,
                "shots_on_target": 0.2583,
                "total_shots": 0.7679,
                "expected_assists": 0.0231,
                "key_pass": 0.3005,
                "rating": 6.6237,
                "minutes": 25.42,
                "total_pass": 6.8032,
                "accurate_pass": 5.2737,
                "duels_won": 2.1519,
                "total_long_balls": 0.3418,
                "accurate_long_balls": 0.2245,
                "total_opp_half_passes": 4.5713,
                "accurate_opp_half_passes": 3.232,
                "crosses_total": 2.3086,
                "crosses_accurate": 0.1728,
                "touches": 16.3647,
                "possession_lost": 7.1152,
                "dispossessed": 1.3384,
                "duels_lost": 3.3628,
                "aerial_lost": 0.1864,
                "total_contest": 1.9068,
                "won_contest": 0.9962,
                "ball_recovery": 1.1096,
                "challenges_lost": 0.0653,
                "fouls": 0.5896,
                "fouls_drawn": 0.9061,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0936,
                "tackles": 0.0936,
                "clearances": 0.2367,
                "blocks": 0.0,
                "big_chances_created": 0.0043,
                "big_chances_missed": 0.0799,
                "xgot": 0.0014,
                "offsides": 0.0931,
                "ball_carries": 6.802,
                "total_progression": 52.7817,
                "progressive_carries": 2.3637,
                "shots_off_target": 0.5095,
                "bench_appearance_probability": 0.565,
                "bench_expected_minutes": 25.42,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.463,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0342,
                "projected_assists": 0,
                "assist_probability": 0.0129,
                "finishing_factor": 0.9242,
                "creation_factor": 0.8,
                "fifa_overall": 68.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0129,
                "provider_weight": 0.0104,
                "squad_weight_total": 0.6285,
                "weight_share": 0.0166,
                "creation_factor": 0.8,
                "appearance_weight": 0.565,
                "weight_rank": 11,
                "eligible_players": 13
              }
            }
          ]
        },
        "David Mella": {
          "player_id": 1146312,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 11,
          "height": 169,
          "market_value": 4500000,
          "stats": {
            "expected_goals": 0.0832,
            "goal_rate": 0.0773,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0232,
            "key_pass": 0,
            "rating": 6.6116,
            "minutes": 25,
            "total_pass": 11,
            "accurate_pass": 6,
            "duels_won": 2,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_opp_half_passes": 7,
            "accurate_opp_half_passes": 3,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 18,
            "possession_lost": 7.0667,
            "dispossessed": 0.2783,
            "duels_lost": 5,
            "aerial_lost": 1,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 3,
            "challenges_lost": 2,
            "fouls": 1,
            "fouls_drawn": 1,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.1054,
            "offsides": 0,
            "ball_carries": 8,
            "total_progression": 22,
            "progressive_carries": 1,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.562,
            "bench_expected_minutes": 25.37,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.463,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0449,
            "projected_assists": 0,
            "assist_probability": 0.0129,
            "finishing_factor": 0.9586,
            "creation_factor": 0.8,
            "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": "home",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 75,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3599,
                "expected_assists": 0.0278,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 15,
                "accurate_pass": 9,
                "key_pass": 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": 16416307,
              "match_date": "2026-08-24",
              "home_team": "Málaga CF",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Deportivo de A Coruña",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 28,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0055,
                "total_shots": 0,
                "total_pass": 5,
                "accurate_pass": 4,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421050,
              "match_date": "2026-08-17",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Deportivo de A Coruña",
              "opponent": "Elche",
              "stats": {
                "minutes": 19,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0041,
                "total_shots": 0,
                "total_pass": 6,
                "accurate_pass": 3,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 1,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 2555,
            "combined_rank_score": 1059.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 915.0,
            "sofascore_rating": 6.5,
            "sofascore_appearances": 2.0,
            "fifa_rank": 1204.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 18,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6116,
            "source_file": "data/player_rankings.csv",
            "player_name": "David Mella",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Adam Bugarija",
                  "ranking": 2550
                },
                {
                  "player_name": "Beom-hwan Kim",
                  "ranking": 2551
                },
                {
                  "player_name": "Myles Beerman",
                  "ranking": 2552
                },
                {
                  "player_name": "Yoon-hwan Lee",
                  "ranking": 2553
                },
                {
                  "player_name": "Tokhirbek Tukhtasinov",
                  "ranking": 2554
                }
              ],
              "lower": [
                {
                  "player_name": "José Luis Pérez",
                  "ranking": 2556
                },
                {
                  "player_name": "Sultanboy Ismoilov",
                  "ranking": 2557
                },
                {
                  "player_name": "Gerald Taylor",
                  "ranking": 2558
                },
                {
                  "player_name": "Felipe Villagrán",
                  "ranking": 2559
                },
                {
                  "player_name": "Danilo Catalán",
                  "ranking": 2560
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.438,
          "history_matches": 3,
          "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": 3,
            "data_confidence": 0.438,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 25.365815006556694,
            "bench_appearance_prob": 0.5620825002980315,
            "market_value_adjustment": 0.9908,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (3 historical appearances) to 25.4 expected mins (appearance prob 0.56)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.0723,
                "goals": 0.0675,
                "goal_rate": 0.0675,
                "shots_on_target": 0.2682,
                "total_shots": 0.5392,
                "expected_assists": 0.0202,
                "key_pass": 0.3032,
                "rating": 6.6116,
                "minutes": 21.93,
                "total_pass": 9.1681,
                "accurate_pass": 5.6628,
                "duels_won": 1.3304,
                "total_long_balls": 1.4966,
                "accurate_long_balls": 1.1079,
                "total_opp_half_passes": 5.7279,
                "accurate_opp_half_passes": 3.0,
                "crosses_total": 0.9417,
                "crosses_accurate": 0.0,
                "touches": 15.8785,
                "possession_lost": 6.1662,
                "dispossessed": 0.2809,
                "duels_lost": 4.0087,
                "aerial_lost": 0.6113,
                "total_contest": 0.3887,
                "won_contest": 0.0,
                "ball_recovery": 2.6696,
                "challenges_lost": 2.0583,
                "fouls": 0.6696,
                "fouls_drawn": 0.7191,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.3304,
                "tackles_won": 0.2809,
                "tackles": 0.2809,
                "clearances": 0.3304,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.3887,
                "xgot": 0.0915,
                "offsides": 0.3304,
                "ball_carries": 6.7123,
                "total_progression": 19.6085,
                "progressive_carries": 0.7191,
                "shots_off_target": 0.271
              },
              "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": "Real Betis",
                    "minutes": 75.0,
                    "is_starting": true,
                    "weight": 0.3887,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Málaga CF",
                    "minutes": 28.0,
                    "is_starting": false,
                    "weight": 0.3304,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-17",
                    "opponent": "Elche",
                    "minutes": 19.0,
                    "is_starting": false,
                    "weight": 0.2809,
                    "rating": 6.3
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 0.0,
                  "expectedGoals": 0.1399,
                  "totalOppositionHalfPasses": 5.7279,
                  "accurateOppositionHalfPasses": 3.0,
                  "accuratePass": 5.6628,
                  "totalShots": 0.7775
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.0722515732049942,
                    "model_output": 0.0723,
                    "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.0805
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0145
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0092
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0079
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0042
                        }
                      ],
                      "others": -0.0092,
                      "total": 0.0723,
                      "log_link": true,
                      "margin_base": -1.62027,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.522043
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.132219
                        },
                        {
                          "name": "goals",
                          "margin": -0.094096
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.087641
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.050668
                        }
                      ],
                      "others_margin": -0.120663
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.06746619939804077,
                    "model_output": 0.0675,
                    "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.0789
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0206
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.013
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0073
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0048
                        }
                      ],
                      "others": -0.0111,
                      "total": 0.0675,
                      "log_link": true,
                      "margin_base": -1.593696,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.491665
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.181704
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.133889
                        },
                        {
                          "name": "goals",
                          "margin": -0.083417
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.0592
                        }
                      ],
                      "others_margin": -0.152559
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.26824966073036194,
                    "model_output": 0.2682,
                    "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.1867
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.033
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0254
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0183
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0143
                        }
                      ],
                      "others": 0.0092,
                      "total": 0.2682,
                      "log_link": true,
                      "margin_base": -0.622283,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.427487
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.09917
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.083397
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.064733
                        },
                        {
                          "name": "goals",
                          "margin": -0.053843
                        }
                      ],
                      "others_margin": 0.035076
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5392164587974548,
                    "model_output": 0.5392,
                    "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.4615
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1138
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0428
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0419
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0337
                        }
                      ],
                      "others": -0.1399,
                      "total": 0.5392,
                      "log_link": false,
                      "margin_base": 1.372807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.461545
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.113784
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.042758
                        },
                        {
                          "name": "goals",
                          "margin": -0.041871
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.033653
                        }
                      ],
                      "others_margin": -0.13998
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.02021697349846363,
                    "model_output": 0.0202,
                    "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.0203
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0071
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0048
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0022
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0018
                        }
                      ],
                      "others": -0.0075,
                      "total": 0.0202,
                      "log_link": true,
                      "margin_base": -2.751197,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.382749
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.17882
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.141344
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.070782
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.062013
                        }
                      ],
                      "others_margin": -0.314327
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.3032163977622986,
                    "model_output": 0.3032,
                    "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.2606
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0316
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0255
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0177
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.011
                        }
                      ],
                      "others": -0.0232,
                      "total": 0.3032,
                      "log_link": true,
                      "margin_base": -0.396376,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.489897
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.079889
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.069298
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.05121
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.033296
                        }
                      ],
                      "others_margin": -0.073342
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.6116108894348145,
                    "model_output": 6.6116,
                    "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.059
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0226
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0118
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0107
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0095
                        }
                      ],
                      "others": -0.0384,
                      "total": 6.6116,
                      "log_link": false,
                      "margin_base": 6.763607,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.059007
                        },
                        {
                          "name": "rating",
                          "margin": -0.022586
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.011787
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.010666
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.009452
                        }
                      ],
                      "others_margin": -0.038497
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 3,
                  "role_matches": 2,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "all_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9908, quality 0.456)",
              "stats": {
                "expected_goals": 0.0716,
                "goals": 0.0668,
                "goal_rate": 0.0668,
                "shots_on_target": 0.2658,
                "total_shots": 0.5343,
                "expected_assists": 0.02,
                "key_pass": 0.3004,
                "rating": 6.6116,
                "minutes": 21.93,
                "total_pass": 9.0838,
                "accurate_pass": 5.6107,
                "duels_won": 1.3182,
                "total_long_balls": 1.4828,
                "accurate_long_balls": 1.0977,
                "total_opp_half_passes": 5.6752,
                "accurate_opp_half_passes": 2.9724,
                "crosses_total": 0.933,
                "crosses_accurate": 0.0,
                "touches": 15.7324,
                "possession_lost": 6.1095,
                "dispossessed": 0.2783,
                "duels_lost": 3.9718,
                "aerial_lost": 0.6057,
                "total_contest": 0.3851,
                "won_contest": 0.0,
                "ball_recovery": 2.645,
                "challenges_lost": 2.0394,
                "fouls": 0.6634,
                "fouls_drawn": 0.7125,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.3274,
                "tackles_won": 0.2783,
                "tackles": 0.2783,
                "clearances": 0.3274,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.3851,
                "xgot": 0.0907,
                "offsides": 0.3274,
                "ball_carries": 6.6505,
                "total_progression": 19.4281,
                "progressive_carries": 0.7125,
                "shots_off_target": 0.2685
              },
              "params": {
                "market_value_eur": 4500000,
                "quality_factor": 0.456,
                "boost_factor": 0.9908,
                "reference_quality": 0.505,
                "history_matches": 3,
                "history_shrink": 0.625,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 21.9 to 25.4 expected minutes (appearance prob 0.56)",
              "stats": {
                "expected_goals": 0.0828,
                "goals": 0.0773,
                "goal_rate": 0.0773,
                "shots_on_target": 0.3074,
                "total_shots": 0.618,
                "expected_assists": 0.0231,
                "key_pass": 0.3475,
                "rating": 6.6116,
                "minutes": 25.37,
                "total_pass": 10.507,
                "accurate_pass": 6.4897,
                "duels_won": 1.5247,
                "total_long_balls": 1.7151,
                "accurate_long_balls": 1.2697,
                "total_opp_half_passes": 6.5643,
                "accurate_opp_half_passes": 3.4381,
                "crosses_total": 1.0792,
                "crosses_accurate": 0.0,
                "touches": 18.1972,
                "possession_lost": 7.0667,
                "dispossessed": 0.2783,
                "duels_lost": 4.5941,
                "aerial_lost": 0.6057,
                "total_contest": 0.4454,
                "won_contest": 0.0,
                "ball_recovery": 3.0594,
                "challenges_lost": 2.0394,
                "fouls": 0.7673,
                "fouls_drawn": 0.8241,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.3787,
                "tackles_won": 0.3219,
                "tackles": 0.3219,
                "clearances": 0.3787,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.4454,
                "xgot": 0.1049,
                "offsides": 0.3274,
                "ball_carries": 7.6924,
                "total_progression": 22.4719,
                "progressive_carries": 0.8241,
                "shots_off_target": 0.3106,
                "bench_appearance_probability": 0.562,
                "bench_expected_minutes": 25.37
              },
              "params": {
                "expected_minutes": 25.37,
                "projection_minutes": 21.93,
                "minutes_scale": 1.1567,
                "appearance_probability": 0.562
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0828,
                "goals": 0.0773,
                "goal_rate": 0.0773,
                "shots_on_target": 0.3074,
                "total_shots": 0.618,
                "expected_assists": 0.0231,
                "key_pass": 0.3475,
                "rating": 6.6116,
                "minutes": 25.37,
                "total_pass": 10.507,
                "accurate_pass": 6.4897,
                "duels_won": 1.5247,
                "total_long_balls": 1.7151,
                "accurate_long_balls": 1.2697,
                "total_opp_half_passes": 6.5643,
                "accurate_opp_half_passes": 3.4381,
                "crosses_total": 1.0792,
                "crosses_accurate": 0.0,
                "touches": 18.1972,
                "possession_lost": 7.0667,
                "dispossessed": 0.2783,
                "duels_lost": 4.5941,
                "aerial_lost": 0.6057,
                "total_contest": 0.4454,
                "won_contest": 0.0,
                "ball_recovery": 3.0594,
                "challenges_lost": 2.0394,
                "fouls": 0.7673,
                "fouls_drawn": 0.8241,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.3787,
                "tackles_won": 0.3219,
                "tackles": 0.3219,
                "clearances": 0.3787,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.4454,
                "xgot": 0.1049,
                "offsides": 0.3274,
                "ball_carries": 7.6924,
                "total_progression": 22.4719,
                "progressive_carries": 0.8241,
                "shots_off_target": 0.3106,
                "bench_appearance_probability": 0.562,
                "bench_expected_minutes": 25.37
              },
              "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.81 (squad xG sum 0.8013, xG scale 1.0047, xA scale 1.0047, team xA 0.63 = 0.78 x lambda)",
              "stats": {
                "expected_goals": 0.0832,
                "goal_rate": 0.0773,
                "goals": 0,
                "shots_on_target": 0.3074,
                "total_shots": 0.618,
                "expected_assists": 0.0232,
                "key_pass": 0.3475,
                "rating": 6.6116,
                "minutes": 25.37,
                "total_pass": 10.507,
                "accurate_pass": 6.4897,
                "duels_won": 1.5247,
                "total_long_balls": 1.7151,
                "accurate_long_balls": 1.2697,
                "total_opp_half_passes": 6.5643,
                "accurate_opp_half_passes": 3.4381,
                "crosses_total": 1.0792,
                "crosses_accurate": 0.0,
                "touches": 18.1972,
                "possession_lost": 7.0667,
                "dispossessed": 0.2783,
                "duels_lost": 4.5941,
                "aerial_lost": 0.6057,
                "total_contest": 0.4454,
                "won_contest": 0.0,
                "ball_recovery": 3.0594,
                "challenges_lost": 2.0394,
                "fouls": 0.7673,
                "fouls_drawn": 0.8241,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.3787,
                "tackles_won": 0.3219,
                "tackles": 0.3219,
                "clearances": 0.3787,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.4454,
                "xgot": 0.1054,
                "offsides": 0.3274,
                "ball_carries": 7.6924,
                "total_progression": 22.4719,
                "progressive_carries": 0.8241,
                "shots_off_target": 0.3106,
                "bench_appearance_probability": 0.562,
                "bench_expected_minutes": 25.37,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.463,
                "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.9586,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 0.805,
                "squad_xg_sum": 0.8013,
                "squad_xa_sum": 0.6279,
                "team_expected_assists": 0.6308,
                "team_xa_to_xg_ratio": 0.7836,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0047,
                "xa_scale": 1.0047,
                "opponent_lambda": 1.498,
                "scoreline_reset": true,
                "appearance_weight": 0.562
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 18 by projected rating, fifa_overall 78.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.0832,
                "goal_rate": 0.0773,
                "goals": 0,
                "shots_on_target": 0.3074,
                "total_shots": 0.618,
                "expected_assists": 0.0232,
                "key_pass": 0.3475,
                "rating": 6.6116,
                "minutes": 25.37,
                "total_pass": 10.507,
                "accurate_pass": 6.4897,
                "duels_won": 1.5247,
                "total_long_balls": 1.7151,
                "accurate_long_balls": 1.2697,
                "total_opp_half_passes": 6.5643,
                "accurate_opp_half_passes": 3.4381,
                "crosses_total": 1.0792,
                "crosses_accurate": 0.0,
                "touches": 18.1972,
                "possession_lost": 7.0667,
                "dispossessed": 0.2783,
                "duels_lost": 4.5941,
                "aerial_lost": 0.6057,
                "total_contest": 0.4454,
                "won_contest": 0.0,
                "ball_recovery": 3.0594,
                "challenges_lost": 2.0394,
                "fouls": 0.7673,
                "fouls_drawn": 0.8241,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.3787,
                "tackles_won": 0.3219,
                "tackles": 0.3219,
                "clearances": 0.3787,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.4454,
                "xgot": 0.1054,
                "offsides": 0.3274,
                "ball_carries": 7.6924,
                "total_progression": 22.4719,
                "progressive_carries": 0.8241,
                "shots_off_target": 0.3106,
                "bench_appearance_probability": 0.562,
                "bench_expected_minutes": 25.37,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.463,
                "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.9586,
                "creation_factor": 0.8,
                "fifa_overall": 78.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": 2555,
                "fifa_rank": 1204.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 78.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "expected_goals": 0.0832,
                "goal_rate": 0.0773,
                "goals": 0,
                "shots_on_target": 0.3074,
                "total_shots": 0.618,
                "expected_assists": 0.0232,
                "key_pass": 0.3475,
                "rating": 6.6116,
                "minutes": 25.37,
                "total_pass": 10.507,
                "accurate_pass": 6.4897,
                "duels_won": 1.5247,
                "total_long_balls": 1.7151,
                "accurate_long_balls": 1.2697,
                "total_opp_half_passes": 6.5643,
                "accurate_opp_half_passes": 3.4381,
                "crosses_total": 1.0792,
                "crosses_accurate": 0.0,
                "touches": 18.1972,
                "possession_lost": 7.0667,
                "dispossessed": 0.2783,
                "duels_lost": 4.5941,
                "aerial_lost": 0.6057,
                "total_contest": 0.4454,
                "won_contest": 0.0,
                "ball_recovery": 3.0594,
                "challenges_lost": 2.0394,
                "fouls": 0.7673,
                "fouls_drawn": 0.8241,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.3787,
                "tackles_won": 0.3219,
                "tackles": 0.3219,
                "clearances": 0.3787,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.4454,
                "xgot": 0.1054,
                "offsides": 0.3274,
                "ball_carries": 7.6924,
                "total_progression": 22.4719,
                "progressive_carries": 0.8241,
                "shots_off_target": 0.3106,
                "bench_appearance_probability": 0.562,
                "bench_expected_minutes": 25.37,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.463,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0449,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9586,
                "creation_factor": 0.8,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0449,
                "scorer_weight": 0.0448,
                "squad_weight_total": 0.751,
                "weight_share": 0.0597,
                "finishing_factor": 0.9586,
                "appearance_weight": 0.562,
                "weight_rank": 7,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "expected_goals": 0.0832,
                "goal_rate": 0.0773,
                "goals": 0,
                "shots_on_target": 0.3074,
                "total_shots": 0.618,
                "expected_assists": 0.0232,
                "key_pass": 0.3475,
                "rating": 6.6116,
                "minutes": 25.37,
                "total_pass": 10.507,
                "accurate_pass": 6.4897,
                "duels_won": 1.5247,
                "total_long_balls": 1.7151,
                "accurate_long_balls": 1.2697,
                "total_opp_half_passes": 6.5643,
                "accurate_opp_half_passes": 3.4381,
                "crosses_total": 1.0792,
                "crosses_accurate": 0.0,
                "touches": 18.1972,
                "possession_lost": 7.0667,
                "dispossessed": 0.2783,
                "duels_lost": 4.5941,
                "aerial_lost": 0.6057,
                "total_contest": 0.4454,
                "won_contest": 0.0,
                "ball_recovery": 3.0594,
                "challenges_lost": 2.0394,
                "fouls": 0.7673,
                "fouls_drawn": 0.8241,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.3787,
                "tackles_won": 0.3219,
                "tackles": 0.3219,
                "clearances": 0.3787,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.4454,
                "xgot": 0.1054,
                "offsides": 0.3274,
                "ball_carries": 7.6924,
                "total_progression": 22.4719,
                "progressive_carries": 0.8241,
                "shots_off_target": 0.3106,
                "bench_appearance_probability": 0.562,
                "bench_expected_minutes": 25.37,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.463,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0449,
                "projected_assists": 0,
                "assist_probability": 0.0129,
                "finishing_factor": 0.9586,
                "creation_factor": 0.8,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0129,
                "provider_weight": 0.0104,
                "squad_weight_total": 0.6285,
                "weight_share": 0.0166,
                "creation_factor": 0.8,
                "appearance_weight": 0.562,
                "weight_rank": 12,
                "eligible_players": 13
              }
            }
          ]
        }
      },
      "substitutes": {
        "Adama Traoré": {
          "player_id": 286165,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 24,
          "height": 178,
          "market_value": 5700000,
          "stats": {
            "expected_goals": 0.0625,
            "goal_rate": 0.0537,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0231,
            "key_pass": 0,
            "rating": 6.6237,
            "minutes": 25,
            "total_pass": 7,
            "accurate_pass": 5,
            "duels_won": 2,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 5,
            "accurate_opp_half_passes": 3,
            "crosses_total": 2,
            "crosses_accurate": 0,
            "touches": 16,
            "possession_lost": 7.1152,
            "dispossessed": 1.3384,
            "duels_lost": 3,
            "aerial_lost": 0,
            "total_contest": 2,
            "won_contest": 1,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 1,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0014,
            "offsides": 0,
            "ball_carries": 7,
            "total_progression": 53,
            "progressive_carries": 2,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.565,
            "bench_expected_minutes": 25.42,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.463,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0342,
            "projected_assists": 0,
            "assist_probability": 0.0129,
            "finishing_factor": 0.9242,
            "creation_factor": 0.8,
            "fifa_overall": 68.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": "home",
              "is_starting_11": 0,
              "team": "Deportivo de A Coruña",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 15,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0391,
                "expected_assists": 0.0113,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 5,
                "accurate_pass": 3,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416343,
              "match_date": "2026-09-16",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Deportivo de A Coruña",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 45,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0105,
                "total_shots": 0,
                "total_pass": 6,
                "accurate_pass": 4,
                "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": 16416326,
              "match_date": "2026-09-13",
              "home_team": "Getafe",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Deportivo de A Coruña",
              "opponent": "Getafe",
              "stats": {
                "minutes": 28,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0029,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 11,
                "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": 16416324,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Deportivo de A Coruña",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 24,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0101,
                "total_shots": 0,
                "total_pass": 11,
                "accurate_pass": 10,
                "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": 14023945,
              "match_date": "2026-05-02",
              "home_team": "Brentford",
              "away_team": "West Ham United",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "West Ham United",
              "opponent": "Brentford",
              "stats": {
                "minutes": 16,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0128,
                "total_shots": 0,
                "total_pass": 5,
                "accurate_pass": 3,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "Premier League",
              "league_id": "17",
              "league_slug": "premier-league",
              "league_country": "England",
              "season_id": "76986",
              "season_name": "Premier League 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14025029,
              "match_date": "2026-04-10",
              "home_team": "West Ham United",
              "away_team": "Wolverhampton",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "West Ham United",
              "opponent": "Wolverhampton",
              "stats": {
                "minutes": 12,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.346,
                "expected_assists": 0.0002,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 4,
                "accurate_pass": 4
              },
              "has_player_stats": true,
              "league_name": "Premier League",
              "league_id": "17",
              "league_slug": "premier-league",
              "league_country": "England",
              "season_id": "76986",
              "season_name": "Premier League 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14024014,
              "match_date": "2026-03-22",
              "home_team": "Aston Villa",
              "away_team": "West Ham United",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "West Ham United",
              "opponent": "Aston Villa",
              "stats": {
                "minutes": 45,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0089,
                "total_shots": 0,
                "total_pass": 7,
                "accurate_pass": 6,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "Premier League",
              "league_id": "17",
              "league_slug": "premier-league",
              "league_country": "England",
              "season_id": "76986",
              "season_name": "Premier League 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14023993,
              "match_date": "2026-03-14",
              "home_team": "West Ham United",
              "away_team": "Manchester City",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "West Ham United",
              "opponent": "Manchester City",
              "stats": {
                "minutes": 15,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0,
                "total_pass": 1,
                "clearances": 1
              },
              "has_player_stats": true,
              "league_name": "Premier League",
              "league_id": "17",
              "league_slug": "premier-league",
              "league_country": "England",
              "season_id": "76986",
              "season_name": "Premier League 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14023947,
              "match_date": "2026-03-04",
              "home_team": "Fulham",
              "away_team": "West Ham United",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "West Ham United",
              "opponent": "Fulham",
              "stats": {
                "minutes": 12,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "total_pass": 1,
                "accurate_pass": 1
              },
              "has_player_stats": true,
              "league_name": "Premier League",
              "league_id": "17",
              "league_slug": "premier-league",
              "league_country": "England",
              "season_id": "76986",
              "season_name": "Premier League 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14023976,
              "match_date": "2026-02-28",
              "home_team": "Liverpool FC",
              "away_team": "West Ham United",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "West Ham United",
              "opponent": "Liverpool FC",
              "stats": {
                "minutes": 14,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0004,
                "total_shots": 0,
                "total_pass": 4,
                "accurate_pass": 2
              },
              "has_player_stats": true,
              "league_name": "Premier League",
              "league_id": "17",
              "league_slug": "premier-league",
              "league_country": "England",
              "season_id": "76986",
              "season_name": "Premier League 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 6326,
            "combined_rank_score": 4631.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 910.0,
            "sofascore_rating": 6.5095,
            "sofascore_appearances": 24.0,
            "fifa_rank": 8353.0,
            "fifa_overall": 68.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 16,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6237,
            "source_file": "data/player_rankings.csv",
            "player_name": "Adama Traoré",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Ermal Krasniqi",
                  "ranking": 6321
                },
                {
                  "player_name": "Piris da Motta",
                  "ranking": 6322
                },
                {
                  "player_name": "Eugenio Raggio",
                  "ranking": 6323
                },
                {
                  "player_name": "David Akintola",
                  "ranking": 6324
                },
                {
                  "player_name": "João Rêgo",
                  "ranking": 6325
                }
              ],
              "lower": [
                {
                  "player_name": "Esteban Matus",
                  "ranking": 6327
                },
                {
                  "player_name": "Cameron Humphreys",
                  "ranking": 6328
                },
                {
                  "player_name": "Brandon Austin",
                  "ranking": 6329
                },
                {
                  "player_name": "Javier García",
                  "ranking": 6330
                },
                {
                  "player_name": "Alexis Zapata",
                  "ranking": 6331
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 28,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 28,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 25.424255583102187,
            "bench_appearance_prob": 0.5647388901410085,
            "market_value_adjustment": 0.9984,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (28 historical appearances) to 25.4 expected mins (appearance prob 0.56)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.0526,
                "goals": 0.0454,
                "goal_rate": 0.0454,
                "shots_on_target": 0.2189,
                "total_shots": 0.6507,
                "expected_assists": 0.0195,
                "key_pass": 0.2546,
                "rating": 6.6237,
                "minutes": 21.51,
                "total_pass": 5.765,
                "accurate_pass": 4.469,
                "duels_won": 1.8235,
                "total_long_balls": 0.2897,
                "accurate_long_balls": 0.1902,
                "total_opp_half_passes": 3.8737,
                "accurate_opp_half_passes": 2.7388,
                "crosses_total": 1.9563,
                "crosses_accurate": 0.1464,
                "touches": 13.8674,
                "possession_lost": 6.0294,
                "dispossessed": 1.3405,
                "duels_lost": 2.8497,
                "aerial_lost": 0.1867,
                "total_contest": 1.6158,
                "won_contest": 0.8442,
                "ball_recovery": 0.9403,
                "challenges_lost": 0.0654,
                "fouls": 0.4996,
                "fouls_drawn": 0.7678,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.0793,
                "tackles": 0.0793,
                "clearances": 0.2006,
                "blocks": 0.0,
                "big_chances_created": 0.0036,
                "big_chances_missed": 0.0677,
                "xgot": 0.0012,
                "offsides": 0.0932,
                "ball_carries": 5.764,
                "total_progression": 44.7272,
                "progressive_carries": 2.003,
                "shots_off_target": 0.4318
              },
              "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": "Real Betis",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.1516,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Sevilla",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.1289,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Getafe",
                    "minutes": 28.0,
                    "is_starting": false,
                    "weight": 0.1095,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Villarreal",
                    "minutes": 24.0,
                    "is_starting": false,
                    "weight": 0.0931,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Brentford",
                    "minutes": 16.0,
                    "is_starting": false,
                    "weight": 0.0791,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-04-10",
                    "opponent": "Wolverhampton",
                    "minutes": 12.0,
                    "is_starting": false,
                    "weight": 0.0673,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-03-22",
                    "opponent": "Aston Villa",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.0572,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-03-14",
                    "opponent": "Manchester City",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.0486,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-03-04",
                    "opponent": "Fulham",
                    "minutes": 12.0,
                    "is_starting": false,
                    "weight": 0.0413,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-02-28",
                    "opponent": "Liverpool FC",
                    "minutes": 14.0,
                    "is_starting": false,
                    "weight": 0.0351,
                    "rating": 6.3
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "expectedGoals": 0.0348,
                  "totalOppositionHalfPasses": 3.9039,
                  "accurateOppositionHalfPasses": 2.7663,
                  "accuratePass": 4.5056,
                  "totalShots": 0.2733
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.05264390632510185,
                    "model_output": 0.0526,
                    "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.0886
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0209
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0087
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0061
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.0047
                        }
                      ],
                      "others": -0.0162,
                      "total": 0.0526,
                      "log_link": true,
                      "margin_base": -1.62027,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.593676
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.211936
                        },
                        {
                          "name": "goals",
                          "margin": -0.10335
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.079381
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": -0.06571
                        }
                      ],
                      "others_margin": -0.269881
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.04542307183146477,
                    "model_output": 0.0454,
                    "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.0971
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0199
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.01
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0072
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0052
                        }
                      ],
                      "others": -0.0184,
                      "total": 0.0454,
                      "log_link": true,
                      "margin_base": -1.593696,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.649928
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.208109
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.123735
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.099488
                        },
                        {
                          "name": "goals",
                          "margin": -0.078572
                        }
                      ],
                      "others_margin": -0.338209
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.218898206949234,
                    "model_output": 0.2189,
                    "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.2007
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.037
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0238
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0154
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0133
                        }
                      ],
                      "others": -0.0276,
                      "total": 0.2189,
                      "log_link": true,
                      "margin_base": -0.622283,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.468345
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.116684
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.08279
                        },
                        {
                          "name": "goals",
                          "margin": -0.057605
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.052681
                        }
                      ],
                      "others_margin": -0.11876
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.6507166028022766,
                    "model_output": 0.6507,
                    "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.494
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1139
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0514
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0393
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.028
                        }
                      ],
                      "others": 0.0045,
                      "total": 0.6507,
                      "log_link": false,
                      "margin_base": 1.372807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.494012
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.113937
                        },
                        {
                          "name": "goals",
                          "margin": -0.051395
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.039255
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.028025
                        }
                      ],
                      "others_margin": 0.004535
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.019535506144165993,
                    "model_output": 0.0195,
                    "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.0231
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0107
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0042
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0022
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0015
                        }
                      ],
                      "others": -0.0027,
                      "total": 0.0195,
                      "log_link": true,
                      "margin_base": -2.751197,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.449935
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.303831
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.15104
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.089911
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.067695
                        }
                      ],
                      "others_margin": -0.121912
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.254574179649353,
                    "model_output": 0.2546,
                    "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.3195
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0376
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0324
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.019
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0162
                        }
                      ],
                      "others": -0.0259,
                      "total": 0.2546,
                      "log_link": true,
                      "margin_base": -0.396376,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.644241
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.112592
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.108483
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.06938
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.059374
                        }
                      ],
                      "others_margin": -0.096466
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.623709201812744,
                    "model_output": 6.6237,
                    "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.0637
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0171
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0164
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0147
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0102
                        }
                      ],
                      "others": -0.0472,
                      "total": 6.6237,
                      "log_link": false,
                      "margin_base": 6.763607,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.06371
                        },
                        {
                          "name": "rating",
                          "margin": -0.01709
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.016408
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.014655
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.010214
                        }
                      ],
                      "others_margin": -0.04713
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 28,
                  "role_matches": 27,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9984, quality 0.471)",
              "stats": {
                "expected_goals": 0.0526,
                "goals": 0.0454,
                "goal_rate": 0.0454,
                "shots_on_target": 0.2185,
                "total_shots": 0.6497,
                "expected_assists": 0.0195,
                "key_pass": 0.2542,
                "rating": 6.6237,
                "minutes": 21.51,
                "total_pass": 5.7558,
                "accurate_pass": 4.4618,
                "duels_won": 1.8206,
                "total_long_balls": 0.2892,
                "accurate_long_balls": 0.1899,
                "total_opp_half_passes": 3.8675,
                "accurate_opp_half_passes": 2.7344,
                "crosses_total": 1.9532,
                "crosses_accurate": 0.1462,
                "touches": 13.8452,
                "possession_lost": 6.0198,
                "dispossessed": 1.3384,
                "duels_lost": 2.8451,
                "aerial_lost": 0.1864,
                "total_contest": 1.6132,
                "won_contest": 0.8428,
                "ball_recovery": 0.9388,
                "challenges_lost": 0.0653,
                "fouls": 0.4988,
                "fouls_drawn": 0.7666,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.0792,
                "tackles": 0.0792,
                "clearances": 0.2003,
                "blocks": 0.0,
                "big_chances_created": 0.0036,
                "big_chances_missed": 0.0676,
                "xgot": 0.0012,
                "offsides": 0.0931,
                "ball_carries": 5.7548,
                "total_progression": 44.6556,
                "progressive_carries": 1.9998,
                "shots_off_target": 0.4311
              },
              "params": {
                "market_value_eur": 5700000,
                "quality_factor": 0.4708,
                "boost_factor": 0.9984,
                "reference_quality": 0.505,
                "history_matches": 28,
                "history_shrink": 0.1515,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 21.5 to 25.4 expected minutes (appearance prob 0.56)",
              "stats": {
                "expected_goals": 0.0622,
                "goals": 0.0537,
                "goal_rate": 0.0537,
                "shots_on_target": 0.2583,
                "total_shots": 0.7679,
                "expected_assists": 0.023,
                "key_pass": 0.3005,
                "rating": 6.6237,
                "minutes": 25.42,
                "total_pass": 6.8032,
                "accurate_pass": 5.2737,
                "duels_won": 2.1519,
                "total_long_balls": 0.3418,
                "accurate_long_balls": 0.2245,
                "total_opp_half_passes": 4.5713,
                "accurate_opp_half_passes": 3.232,
                "crosses_total": 2.3086,
                "crosses_accurate": 0.1728,
                "touches": 16.3647,
                "possession_lost": 7.1152,
                "dispossessed": 1.3384,
                "duels_lost": 3.3628,
                "aerial_lost": 0.1864,
                "total_contest": 1.9068,
                "won_contest": 0.9962,
                "ball_recovery": 1.1096,
                "challenges_lost": 0.0653,
                "fouls": 0.5896,
                "fouls_drawn": 0.9061,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.0936,
                "tackles": 0.0936,
                "clearances": 0.2367,
                "blocks": 0.0,
                "big_chances_created": 0.0043,
                "big_chances_missed": 0.0799,
                "xgot": 0.0014,
                "offsides": 0.0931,
                "ball_carries": 6.802,
                "total_progression": 52.7817,
                "progressive_carries": 2.3637,
                "shots_off_target": 0.5095,
                "bench_appearance_probability": 0.565,
                "bench_expected_minutes": 25.42
              },
              "params": {
                "expected_minutes": 25.42,
                "projection_minutes": 21.51,
                "minutes_scale": 1.182,
                "appearance_probability": 0.565
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0622,
                "goals": 0.0537,
                "goal_rate": 0.0537,
                "shots_on_target": 0.2583,
                "total_shots": 0.7679,
                "expected_assists": 0.023,
                "key_pass": 0.3005,
                "rating": 6.6237,
                "minutes": 25.42,
                "total_pass": 6.8032,
                "accurate_pass": 5.2737,
                "duels_won": 2.1519,
                "total_long_balls": 0.3418,
                "accurate_long_balls": 0.2245,
                "total_opp_half_passes": 4.5713,
                "accurate_opp_half_passes": 3.232,
                "crosses_total": 2.3086,
                "crosses_accurate": 0.1728,
                "touches": 16.3647,
                "possession_lost": 7.1152,
                "dispossessed": 1.3384,
                "duels_lost": 3.3628,
                "aerial_lost": 0.1864,
                "total_contest": 1.9068,
                "won_contest": 0.9962,
                "ball_recovery": 1.1096,
                "challenges_lost": 0.0653,
                "fouls": 0.5896,
                "fouls_drawn": 0.9061,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.0936,
                "tackles": 0.0936,
                "clearances": 0.2367,
                "blocks": 0.0,
                "big_chances_created": 0.0043,
                "big_chances_missed": 0.0799,
                "xgot": 0.0014,
                "offsides": 0.0931,
                "ball_carries": 6.802,
                "total_progression": 52.7817,
                "progressive_carries": 2.3637,
                "shots_off_target": 0.5095,
                "bench_appearance_probability": 0.565,
                "bench_expected_minutes": 25.42
              },
              "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.81 (squad xG sum 0.8013, xG scale 1.0047, xA scale 1.0047, team xA 0.63 = 0.78 x lambda)",
              "stats": {
                "expected_goals": 0.0625,
                "goal_rate": 0.0537,
                "goals": 0,
                "shots_on_target": 0.2583,
                "total_shots": 0.7679,
                "expected_assists": 0.0231,
                "key_pass": 0.3005,
                "rating": 6.6237,
                "minutes": 25.42,
                "total_pass": 6.8032,
                "accurate_pass": 5.2737,
                "duels_won": 2.1519,
                "total_long_balls": 0.3418,
                "accurate_long_balls": 0.2245,
                "total_opp_half_passes": 4.5713,
                "accurate_opp_half_passes": 3.232,
                "crosses_total": 2.3086,
                "crosses_accurate": 0.1728,
                "touches": 16.3647,
                "possession_lost": 7.1152,
                "dispossessed": 1.3384,
                "duels_lost": 3.3628,
                "aerial_lost": 0.1864,
                "total_contest": 1.9068,
                "won_contest": 0.9962,
                "ball_recovery": 1.1096,
                "challenges_lost": 0.0653,
                "fouls": 0.5896,
                "fouls_drawn": 0.9061,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0936,
                "tackles": 0.0936,
                "clearances": 0.2367,
                "blocks": 0.0,
                "big_chances_created": 0.0043,
                "big_chances_missed": 0.0799,
                "xgot": 0.0014,
                "offsides": 0.0931,
                "ball_carries": 6.802,
                "total_progression": 52.7817,
                "progressive_carries": 2.3637,
                "shots_off_target": 0.5095,
                "bench_appearance_probability": 0.565,
                "bench_expected_minutes": 25.42,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.463,
                "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.9242,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 0.805,
                "squad_xg_sum": 0.8013,
                "squad_xa_sum": 0.6279,
                "team_expected_assists": 0.6308,
                "team_xa_to_xg_ratio": 0.7836,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0047,
                "xa_scale": 1.0047,
                "opponent_lambda": 1.498,
                "scoreline_reset": true,
                "appearance_weight": 0.565
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 16 by projected rating, fifa_overall 68.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.0625,
                "goal_rate": 0.0537,
                "goals": 0,
                "shots_on_target": 0.2583,
                "total_shots": 0.7679,
                "expected_assists": 0.0231,
                "key_pass": 0.3005,
                "rating": 6.6237,
                "minutes": 25.42,
                "total_pass": 6.8032,
                "accurate_pass": 5.2737,
                "duels_won": 2.1519,
                "total_long_balls": 0.3418,
                "accurate_long_balls": 0.2245,
                "total_opp_half_passes": 4.5713,
                "accurate_opp_half_passes": 3.232,
                "crosses_total": 2.3086,
                "crosses_accurate": 0.1728,
                "touches": 16.3647,
                "possession_lost": 7.1152,
                "dispossessed": 1.3384,
                "duels_lost": 3.3628,
                "aerial_lost": 0.1864,
                "total_contest": 1.9068,
                "won_contest": 0.9962,
                "ball_recovery": 1.1096,
                "challenges_lost": 0.0653,
                "fouls": 0.5896,
                "fouls_drawn": 0.9061,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0936,
                "tackles": 0.0936,
                "clearances": 0.2367,
                "blocks": 0.0,
                "big_chances_created": 0.0043,
                "big_chances_missed": 0.0799,
                "xgot": 0.0014,
                "offsides": 0.0931,
                "ball_carries": 6.802,
                "total_progression": 52.7817,
                "progressive_carries": 2.3637,
                "shots_off_target": 0.5095,
                "bench_appearance_probability": 0.565,
                "bench_expected_minutes": 25.42,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.463,
                "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.9242,
                "creation_factor": 0.8,
                "fifa_overall": 68.0
              },
              "params": {
                "match_squad_rank": 16,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 6326,
                "fifa_rank": 8353.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 68.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "expected_goals": 0.0625,
                "goal_rate": 0.0537,
                "goals": 0,
                "shots_on_target": 0.2583,
                "total_shots": 0.7679,
                "expected_assists": 0.0231,
                "key_pass": 0.3005,
                "rating": 6.6237,
                "minutes": 25.42,
                "total_pass": 6.8032,
                "accurate_pass": 5.2737,
                "duels_won": 2.1519,
                "total_long_balls": 0.3418,
                "accurate_long_balls": 0.2245,
                "total_opp_half_passes": 4.5713,
                "accurate_opp_half_passes": 3.232,
                "crosses_total": 2.3086,
                "crosses_accurate": 0.1728,
                "touches": 16.3647,
                "possession_lost": 7.1152,
                "dispossessed": 1.3384,
                "duels_lost": 3.3628,
                "aerial_lost": 0.1864,
                "total_contest": 1.9068,
                "won_contest": 0.9962,
                "ball_recovery": 1.1096,
                "challenges_lost": 0.0653,
                "fouls": 0.5896,
                "fouls_drawn": 0.9061,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0936,
                "tackles": 0.0936,
                "clearances": 0.2367,
                "blocks": 0.0,
                "big_chances_created": 0.0043,
                "big_chances_missed": 0.0799,
                "xgot": 0.0014,
                "offsides": 0.0931,
                "ball_carries": 6.802,
                "total_progression": 52.7817,
                "progressive_carries": 2.3637,
                "shots_off_target": 0.5095,
                "bench_appearance_probability": 0.565,
                "bench_expected_minutes": 25.42,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.463,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0342,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9242,
                "creation_factor": 0.8,
                "fifa_overall": 68.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0342,
                "scorer_weight": 0.0326,
                "squad_weight_total": 0.751,
                "weight_share": 0.0435,
                "finishing_factor": 0.9242,
                "appearance_weight": 0.565,
                "weight_rank": 10,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "expected_goals": 0.0625,
                "goal_rate": 0.0537,
                "goals": 0,
                "shots_on_target": 0.2583,
                "total_shots": 0.7679,
                "expected_assists": 0.0231,
                "key_pass": 0.3005,
                "rating": 6.6237,
                "minutes": 25.42,
                "total_pass": 6.8032,
                "accurate_pass": 5.2737,
                "duels_won": 2.1519,
                "total_long_balls": 0.3418,
                "accurate_long_balls": 0.2245,
                "total_opp_half_passes": 4.5713,
                "accurate_opp_half_passes": 3.232,
                "crosses_total": 2.3086,
                "crosses_accurate": 0.1728,
                "touches": 16.3647,
                "possession_lost": 7.1152,
                "dispossessed": 1.3384,
                "duels_lost": 3.3628,
                "aerial_lost": 0.1864,
                "total_contest": 1.9068,
                "won_contest": 0.9962,
                "ball_recovery": 1.1096,
                "challenges_lost": 0.0653,
                "fouls": 0.5896,
                "fouls_drawn": 0.9061,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0936,
                "tackles": 0.0936,
                "clearances": 0.2367,
                "blocks": 0.0,
                "big_chances_created": 0.0043,
                "big_chances_missed": 0.0799,
                "xgot": 0.0014,
                "offsides": 0.0931,
                "ball_carries": 6.802,
                "total_progression": 52.7817,
                "progressive_carries": 2.3637,
                "shots_off_target": 0.5095,
                "bench_appearance_probability": 0.565,
                "bench_expected_minutes": 25.42,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.463,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0342,
                "projected_assists": 0,
                "assist_probability": 0.0129,
                "finishing_factor": 0.9242,
                "creation_factor": 0.8,
                "fifa_overall": 68.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0129,
                "provider_weight": 0.0104,
                "squad_weight_total": 0.6285,
                "weight_share": 0.0166,
                "creation_factor": 0.8,
                "appearance_weight": 0.565,
                "weight_rank": 11,
                "eligible_players": 13
              }
            }
          ]
        },
        "David Mella": {
          "player_id": 1146312,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 11,
          "height": 169,
          "market_value": 4500000,
          "stats": {
            "expected_goals": 0.0832,
            "goal_rate": 0.0773,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0232,
            "key_pass": 0,
            "rating": 6.6116,
            "minutes": 25,
            "total_pass": 11,
            "accurate_pass": 6,
            "duels_won": 2,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_opp_half_passes": 7,
            "accurate_opp_half_passes": 3,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 18,
            "possession_lost": 7.0667,
            "dispossessed": 0.2783,
            "duels_lost": 5,
            "aerial_lost": 1,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 3,
            "challenges_lost": 2,
            "fouls": 1,
            "fouls_drawn": 1,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.1054,
            "offsides": 0,
            "ball_carries": 8,
            "total_progression": 22,
            "progressive_carries": 1,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.562,
            "bench_expected_minutes": 25.37,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.463,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0449,
            "projected_assists": 0,
            "assist_probability": 0.0129,
            "finishing_factor": 0.9586,
            "creation_factor": 0.8,
            "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": "home",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 75,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3599,
                "expected_assists": 0.0278,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 15,
                "accurate_pass": 9,
                "key_pass": 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": 16416307,
              "match_date": "2026-08-24",
              "home_team": "Málaga CF",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Deportivo de A Coruña",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 28,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0055,
                "total_shots": 0,
                "total_pass": 5,
                "accurate_pass": 4,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421050,
              "match_date": "2026-08-17",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Deportivo de A Coruña",
              "opponent": "Elche",
              "stats": {
                "minutes": 19,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0041,
                "total_shots": 0,
                "total_pass": 6,
                "accurate_pass": 3,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 1,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 2555,
            "combined_rank_score": 1059.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 915.0,
            "sofascore_rating": 6.5,
            "sofascore_appearances": 2.0,
            "fifa_rank": 1204.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 18,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6116,
            "source_file": "data/player_rankings.csv",
            "player_name": "David Mella",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Adam Bugarija",
                  "ranking": 2550
                },
                {
                  "player_name": "Beom-hwan Kim",
                  "ranking": 2551
                },
                {
                  "player_name": "Myles Beerman",
                  "ranking": 2552
                },
                {
                  "player_name": "Yoon-hwan Lee",
                  "ranking": 2553
                },
                {
                  "player_name": "Tokhirbek Tukhtasinov",
                  "ranking": 2554
                }
              ],
              "lower": [
                {
                  "player_name": "José Luis Pérez",
                  "ranking": 2556
                },
                {
                  "player_name": "Sultanboy Ismoilov",
                  "ranking": 2557
                },
                {
                  "player_name": "Gerald Taylor",
                  "ranking": 2558
                },
                {
                  "player_name": "Felipe Villagrán",
                  "ranking": 2559
                },
                {
                  "player_name": "Danilo Catalán",
                  "ranking": 2560
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.438,
          "history_matches": 3,
          "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": 3,
            "data_confidence": 0.438,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 25.365815006556694,
            "bench_appearance_prob": 0.5620825002980315,
            "market_value_adjustment": 0.9908,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (3 historical appearances) to 25.4 expected mins (appearance prob 0.56)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.0723,
                "goals": 0.0675,
                "goal_rate": 0.0675,
                "shots_on_target": 0.2682,
                "total_shots": 0.5392,
                "expected_assists": 0.0202,
                "key_pass": 0.3032,
                "rating": 6.6116,
                "minutes": 21.93,
                "total_pass": 9.1681,
                "accurate_pass": 5.6628,
                "duels_won": 1.3304,
                "total_long_balls": 1.4966,
                "accurate_long_balls": 1.1079,
                "total_opp_half_passes": 5.7279,
                "accurate_opp_half_passes": 3.0,
                "crosses_total": 0.9417,
                "crosses_accurate": 0.0,
                "touches": 15.8785,
                "possession_lost": 6.1662,
                "dispossessed": 0.2809,
                "duels_lost": 4.0087,
                "aerial_lost": 0.6113,
                "total_contest": 0.3887,
                "won_contest": 0.0,
                "ball_recovery": 2.6696,
                "challenges_lost": 2.0583,
                "fouls": 0.6696,
                "fouls_drawn": 0.7191,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.3304,
                "tackles_won": 0.2809,
                "tackles": 0.2809,
                "clearances": 0.3304,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.3887,
                "xgot": 0.0915,
                "offsides": 0.3304,
                "ball_carries": 6.7123,
                "total_progression": 19.6085,
                "progressive_carries": 0.7191,
                "shots_off_target": 0.271
              },
              "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": "Real Betis",
                    "minutes": 75.0,
                    "is_starting": true,
                    "weight": 0.3887,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Málaga CF",
                    "minutes": 28.0,
                    "is_starting": false,
                    "weight": 0.3304,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-17",
                    "opponent": "Elche",
                    "minutes": 19.0,
                    "is_starting": false,
                    "weight": 0.2809,
                    "rating": 6.3
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 0.0,
                  "expectedGoals": 0.1399,
                  "totalOppositionHalfPasses": 5.7279,
                  "accurateOppositionHalfPasses": 3.0,
                  "accuratePass": 5.6628,
                  "totalShots": 0.7775
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.0722515732049942,
                    "model_output": 0.0723,
                    "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.0805
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0145
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0092
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0079
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0042
                        }
                      ],
                      "others": -0.0092,
                      "total": 0.0723,
                      "log_link": true,
                      "margin_base": -1.62027,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.522043
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.132219
                        },
                        {
                          "name": "goals",
                          "margin": -0.094096
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.087641
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.050668
                        }
                      ],
                      "others_margin": -0.120663
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.06746619939804077,
                    "model_output": 0.0675,
                    "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.0789
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0206
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.013
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0073
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0048
                        }
                      ],
                      "others": -0.0111,
                      "total": 0.0675,
                      "log_link": true,
                      "margin_base": -1.593696,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.491665
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.181704
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.133889
                        },
                        {
                          "name": "goals",
                          "margin": -0.083417
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.0592
                        }
                      ],
                      "others_margin": -0.152559
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.26824966073036194,
                    "model_output": 0.2682,
                    "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.1867
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.033
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0254
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0183
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0143
                        }
                      ],
                      "others": 0.0092,
                      "total": 0.2682,
                      "log_link": true,
                      "margin_base": -0.622283,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.427487
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.09917
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.083397
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.064733
                        },
                        {
                          "name": "goals",
                          "margin": -0.053843
                        }
                      ],
                      "others_margin": 0.035076
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5392164587974548,
                    "model_output": 0.5392,
                    "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.4615
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1138
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0428
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0419
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0337
                        }
                      ],
                      "others": -0.1399,
                      "total": 0.5392,
                      "log_link": false,
                      "margin_base": 1.372807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.461545
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.113784
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.042758
                        },
                        {
                          "name": "goals",
                          "margin": -0.041871
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.033653
                        }
                      ],
                      "others_margin": -0.13998
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.02021697349846363,
                    "model_output": 0.0202,
                    "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.0203
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0071
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0048
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0022
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0018
                        }
                      ],
                      "others": -0.0075,
                      "total": 0.0202,
                      "log_link": true,
                      "margin_base": -2.751197,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.382749
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.17882
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.141344
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.070782
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.062013
                        }
                      ],
                      "others_margin": -0.314327
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.3032163977622986,
                    "model_output": 0.3032,
                    "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.2606
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0316
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0255
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0177
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.011
                        }
                      ],
                      "others": -0.0232,
                      "total": 0.3032,
                      "log_link": true,
                      "margin_base": -0.396376,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.489897
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.079889
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.069298
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.05121
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.033296
                        }
                      ],
                      "others_margin": -0.073342
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.6116108894348145,
                    "model_output": 6.6116,
                    "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.059
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0226
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0118
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0107
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0095
                        }
                      ],
                      "others": -0.0384,
                      "total": 6.6116,
                      "log_link": false,
                      "margin_base": 6.763607,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.059007
                        },
                        {
                          "name": "rating",
                          "margin": -0.022586
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.011787
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.010666
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.009452
                        }
                      ],
                      "others_margin": -0.038497
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 3,
                  "role_matches": 2,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "all_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9908, quality 0.456)",
              "stats": {
                "expected_goals": 0.0716,
                "goals": 0.0668,
                "goal_rate": 0.0668,
                "shots_on_target": 0.2658,
                "total_shots": 0.5343,
                "expected_assists": 0.02,
                "key_pass": 0.3004,
                "rating": 6.6116,
                "minutes": 21.93,
                "total_pass": 9.0838,
                "accurate_pass": 5.6107,
                "duels_won": 1.3182,
                "total_long_balls": 1.4828,
                "accurate_long_balls": 1.0977,
                "total_opp_half_passes": 5.6752,
                "accurate_opp_half_passes": 2.9724,
                "crosses_total": 0.933,
                "crosses_accurate": 0.0,
                "touches": 15.7324,
                "possession_lost": 6.1095,
                "dispossessed": 0.2783,
                "duels_lost": 3.9718,
                "aerial_lost": 0.6057,
                "total_contest": 0.3851,
                "won_contest": 0.0,
                "ball_recovery": 2.645,
                "challenges_lost": 2.0394,
                "fouls": 0.6634,
                "fouls_drawn": 0.7125,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.3274,
                "tackles_won": 0.2783,
                "tackles": 0.2783,
                "clearances": 0.3274,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.3851,
                "xgot": 0.0907,
                "offsides": 0.3274,
                "ball_carries": 6.6505,
                "total_progression": 19.4281,
                "progressive_carries": 0.7125,
                "shots_off_target": 0.2685
              },
              "params": {
                "market_value_eur": 4500000,
                "quality_factor": 0.456,
                "boost_factor": 0.9908,
                "reference_quality": 0.505,
                "history_matches": 3,
                "history_shrink": 0.625,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 21.9 to 25.4 expected minutes (appearance prob 0.56)",
              "stats": {
                "expected_goals": 0.0828,
                "goals": 0.0773,
                "goal_rate": 0.0773,
                "shots_on_target": 0.3074,
                "total_shots": 0.618,
                "expected_assists": 0.0231,
                "key_pass": 0.3475,
                "rating": 6.6116,
                "minutes": 25.37,
                "total_pass": 10.507,
                "accurate_pass": 6.4897,
                "duels_won": 1.5247,
                "total_long_balls": 1.7151,
                "accurate_long_balls": 1.2697,
                "total_opp_half_passes": 6.5643,
                "accurate_opp_half_passes": 3.4381,
                "crosses_total": 1.0792,
                "crosses_accurate": 0.0,
                "touches": 18.1972,
                "possession_lost": 7.0667,
                "dispossessed": 0.2783,
                "duels_lost": 4.5941,
                "aerial_lost": 0.6057,
                "total_contest": 0.4454,
                "won_contest": 0.0,
                "ball_recovery": 3.0594,
                "challenges_lost": 2.0394,
                "fouls": 0.7673,
                "fouls_drawn": 0.8241,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.3787,
                "tackles_won": 0.3219,
                "tackles": 0.3219,
                "clearances": 0.3787,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.4454,
                "xgot": 0.1049,
                "offsides": 0.3274,
                "ball_carries": 7.6924,
                "total_progression": 22.4719,
                "progressive_carries": 0.8241,
                "shots_off_target": 0.3106,
                "bench_appearance_probability": 0.562,
                "bench_expected_minutes": 25.37
              },
              "params": {
                "expected_minutes": 25.37,
                "projection_minutes": 21.93,
                "minutes_scale": 1.1567,
                "appearance_probability": 0.562
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0828,
                "goals": 0.0773,
                "goal_rate": 0.0773,
                "shots_on_target": 0.3074,
                "total_shots": 0.618,
                "expected_assists": 0.0231,
                "key_pass": 0.3475,
                "rating": 6.6116,
                "minutes": 25.37,
                "total_pass": 10.507,
                "accurate_pass": 6.4897,
                "duels_won": 1.5247,
                "total_long_balls": 1.7151,
                "accurate_long_balls": 1.2697,
                "total_opp_half_passes": 6.5643,
                "accurate_opp_half_passes": 3.4381,
                "crosses_total": 1.0792,
                "crosses_accurate": 0.0,
                "touches": 18.1972,
                "possession_lost": 7.0667,
                "dispossessed": 0.2783,
                "duels_lost": 4.5941,
                "aerial_lost": 0.6057,
                "total_contest": 0.4454,
                "won_contest": 0.0,
                "ball_recovery": 3.0594,
                "challenges_lost": 2.0394,
                "fouls": 0.7673,
                "fouls_drawn": 0.8241,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.3787,
                "tackles_won": 0.3219,
                "tackles": 0.3219,
                "clearances": 0.3787,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.4454,
                "xgot": 0.1049,
                "offsides": 0.3274,
                "ball_carries": 7.6924,
                "total_progression": 22.4719,
                "progressive_carries": 0.8241,
                "shots_off_target": 0.3106,
                "bench_appearance_probability": 0.562,
                "bench_expected_minutes": 25.37
              },
              "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.81 (squad xG sum 0.8013, xG scale 1.0047, xA scale 1.0047, team xA 0.63 = 0.78 x lambda)",
              "stats": {
                "expected_goals": 0.0832,
                "goal_rate": 0.0773,
                "goals": 0,
                "shots_on_target": 0.3074,
                "total_shots": 0.618,
                "expected_assists": 0.0232,
                "key_pass": 0.3475,
                "rating": 6.6116,
                "minutes": 25.37,
                "total_pass": 10.507,
                "accurate_pass": 6.4897,
                "duels_won": 1.5247,
                "total_long_balls": 1.7151,
                "accurate_long_balls": 1.2697,
                "total_opp_half_passes": 6.5643,
                "accurate_opp_half_passes": 3.4381,
                "crosses_total": 1.0792,
                "crosses_accurate": 0.0,
                "touches": 18.1972,
                "possession_lost": 7.0667,
                "dispossessed": 0.2783,
                "duels_lost": 4.5941,
                "aerial_lost": 0.6057,
                "total_contest": 0.4454,
                "won_contest": 0.0,
                "ball_recovery": 3.0594,
                "challenges_lost": 2.0394,
                "fouls": 0.7673,
                "fouls_drawn": 0.8241,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.3787,
                "tackles_won": 0.3219,
                "tackles": 0.3219,
                "clearances": 0.3787,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.4454,
                "xgot": 0.1054,
                "offsides": 0.3274,
                "ball_carries": 7.6924,
                "total_progression": 22.4719,
                "progressive_carries": 0.8241,
                "shots_off_target": 0.3106,
                "bench_appearance_probability": 0.562,
                "bench_expected_minutes": 25.37,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.463,
                "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.9586,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 0.805,
                "squad_xg_sum": 0.8013,
                "squad_xa_sum": 0.6279,
                "team_expected_assists": 0.6308,
                "team_xa_to_xg_ratio": 0.7836,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0047,
                "xa_scale": 1.0047,
                "opponent_lambda": 1.498,
                "scoreline_reset": true,
                "appearance_weight": 0.562
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 18 by projected rating, fifa_overall 78.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.0832,
                "goal_rate": 0.0773,
                "goals": 0,
                "shots_on_target": 0.3074,
                "total_shots": 0.618,
                "expected_assists": 0.0232,
                "key_pass": 0.3475,
                "rating": 6.6116,
                "minutes": 25.37,
                "total_pass": 10.507,
                "accurate_pass": 6.4897,
                "duels_won": 1.5247,
                "total_long_balls": 1.7151,
                "accurate_long_balls": 1.2697,
                "total_opp_half_passes": 6.5643,
                "accurate_opp_half_passes": 3.4381,
                "crosses_total": 1.0792,
                "crosses_accurate": 0.0,
                "touches": 18.1972,
                "possession_lost": 7.0667,
                "dispossessed": 0.2783,
                "duels_lost": 4.5941,
                "aerial_lost": 0.6057,
                "total_contest": 0.4454,
                "won_contest": 0.0,
                "ball_recovery": 3.0594,
                "challenges_lost": 2.0394,
                "fouls": 0.7673,
                "fouls_drawn": 0.8241,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.3787,
                "tackles_won": 0.3219,
                "tackles": 0.3219,
                "clearances": 0.3787,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.4454,
                "xgot": 0.1054,
                "offsides": 0.3274,
                "ball_carries": 7.6924,
                "total_progression": 22.4719,
                "progressive_carries": 0.8241,
                "shots_off_target": 0.3106,
                "bench_appearance_probability": 0.562,
                "bench_expected_minutes": 25.37,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.463,
                "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.9586,
                "creation_factor": 0.8,
                "fifa_overall": 78.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": 2555,
                "fifa_rank": 1204.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 78.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "expected_goals": 0.0832,
                "goal_rate": 0.0773,
                "goals": 0,
                "shots_on_target": 0.3074,
                "total_shots": 0.618,
                "expected_assists": 0.0232,
                "key_pass": 0.3475,
                "rating": 6.6116,
                "minutes": 25.37,
                "total_pass": 10.507,
                "accurate_pass": 6.4897,
                "duels_won": 1.5247,
                "total_long_balls": 1.7151,
                "accurate_long_balls": 1.2697,
                "total_opp_half_passes": 6.5643,
                "accurate_opp_half_passes": 3.4381,
                "crosses_total": 1.0792,
                "crosses_accurate": 0.0,
                "touches": 18.1972,
                "possession_lost": 7.0667,
                "dispossessed": 0.2783,
                "duels_lost": 4.5941,
                "aerial_lost": 0.6057,
                "total_contest": 0.4454,
                "won_contest": 0.0,
                "ball_recovery": 3.0594,
                "challenges_lost": 2.0394,
                "fouls": 0.7673,
                "fouls_drawn": 0.8241,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.3787,
                "tackles_won": 0.3219,
                "tackles": 0.3219,
                "clearances": 0.3787,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.4454,
                "xgot": 0.1054,
                "offsides": 0.3274,
                "ball_carries": 7.6924,
                "total_progression": 22.4719,
                "progressive_carries": 0.8241,
                "shots_off_target": 0.3106,
                "bench_appearance_probability": 0.562,
                "bench_expected_minutes": 25.37,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.463,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0449,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9586,
                "creation_factor": 0.8,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0449,
                "scorer_weight": 0.0448,
                "squad_weight_total": 0.751,
                "weight_share": 0.0597,
                "finishing_factor": 0.9586,
                "appearance_weight": 0.562,
                "weight_rank": 7,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "expected_goals": 0.0832,
                "goal_rate": 0.0773,
                "goals": 0,
                "shots_on_target": 0.3074,
                "total_shots": 0.618,
                "expected_assists": 0.0232,
                "key_pass": 0.3475,
                "rating": 6.6116,
                "minutes": 25.37,
                "total_pass": 10.507,
                "accurate_pass": 6.4897,
                "duels_won": 1.5247,
                "total_long_balls": 1.7151,
                "accurate_long_balls": 1.2697,
                "total_opp_half_passes": 6.5643,
                "accurate_opp_half_passes": 3.4381,
                "crosses_total": 1.0792,
                "crosses_accurate": 0.0,
                "touches": 18.1972,
                "possession_lost": 7.0667,
                "dispossessed": 0.2783,
                "duels_lost": 4.5941,
                "aerial_lost": 0.6057,
                "total_contest": 0.4454,
                "won_contest": 0.0,
                "ball_recovery": 3.0594,
                "challenges_lost": 2.0394,
                "fouls": 0.7673,
                "fouls_drawn": 0.8241,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.3787,
                "tackles_won": 0.3219,
                "tackles": 0.3219,
                "clearances": 0.3787,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.4454,
                "xgot": 0.1054,
                "offsides": 0.3274,
                "ball_carries": 7.6924,
                "total_progression": 22.4719,
                "progressive_carries": 0.8241,
                "shots_off_target": 0.3106,
                "bench_appearance_probability": 0.562,
                "bench_expected_minutes": 25.37,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.463,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0449,
                "projected_assists": 0,
                "assist_probability": 0.0129,
                "finishing_factor": 0.9586,
                "creation_factor": 0.8,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0129,
                "provider_weight": 0.0104,
                "squad_weight_total": 0.6285,
                "weight_share": 0.0166,
                "creation_factor": 0.8,
                "appearance_weight": 0.562,
                "weight_rank": 12,
                "eligible_players": 13
              }
            }
          ]
        },
        "Marc Casadó": {
          "player_id": 1000483,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 6,
          "height": 172,
          "market_value": 17400000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0245,
            "assist_rate": 0.0362,
            "assists": 0,
            "expected_goals": 0.034,
            "goal_rate": 0.0516,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.7386,
            "minutes": 23,
            "total_pass": 17,
            "accurate_pass": 15,
            "duels_won": 2,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_own_half_passes": 7,
            "accurate_own_half_passes": 6,
            "total_opp_half_passes": 10,
            "accurate_opp_half_passes": 9,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 21,
            "possession_lost": 2.3426,
            "dispossessed": 0.0899,
            "duels_lost": 1,
            "aerial_won": 0,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 6,
            "total_progression": 6,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.529,
            "bench_expected_minutes": 22.63,
            "projected_substitution_order": 3,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.463,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0177,
            "projected_assists": 0,
            "assist_probability": 0.0128,
            "finishing_factor": 1.2124,
            "creation_factor": 1.1586,
            "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": "home",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 34,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0009,
                "total_shots": 0,
                "total_pass": 18,
                "accurate_pass": 16,
                "interceptions": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416326,
              "match_date": "2026-09-13",
              "home_team": "Getafe",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo de A Coruña",
              "opponent": "Getafe",
              "stats": {
                "minutes": 62,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0103,
                "total_shots": 0,
                "total_pass": 52,
                "accurate_pass": 43,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416324,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Deportivo de A Coruña",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 24,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0006,
                "total_shots": 0,
                "total_pass": 7,
                "accurate_pass": 6,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083739,
              "match_date": "2026-05-23",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Valencia",
              "stats": {
                "minutes": 17,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0168,
                "total_shots": 0,
                "total_pass": 18,
                "accurate_pass": 17,
                "clearances": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083666,
              "match_date": "2026-05-17",
              "home_team": "FC Barcelona",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 8,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0468,
                "total_shots": 0,
                "total_pass": 10,
                "accurate_pass": 10,
                "key_pass": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083603,
              "match_date": "2026-05-13",
              "home_team": "Deportivo Alavés",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 62,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2038,
                "expected_assists": 0.0305,
                "total_shots": 1,
                "total_pass": 59,
                "accurate_pass": 51,
                "key_pass": 2,
                "tackles": 1,
                "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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083245,
              "match_date": "2026-04-25",
              "home_team": "Getafe",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Getafe",
              "stats": {
                "minutes": 2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2735,
                "expected_assists": 0.0059,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 4,
                "accurate_pass": 4,
                "duels_won": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083113,
              "match_date": "2026-04-11",
              "home_team": "FC Barcelona",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 45,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.009,
                "total_shots": 0,
                "total_pass": 25,
                "accurate_pass": 22,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "duels_won": 2
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083662,
              "match_date": "2026-03-22",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 29,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0312,
                "total_shots": 0,
                "total_pass": 14,
                "accurate_pass": 11,
                "tackles": 2,
                "tackles_won": 2,
                "aerial_won": 1,
                "duels_won": 5
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083617,
              "match_date": "2026-03-15",
              "home_team": "FC Barcelona",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 23,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0056,
                "total_shots": 0,
                "total_pass": 16,
                "accurate_pass": 14,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 2
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 2842,
            "combined_rank_score": 962.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 678.0,
            "sofascore_rating": 6.72,
            "sofascore_appearances": 6.0,
            "fifa_rank": 1246.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 11,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7386,
            "source_file": "data/player_rankings.csv",
            "player_name": "Marc Casadó",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Shumaira Mheuka",
                  "ranking": 2837
                },
                {
                  "player_name": "Zaid Romero",
                  "ranking": 2838
                },
                {
                  "player_name": "Diego Carrasco",
                  "ranking": 2839
                },
                {
                  "player_name": "James Scanlon",
                  "ranking": 2840
                },
                {
                  "player_name": "Paulinho",
                  "ranking": 2841
                }
              ],
              "lower": [
                {
                  "player_name": "Maximilian Göppel",
                  "ranking": 2843
                },
                {
                  "player_name": "Yevgeniy Malashevich",
                  "ranking": 2844
                },
                {
                  "player_name": "Barrenetxea",
                  "ranking": 2845
                },
                {
                  "player_name": "Sergio Canales",
                  "ranking": 2846
                },
                {
                  "player_name": "Josip Šutalo",
                  "ranking": 2847
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "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.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 22.63479296407244,
            "bench_appearance_prob": 0.5288542256396563,
            "market_value_adjustment": 1.0047,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost M_service (27 historical appearances) to 22.6 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.2951,
                "expected_assists": 0.0196,
                "assists": 0.0291,
                "assist_rate": 0.0291,
                "expected_goals": 0.0272,
                "goals": 0.0415,
                "goal_rate": 0.0415,
                "shots_on_target": 0.0715,
                "total_shots": 0.2289,
                "rating": 6.7386,
                "minutes": 18.28,
                "total_pass": 13.3074,
                "accurate_pass": 12.079,
                "duels_won": 1.2808,
                "total_long_balls": 0.6592,
                "accurate_long_balls": 0.3876,
                "total_own_half_passes": 5.5621,
                "accurate_own_half_passes": 5.0209,
                "total_opp_half_passes": 7.7452,
                "accurate_opp_half_passes": 7.058,
                "crosses_total": 0.1672,
                "crosses_accurate": 0.0275,
                "touches": 16.8439,
                "possession_lost": 1.883,
                "dispossessed": 0.0895,
                "duels_lost": 0.536,
                "aerial_won": 0.1279,
                "aerial_lost": 0.1587,
                "interceptions": 0.1147,
                "tackles_won": 0.3463,
                "tackles": 0.3787,
                "clearances": 0.2875,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.1092,
                "fouls": 0.2644,
                "fouls_drawn": 0.7742,
                "blocks": 0.2373,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1009,
                "xgot": 0.0,
                "ball_carries": 4.8213,
                "total_progression": 4.6517,
                "progressive_carries": 0.0,
                "shots_off_target": 0.1574
              },
              "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": "Real Betis",
                    "minutes": 34.0,
                    "is_starting": true,
                    "weight": 0.1519,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Getafe",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.1291,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Villarreal",
                    "minutes": 24.0,
                    "is_starting": false,
                    "weight": 0.1097,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Valencia",
                    "minutes": 17.0,
                    "is_starting": false,
                    "weight": 0.0933,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Real Betis",
                    "minutes": 8.0,
                    "is_starting": false,
                    "weight": 0.0793,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Deportivo Alavés",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.0674,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-04-25",
                    "opponent": "Getafe",
                    "minutes": 2.0,
                    "is_starting": false,
                    "weight": 0.0573,
                    "rating": 0.0
                  },
                  {
                    "match_date": "2026-04-11",
                    "opponent": "Espanyol",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.0487,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-03-22",
                    "opponent": "Rayo Vallecano",
                    "minutes": 29.0,
                    "is_starting": false,
                    "weight": 0.0414,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-03-15",
                    "opponent": "Sevilla",
                    "minutes": 23.0,
                    "is_starting": false,
                    "weight": 0.0352,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalShots": 0.207,
                  "creative_index": 0.1512,
                  "expectedGoals": 0.0352,
                  "expectedAssists": 0.0167,
                  "onTargetScoringAttempt": 0.0
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.2951282262802124,
                    "model_output": 0.2951,
                    "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.41
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0508
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0441
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0376
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0216
                        }
                      ],
                      "others": -0.0265,
                      "total": 0.2951,
                      "log_link": true,
                      "margin_base": -0.121432,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.62158
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.112835
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.109548
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.103814
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.065041
                        }
                      ],
                      "others_margin": -0.086096
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.019620006904006004,
                    "model_output": 0.0196,
                    "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.0383
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.011
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0053
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0039
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0016
                        }
                      ],
                      "others": -0.0058,
                      "total": 0.0196,
                      "log_link": true,
                      "margin_base": -2.458929,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.59357
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.266288
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.156921
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.136469
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": -0.061555
                        }
                      ],
                      "others_margin": -0.257474
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.029076190665364265,
                    "model_output": 0.0291,
                    "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.0232
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0095
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0053
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0036
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0033
                        }
                      ],
                      "others": -0.0118,
                      "total": 0.0291,
                      "log_link": true,
                      "margin_base": -2.456317,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.315372
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.164459
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.105118
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.078153
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.077056
                        }
                      ],
                      "others_margin": -0.341359
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.0271750595420599,
                    "model_output": 0.0272,
                    "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.0404
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0122
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0041
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0023
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0014
                        }
                      ],
                      "others": -0.006,
                      "total": 0.0272,
                      "log_link": true,
                      "margin_base": -2.368441,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.564376
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.260209
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.105108
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.065551
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.041516
                        }
                      ],
                      "others_margin": -0.200256
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.04151133820414543,
                    "model_output": 0.0415,
                    "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.0332
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0085
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0046
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0038
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0024
                        }
                      ],
                      "others": -0.0074,
                      "total": 0.0415,
                      "log_link": true,
                      "margin_base": -2.337105,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.421742
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.143142
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.086927
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.078161
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.049804
                        }
                      ],
                      "others_margin": -0.164515
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.07152626663446426,
                    "model_output": 0.0715,
                    "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.1438
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0591
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0116
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": -0.0096
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0048
                        }
                      ],
                      "others": -0.0236,
                      "total": 0.0715,
                      "log_link": true,
                      "margin_base": -1.126872,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.586653
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.397144
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.100994
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": -0.091379
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.048961
                        }
                      ],
                      "others_margin": -0.285686
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.22891779243946075,
                    "model_output": 0.2289,
                    "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.3098
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.2717
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0326
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0291
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0244
                        }
                      ],
                      "others": -0.0935,
                      "total": 0.2289,
                      "log_link": false,
                      "margin_base": 0.989981,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.309757
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.271722
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.032622
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.029085
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.024449
                        }
                      ],
                      "others_margin": -0.093428
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.738554954528809,
                    "model_output": 6.7386,
                    "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.0948
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0281
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0259
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0186
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0135
                        }
                      ],
                      "others": 0.0129,
                      "total": 6.7386,
                      "log_link": false,
                      "margin_base": 6.850356,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.094829
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.028141
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.025906
                        },
                        {
                          "name": "rating",
                          "margin": -0.018578
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.013498
                        }
                      ],
                      "others_margin": 0.01287
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 27,
                  "role_matches": 15,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0047, quality 0.605)",
              "stats": {
                "key_pass": 0.2965,
                "expected_assists": 0.0197,
                "assists": 0.0292,
                "assist_rate": 0.0292,
                "expected_goals": 0.0273,
                "goals": 0.0417,
                "goal_rate": 0.0417,
                "shots_on_target": 0.0719,
                "total_shots": 0.23,
                "rating": 6.7386,
                "minutes": 18.28,
                "total_pass": 13.3699,
                "accurate_pass": 12.1358,
                "duels_won": 1.2868,
                "total_long_balls": 0.6623,
                "accurate_long_balls": 0.3894,
                "total_own_half_passes": 5.5882,
                "accurate_own_half_passes": 5.0445,
                "total_opp_half_passes": 7.7816,
                "accurate_opp_half_passes": 7.0912,
                "crosses_total": 0.168,
                "crosses_accurate": 0.0276,
                "touches": 16.9231,
                "possession_lost": 1.8919,
                "dispossessed": 0.0899,
                "duels_lost": 0.5385,
                "aerial_won": 0.1285,
                "aerial_lost": 0.1594,
                "interceptions": 0.1152,
                "tackles_won": 0.3479,
                "tackles": 0.3805,
                "clearances": 0.2889,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.1097,
                "fouls": 0.2656,
                "fouls_drawn": 0.7778,
                "blocks": 0.2384,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1014,
                "xgot": 0.0,
                "ball_carries": 4.844,
                "total_progression": 4.6736,
                "progressive_carries": 0.0,
                "shots_off_target": 0.1581
              },
              "params": {
                "market_value_eur": 17400000,
                "quality_factor": 0.6047,
                "boost_factor": 1.0047,
                "reference_quality": 0.505,
                "history_matches": 27,
                "history_shrink": 0.1562,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 18.3 to 22.6 expected minutes (appearance prob 0.53)",
              "stats": {
                "key_pass": 0.3671,
                "expected_assists": 0.0244,
                "assists": 0.0362,
                "assist_rate": 0.0362,
                "expected_goals": 0.0338,
                "goals": 0.0516,
                "goal_rate": 0.0516,
                "shots_on_target": 0.089,
                "total_shots": 0.2848,
                "rating": 6.7386,
                "minutes": 22.63,
                "total_pass": 16.555,
                "accurate_pass": 15.0269,
                "duels_won": 1.5934,
                "total_long_balls": 0.8201,
                "accurate_long_balls": 0.4822,
                "total_own_half_passes": 6.9195,
                "accurate_own_half_passes": 6.2462,
                "total_opp_half_passes": 9.6354,
                "accurate_opp_half_passes": 8.7805,
                "crosses_total": 0.208,
                "crosses_accurate": 0.0342,
                "touches": 20.9546,
                "possession_lost": 2.3426,
                "dispossessed": 0.0899,
                "duels_lost": 0.6668,
                "aerial_won": 0.1591,
                "aerial_lost": 0.1594,
                "interceptions": 0.1426,
                "tackles_won": 0.4308,
                "tackles": 0.4711,
                "clearances": 0.3577,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.1097,
                "fouls": 0.3289,
                "fouls_drawn": 0.9631,
                "blocks": 0.2952,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1256,
                "xgot": 0.0,
                "ball_carries": 5.998,
                "total_progression": 5.787,
                "progressive_carries": 0.0,
                "shots_off_target": 0.1958,
                "bench_appearance_probability": 0.529,
                "bench_expected_minutes": 22.63
              },
              "params": {
                "expected_minutes": 22.63,
                "projection_minutes": 18.28,
                "minutes_scale": 1.2382,
                "appearance_probability": 0.529
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.3671,
                "expected_assists": 0.0244,
                "assists": 0.0362,
                "assist_rate": 0.0362,
                "expected_goals": 0.0338,
                "goals": 0.0516,
                "goal_rate": 0.0516,
                "shots_on_target": 0.089,
                "total_shots": 0.2848,
                "rating": 6.7386,
                "minutes": 22.63,
                "total_pass": 16.555,
                "accurate_pass": 15.0269,
                "duels_won": 1.5934,
                "total_long_balls": 0.8201,
                "accurate_long_balls": 0.4822,
                "total_own_half_passes": 6.9195,
                "accurate_own_half_passes": 6.2462,
                "total_opp_half_passes": 9.6354,
                "accurate_opp_half_passes": 8.7805,
                "crosses_total": 0.208,
                "crosses_accurate": 0.0342,
                "touches": 20.9546,
                "possession_lost": 2.3426,
                "dispossessed": 0.0899,
                "duels_lost": 0.6668,
                "aerial_won": 0.1591,
                "aerial_lost": 0.1594,
                "interceptions": 0.1426,
                "tackles_won": 0.4308,
                "tackles": 0.4711,
                "clearances": 0.3577,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.1097,
                "fouls": 0.3289,
                "fouls_drawn": 0.9631,
                "blocks": 0.2952,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1256,
                "xgot": 0.0,
                "ball_carries": 5.998,
                "total_progression": 5.787,
                "progressive_carries": 0.0,
                "shots_off_target": 0.1958,
                "bench_appearance_probability": 0.529,
                "bench_expected_minutes": 22.63
              },
              "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.81 (squad xG sum 0.8013, xG scale 1.0047, xA scale 1.0047, team xA 0.63 = 0.78 x lambda)",
              "stats": {
                "key_pass": 0.3671,
                "expected_assists": 0.0245,
                "assist_rate": 0.0362,
                "assists": 0,
                "expected_goals": 0.034,
                "goal_rate": 0.0516,
                "goals": 0,
                "shots_on_target": 0.089,
                "total_shots": 0.2848,
                "rating": 6.7386,
                "minutes": 22.63,
                "total_pass": 16.555,
                "accurate_pass": 15.0269,
                "duels_won": 1.5934,
                "total_long_balls": 0.8201,
                "accurate_long_balls": 0.4822,
                "total_own_half_passes": 6.9195,
                "accurate_own_half_passes": 6.2462,
                "total_opp_half_passes": 9.6354,
                "accurate_opp_half_passes": 8.7805,
                "crosses_total": 0.208,
                "crosses_accurate": 0.0342,
                "touches": 20.9546,
                "possession_lost": 2.3426,
                "dispossessed": 0.0899,
                "duels_lost": 0.6668,
                "aerial_won": 0.1591,
                "aerial_lost": 0.1594,
                "interceptions": 0.1426,
                "tackles_won": 0.4308,
                "tackles": 0.4711,
                "clearances": 0.3577,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.1097,
                "fouls": 0.3289,
                "fouls_drawn": 0.9631,
                "blocks": 0.2952,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1256,
                "xgot": 0.0,
                "ball_carries": 5.998,
                "total_progression": 5.787,
                "progressive_carries": 0.0,
                "shots_off_target": 0.1958,
                "bench_appearance_probability": 0.529,
                "bench_expected_minutes": 22.63,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.463,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.2124,
                "creation_factor": 1.1586
              },
              "params": {
                "team_lambda": 0.805,
                "squad_xg_sum": 0.8013,
                "squad_xa_sum": 0.6279,
                "team_expected_assists": 0.6308,
                "team_xa_to_xg_ratio": 0.7836,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0047,
                "xa_scale": 1.0047,
                "opponent_lambda": 1.498,
                "scoreline_reset": true,
                "appearance_weight": 0.529
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 11 by projected rating, fifa_overall 78.0; not used by the projection)",
              "stats": {
                "key_pass": 0.3671,
                "expected_assists": 0.0245,
                "assist_rate": 0.0362,
                "assists": 0,
                "expected_goals": 0.034,
                "goal_rate": 0.0516,
                "goals": 0,
                "shots_on_target": 0.089,
                "total_shots": 0.2848,
                "rating": 6.7386,
                "minutes": 22.63,
                "total_pass": 16.555,
                "accurate_pass": 15.0269,
                "duels_won": 1.5934,
                "total_long_balls": 0.8201,
                "accurate_long_balls": 0.4822,
                "total_own_half_passes": 6.9195,
                "accurate_own_half_passes": 6.2462,
                "total_opp_half_passes": 9.6354,
                "accurate_opp_half_passes": 8.7805,
                "crosses_total": 0.208,
                "crosses_accurate": 0.0342,
                "touches": 20.9546,
                "possession_lost": 2.3426,
                "dispossessed": 0.0899,
                "duels_lost": 0.6668,
                "aerial_won": 0.1591,
                "aerial_lost": 0.1594,
                "interceptions": 0.1426,
                "tackles_won": 0.4308,
                "tackles": 0.4711,
                "clearances": 0.3577,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.1097,
                "fouls": 0.3289,
                "fouls_drawn": 0.9631,
                "blocks": 0.2952,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1256,
                "xgot": 0.0,
                "ball_carries": 5.998,
                "total_progression": 5.787,
                "progressive_carries": 0.0,
                "shots_off_target": 0.1958,
                "bench_appearance_probability": 0.529,
                "bench_expected_minutes": 22.63,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.463,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.2124,
                "creation_factor": 1.1586,
                "fifa_overall": 78.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": 2842,
                "fifa_rank": 1246.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 78.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "key_pass": 0.3671,
                "expected_assists": 0.0245,
                "assist_rate": 0.0362,
                "assists": 0,
                "expected_goals": 0.034,
                "goal_rate": 0.0516,
                "goals": 0,
                "shots_on_target": 0.089,
                "total_shots": 0.2848,
                "rating": 6.7386,
                "minutes": 22.63,
                "total_pass": 16.555,
                "accurate_pass": 15.0269,
                "duels_won": 1.5934,
                "total_long_balls": 0.8201,
                "accurate_long_balls": 0.4822,
                "total_own_half_passes": 6.9195,
                "accurate_own_half_passes": 6.2462,
                "total_opp_half_passes": 9.6354,
                "accurate_opp_half_passes": 8.7805,
                "crosses_total": 0.208,
                "crosses_accurate": 0.0342,
                "touches": 20.9546,
                "possession_lost": 2.3426,
                "dispossessed": 0.0899,
                "duels_lost": 0.6668,
                "aerial_won": 0.1591,
                "aerial_lost": 0.1594,
                "interceptions": 0.1426,
                "tackles_won": 0.4308,
                "tackles": 0.4711,
                "clearances": 0.3577,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.1097,
                "fouls": 0.3289,
                "fouls_drawn": 0.9631,
                "blocks": 0.2952,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1256,
                "xgot": 0.0,
                "ball_carries": 5.998,
                "total_progression": 5.787,
                "progressive_carries": 0.0,
                "shots_off_target": 0.1958,
                "bench_appearance_probability": 0.529,
                "bench_expected_minutes": 22.63,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.463,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0177,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.2124,
                "creation_factor": 1.1586,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0177,
                "scorer_weight": 0.0218,
                "squad_weight_total": 0.751,
                "weight_share": 0.029,
                "finishing_factor": 1.2124,
                "appearance_weight": 0.529,
                "weight_rank": 12,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "key_pass": 0.3671,
                "expected_assists": 0.0245,
                "assist_rate": 0.0362,
                "assists": 0,
                "expected_goals": 0.034,
                "goal_rate": 0.0516,
                "goals": 0,
                "shots_on_target": 0.089,
                "total_shots": 0.2848,
                "rating": 6.7386,
                "minutes": 22.63,
                "total_pass": 16.555,
                "accurate_pass": 15.0269,
                "duels_won": 1.5934,
                "total_long_balls": 0.8201,
                "accurate_long_balls": 0.4822,
                "total_own_half_passes": 6.9195,
                "accurate_own_half_passes": 6.2462,
                "total_opp_half_passes": 9.6354,
                "accurate_opp_half_passes": 8.7805,
                "crosses_total": 0.208,
                "crosses_accurate": 0.0342,
                "touches": 20.9546,
                "possession_lost": 2.3426,
                "dispossessed": 0.0899,
                "duels_lost": 0.6668,
                "aerial_won": 0.1591,
                "aerial_lost": 0.1594,
                "interceptions": 0.1426,
                "tackles_won": 0.4308,
                "tackles": 0.4711,
                "clearances": 0.3577,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.1097,
                "fouls": 0.3289,
                "fouls_drawn": 0.9631,
                "blocks": 0.2952,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1256,
                "xgot": 0.0,
                "ball_carries": 5.998,
                "total_progression": 5.787,
                "progressive_carries": 0.0,
                "shots_off_target": 0.1958,
                "bench_appearance_probability": 0.529,
                "bench_expected_minutes": 22.63,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.463,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0177,
                "projected_assists": 0,
                "assist_probability": 0.0128,
                "finishing_factor": 1.2124,
                "creation_factor": 1.1586,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0128,
                "provider_weight": 0.015,
                "squad_weight_total": 0.6285,
                "weight_share": 0.0239,
                "creation_factor": 1.1586,
                "appearance_weight": 0.529,
                "weight_rank": 9,
                "eligible_players": 13
              }
            }
          ]
        }
      },
      "team_totals": {
        "projected_goals": 0,
        "expected_goals": 0.81,
        "expected_assists": 0.63,
        "total_shots": 12,
        "shots_on_target": 1,
        "total_passes": 426,
        "interceptions": 5,
        "tackles": 16,
        "avg_rating": 6.84,
        "possession_estimated_pct": 50.0,
        "pressing_actions_per_90": 6.6
      }
    }
  },
  "antagonist_report": {
    "home_attacking_duels": [
      {
        "attacker": "Mikel Oyarzabal",
        "attacker_role": "ST",
        "attacker_market_value": 27000000,
        "attacker_height": 181,
        "attacker_skill_quality": 0.694,
        "defenders": [
          "José María Giménez",
          "Lucas Noubi"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.455,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.285,
        "xg_contribution": 0.244,
        "xg_multiplier": 1.1254,
        "shots_in_zone": 2.4,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.5,
        "aerial_duels": 3,
        "aerial_won": 1.6,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.5,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "José María Giménez",
            "role": "CB",
            "market_value": 5800000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.9,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.7,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.715
          },
          {
            "player": "Lucas Noubi",
            "role": "CB",
            "market_value": 3100000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.8,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.715
          }
        ],
        "duel_analysis": "Mikel Oyarzabal (ST) is slightly favored against José María Giménez and Lucas Noubi in a 2-defender block. Duel win probability: 29%. The quality gap is significant (€27M vs €4M avg). Matchup xG multiplier ×1.13 (×1.00 = his usual level). Projected xG contribution: 0.244 — creating consistent moderate threat."
      },
      {
        "attacker": "Ander Barrenetxea",
        "attacker_role": "ST",
        "attacker_market_value": 17200000,
        "attacker_height": 174,
        "attacker_skill_quality": 0.603,
        "defenders": [
          "José María Giménez",
          "Lucas Noubi"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.455,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.216,
        "xg_contribution": 0.1584,
        "xg_multiplier": 1.0237,
        "shots_in_zone": 2.2,
        "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": "José María Giménez",
            "role": "CB",
            "market_value": 5800000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.9,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.7,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.784
          },
          {
            "player": "Lucas Noubi",
            "role": "CB",
            "market_value": 3100000,
            "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.784
          }
        ],
        "duel_analysis": "Ander Barrenetxea (ST) is evenly matched against José María Giménez and Lucas Noubi in a 2-defender block. Duel win probability: 22%.  Matchup xG multiplier ×1.02 (×1.00 = his usual level). Projected xG contribution: 0.158 — with neither side clearly dominant."
      },
      {
        "attacker": "Gonçalo Guedes",
        "attacker_role": "ST",
        "attacker_market_value": 5700000,
        "attacker_height": 179,
        "attacker_skill_quality": 0.471,
        "defenders": [
          "José María Giménez",
          "Lucas Noubi"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.455,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.18,
        "xg_contribution": 0.1421,
        "xg_multiplier": 0.9659,
        "shots_in_zone": 2.0,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.3,
        "aerial_duels": 3,
        "aerial_won": 1.5,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.5,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "José María Giménez",
            "role": "CB",
            "market_value": 5800000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.9,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.7,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.82
          },
          {
            "player": "Lucas Noubi",
            "role": "CB",
            "market_value": 3100000,
            "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.7,
            "defensive_success_rate": 0.82
          }
        ],
        "duel_analysis": "Gonçalo Guedes (ST) is evenly matched against José María Giménez and Lucas Noubi in a 2-defender block. Duel win probability: 18%.  Matchup xG multiplier ×0.97 (×1.00 = his usual level). Projected xG contribution: 0.142 — with neither side clearly dominant."
      },
      {
        "attacker": "Carlos Soler",
        "attacker_role": "LM",
        "attacker_market_value": 6600000,
        "attacker_height": 180,
        "attacker_skill_quality": 0.482,
        "defenders": [
          "Ximo Navarro"
        ],
        "defender_roles": [
          "RB"
        ],
        "def_skill_quality_avg": 0.437,
        "duel_zone": "Left Mid vs Right Back — Wide Channel",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.5,
        "xg_contribution": 0.1237,
        "xg_multiplier": 1.0587,
        "shots_in_zone": 1.6,
        "dribbles_attempted": 3,
        "dribbles_successful": 1.3,
        "aerial_duels": 2,
        "aerial_won": 1.1,
        "crosses_in_zone": 2.1,
        "fouls_drawn": 1.1,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Ximo Navarro",
            "role": "RB",
            "market_value": 95000,
            "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.5
          }
        ],
        "duel_analysis": "Carlos Soler (LM) is evenly matched against Ximo Navarro in a direct 1v1 contest. Duel win probability: 50%.  Matchup xG multiplier ×1.06 (×1.00 = his usual level). Projected xG contribution: 0.124 — with neither side clearly dominant."
      },
      {
        "attacker": "Luka Sučić",
        "attacker_role": "CM",
        "attacker_market_value": 16300000,
        "attacker_height": 185,
        "attacker_skill_quality": 0.593,
        "defenders": [
          "Lorenzo Amatucci"
        ],
        "defender_roles": [
          "CDM"
        ],
        "def_skill_quality_avg": 0.501,
        "duel_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.544,
        "xg_contribution": 0.2015,
        "xg_multiplier": 1.1385,
        "shots_in_zone": 1.9,
        "dribbles_attempted": 2,
        "dribbles_successful": 1.0,
        "aerial_duels": 2,
        "aerial_won": 1.2,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.1,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Lorenzo Amatucci",
            "role": "CDM",
            "market_value": 8199999,
            "tackles_attempted": 2.0,
            "tackles_won": 1.5,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.456
          }
        ],
        "duel_analysis": "Luka Sučić (CM) is slightly favored against Lorenzo Amatucci in a direct 1v1 contest. Duel win probability: 54%.  Matchup xG multiplier ×1.14 (×1.00 = his usual level). Projected xG contribution: 0.202 — creating consistent moderate threat."
      },
      {
        "attacker": "Yangel Herrera",
        "attacker_role": "CM",
        "attacker_market_value": 5600000,
        "attacker_height": 184,
        "attacker_skill_quality": 0.47,
        "defenders": [
          "Lorenzo Amatucci"
        ],
        "defender_roles": [
          "CDM"
        ],
        "def_skill_quality_avg": 0.501,
        "duel_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.479,
        "xg_contribution": 0.0504,
        "xg_multiplier": 1.0433,
        "shots_in_zone": 1.7,
        "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": "Lorenzo Amatucci",
            "role": "CDM",
            "market_value": 8199999,
            "tackles_attempted": 2.0,
            "tackles_won": 1.6,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.9,
            "defensive_success_rate": 0.521
          }
        ],
        "duel_analysis": "Yangel Herrera (CM) is evenly matched against Lorenzo Amatucci in a direct 1v1 contest. Duel win probability: 48%.  Matchup xG multiplier ×1.04 (×1.00 = his usual level). Projected xG contribution: 0.050 — with neither side clearly dominant."
      }
    ],
    "away_attacking_duels": [
      {
        "attacker": "Yeremay Hernández",
        "attacker_role": "ST",
        "attacker_market_value": 23000000,
        "attacker_height": 169,
        "attacker_skill_quality": 0.66,
        "defenders": [
          "Jon Martin",
          "Mamadou Sarr"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.669,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.18,
        "xg_contribution": 0.0751,
        "xg_multiplier": 0.8638,
        "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.7,
        "pressing_intensity_on_attacker": "MEDIUM",
        "defender_stats": [
          {
            "player": "Jon Martin",
            "role": "CB",
            "market_value": 24000000,
            "tackles_attempted": 1.1,
            "tackles_won": 1.0,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 1.1,
            "clearances_in_zone": 0.9,
            "aerial_duels_won": 0.9,
            "defensive_success_rate": 0.82
          },
          {
            "player": "Mamadou Sarr",
            "role": "CB",
            "market_value": 24000000,
            "tackles_attempted": 1.1,
            "tackles_won": 1.0,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 1.1,
            "clearances_in_zone": 0.9,
            "aerial_duels_won": 0.9,
            "defensive_success_rate": 0.82
          }
        ],
        "duel_analysis": "Yeremay Hernández (ST) faces tough defensive resistance against Jon Martin and Mamadou Sarr in a 2-defender block. Duel win probability: 18%.  Matchup xG multiplier ×0.86 (×1.00 = his usual level). Projected xG contribution: 0.075 — and is restricted in space and time on the ball."
      },
      {
        "attacker": "Bil Nsongo",
        "attacker_role": "ST",
        "attacker_market_value": 3200000,
        "attacker_height": 182,
        "attacker_skill_quality": 0.44,
        "defenders": [
          "Jon Martin",
          "Mamadou Sarr"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.669,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.18,
        "xg_contribution": 0.1313,
        "xg_multiplier": 0.7627,
        "shots_in_zone": 2.0,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.3,
        "aerial_duels": 3,
        "aerial_won": 1.7,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.5,
        "pressing_intensity_on_attacker": "MEDIUM",
        "defender_stats": [
          {
            "player": "Jon Martin",
            "role": "CB",
            "market_value": 24000000,
            "tackles_attempted": 1.1,
            "tackles_won": 1.0,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 1.1,
            "clearances_in_zone": 0.9,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.82
          },
          {
            "player": "Mamadou Sarr",
            "role": "CB",
            "market_value": 24000000,
            "tackles_attempted": 1.1,
            "tackles_won": 1.0,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 1.1,
            "clearances_in_zone": 0.9,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.82
          }
        ],
        "duel_analysis": "Bil Nsongo (ST) is heavily outmatched defensively against Jon Martin and Mamadou Sarr in a 2-defender block. Duel win probability: 18%. The quality gap is significant (€3M vs €24M avg). Matchup xG multiplier ×0.76 (×1.00 = his usual level). Projected xG contribution: 0.131 — with very limited chance creation expected."
      },
      {
        "attacker": "Jonathan Asp Jensen",
        "attacker_role": "ST",
        "attacker_market_value": 3900000,
        "attacker_height": 182,
        "attacker_skill_quality": 0.449,
        "defenders": [
          "Jon Martin",
          "Mamadou Sarr"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.669,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.18,
        "xg_contribution": 0.1307,
        "xg_multiplier": 0.7684,
        "shots_in_zone": 2.0,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.3,
        "aerial_duels": 3,
        "aerial_won": 1.7,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.5,
        "pressing_intensity_on_attacker": "MEDIUM",
        "defender_stats": [
          {
            "player": "Jon Martin",
            "role": "CB",
            "market_value": 24000000,
            "tackles_attempted": 1.1,
            "tackles_won": 1.0,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 1.1,
            "clearances_in_zone": 0.9,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.82
          },
          {
            "player": "Mamadou Sarr",
            "role": "CB",
            "market_value": 24000000,
            "tackles_attempted": 1.1,
            "tackles_won": 1.0,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 1.1,
            "clearances_in_zone": 0.9,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.82
          }
        ],
        "duel_analysis": "Jonathan Asp Jensen (ST) is heavily outmatched defensively against Jon Martin and Mamadou Sarr in a 2-defender block. Duel win probability: 18%. The quality gap is significant (€4M vs €24M avg). Matchup xG multiplier ×0.77 (×1.00 = his usual level). Projected xG contribution: 0.131 — with very limited chance creation expected."
      },
      {
        "attacker": "Luismi Cruz",
        "attacker_role": "ST",
        "attacker_market_value": 2100000,
        "attacker_height": 166,
        "attacker_skill_quality": 0.437,
        "defenders": [
          "Jon Martin",
          "Mamadou Sarr"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.669,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.18,
        "xg_contribution": 0.0832,
        "xg_multiplier": 0.7169,
        "shots_in_zone": 2.0,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.3,
        "aerial_duels": 3,
        "aerial_won": 1.0,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.4,
        "pressing_intensity_on_attacker": "MEDIUM",
        "defender_stats": [
          {
            "player": "Jon Martin",
            "role": "CB",
            "market_value": 24000000,
            "tackles_attempted": 1.1,
            "tackles_won": 1.0,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 1.1,
            "clearances_in_zone": 0.9,
            "aerial_duels_won": 1.0,
            "defensive_success_rate": 0.82
          },
          {
            "player": "Mamadou Sarr",
            "role": "CB",
            "market_value": 24000000,
            "tackles_attempted": 1.1,
            "tackles_won": 1.0,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 1.1,
            "clearances_in_zone": 0.9,
            "aerial_duels_won": 1.0,
            "defensive_success_rate": 0.82
          }
        ],
        "duel_analysis": "Luismi Cruz (ST) is heavily outmatched defensively against Jon Martin and Mamadou Sarr in a 2-defender block. Duel win probability: 18%. The quality gap is significant (€2M vs €24M avg). Matchup xG multiplier ×0.72 (×1.00 = his usual level). Projected xG contribution: 0.083 — with very limited chance creation expected."
      },
      {
        "attacker": "Lorenzo Amatucci",
        "attacker_role": "CDM",
        "attacker_market_value": 8199999,
        "attacker_height": 172,
        "attacker_skill_quality": 0.501,
        "defenders": [
          "Luka Sučić"
        ],
        "defender_roles": [
          "CM"
        ],
        "def_skill_quality_avg": 0.593,
        "duel_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.306,
        "xg_contribution": 0.0283,
        "xg_multiplier": 0.8615,
        "shots_in_zone": 0.8,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.5,
        "aerial_duels": 2,
        "aerial_won": 0.8,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.3,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Luka Sučić",
            "role": "CM",
            "market_value": 16300000,
            "tackles_attempted": 2.1,
            "tackles_won": 1.8,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 0.9,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 1.1,
            "defensive_success_rate": 0.694
          }
        ],
        "duel_analysis": "Lorenzo Amatucci (CDM) faces tough defensive resistance against Luka Sučić in a direct 1v1 contest. Duel win probability: 31%.  Matchup xG multiplier ×0.86 (×1.00 = his usual level). Projected xG contribution: 0.028 — and is restricted in space and time on the ball."
      },
      {
        "attacker": "Mario Soriano",
        "attacker_role": "CDM",
        "attacker_market_value": 4600000,
        "attacker_height": 163,
        "attacker_skill_quality": 0.457,
        "defenders": [
          "Luka Sučić"
        ],
        "defender_roles": [
          "CM"
        ],
        "def_skill_quality_avg": 0.593,
        "duel_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.275,
        "xg_contribution": 0.0508,
        "xg_multiplier": 0.816,
        "shots_in_zone": 0.8,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.5,
        "aerial_duels": 2,
        "aerial_won": 0.6,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.3,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Luka Sučić",
            "role": "CM",
            "market_value": 16300000,
            "tackles_attempted": 2.1,
            "tackles_won": 1.8,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 0.9,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 1.4,
            "defensive_success_rate": 0.725
          }
        ],
        "duel_analysis": "Mario Soriano (CDM) faces tough defensive resistance against Luka Sučić in a direct 1v1 contest. Duel win probability: 27%.  Matchup xG multiplier ×0.82 (×1.00 = his usual level). Projected xG contribution: 0.051 — and is restricted in space and time on the ball."
      }
    ],
    "midfield_battle": {
      "home_midfield_power": 0.515,
      "away_midfield_power": 0.454,
      "home_creative_power": 0.545,
      "away_creative_power": 0.389,
      "home_defensive_power": 0.399,
      "away_defensive_power": 0.482,
      "home_dominance_ratio": 0.531,
      "home_midfield_count": 3,
      "away_midfield_count": 2,
      "home_midfield_players": [
        "Luka Sučić",
        "Carlos Soler",
        "Yangel Herrera"
      ],
      "away_midfield_players": [
        "Lorenzo Amatucci",
        "Mario Soriano"
      ],
      "possession_advantage": "neutral",
      "estimated_possession_home_pct": 50.0,
      "estimated_possession_away_pct": 50.0,
      "home_pressing_actions_per_90": 6.3,
      "away_pressing_actions_per_90": 6.6,
      "home_key_passes_projected": 4.8,
      "away_key_passes_projected": 3.8,
      "home_throughball_threat": 2.2,
      "away_throughball_threat": 1.8,
      "key_personal_duel": "Luka Sučić vs Lorenzo Amatucci",
      "midfield_lambda_factor_home": 1.011,
      "midfield_lambda_factor_away": 0.992
    },
    "formation_analysis": {
      "home_formation": "4-4-2",
      "away_formation": "4-2-3-1",
      "home_tactical_bonus": -0.04,
      "away_tactical_bonus": 0.07,
      "formation_verdict": "Tactical parity between 4-4-2 and 4-2-3-1. Match outcome driven primarily by individual player quality."
    },
    "home_lambda": 1.498,
    "away_lambda": 0.805,
    "home_top_threat_zones": [
      "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
      "Central Mid vs Defensive Mid — Pressing/Creation Duel"
    ],
    "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": {
      "Mikel Oyarzabal": {
        "opponents": [
          "José María Giménez",
          "Lucas Noubi"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Ander Barrenetxea": {
        "opponents": [
          "José María Giménez",
          "Lucas Noubi"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Gonçalo Guedes": {
        "opponents": [
          "José María Giménez",
          "Lucas Noubi"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Carlos Soler": {
        "opponents": [
          "Ximo Navarro",
          "Lorenzo Amatucci"
        ],
        "primary_zone": "Left Mid vs Right Back — Wide Channel",
        "source": "attacking_duel, midfield_pairing"
      },
      "Luka Sučić": {
        "opponents": [
          "Lorenzo Amatucci",
          "Mario Soriano"
        ],
        "primary_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "source": "attacking_duel, defensive_duel, midfield_pairing"
      },
      "Yangel Herrera": {
        "opponents": [
          "Lorenzo Amatucci",
          "Mario Soriano"
        ],
        "primary_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "source": "attacking_duel, midfield_pairing"
      },
      "Jon Martin": {
        "opponents": [
          "Yeremay Hernández",
          "Bil Nsongo",
          "Jonathan Asp Jensen",
          "Luismi Cruz"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Mamadou Sarr": {
        "opponents": [
          "Yeremay Hernández",
          "Bil Nsongo",
          "Jonathan Asp Jensen",
          "Luismi Cruz"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Álex Remiro": {
        "opponents": [
          "Yeremay Hernández",
          "Jonathan Asp Jensen"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      },
      "Sergio Gómez": {
        "opponents": [
          "Bil Nsongo"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      },
      "Luken Beitia": {
        "opponents": [
          "Luismi Cruz"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      }
    },
    "away_player_antagonists": {
      "José María Giménez": {
        "opponents": [
          "Mikel Oyarzabal",
          "Ander Barrenetxea",
          "Gonçalo Guedes"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Lucas Noubi": {
        "opponents": [
          "Mikel Oyarzabal",
          "Ander Barrenetxea",
          "Gonçalo Guedes"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Ximo Navarro": {
        "opponents": [
          "Carlos Soler"
        ],
        "primary_zone": "Left Mid vs Right Back — Wide Channel",
        "source": "defensive_duel"
      },
      "Lorenzo Amatucci": {
        "opponents": [
          "Luka Sučić",
          "Yangel Herrera",
          "Carlos Soler"
        ],
        "primary_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "source": "defensive_duel, attacking_duel, midfield_pairing"
      },
      "Yeremay Hernández": {
        "opponents": [
          "Jon Martin",
          "Mamadou Sarr"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Bil Nsongo": {
        "opponents": [
          "Jon Martin",
          "Mamadou Sarr"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Jonathan Asp Jensen": {
        "opponents": [
          "Jon Martin",
          "Mamadou Sarr"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Luismi Cruz": {
        "opponents": [
          "Jon Martin",
          "Mamadou Sarr"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Mario Soriano": {
        "opponents": [
          "Luka Sučić",
          "Yangel Herrera"
        ],
        "primary_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
        "source": "attacking_duel, midfield_pairing"
      },
      "Leo Román": {
        "opponents": [
          "Mikel Oyarzabal",
          "Ander Barrenetxea"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      },
      "Giacomo Quagliata": {
        "opponents": [
          "Gonçalo Guedes"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      }
    },
    "key_tactical_insight": "Midfield is evenly contested — Luka Sučić vs Lorenzo Amatucci will be the pivotal duel. Total antagonist xG — Home: 0.92, Away: 0.50. Home danger zone: Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle. Away danger zone: Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle.",
    "lambda_factors": {
      "league_anchor": 1.35,
      "home_advantage_factor": 1.15,
      "home_gk_opposition_factor": 0.9965,
      "away_gk_opposition_factor": 0.9777,
      "home_set_piece_bonus": 0.107,
      "away_set_piece_bonus": 0.0,
      "home_defensive_solidity_vs": 1.0082,
      "away_defensive_solidity_vs": 0.9553,
      "home_midfield_factor": 1.011,
      "away_midfield_factor": 0.992,
      "stage_discount": 1.0,
      "quality_gap_applied": true,
      "home_avg_quality": 0.5661,
      "away_avg_quality": 0.4729,
      "avg_quality_gap": 0.0932,
      "squad_value_gap_log": 0.8334,
      "top5_value_gap_log": 0.7585,
      "attack_value_gap_log": 0.4745,
      "elite_count_gap": 0,
      "combined_quality_gap": 0.1822,
      "stronger_lambda_boost": 0.1002,
      "weaker_lambda_suppression": 0.0583,
      "home_lambda_chain": [
        {
          "label": "league_anchor",
          "value": 1.35
        },
        {
          "label": "duel_blend",
          "raw_xg": 0.9201,
          "n_duels": 6,
          "duel_confidence": 0.75,
          "result": 1.0276
        },
        {
          "label": "midfield_factor",
          "factor": 1.011,
          "result": 1.0389
        },
        {
          "label": "formation_bonus",
          "factor": 0.96,
          "result": 0.9973
        },
        {
          "label": "home_advantage",
          "factor": 1.15,
          "result": 1.1469
        },
        {
          "label": "standing_factor",
          "factor": 0.9448,
          "result": 1.0836
        },
        {
          "label": "gk_opposition",
          "factor": 0.9965,
          "result": 1.0798
        },
        {
          "label": "defensive_solidity",
          "factor": 1.0082,
          "result": 1.0887
        },
        {
          "label": "set_piece_bonus",
          "bonus": 0.107,
          "result": 1.1957
        },
        {
          "label": "engine_clamp",
          "pre": 1.1957,
          "result": 1.1957,
          "band": [
            0.6,
            4.0
          ],
          "clamped": false
        },
        {
          "label": "quality_gap",
          "applied": true,
          "combined_quality_gap": 0.1822,
          "factor": 1.1002,
          "pre": 1.1957,
          "result": 1.3155
        },
        {
          "label": "stage_discount",
          "applied": false,
          "factor": 1.0,
          "result": 1.3155
        },
        {
          "label": "bench_bonus",
          "side": "home",
          "bonus": 0.1512,
          "result": 1.4672
        },
        {
          "label": "fbref_blend",
          "side": "home",
          "applied": false,
          "reason": "non-target league or squad priors not found",
          "result": 1.4672
        },
        {
          "label": "router_clamp",
          "pre": 1.4672,
          "result": 1.467,
          "band": [
            0.65,
            4.8
          ]
        },
        {
          "label": "h2h_adjustment",
          "applied": true,
          "multiplier": 1.0214,
          "pre": 1.467,
          "result": 1.4984,
          "available": true
        },
        {
          "label": "mismatch_pressure",
          "applied": false,
          "reason": "quality gap below 0.30",
          "result": 1.498
        },
        {
          "label": "underdog_floor",
          "applied": false,
          "mode": "disabled_ablation",
          "result": 1.498
        },
        {
          "label": "final_clamp",
          "applied": false,
          "pre": 1.498,
          "result": 1.498,
          "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.498
        }
      ],
      "away_lambda_chain": [
        {
          "label": "league_anchor",
          "value": 1.35
        },
        {
          "label": "duel_blend",
          "raw_xg": 0.4994,
          "n_duels": 6,
          "duel_confidence": 0.75,
          "result": 0.7121
        },
        {
          "label": "midfield_factor",
          "factor": 0.992,
          "result": 0.7064
        },
        {
          "label": "formation_bonus",
          "factor": 1.07,
          "result": 0.7558
        },
        {
          "label": "home_advantage",
          "factor": 1.0,
          "result": 0.7558
        },
        {
          "label": "standing_factor",
          "factor": 1.0281,
          "result": 0.777
        },
        {
          "label": "gk_opposition",
          "factor": 0.9777,
          "result": 0.7597
        },
        {
          "label": "defensive_solidity",
          "factor": 0.9553,
          "result": 0.7258
        },
        {
          "label": "set_piece_bonus",
          "bonus": 0.0,
          "result": 0.7258
        },
        {
          "label": "engine_clamp",
          "pre": 0.7258,
          "result": 0.7258,
          "band": [
            0.6,
            4.0
          ],
          "clamped": false
        },
        {
          "label": "quality_gap",
          "applied": true,
          "combined_quality_gap": 0.1822,
          "factor": 0.9417,
          "pre": 0.7258,
          "result": 0.6835
        },
        {
          "label": "stage_discount",
          "applied": false,
          "factor": 1.0,
          "result": 0.6835
        },
        {
          "label": "bench_bonus",
          "side": "away",
          "bonus": 0.1398,
          "result": 0.8228
        },
        {
          "label": "fbref_blend",
          "side": "away",
          "applied": false,
          "reason": "non-target league or squad priors not found",
          "result": 0.8228
        },
        {
          "label": "router_clamp",
          "pre": 0.8228,
          "result": 0.823,
          "band": [
            0.65,
            4.8
          ]
        },
        {
          "label": "h2h_adjustment",
          "applied": true,
          "multiplier": 0.9786,
          "pre": 0.823,
          "result": 0.8054,
          "available": true
        },
        {
          "label": "mismatch_pressure",
          "applied": false,
          "reason": "quality gap below 0.30",
          "result": 0.805
        },
        {
          "label": "underdog_floor",
          "applied": false,
          "mode": "disabled_ablation",
          "result": 0.805
        },
        {
          "label": "final_clamp",
          "applied": false,
          "pre": 0.805,
          "result": 0.805,
          "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.805
        }
      ],
      "home_bench_lambda_bonus": 0.1512,
      "away_bench_lambda_bonus": 0.1398,
      "home_bench_players_modelled": 7,
      "away_bench_players_modelled": 7,
      "mismatch_score_pressure_applied": false,
      "competitive_underdog_floor_applied": false,
      "competitive_underdog_floor": 1.0,
      "competitive_underdog_floor_mode": "disabled_ablation",
      "pre_competitive_floor_home_lambda": 1.498,
      "pre_competitive_floor_away_lambda": 0.805,
      "pre_calibration_home_lambda": 1.4672,
      "pre_calibration_away_lambda": 0.8228,
      "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.498,
      "final_away_lambda": 0.805
    }
  },
  "home_standing": {
    "available": true,
    "team_position": 8,
    "opponent_position": 7,
    "standing_lambda_multiplier": 0.9448,
    "attack_index": 1.0,
    "defense_concede_index": 0.867,
    "form_multiplier": 1.0,
    "team_attack_rate_contextual": 1.5,
    "opp_defense_rate_contextual": 1.3,
    "team_ppg": 1.4,
    "opponent_ppg": 1.4
  },
  "away_standing": {
    "available": true,
    "team_position": 7,
    "opponent_position": 8,
    "standing_lambda_multiplier": 1.0281,
    "attack_index": 0.933,
    "defense_concede_index": 1.148,
    "form_multiplier": 1.0,
    "team_attack_rate_contextual": 1.4,
    "opp_defense_rate_contextual": 1.72,
    "team_ppg": 1.4,
    "opponent_ppg": 1.4
  },
  "xgboost_reasoning": {
    "summary": "Antagonist + XGBoost match analysis for Real Sociedad vs Deportivo. Player statistics regressed using position-specific XGBoost models (G, D, M, F) with 2026-2027 FBref priors. Micro-duels resolved across 4-4-2 vs 4-2-3-1 (duel lambdas: Home 1.467, Away 0.823). Final calibrated Poisson lambdas: Home 1.498, Away 0.805 (most likely score 1-0).",
    "competition": "LaLiga",
    "model_coverage": {
      "home_starters_count": 11,
      "home_xgboost_players": 11,
      "home_fbref_players": 10,
      "away_starters_count": 11,
      "away_xgboost_players": 11,
      "away_fbref_players": 10,
      "home_bench_modelled": 7,
      "away_bench_modelled": 7
    },
    "team_priors": {
      "applied": false,
      "reason": "Non-target league or squad priors not found"
    },
    "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.498,
      "away_lambda": 0.805,
      "micro_duel_home_lambda": 1.467,
      "micro_duel_away_lambda": 0.823
    },
    "calibration_and_pressure": {
      "competition_calibration_applied": false,
      "competition_calibration_scale": 1.0,
      "mismatch_pressure_applied": false,
      "underdog_floor_applied": false
    }
  },
  "timestamp": "2026-10-11T13:30:53Z",
  "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
  }
}