{
  "match_info": {
    "home_team": "Barcelona",
    "away_team": "Alavés",
    "tournament": "LaLiga",
    "date": "20261031",
    "timezone": "America/New_York",
    "home_formation": "4-3-3",
    "away_formation": "4-4-2",
    "lineup_status": "unconfirmed_official",
    "lineup_source": "/matches/get-lineups",
    "lineup_confirmed": false,
    "lineup_confidence": 0.75
  },
  "prediction": {
    "most_likely_score": "3-1",
    "home_goals": 3,
    "away_goals": 1,
    "most_likely_score_probability": 0.0722,
    "most_likely_winning_score_home": "3-1",
    "most_likely_winning_score_home_probability": 0.0722,
    "most_likely_winning_score_away": "1-2",
    "most_likely_winning_score_away_probability": 0.0187,
    "match_resolution": "regulation",
    "predicted_winner": "Barcelona",
    "tiebreaker": {
      "applies": false,
      "method": "none",
      "regulation_draw_probability": 0.0987,
      "shootout_home_win_probability": null,
      "shootout_away_win_probability": null,
      "penalty_home_goals": null,
      "penalty_away_goals": null,
      "penalty_score": null,
      "penalty_winner": null,
      "penalty_winner_goals": null,
      "penalty_loser_goals": null,
      "penalty_result": null,
      "home_advance_probability": null,
      "away_advance_probability": null,
      "projected_winner": null,
      "projected_winner_probability": null,
      "final_score_after_penalties": null,
      "deciding_stage": null,
      "deciding_scoreline": null,
      "deciding_scoreline_probability": null,
      "deciding_route_probability": null,
      "reason": "Tie-breaker not required for this match context."
    },
    "top_5_scorelines": [
      {
        "score": "3-1",
        "probability": 0.0722
      },
      {
        "score": "4-1",
        "probability": 0.0697
      },
      {
        "score": "2-1",
        "probability": 0.056
      },
      {
        "score": "3-0",
        "probability": 0.056
      },
      {
        "score": "4-0",
        "probability": 0.0541
      }
    ],
    "scoreline_probabilities": {
      "0-0": 0.0059,
      "0-1": 0.0074,
      "0-2": 0.0048,
      "0-3": 0.0021,
      "0-4": 0.0007,
      "1-0": 0.0224,
      "1-1": 0.0291,
      "1-2": 0.0187,
      "1-3": 0.008,
      "1-4": 0.0026,
      "1-5": 0.0007,
      "2-0": 0.0435,
      "2-1": 0.056,
      "2-2": 0.0361,
      "2-3": 0.0155,
      "2-4": 0.005,
      "2-5": 0.0013,
      "3-0": 0.056,
      "3-1": 0.0722,
      "3-2": 0.0465,
      "3-3": 0.02,
      "3-4": 0.0064,
      "3-5": 0.0017,
      "4-0": 0.0541,
      "4-1": 0.0697,
      "4-2": 0.0449,
      "4-3": 0.0193,
      "4-4": 0.0062,
      "4-5": 0.0016,
      "5-0": 0.0418,
      "5-1": 0.0538,
      "5-2": 0.0347,
      "5-3": 0.0149,
      "5-4": 0.0048,
      "5-5": 0.0012,
      "6-0": 0.0269,
      "6-1": 0.0347,
      "6-2": 0.0223,
      "6-3": 0.0096,
      "6-4": 0.0031,
      "6-5": 0.0008,
      "7-0": 0.0149,
      "7-1": 0.0191,
      "7-2": 0.0123,
      "7-3": 0.0053,
      "7-4": 0.0017,
      "8-0": 0.0072,
      "8-1": 0.0092,
      "8-2": 0.0059,
      "8-3": 0.0026,
      "8-4": 0.0008,
      "9-0": 0.0031,
      "9-1": 0.004,
      "9-2": 0.0026,
      "9-3": 0.0011
    },
    "outcome": {
      "home_win": 0.8229,
      "draw": 0.0987,
      "away_win": 0.0783
    },
    "markets": {
      "over_2_5_goals": 0.8868,
      "under_2_5_goals": 0.1132,
      "btts_yes": 0.709,
      "btts_no": 0.291,
      "home_clean_sheet": 0.2758,
      "away_clean_sheet": 0.0211
    },
    "home_ratings": {
      "DR": 6.91,
      "MCR": 7.1,
      "ATR": 7.67,
      "GK": 6.92
    },
    "away_ratings": {
      "DR": 6.78,
      "MCR": 6.87,
      "ATR": 6.79,
      "GK": 6.97
    },
    "insights": {
      "summary": "Antagonist matchup analysis for Barcelona vs Alavés. Most likely scoreline: 3-1. Lambdas derived from 8 home and 6 away individual player duels. Head-to-head: Barcelona 7W-2D-1L vs Alavés over 10 meetings.",
      "key_player": "Projected scorer(s): Lamine Yamal, Raphinha (2), Toni Martínez",
      "tactical_analysis": "Tactical parity between 4-3-3 and 4-4-2. Match outcome driven primarily by individual player quality. Home midfield dominates with ~53% possession expected (Pedri vs Antonio Blanco). Total antagonist xG — Home: 2.38, Away: 0.66. Home danger zone: Left Wing vs Right Back — Flank Battle. Away danger zone: Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle."
    },
    "confidence": 0.83,
    "home_lambda": 3.863,
    "away_lambda": 1.288,
    "h2h": {
      "available": true,
      "meetings": 10,
      "home_wins": 7,
      "away_wins": 1,
      "draws": 2,
      "home_multiplier": 1.0429,
      "away_multiplier": 0.9571
    },
    "modal_scoreline": "3-1",
    "modal_scoreline_probability": 0.0722,
    "headline_policy": null
  },
  "pregame_baseline": {
    "fair_win_probability": {
      "home_win": 0.8229,
      "draw": 0.0987,
      "away_win": 0.0783
    },
    "favorite": "Barcelona",
    "favorite_win_probability": 0.8229,
    "fair_spread": 2.575,
    "fair_total": 5.151,
    "prop_estimates": [
      {
        "market": "team_total_goals",
        "selection": "Barcelona",
        "estimate": 3.863,
        "probability": null,
        "unit": "goals"
      },
      {
        "market": "team_total_goals",
        "selection": "Alavés",
        "estimate": 1.288,
        "probability": null,
        "unit": "goals"
      },
      {
        "market": "over_2_5_goals",
        "selection": "yes",
        "estimate": 2.5,
        "probability": 0.8868,
        "unit": "probability"
      },
      {
        "market": "both_teams_to_score",
        "selection": "yes",
        "estimate": 1.0,
        "probability": 0.709,
        "unit": "probability"
      },
      {
        "market": "clean_sheet",
        "selection": "Barcelona",
        "estimate": 1.0,
        "probability": 0.2758,
        "unit": "probability"
      },
      {
        "market": "clean_sheet",
        "selection": "Alavés",
        "estimate": 1.0,
        "probability": 0.0211,
        "unit": "probability"
      },
      {
        "market": "anytime_goal",
        "selection": "Raphinha (Barcelona)",
        "estimate": 1.2119,
        "probability": 0.7024,
        "unit": "xG"
      },
      {
        "market": "anytime_goal",
        "selection": "Toni Martínez (Alavés)",
        "estimate": 0.2914,
        "probability": 0.2528,
        "unit": "xG"
      },
      {
        "market": "assist",
        "selection": "Lamine Yamal (Barcelona)",
        "estimate": 0.4069,
        "probability": 0.3343,
        "unit": "xA"
      },
      {
        "market": "assist",
        "selection": "Ángel Pérez (Alavés)",
        "estimate": 0.2102,
        "probability": 0.1896,
        "unit": "xA"
      }
    ],
    "expected_pace": {
      "tempo": "high",
      "expected_total_goals": 5.151,
      "expected_total_shots": 39,
      "expected_total_passes": 990,
      "expected_pressing_actions_per_90": 14.5,
      "possession_home_pct": 53.1,
      "possession_away_pct": 46.9,
      "notes": "Barcelona projects to control midfield possession"
    },
    "expected_game_script": {
      "favorite": "Barcelona",
      "favorite_win_probability": 0.8229,
      "script": "Barcelona is the fair winner side, but the baseline remains favorite-led: fair spread +2.58 goals and fair total 5.15.",
      "first_half": "Expect high tempo while both sides test the matchup thesis; shot baseline is about 20 first-half attempts.",
      "second_half": "If level after halftime, midfield control and bench quality should decide territory; Alavés must keep the match inside one goal.",
      "late_game": "A Barcelona lead likely shifts toward control and counters; a draw state keeps set pieces and transition chances live."
    },
    "key_matchup_thesis": "Barcelona chance creation leans on Raphinha against Jonny Otto in Left Wing vs Right Back — Flank Battle; Barcelona projects to control midfield possession.",
    "expected_rotation_usage_behavior": [
      "Barcelona: starters carry the main goal usage through Lamine Yamal, Raphinha (2); bench watchlist: Dani Olmo, Gabriel Jesus.",
      "Alavés: starters carry the main goal usage through Toni Martínez; bench watchlist: Carlos Vicente, Miguel Rodríguez, Carles Aleñá.",
      "Assist usage should flow through Pedri, Lamine Yamal, Ángel Pérez; late lineup changes should re-score these allocations."
    ],
    "pregame_play_by_play": [
      "0-15: Barcelona tries to establish the projected edge; track possession and first-shot share.",
      "15-45: Baseline expects high tempo, about 20 total first-half shots, and 2.58 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 Alavés 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 Barcelona.",
      "Alavés 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": {
    "Barcelona": {
      "formation": "4-3-3",
      "players": {
        "Joan García": {
          "player_id": 930267,
          "position": "G",
          "position_depth": "G",
          "is_starter": true,
          "shirt_number": 1,
          "height": 193,
          "market_value": 46000000,
          "stats": {
            "saves": 3,
            "goals_prevented": -0.0295,
            "rating": 6.9186,
            "minutes": 86,
            "total_pass": 22,
            "accurate_pass": 19,
            "total_long_balls": 4,
            "accurate_long_balls": 2,
            "touches": 33,
            "clearances": 2,
            "ball_recovery": 8,
            "high_claims": 1,
            "punches": 0.3048,
            "aerial_won": 0,
            "sweeper_actions": 3,
            "sweeper_accurate": 3,
            "saves_inside_box": 1,
            "possession_lost": 2.4737,
            "duels_won": 0,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 20,
            "accurate_own_half_passes": 19,
            "gk_engine_opponent_lambda": 1.4285,
            "shots_faced": 12.2,
            "expected_saves": 2.98,
            "high_pressure_saves": 1.03,
            "opponent_faced": "Toni Martínez, Lucas Boyé",
            "matchup_zone": "Goalkeeper shot-stopping context",
            "antagonist_source": "defensive_duel",
            "goals": 0,
            "projected_goals": 0,
            "goal_probability": 0.0,
            "assists": 0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "finishing_factor": 1.0,
            "creation_factor": 1.0,
            "expected_goals": 0.0,
            "expected_assists": 0.0,
            "fifa_overall": 86.0
          },
          "latest_10_games": [
            {
              "match_id": 16421080,
              "match_date": "2026-10-25",
              "home_team": "FC Barcelona",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "total_pass": 19,
                "accurate_pass": 16,
                "tackles": 0,
                "tackles_won": 0,
                "interceptions": 0,
                "clearances": 3,
                "aerial_won": 0,
                "duels_won": 0,
                "ball_recovery": 6,
                "saves": 3,
                "goals_prevented": 0.1364
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421068,
              "match_date": "2026-10-17",
              "home_team": "Real Betis",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 14,
                "accurate_pass": 14,
                "clearances": 5,
                "ball_recovery": 8,
                "saves": 3,
                "goals_prevented": -0.1033
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421060,
              "match_date": "2026-10-10",
              "home_team": "FC Barcelona",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0005,
                "total_shots": 0,
                "total_pass": 20,
                "accurate_pass": 20,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 11,
                "saves": 1,
                "goals_prevented": 0.2256
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416346,
              "match_date": "2026-09-16",
              "home_team": "FC Barcelona",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 45,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0017,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 11,
                "ball_recovery": 1,
                "goals_prevented": -0.6184
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416329,
              "match_date": "2026-09-13",
              "home_team": "Levante UD",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 23,
                "accurate_pass": 19,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 11,
                "saves": 4,
                "goals_prevented": 0.4648
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416325,
              "match_date": "2026-09-06",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 7.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 15,
                "accurate_pass": 14,
                "clearances": 3,
                "ball_recovery": 10,
                "saves": 2,
                "goals_prevented": 0.558
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416295,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 29,
                "accurate_pass": 24,
                "ball_recovery": 13,
                "saves": 3,
                "goals_prevented": 0.2351
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421059,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0003,
                "total_shots": 0,
                "total_pass": 34,
                "accurate_pass": 30,
                "clearances": 2,
                "ball_recovery": 15
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416311,
              "match_date": "2026-08-23",
              "home_team": "Elche",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 21,
                "accurate_pass": 19,
                "clearances": 1,
                "ball_recovery": 9,
                "saves": 2,
                "goals_prevented": 0.2641
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083666,
              "match_date": "2026-05-17",
              "home_team": "FC Barcelona",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0003,
                "total_shots": 0,
                "total_pass": 30,
                "accurate_pass": 27,
                "ball_recovery": 6,
                "saves": 1,
                "goals_prevented": 0.1397
              },
              "has_player_stats": true,
              "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": 123,
            "combined_rank_score": 114.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 140.0,
            "sofascore_rating": 7.34,
            "sofascore_appearances": 30.0,
            "fifa_rank": 89.0,
            "fifa_overall": 86.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 13,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9186,
            "source_file": "data/player_rankings.csv",
            "player_name": "Joan García",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Adrián de la Fuente",
                  "ranking": 118
                },
                {
                  "player_name": "Jaylan Hankins",
                  "ranking": 119
                },
                {
                  "player_name": "Marquinhos",
                  "ranking": 120
                },
                {
                  "player_name": "Jan Oblak",
                  "ranking": 121
                },
                {
                  "player_name": "Morgan Rogers",
                  "ranking": 122
                }
              ],
              "lower": [
                {
                  "player_name": "Bruno Henrique",
                  "ranking": 124
                },
                {
                  "player_name": "Jung Seung-bae",
                  "ranking": 125
                },
                {
                  "player_name": "Alexander Badolato",
                  "ranking": 126
                },
                {
                  "player_name": "João Neves",
                  "ranking": 127
                },
                {
                  "player_name": "Davron Merganov",
                  "ranking": 128
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.78,
          "history_matches": 39,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "G_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "accurateLongBalls",
              "totalOwnHalfPasses",
              "accurateOwnHalfPasses",
              "saves",
              "savedShotsFromInsideTheBox",
              "goodHighClaim",
              "punches",
              "aerialWon",
              "totalKeeperSweeper",
              "accurateKeeperSweeper",
              "totalClearance",
              "ballRecovery",
              "touches",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "goalkeeperValueNormalized",
              "goalsPrevented",
              "rating",
              "pass_accuracy",
              "long_ball_accuracy",
              "save_contribution",
              "inside_box_save_rate",
              "sweeper_accuracy",
              "sweeper_actions_p90",
              "distribution_accuracy",
              "commanding_index",
              "history_matches"
            ],
            "targets_predicted": [
              "saves",
              "goalsPrevented",
              "rating"
            ],
            "history_matches": 39,
            "data_confidence": 0.78,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0104,
            "fbref_prior_metrics": {
              "squad": "Barcelona",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 270.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.2
            },
            "rationale": "XGBoost regressor (G_service) evaluated 39 historical appearances across 3 target models; FBref 2026-2027 prior blended (La Liga, Barcelona, 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.9644,
                "goals_prevented": -0.0292,
                "rating": 6.9186,
                "minutes": 86.05,
                "total_pass": 21.5532,
                "accurate_pass": 19.2947,
                "total_long_balls": 3.8213,
                "accurate_long_balls": 1.8303,
                "touches": 32.7628,
                "clearances": 1.9211,
                "ball_recovery": 8.3322,
                "high_claims": 0.5469,
                "punches": 0.3017,
                "aerial_won": 0.2242,
                "sweeper_actions": 2.9486,
                "sweeper_accurate": 2.9486,
                "saves_inside_box": 1.1045,
                "possession_lost": 2.4482,
                "duels_won": 0.2807,
                "duels_lost": 0.0815,
                "total_contest": 0.0007,
                "won_contest": 0.0007,
                "fouls": 0.0,
                "fouls_drawn": 0.086,
                "total_own_half_passes": 19.7853,
                "accurate_own_half_passes": 18.7312
              },
              "trace": {
                "model": {
                  "position_service": "G",
                  "schema_version": 5,
                  "trained_at": "2026-10-31T10:28:35.350989+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 201,
                    "rows": 7385
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-25",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1503,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-10-17",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1277,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-10-10",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1086,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Real Racing Club",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.0923,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 7.9
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 7.1
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "accurateKeeperSweeper": 2.9486,
                  "goalkeeperValueNormalized": 0.2176,
                  "goodHighClaim": 0.5469,
                  "save_contribution": 2.2215,
                  "possessionLostCtrl": 2.4482,
                  "sweeper_actions_p90": 2.8544
                },
                "per_target": [
                  {
                    "target": "saves",
                    "predicted": 2.9644360542297363,
                    "model_output": 2.9644,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "save_contribution",
                        "importance": 0.0422
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0362
                      },
                      {
                        "name": "goodHighClaim",
                        "importance": 0.0359
                      },
                      {
                        "name": "defensiveValueNormalized",
                        "importance": 0.0358
                      },
                      {
                        "name": "pass_accuracy",
                        "importance": 0.0358
                      }
                    ],
                    "decomposition": {
                      "base": 2.9271,
                      "items": [
                        {
                          "name": "accurateKeeperSweeper",
                          "contribution": 0.0896
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0684
                        },
                        {
                          "name": "save_contribution",
                          "contribution": 0.0292
                        },
                        {
                          "name": "totalKeeperSweeper",
                          "contribution": -0.0207
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.014
                        }
                      ],
                      "others": 0.0216,
                      "total": 2.9644,
                      "log_link": true,
                      "margin_base": 1.074005,
                      "item_margins": [
                        {
                          "name": "accurateKeeperSweeper",
                          "margin": 0.030163
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.022924
                        },
                        {
                          "name": "save_contribution",
                          "margin": 0.009861
                        },
                        {
                          "name": "totalKeeperSweeper",
                          "margin": -0.006966
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.004754
                        }
                      ],
                      "others_margin": 0.007301
                    }
                  },
                  {
                    "target": "goalsPrevented",
                    "predicted": -0.02918209880590439,
                    "model_output": -0.0292,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "goalkeeperValueNormalized",
                        "importance": 0.0432
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.04
                      },
                      {
                        "name": "goodHighClaim",
                        "importance": 0.0388
                      },
                      {
                        "name": "punches",
                        "importance": 0.0371
                      },
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.0358
                      }
                    ],
                    "decomposition": {
                      "base": -0.0235,
                      "items": [
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0663
                        },
                        {
                          "name": "savedShotsFromInsideTheBox",
                          "contribution": -0.0567
                        },
                        {
                          "name": "sweeper_accuracy",
                          "contribution": 0.0277
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "contribution": -0.0239
                        },
                        {
                          "name": "punches",
                          "contribution": 0.0229
                        }
                      ],
                      "others": -0.042,
                      "total": -0.0292,
                      "log_link": false,
                      "margin_base": -0.023525,
                      "item_margins": [
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.066272
                        },
                        {
                          "name": "savedShotsFromInsideTheBox",
                          "margin": -0.056741
                        },
                        {
                          "name": "sweeper_accuracy",
                          "margin": 0.027673
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "margin": -0.023907
                        },
                        {
                          "name": "punches",
                          "margin": 0.022863
                        }
                      ],
                      "others_margin": -0.041817
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.918645858764648,
                    "model_output": 6.9186,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "accurateKeeperSweeper",
                        "importance": 0.0401
                      },
                      {
                        "name": "accurateOwnHalfPasses",
                        "importance": 0.0389
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0374
                      },
                      {
                        "name": "touches",
                        "importance": 0.0351
                      },
                      {
                        "name": "rating",
                        "importance": 0.0339
                      }
                    ],
                    "decomposition": {
                      "base": 6.9898,
                      "items": [
                        {
                          "name": "accurateKeeperSweeper",
                          "contribution": -0.0289
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "contribution": -0.0255
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0245
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0242
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0221
                        }
                      ],
                      "others": -0.0386,
                      "total": 6.9186,
                      "log_link": false,
                      "margin_base": 6.989751,
                      "item_margins": [
                        {
                          "name": "accurateKeeperSweeper",
                          "margin": -0.028888
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "margin": -0.025518
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.024462
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.02419
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.022123
                        }
                      ],
                      "others_margin": -0.038549
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 39,
                  "role_matches": 39,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0104, quality 0.809)",
              "stats": {
                "saves": 2.9953,
                "goals_prevented": -0.0295,
                "rating": 6.9186,
                "minutes": 86.05,
                "total_pass": 21.7774,
                "accurate_pass": 19.4954,
                "total_long_balls": 3.861,
                "accurate_long_balls": 1.8493,
                "touches": 33.1035,
                "clearances": 1.9411,
                "ball_recovery": 8.4189,
                "high_claims": 0.5526,
                "punches": 0.3048,
                "aerial_won": 0.2265,
                "sweeper_actions": 2.9793,
                "sweeper_accurate": 2.9793,
                "saves_inside_box": 1.116,
                "possession_lost": 2.4737,
                "duels_won": 0.2836,
                "duels_lost": 0.0823,
                "total_contest": 0.0007,
                "won_contest": 0.0007,
                "fouls": 0.0,
                "fouls_drawn": 0.0869,
                "total_own_half_passes": 19.9911,
                "accurate_own_half_passes": 18.926
              },
              "params": {
                "market_value_eur": 46000000,
                "quality_factor": 0.8089,
                "boost_factor": 1.0104,
                "reference_quality": 0.505,
                "history_matches": 39,
                "history_shrink": 0.1136,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0148)",
              "stats": {
                "saves": 2.9746,
                "goals_prevented": -0.0295,
                "rating": 6.9186,
                "minutes": 86.05,
                "total_pass": 21.7774,
                "accurate_pass": 19.4954,
                "total_long_balls": 3.861,
                "accurate_long_balls": 1.8493,
                "touches": 33.1035,
                "clearances": 1.9411,
                "ball_recovery": 8.4189,
                "high_claims": 0.5526,
                "punches": 0.3048,
                "aerial_won": 0.2265,
                "sweeper_actions": 2.9793,
                "sweeper_accurate": 2.9793,
                "saves_inside_box": 1.116,
                "possession_lost": 2.4737,
                "duels_won": 0.2836,
                "duels_lost": 0.0823,
                "total_contest": 0.0007,
                "won_contest": 0.0007,
                "fouls": 0.0,
                "fouls_drawn": 0.0856,
                "total_own_half_passes": 19.9911,
                "accurate_own_half_passes": 18.926
              },
              "params": {
                "blend_weight": 0.0148,
                "history_matches": 39,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9561,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Barcelona"
              },
              "changes": [
                {
                  "stat": "saves",
                  "before": 2.9953,
                  "after": 2.9746
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 2.9746,
                "goals_prevented": -0.0295,
                "rating": 6.9186,
                "minutes": 86.05,
                "total_pass": 21.7774,
                "accurate_pass": 19.4954,
                "total_long_balls": 3.861,
                "accurate_long_balls": 1.8493,
                "touches": 33.1035,
                "clearances": 1.9411,
                "ball_recovery": 8.4189,
                "high_claims": 0.5526,
                "punches": 0.3048,
                "aerial_won": 0.2265,
                "sweeper_actions": 2.9793,
                "sweeper_accurate": 2.9793,
                "saves_inside_box": 1.116,
                "possession_lost": 2.4737,
                "duels_won": 0.2836,
                "duels_lost": 0.0823,
                "total_contest": 0.0007,
                "won_contest": 0.0007,
                "fouls": 0.0,
                "fouls_drawn": 0.0856,
                "total_own_half_passes": 19.9911,
                "accurate_own_half_passes": 18.926
              },
              "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.9746,
                "goals_prevented": -0.0295,
                "rating": 6.9186,
                "minutes": 86.05,
                "total_pass": 21.7774,
                "accurate_pass": 19.4954,
                "total_long_balls": 3.861,
                "accurate_long_balls": 1.8493,
                "touches": 33.1035,
                "clearances": 1.9411,
                "ball_recovery": 8.4189,
                "high_claims": 0.5526,
                "punches": 0.3048,
                "aerial_won": 0.2265,
                "sweeper_actions": 2.9793,
                "sweeper_accurate": 2.9793,
                "saves_inside_box": 1.116,
                "possession_lost": 2.4737,
                "duels_won": 0.2836,
                "duels_lost": 0.0823,
                "total_contest": 0.0007,
                "won_contest": 0.0007,
                "fouls": 0.0,
                "fouls_drawn": 0.0856,
                "total_own_half_passes": 19.9911,
                "accurate_own_half_passes": 18.926,
                "gk_engine_opponent_lambda": 1.4285,
                "shots_faced": 13.6,
                "expected_saves": 3.33,
                "high_pressure_saves": 1.14,
                "opponent_faced": "Toni Martínez, Lucas Boyé",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "defensive_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Toni Martínez, Lucas Boyé",
                  "matchup_zone": "Goalkeeper shot-stopping context",
                  "opponent_lambda": 1.4285
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 3 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "saves": 2.9746,
                "goals_prevented": -0.0295,
                "rating": 6.9186,
                "minutes": 86.05,
                "total_pass": 21.7774,
                "accurate_pass": 19.4954,
                "total_long_balls": 3.861,
                "accurate_long_balls": 1.8493,
                "touches": 33.1035,
                "clearances": 1.9411,
                "ball_recovery": 8.4189,
                "high_claims": 0.5526,
                "punches": 0.3048,
                "aerial_won": 0.2265,
                "sweeper_actions": 2.9793,
                "sweeper_accurate": 2.9793,
                "saves_inside_box": 1.116,
                "possession_lost": 2.4737,
                "duels_won": 0.2836,
                "duels_lost": 0.0823,
                "total_contest": 0.0007,
                "won_contest": 0.0007,
                "fouls": 0.0,
                "fouls_drawn": 0.0856,
                "total_own_half_passes": 19.9911,
                "accurate_own_half_passes": 18.926,
                "gk_engine_opponent_lambda": 1.4285,
                "shots_faced": 13.6,
                "expected_saves": 3.33,
                "high_pressure_saves": 1.14,
                "opponent_faced": "Toni Martínez, Lucas Boyé",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "defensive_duel",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 3
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 3.86 (squad xG sum 2.6208, xG scale 1.4740, xA scale 1.6297, team xA 2.51 = 0.65 x lambda)",
              "stats": {
                "saves": 2.9746,
                "goals_prevented": -0.0295,
                "rating": 6.9186,
                "minutes": 86.05,
                "total_pass": 21.7774,
                "accurate_pass": 19.4954,
                "total_long_balls": 3.861,
                "accurate_long_balls": 1.8493,
                "touches": 33.1035,
                "clearances": 1.9411,
                "ball_recovery": 8.4189,
                "high_claims": 0.5526,
                "punches": 0.3048,
                "aerial_won": 0.2265,
                "sweeper_actions": 2.9793,
                "sweeper_accurate": 2.9793,
                "saves_inside_box": 1.116,
                "possession_lost": 2.4737,
                "duels_won": 0.2836,
                "duels_lost": 0.0823,
                "total_contest": 0.0007,
                "won_contest": 0.0007,
                "fouls": 0.0,
                "fouls_drawn": 0.0856,
                "total_own_half_passes": 19.9911,
                "accurate_own_half_passes": 18.926,
                "gk_engine_opponent_lambda": 1.4285,
                "shots_faced": 12.2,
                "expected_saves": 2.98,
                "high_pressure_saves": 1.03,
                "opponent_faced": "Toni Martínez, Lucas Boyé",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "defensive_duel",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0
              },
              "params": {
                "team_lambda": 3.863,
                "squad_xg_sum": 2.6208,
                "squad_xa_sum": 1.5408,
                "team_expected_assists": 2.511,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.474,
                "xa_scale": 1.6297,
                "opponent_lambda": 1.288,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "shots_faced",
                  "before": 13.6,
                  "after": 12.2
                },
                {
                  "stat": "expected_saves",
                  "before": 3.33,
                  "after": 2.98
                },
                {
                  "stat": "high_pressure_saves",
                  "before": 1.14,
                  "after": 1.03
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 13 by projected rating, fifa_overall 86.0)",
              "stats": {
                "saves": 2.9746,
                "goals_prevented": -0.0295,
                "rating": 6.9186,
                "minutes": 86.05,
                "total_pass": 21.7774,
                "accurate_pass": 19.4954,
                "total_long_balls": 3.861,
                "accurate_long_balls": 1.8493,
                "touches": 33.1035,
                "clearances": 1.9411,
                "ball_recovery": 8.4189,
                "high_claims": 0.5526,
                "punches": 0.3048,
                "aerial_won": 0.2265,
                "sweeper_actions": 2.9793,
                "sweeper_accurate": 2.9793,
                "saves_inside_box": 1.116,
                "possession_lost": 2.4737,
                "duels_won": 0.2836,
                "duels_lost": 0.0823,
                "total_contest": 0.0007,
                "won_contest": 0.0007,
                "fouls": 0.0,
                "fouls_drawn": 0.0856,
                "total_own_half_passes": 19.9911,
                "accurate_own_half_passes": 18.926,
                "gk_engine_opponent_lambda": 1.4285,
                "shots_faced": 12.2,
                "expected_saves": 2.98,
                "high_pressure_saves": 1.03,
                "opponent_faced": "Toni Martínez, Lucas Boyé",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "defensive_duel",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "fifa_overall": 86.0
              },
              "params": {
                "match_squad_rank": 13,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 123,
                "fifa_rank": 89.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 86.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 3 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "saves": 2.9746,
                "goals_prevented": -0.0295,
                "rating": 6.9186,
                "minutes": 86.05,
                "total_pass": 21.7774,
                "accurate_pass": 19.4954,
                "total_long_balls": 3.861,
                "accurate_long_balls": 1.8493,
                "touches": 33.1035,
                "clearances": 1.9411,
                "ball_recovery": 8.4189,
                "high_claims": 0.5526,
                "punches": 0.3048,
                "aerial_won": 0.2265,
                "sweeper_actions": 2.9793,
                "sweeper_accurate": 2.9793,
                "saves_inside_box": 1.116,
                "possession_lost": 2.4737,
                "duels_won": 0.2836,
                "duels_lost": 0.0823,
                "total_contest": 0.0007,
                "won_contest": 0.0007,
                "fouls": 0.0,
                "fouls_drawn": 0.0856,
                "total_own_half_passes": 19.9911,
                "accurate_own_half_passes": 18.926,
                "gk_engine_opponent_lambda": 1.4285,
                "shots_faced": 12.2,
                "expected_saves": 2.98,
                "high_pressure_saves": 1.03,
                "opponent_faced": "Toni Martínez, Lucas Boyé",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "defensive_duel",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "fifa_overall": 86.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 3,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.0,
                "squad_weight_total": 4.4245,
                "weight_share": 0.0,
                "finishing_factor": 1.0,
                "appearance_weight": 1.0,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Raphinha",
                    "weight": 1.5149,
                    "already": 0,
                    "effective_weight": 1.5149,
                    "runner_up": "Lamine Yamal",
                    "runner_up_effective_weight": 1.1818
                  },
                  {
                    "n": 2,
                    "player": "Lamine Yamal",
                    "weight": 1.1818,
                    "already": 0,
                    "effective_weight": 1.1818,
                    "runner_up": "Raphinha",
                    "runner_up_effective_weight": 0.6446
                  },
                  {
                    "n": 3,
                    "player": "Raphinha",
                    "weight": 1.5149,
                    "already": 1,
                    "effective_weight": 0.6446,
                    "runner_up": "Lamine Yamal",
                    "runner_up_effective_weight": 0.5029
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 2 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "saves": 2.9746,
                "goals_prevented": -0.0295,
                "rating": 6.9186,
                "minutes": 86.05,
                "total_pass": 21.7774,
                "accurate_pass": 19.4954,
                "total_long_balls": 3.861,
                "accurate_long_balls": 1.8493,
                "touches": 33.1035,
                "clearances": 1.9411,
                "ball_recovery": 8.4189,
                "high_claims": 0.5526,
                "punches": 0.3048,
                "aerial_won": 0.2265,
                "sweeper_actions": 2.9793,
                "sweeper_accurate": 2.9793,
                "saves_inside_box": 1.116,
                "possession_lost": 2.4737,
                "duels_won": 0.2836,
                "duels_lost": 0.0823,
                "total_contest": 0.0007,
                "won_contest": 0.0007,
                "fouls": 0.0,
                "fouls_drawn": 0.0856,
                "total_own_half_passes": 19.9911,
                "accurate_own_half_passes": 18.926,
                "gk_engine_opponent_lambda": 1.4285,
                "shots_faced": 12.2,
                "expected_saves": 2.98,
                "high_pressure_saves": 1.03,
                "opponent_faced": "Toni Martínez, Lucas Boyé",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "defensive_duel",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "fifa_overall": 86.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 2,
                "assists_allocated": 0,
                "assist_probability": 0.0,
                "provider_weight": 0.0,
                "squad_weight_total": 2.7263,
                "weight_share": 0.0,
                "creation_factor": 1.0,
                "appearance_weight": 1.0,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Lamine Yamal",
                    "weight": 0.5086,
                    "already": 0,
                    "effective_weight": 0.5086,
                    "runner_up": "Pedri",
                    "runner_up_effective_weight": 0.3563
                  },
                  {
                    "n": 2,
                    "player": "Pedri",
                    "weight": 0.3563,
                    "already": 0,
                    "effective_weight": 0.3563,
                    "runner_up": "Fermín López",
                    "runner_up_effective_weight": 0.3049
                  }
                ]
              }
            }
          ]
        },
        "Brian Fariñas": {
          "player_id": 1544613,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 4,
          "height": 180,
          "market_value": 5500000,
          "stats": {
            "key_pass": 2,
            "assist_rate": 0.11,
            "assists": 0,
            "expected_assists": 0.2167,
            "expected_goals": 0.1291,
            "total_shots": 2,
            "total_pass": 51,
            "accurate_pass": 41,
            "ball_recovery": 5,
            "duels_won": 6,
            "rating": 6.9,
            "minutes": 90,
            "total_long_balls": 4,
            "accurate_long_balls": 2,
            "total_own_half_passes": 20,
            "accurate_own_half_passes": 16,
            "total_opp_half_passes": 19,
            "accurate_opp_half_passes": 14,
            "crosses_total": 1,
            "crosses_accurate": 1,
            "touches": 66,
            "possession_lost": 8.3,
            "dispossessed": 0.8,
            "duels_lost": 4,
            "aerial_won": 1,
            "aerial_lost": 1,
            "interceptions": 1,
            "tackles_won": 1,
            "tackles": 2,
            "clearances": 1,
            "total_contest": 4,
            "won_contest": 2,
            "challenges_lost": 1,
            "fouls": 2,
            "fouls_drawn": 1,
            "goal_rate": 0.0713,
            "goals": 0,
            "shots_on_target": 1,
            "shots_off_target": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0856,
            "ball_carries": 29,
            "total_progression": 77,
            "progressive_carries": 7,
            "duel_xg_multiplier": 1.0185,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.8,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.433,
            "pressing_faced": "LOW",
            "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
            "numerical_situation": "1v1",
            "opponent_defenders": "Pablo Ibáñez",
            "opponent_faced": "Pablo Ibáñez",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.1211,
            "projected_assists": 0,
            "assist_probability": 0.1948,
            "finishing_factor": 0.8815,
            "creation_factor": 0.8743,
            "fifa_overall": 83.0
          },
          "latest_10_games": [],
          "ranking": {
            "global_player_rank": 305,
            "combined_rank_score": 246.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": 0.0,
            "fifa_rank": 284.0,
            "fifa_overall": 83.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 14,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9,
            "source_file": "data/player_rankings.csv",
            "player_name": "Brian Fariñas",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Aurélien Tchouaméni",
                  "ranking": 300
                },
                {
                  "player_name": "Robert Lewandowski",
                  "ranking": 301
                },
                {
                  "player_name": "Matthijs de Ligt",
                  "ranking": 302
                },
                {
                  "player_name": "Rodrygo",
                  "ranking": 303
                },
                {
                  "player_name": "Aleksandar Šušnjar",
                  "ranking": 304
                }
              ],
              "lower": [
                {
                  "player_name": "Serge Gnabry",
                  "ranking": 306
                },
                {
                  "player_name": "Kyu-baek Choi",
                  "ranking": 307
                },
                {
                  "player_name": "Lorenzo Reyes",
                  "ranking": 308
                },
                {
                  "player_name": "Donyell Malen",
                  "ranking": 309
                },
                {
                  "player_name": "Josh Wilson-Esbrand",
                  "ranking": 310
                }
              ]
            }
          },
          "data_sources": [
            "market_value"
          ],
          "data_confidence": 0.25,
          "history_matches": 0,
          "xgboost_reasoning": {
            "model_source": "market_value_prior",
            "position_service": "M_service",
            "features_evaluated": [],
            "targets_predicted": [],
            "history_matches": 0,
            "data_confidence": 0.25,
            "data_sources": [
              "market_value"
            ],
            "market_value_adjustment": 0.4683,
            "fbref_prior_metrics": null,
            "rationale": "Market-value baseline (€5,500,000) applied for position M (quality factor 0.47)."
          },
          "stat_evolution": [
            {
              "step": "market_value_prior",
              "description": "Market-value baseline for position M (quality 0.47)",
              "stats": {
                "key_pass": 1.7,
                "assists": 0.11,
                "assist_rate": 0.11,
                "expected_assists": 0.133,
                "expected_goals": 0.086,
                "total_shots": 1.3,
                "total_pass": 51.0,
                "accurate_pass": 41.0,
                "ball_recovery": 5.1,
                "duels_won": 6.1,
                "rating": 6.9,
                "minutes": 90.0,
                "total_long_balls": 4.0,
                "accurate_long_balls": 2.0,
                "total_own_half_passes": 20.0,
                "accurate_own_half_passes": 16.0,
                "total_opp_half_passes": 19.0,
                "accurate_opp_half_passes": 14.0,
                "crosses_total": 1.3,
                "crosses_accurate": 0.6,
                "touches": 66.0,
                "possession_lost": 8.3,
                "dispossessed": 0.8,
                "duels_lost": 4.1,
                "aerial_won": 1.2,
                "aerial_lost": 1.0,
                "interceptions": 1.0,
                "tackles_won": 1.3,
                "tackles": 1.8,
                "clearances": 0.8,
                "total_contest": 3.9,
                "won_contest": 2.2,
                "challenges_lost": 1.1,
                "fouls": 1.5,
                "fouls_drawn": 1.1,
                "goals": 0.07,
                "goal_rate": 0.07,
                "shots_on_target": 0.6,
                "shots_off_target": 0.5,
                "blocks": 0.3,
                "big_chances_created": 0.1,
                "big_chances_missed": 0.06,
                "xgot": 0.057,
                "ball_carries": 29.0,
                "total_progression": 77.0,
                "progressive_carries": 7.0
              },
              "params": {
                "market_value_eur": 5500000,
                "quality_factor": 0.4683
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1.7,
                "assists": 0.11,
                "assist_rate": 0.11,
                "expected_assists": 0.133,
                "expected_goals": 0.086,
                "total_shots": 1.3,
                "total_pass": 51.0,
                "accurate_pass": 41.0,
                "ball_recovery": 5.1,
                "duels_won": 6.1,
                "rating": 6.9,
                "minutes": 90.0,
                "total_long_balls": 4.0,
                "accurate_long_balls": 2.0,
                "total_own_half_passes": 20.0,
                "accurate_own_half_passes": 16.0,
                "total_opp_half_passes": 19.0,
                "accurate_opp_half_passes": 14.0,
                "crosses_total": 1.3,
                "crosses_accurate": 0.6,
                "touches": 66.0,
                "possession_lost": 8.3,
                "dispossessed": 0.8,
                "duels_lost": 4.1,
                "aerial_won": 1.2,
                "aerial_lost": 1.0,
                "interceptions": 1.0,
                "tackles_won": 1.3,
                "tackles": 1.8,
                "clearances": 0.8,
                "total_contest": 3.9,
                "won_contest": 2.2,
                "challenges_lost": 1.1,
                "fouls": 1.5,
                "fouls_drawn": 1.1,
                "goals": 0.07,
                "goal_rate": 0.07,
                "shots_on_target": 0.6,
                "shots_off_target": 0.5,
                "blocks": 0.3,
                "big_chances_created": 0.1,
                "big_chances_missed": 0.06,
                "xgot": 0.057,
                "ball_carries": 29.0,
                "total_progression": 77.0,
                "progressive_carries": 7.0
              },
              "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.7,
                "assists": 0.11,
                "assist_rate": 0.11,
                "expected_assists": 0.133,
                "expected_goals": 0.0876,
                "total_shots": 1.324,
                "total_pass": 51.0,
                "accurate_pass": 41.0,
                "ball_recovery": 5.1,
                "duels_won": 6.1,
                "rating": 6.9,
                "minutes": 90.0,
                "total_long_balls": 4.0,
                "accurate_long_balls": 2.0,
                "total_own_half_passes": 20.0,
                "accurate_own_half_passes": 16.0,
                "total_opp_half_passes": 19.0,
                "accurate_opp_half_passes": 14.0,
                "crosses_total": 1.3,
                "crosses_accurate": 0.6,
                "touches": 66.0,
                "possession_lost": 8.3,
                "dispossessed": 0.8,
                "duels_lost": 4.1,
                "aerial_won": 1.1,
                "aerial_lost": 1.0,
                "interceptions": 1.0,
                "tackles_won": 1.3,
                "tackles": 1.8,
                "clearances": 0.8,
                "total_contest": 3.9,
                "won_contest": 2.2,
                "challenges_lost": 1.1,
                "fouls": 1.5,
                "fouls_drawn": 1.1,
                "goals": 0.0713,
                "goal_rate": 0.0713,
                "shots_on_target": 0.6111,
                "shots_off_target": 0.5092,
                "blocks": 0.3,
                "big_chances_created": 0.1,
                "big_chances_missed": 0.0611,
                "xgot": 0.0581,
                "ball_carries": 29.0,
                "total_progression": 77.0,
                "progressive_carries": 7.0,
                "duel_xg_multiplier": 1.0185,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.433,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pablo Ibáñez",
                "opponent_faced": "Pablo Ibáñez",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Pablo Ibáñez",
                  "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                  "duel_win_rate": 0.433,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 1.0185,
                  "skill_edge": 0.0086,
                  "height_edge": 0.004,
                  "attacker_skill": 0.4758,
                  "defender_skill": 0.4567,
                  "attacker_role": "CM",
                  "attacker_mv_price_index": 0.9,
                  "defender_adjusted_parts": [
                    {
                      "player": "Pablo Ibáñez",
                      "market_value": 4099999,
                      "role": "CM",
                      "price_index": 0.9,
                      "adjusted_quality": 0.4567
                    }
                  ],
                  "xg_override": 0.0876
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 1.2,
                  "after": 1.1
                },
                {
                  "stat": "totalShots",
                  "before": 1.3,
                  "after": 1.324
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.6,
                  "after": 0.6111
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.5,
                  "after": 0.5092
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 3 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 1.7,
                "assist_rate": 0.11,
                "assists": 0,
                "expected_assists": 0.133,
                "expected_goals": 0.0876,
                "total_shots": 1.324,
                "total_pass": 51.0,
                "accurate_pass": 41.0,
                "ball_recovery": 5.1,
                "duels_won": 6.1,
                "rating": 6.9,
                "minutes": 90.0,
                "total_long_balls": 4.0,
                "accurate_long_balls": 2.0,
                "total_own_half_passes": 20.0,
                "accurate_own_half_passes": 16.0,
                "total_opp_half_passes": 19.0,
                "accurate_opp_half_passes": 14.0,
                "crosses_total": 1.3,
                "crosses_accurate": 0.6,
                "touches": 66.0,
                "possession_lost": 8.3,
                "dispossessed": 0.8,
                "duels_lost": 4.1,
                "aerial_won": 1.1,
                "aerial_lost": 1.0,
                "interceptions": 1.0,
                "tackles_won": 1.3,
                "tackles": 1.8,
                "clearances": 0.8,
                "total_contest": 3.9,
                "won_contest": 2.2,
                "challenges_lost": 1.1,
                "fouls": 1.5,
                "fouls_drawn": 1.1,
                "goal_rate": 0.0713,
                "goals": 0,
                "shots_on_target": 0.6111,
                "shots_off_target": 0.5092,
                "blocks": 0.3,
                "big_chances_created": 0.1,
                "big_chances_missed": 0.0611,
                "xgot": 0.0581,
                "ball_carries": 29.0,
                "total_progression": 77.0,
                "progressive_carries": 7.0,
                "duel_xg_multiplier": 1.0185,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.433,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pablo Ibáñez",
                "opponent_faced": "Pablo Ibáñez",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 3
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 3.86 (squad xG sum 2.6208, xG scale 1.4740, xA scale 1.6297, team xA 2.51 = 0.65 x lambda)",
              "stats": {
                "key_pass": 1.7,
                "assist_rate": 0.11,
                "assists": 0,
                "expected_assists": 0.2167,
                "expected_goals": 0.1291,
                "total_shots": 1.324,
                "total_pass": 51.0,
                "accurate_pass": 41.0,
                "ball_recovery": 5.1,
                "duels_won": 6.1,
                "rating": 6.9,
                "minutes": 90.0,
                "total_long_balls": 4.0,
                "accurate_long_balls": 2.0,
                "total_own_half_passes": 20.0,
                "accurate_own_half_passes": 16.0,
                "total_opp_half_passes": 19.0,
                "accurate_opp_half_passes": 14.0,
                "crosses_total": 1.3,
                "crosses_accurate": 0.6,
                "touches": 66.0,
                "possession_lost": 8.3,
                "dispossessed": 0.8,
                "duels_lost": 4.1,
                "aerial_won": 1.1,
                "aerial_lost": 1.0,
                "interceptions": 1.0,
                "tackles_won": 1.3,
                "tackles": 1.8,
                "clearances": 0.8,
                "total_contest": 3.9,
                "won_contest": 2.2,
                "challenges_lost": 1.1,
                "fouls": 1.5,
                "fouls_drawn": 1.1,
                "goal_rate": 0.0713,
                "goals": 0,
                "shots_on_target": 0.6111,
                "shots_off_target": 0.5092,
                "blocks": 0.3,
                "big_chances_created": 0.1,
                "big_chances_missed": 0.0611,
                "xgot": 0.0856,
                "ball_carries": 29.0,
                "total_progression": 77.0,
                "progressive_carries": 7.0,
                "duel_xg_multiplier": 1.0185,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.433,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pablo Ibáñez",
                "opponent_faced": "Pablo Ibáñez",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8815,
                "creation_factor": 0.8743
              },
              "params": {
                "team_lambda": 3.863,
                "squad_xg_sum": 2.6208,
                "squad_xa_sum": 1.5408,
                "team_expected_assists": 2.511,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.474,
                "xa_scale": 1.6297,
                "opponent_lambda": 1.288,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0876,
                  "after": 0.1291
                },
                {
                  "stat": "expected_assists",
                  "before": 0.133,
                  "after": 0.2167
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 14 by projected rating, fifa_overall 83.0)",
              "stats": {
                "key_pass": 1.7,
                "assist_rate": 0.11,
                "assists": 0,
                "expected_assists": 0.2167,
                "expected_goals": 0.1291,
                "total_shots": 1.324,
                "total_pass": 51.0,
                "accurate_pass": 41.0,
                "ball_recovery": 5.1,
                "duels_won": 6.1,
                "rating": 6.9,
                "minutes": 90.0,
                "total_long_balls": 4.0,
                "accurate_long_balls": 2.0,
                "total_own_half_passes": 20.0,
                "accurate_own_half_passes": 16.0,
                "total_opp_half_passes": 19.0,
                "accurate_opp_half_passes": 14.0,
                "crosses_total": 1.3,
                "crosses_accurate": 0.6,
                "touches": 66.0,
                "possession_lost": 8.3,
                "dispossessed": 0.8,
                "duels_lost": 4.1,
                "aerial_won": 1.1,
                "aerial_lost": 1.0,
                "interceptions": 1.0,
                "tackles_won": 1.3,
                "tackles": 1.8,
                "clearances": 0.8,
                "total_contest": 3.9,
                "won_contest": 2.2,
                "challenges_lost": 1.1,
                "fouls": 1.5,
                "fouls_drawn": 1.1,
                "goal_rate": 0.0713,
                "goals": 0,
                "shots_on_target": 0.6111,
                "shots_off_target": 0.5092,
                "blocks": 0.3,
                "big_chances_created": 0.1,
                "big_chances_missed": 0.0611,
                "xgot": 0.0856,
                "ball_carries": 29.0,
                "total_progression": 77.0,
                "progressive_carries": 7.0,
                "duel_xg_multiplier": 1.0185,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.433,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pablo Ibáñez",
                "opponent_faced": "Pablo Ibáñez",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8815,
                "creation_factor": 0.8743,
                "fifa_overall": 83.0
              },
              "params": {
                "match_squad_rank": 14,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 305,
                "fifa_rank": 284.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 83.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 3 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 1.7,
                "assist_rate": 0.11,
                "assists": 0,
                "expected_assists": 0.2167,
                "expected_goals": 0.1291,
                "total_shots": 1.324,
                "total_pass": 51.0,
                "accurate_pass": 41.0,
                "ball_recovery": 5.1,
                "duels_won": 6.1,
                "rating": 6.9,
                "minutes": 90.0,
                "total_long_balls": 4.0,
                "accurate_long_balls": 2.0,
                "total_own_half_passes": 20.0,
                "accurate_own_half_passes": 16.0,
                "total_opp_half_passes": 19.0,
                "accurate_opp_half_passes": 14.0,
                "crosses_total": 1.3,
                "crosses_accurate": 0.6,
                "touches": 66.0,
                "possession_lost": 8.3,
                "dispossessed": 0.8,
                "duels_lost": 4.1,
                "aerial_won": 1.1,
                "aerial_lost": 1.0,
                "interceptions": 1.0,
                "tackles_won": 1.3,
                "tackles": 1.8,
                "clearances": 0.8,
                "total_contest": 3.9,
                "won_contest": 2.2,
                "challenges_lost": 1.1,
                "fouls": 1.5,
                "fouls_drawn": 1.1,
                "goal_rate": 0.0713,
                "goals": 0,
                "shots_on_target": 0.6111,
                "shots_off_target": 0.5092,
                "blocks": 0.3,
                "big_chances_created": 0.1,
                "big_chances_missed": 0.0611,
                "xgot": 0.0856,
                "ball_carries": 29.0,
                "total_progression": 77.0,
                "progressive_carries": 7.0,
                "duel_xg_multiplier": 1.0185,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.433,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pablo Ibáñez",
                "opponent_faced": "Pablo Ibáñez",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1211,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8815,
                "creation_factor": 0.8743,
                "fifa_overall": 83.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 3,
                "goals_allocated": 0,
                "goal_probability": 0.1211,
                "goal_rate": 0.0713,
                "scorer_weight": 0.1138,
                "squad_weight_total": 4.4245,
                "weight_share": 0.0257,
                "finishing_factor": 0.8815,
                "appearance_weight": 1.0,
                "weight_rank": 9,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Raphinha",
                    "weight": 1.5149,
                    "already": 0,
                    "effective_weight": 1.5149,
                    "runner_up": "Lamine Yamal",
                    "runner_up_effective_weight": 1.1818
                  },
                  {
                    "n": 2,
                    "player": "Lamine Yamal",
                    "weight": 1.1818,
                    "already": 0,
                    "effective_weight": 1.1818,
                    "runner_up": "Raphinha",
                    "runner_up_effective_weight": 0.6446
                  },
                  {
                    "n": 3,
                    "player": "Raphinha",
                    "weight": 1.5149,
                    "already": 1,
                    "effective_weight": 0.6446,
                    "runner_up": "Lamine Yamal",
                    "runner_up_effective_weight": 0.5029
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 2 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "key_pass": 1.7,
                "assist_rate": 0.11,
                "assists": 0,
                "expected_assists": 0.2167,
                "expected_goals": 0.1291,
                "total_shots": 1.324,
                "total_pass": 51.0,
                "accurate_pass": 41.0,
                "ball_recovery": 5.1,
                "duels_won": 6.1,
                "rating": 6.9,
                "minutes": 90.0,
                "total_long_balls": 4.0,
                "accurate_long_balls": 2.0,
                "total_own_half_passes": 20.0,
                "accurate_own_half_passes": 16.0,
                "total_opp_half_passes": 19.0,
                "accurate_opp_half_passes": 14.0,
                "crosses_total": 1.3,
                "crosses_accurate": 0.6,
                "touches": 66.0,
                "possession_lost": 8.3,
                "dispossessed": 0.8,
                "duels_lost": 4.1,
                "aerial_won": 1.1,
                "aerial_lost": 1.0,
                "interceptions": 1.0,
                "tackles_won": 1.3,
                "tackles": 1.8,
                "clearances": 0.8,
                "total_contest": 3.9,
                "won_contest": 2.2,
                "challenges_lost": 1.1,
                "fouls": 1.5,
                "fouls_drawn": 1.1,
                "goal_rate": 0.0713,
                "goals": 0,
                "shots_on_target": 0.6111,
                "shots_off_target": 0.5092,
                "blocks": 0.3,
                "big_chances_created": 0.1,
                "big_chances_missed": 0.0611,
                "xgot": 0.0856,
                "ball_carries": 29.0,
                "total_progression": 77.0,
                "progressive_carries": 7.0,
                "duel_xg_multiplier": 1.0185,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.433,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pablo Ibáñez",
                "opponent_faced": "Pablo Ibáñez",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1211,
                "projected_assists": 0,
                "assist_probability": 0.1948,
                "finishing_factor": 0.8815,
                "creation_factor": 0.8743,
                "fifa_overall": 83.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 2,
                "assists_allocated": 0,
                "assist_probability": 0.1948,
                "assist_rate": 0.11,
                "provider_weight": 0.1895,
                "squad_weight_total": 2.7263,
                "weight_share": 0.0695,
                "creation_factor": 0.8743,
                "appearance_weight": 1.0,
                "weight_rank": 8,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Lamine Yamal",
                    "weight": 0.5086,
                    "already": 0,
                    "effective_weight": 0.5086,
                    "runner_up": "Pedri",
                    "runner_up_effective_weight": 0.3563
                  },
                  {
                    "n": 2,
                    "player": "Pedri",
                    "weight": 0.3563,
                    "already": 0,
                    "effective_weight": 0.3563,
                    "runner_up": "Fermín López",
                    "runner_up_effective_weight": 0.3049
                  }
                ]
              }
            }
          ]
        },
        "Pau Cubarsí": {
          "player_id": 1402913,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 5,
          "height": 184,
          "market_value": 94000000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 5,
            "aerial_won": 3,
            "total_shots": 0,
            "rating": 6.9984,
            "minutes": 87,
            "total_pass": 94,
            "accurate_pass": 90,
            "duels_won": 5,
            "total_long_balls": 4,
            "accurate_long_balls": 2,
            "total_own_half_passes": 55,
            "accurate_own_half_passes": 53,
            "total_opp_half_passes": 39,
            "accurate_opp_half_passes": 36,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 105,
            "possession_lost": 5.4065,
            "dispossessed": 0.0485,
            "duels_lost": 3,
            "aerial_lost": 1,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 3,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0081,
            "goals": 0,
            "assist_rate": 0.2563,
            "assists": 0,
            "expected_goals": 0.0454,
            "expected_assists": 0.1569,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.005,
            "ball_carries": 35,
            "total_progression": 166,
            "progressive_carries": 2,
            "key_pass": 0,
            "shots_off_target": 0,
            "tackles_in_zone": 1.2,
            "tackles_won_in_zone": 1.1,
            "interceptions_in_zone": 1.4,
            "clearances_in_zone": 1.2,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.82,
            "opponent_faced": "Lucas Boyé",
            "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.0444,
            "projected_assists": 0,
            "assist_probability": 0.1452,
            "finishing_factor": 0.8,
            "creation_factor": 1.25,
            "fifa_overall": 86.0
          },
          "latest_10_games": [
            {
              "match_id": 16421080,
              "match_date": "2026-10-25",
              "home_team": "FC Barcelona",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0154,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "total_pass": 78,
                "accurate_pass": 73,
                "tackles": 1,
                "tackles_won": 0,
                "interceptions": 2,
                "clearances": 2,
                "aerial_won": 3,
                "duels_won": 5,
                "ball_recovery": 4,
                "saves": 0
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421068,
              "match_date": "2026-10-17",
              "home_team": "Real Betis",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 8.3,
                "assist_rate": 2.0,
                "assists": 2,
                "expected_assists": 0.6132,
                "total_shots": 0,
                "total_pass": 109,
                "accurate_pass": 106,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 2,
                "aerial_won": 5,
                "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": 16416349,
              "match_date": "2026-09-19",
              "home_team": "Sevilla",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0145,
                "expected_assists": 0.0155,
                "total_shots": 1,
                "total_pass": 97,
                "accurate_pass": 90,
                "interceptions": 1,
                "clearances": 3,
                "aerial_won": 5,
                "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": 16416329,
              "match_date": "2026-09-13",
              "home_team": "Levante UD",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 7.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0195,
                "total_shots": 0,
                "total_pass": 114,
                "accurate_pass": 109,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 2,
                "clearances": 6,
                "aerial_won": 5,
                "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": 16416325,
              "match_date": "2026-09-06",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Valencia",
              "stats": {
                "minutes": 62,
                "rating": 7.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0194,
                "total_shots": 0,
                "total_pass": 56,
                "accurate_pass": 55,
                "tackles": 1,
                "interceptions": 2,
                "clearances": 3,
                "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": 16416295,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0642,
                "expected_assists": 0.023,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 110,
                "accurate_pass": 100,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 6,
                "aerial_won": 3,
                "duels_won": 5,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421059,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 8.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3941,
                "expected_assists": 0.0375,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 107,
                "accurate_pass": 102,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 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.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.013,
                "total_shots": 0,
                "total_pass": 59,
                "accurate_pass": 57,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 4,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083562,
              "match_date": "2026-05-10",
              "home_team": "FC Barcelona",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0061,
                "total_shots": 0,
                "total_pass": 77,
                "accurate_pass": 75,
                "tackles": 2,
                "interceptions": 1,
                "clearances": 7,
                "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": 14083495,
              "match_date": "2026-05-02",
              "home_team": "Osasuna",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0214,
                "total_shots": 0,
                "total_pass": 82,
                "accurate_pass": 79,
                "tackles": 3,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 13,
                "aerial_won": 2,
                "duels_won": 5,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 57,
            "combined_rank_score": 69.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 62.0,
            "sofascore_rating": 7.65,
            "sofascore_appearances": 2.0,
            "fifa_rank": 76.0,
            "fifa_overall": 86.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 10,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9984,
            "source_file": "data/player_rankings.csv",
            "player_name": "Pau Cubarsí",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Matheus Frizzo",
                  "ranking": 52
                },
                {
                  "player_name": "Florian Wirtz",
                  "ranking": 53
                },
                {
                  "player_name": "Martín Zubimendi",
                  "ranking": 54
                },
                {
                  "player_name": "Luan Dias",
                  "ranking": 55
                },
                {
                  "player_name": "César Yanis",
                  "ranking": 56
                }
              ],
              "lower": [
                {
                  "player_name": "Declan Rice",
                  "ranking": 58
                },
                {
                  "player_name": "Frenkie de Jong",
                  "ranking": 59
                },
                {
                  "player_name": "Lucas Paquetá",
                  "ranking": 60
                },
                {
                  "player_name": "Rúben Dias",
                  "ranking": 61
                },
                {
                  "player_name": "Luis Díaz",
                  "ranking": 62
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.77,
          "history_matches": 38,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "totalTackle",
              "totalShots",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 38,
            "data_confidence": 0.77,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0135,
            "fbref_prior_metrics": {
              "squad": "Barcelona",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 2.0,
              "minutes": 180.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 1.0,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.1333
            },
            "rationale": "XGBoost regressor (D_service) evaluated 38 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Barcelona, rel: 0.13, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1.1553,
                "tackles": 1.2054,
                "tackles_won": 0.7184,
                "clearances": 4.6324,
                "aerial_won": 2.7651,
                "total_shots": 0.4183,
                "rating": 6.9984,
                "minutes": 86.55,
                "total_pass": 92.9571,
                "accurate_pass": 88.3531,
                "duels_won": 4.6857,
                "total_long_balls": 3.5876,
                "accurate_long_balls": 2.0294,
                "total_own_half_passes": 54.5312,
                "accurate_own_half_passes": 52.5377,
                "total_opp_half_passes": 38.4258,
                "accurate_opp_half_passes": 35.8153,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 103.4747,
                "possession_lost": 5.3345,
                "dispossessed": 0.0479,
                "duels_lost": 2.6133,
                "aerial_lost": 1.0791,
                "total_contest": 0.151,
                "won_contest": 0.0007,
                "ball_recovery": 3.1651,
                "challenges_lost": 0.622,
                "fouls": 0.7249,
                "fouls_drawn": 0.3197,
                "blocks": 0.3752,
                "goals": 0.0081,
                "goal_rate": 0.0081,
                "assists": 0.2555,
                "assist_rate": 0.2555,
                "expected_goals": 0.0304,
                "expected_assists": 0.095,
                "shots_on_target": 0.0149,
                "big_chances_created": 0.1285,
                "xgot": 0.0034,
                "ball_carries": 35.0141,
                "total_progression": 163.3014,
                "progressive_carries": 1.657,
                "key_pass": 0.2808,
                "shots_off_target": 0.4034
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-31T10:29:25.210665+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 626,
                    "rows": 22004
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-25",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1503,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-10-17",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1278,
                    "rating": 8.3
                  },
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1086,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0923,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Valencia",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.0785,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 8.0
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Deportivo Alavés",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.041,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 7.4
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 4.3638,
                  "aerialWon": 3.0666,
                  "totalClearance_p90": 4.5597,
                  "totalTackle": 1.2986,
                  "totalPass": 92.9571
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 1.1553128957748413,
                    "model_output": 1.1553,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2977
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0446
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0318
                      },
                      {
                        "name": "touches",
                        "importance": 0.0281
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0208
                      }
                    ],
                    "decomposition": {
                      "base": 0.8678,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1181
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0914
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0214
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0179
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0114
                        }
                      ],
                      "others": 0.0273,
                      "total": 1.1553,
                      "log_link": true,
                      "margin_base": -0.141777,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.127631
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.088613
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.019698
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.016202
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.010172
                        }
                      ],
                      "others_margin": 0.023832
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.2053704261779785,
                    "model_output": 1.2054,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2493
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0731
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0475
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0414
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.0245
                      }
                    ],
                    "decomposition": {
                      "base": 1.3878,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1685
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0631
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0525
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0468
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0373
                        }
                      ],
                      "others": -0.1512,
                      "total": 1.2054,
                      "log_link": true,
                      "margin_base": 0.327722,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.114577
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": -0.041373
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.035788
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.033029
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.027099
                        }
                      ],
                      "others_margin": -0.118222
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.7184002995491028,
                    "model_output": 0.7184,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1966
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0678
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0471
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0406
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0252
                      }
                    ],
                    "decomposition": {
                      "base": 0.8471,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1001
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0482
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0422
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0284
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0213
                        }
                      ],
                      "others": -0.0887,
                      "total": 0.7184,
                      "log_link": true,
                      "margin_base": -0.165887,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.111688
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.052225
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.048058
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": -0.033691
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.025999
                        }
                      ],
                      "others_margin": -0.116557
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 4.632399559020996,
                    "model_output": 4.6324,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2929
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1447
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.1031
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0342
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0223
                      }
                    ],
                    "decomposition": {
                      "base": 3.4227,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": 0.3897
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4078
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.2695
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.2024
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.1092
                        }
                      ],
                      "others": 0.0495,
                      "total": 4.6324,
                      "log_link": true,
                      "margin_base": 1.230438,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": 0.107832
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.101617
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.06191
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.044102
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.023558
                        }
                      ],
                      "others_margin": 0.010734
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 2.765108823776245,
                    "model_output": 2.7651,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1591
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1548
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0782
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0406
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 1.3743,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": 0.7037
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.211
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.174
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.1161
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0895
                        }
                      ],
                      "others": 0.0965,
                      "total": 2.7651,
                      "log_link": true,
                      "margin_base": 0.31798,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": 0.413458
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.09671
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.073276
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.046042
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.034098
                        }
                      ],
                      "others_margin": 0.035515
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.41833582520484924,
                    "model_output": 0.4183,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1011
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0687
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0377
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0308
                      },
                      {
                        "name": "rating",
                        "importance": 0.0275
                      }
                    ],
                    "decomposition": {
                      "base": 0.4801,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0725
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0264
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0245
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0217
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0216
                        }
                      ],
                      "others": -0.0403,
                      "total": 0.4183,
                      "log_link": false,
                      "margin_base": 0.48008,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.072507
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.026437
                        },
                        {
                          "name": "rating",
                          "margin": 0.024451
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.021682
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.021605
                        }
                      ],
                      "others_margin": -0.040203
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.998391628265381,
                    "model_output": 6.9984,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0922
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0582
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0462
                      },
                      {
                        "name": "rating",
                        "importance": 0.0313
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0279
                      }
                    ],
                    "decomposition": {
                      "base": 6.7972,
                      "items": [
                        {
                          "name": "totalPass",
                          "contribution": 0.1951
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0893
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0423
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0261
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0232
                        }
                      ],
                      "others": 0.0502,
                      "total": 6.9984,
                      "log_link": false,
                      "margin_base": 6.797222,
                      "item_margins": [
                        {
                          "name": "totalPass",
                          "margin": 0.195077
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.089279
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.04229
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.026092
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.023246
                        }
                      ],
                      "others_margin": 0.050236
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 38,
                  "role_matches": 38,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0135, quality 0.891)",
              "stats": {
                "interceptions": 1.1709,
                "tackles": 1.2216,
                "tackles_won": 0.7281,
                "clearances": 4.6949,
                "aerial_won": 2.8024,
                "total_shots": 0.424,
                "rating": 6.9984,
                "minutes": 86.55,
                "total_pass": 94.212,
                "accurate_pass": 89.5459,
                "duels_won": 4.749,
                "total_long_balls": 3.636,
                "accurate_long_balls": 2.0568,
                "total_own_half_passes": 55.2674,
                "accurate_own_half_passes": 53.247,
                "total_opp_half_passes": 38.9445,
                "accurate_opp_half_passes": 36.2988,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 104.8716,
                "possession_lost": 5.4065,
                "dispossessed": 0.0485,
                "duels_lost": 2.6486,
                "aerial_lost": 1.0937,
                "total_contest": 0.153,
                "won_contest": 0.0007,
                "ball_recovery": 3.2078,
                "challenges_lost": 0.6304,
                "fouls": 0.7347,
                "fouls_drawn": 0.324,
                "blocks": 0.3803,
                "goals": 0.0082,
                "goal_rate": 0.0082,
                "assists": 0.2589,
                "assist_rate": 0.2589,
                "expected_goals": 0.0308,
                "expected_assists": 0.0963,
                "shots_on_target": 0.0151,
                "big_chances_created": 0.1302,
                "xgot": 0.0034,
                "ball_carries": 35.4868,
                "total_progression": 165.506,
                "progressive_carries": 1.6794,
                "key_pass": 0.2846,
                "shots_off_target": 0.4088
              },
              "params": {
                "market_value_eur": 94000000,
                "quality_factor": 0.891,
                "boost_factor": 1.0135,
                "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.0101)",
              "stats": {
                "interceptions": 1.1639,
                "tackles": 1.2216,
                "tackles_won": 0.7353,
                "clearances": 4.6949,
                "aerial_won": 2.8024,
                "total_shots": 0.4294,
                "rating": 6.9984,
                "minutes": 86.55,
                "total_pass": 94.212,
                "accurate_pass": 89.5459,
                "duels_won": 4.749,
                "total_long_balls": 3.636,
                "accurate_long_balls": 2.0568,
                "total_own_half_passes": 55.2674,
                "accurate_own_half_passes": 53.247,
                "total_opp_half_passes": 38.9445,
                "accurate_opp_half_passes": 36.2988,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 104.8716,
                "possession_lost": 5.4065,
                "dispossessed": 0.0485,
                "duels_lost": 2.6486,
                "aerial_lost": 1.0937,
                "total_contest": 0.153,
                "won_contest": 0.0007,
                "ball_recovery": 3.2078,
                "challenges_lost": 0.6304,
                "fouls": 0.7321,
                "fouls_drawn": 0.3256,
                "blocks": 0.3803,
                "goals": 0.0081,
                "goal_rate": 0.0081,
                "assists": 0.2563,
                "assist_rate": 0.2563,
                "expected_goals": 0.0308,
                "expected_assists": 0.0963,
                "shots_on_target": 0.0149,
                "big_chances_created": 0.1302,
                "xgot": 0.0034,
                "ball_carries": 35.4868,
                "total_progression": 165.506,
                "progressive_carries": 1.6794,
                "key_pass": 0.2846,
                "shots_off_target": 0.4088
              },
              "params": {
                "blend_weight": 0.0101,
                "history_matches": 38,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9617,
                "prior_reliability": 0.1333,
                "competition": "La Liga",
                "squad": "Barcelona"
              },
              "changes": [
                {
                  "stat": "wonTackle",
                  "before": 0.7281,
                  "after": 0.7353
                },
                {
                  "stat": "interceptionWon",
                  "before": 1.1709,
                  "after": 1.1639
                },
                {
                  "stat": "totalShots",
                  "before": 0.424,
                  "after": 0.4294
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1.1639,
                "tackles": 1.2216,
                "tackles_won": 0.7353,
                "clearances": 4.6949,
                "aerial_won": 2.8024,
                "total_shots": 0.4294,
                "rating": 6.9984,
                "minutes": 86.55,
                "total_pass": 94.212,
                "accurate_pass": 89.5459,
                "duels_won": 4.749,
                "total_long_balls": 3.636,
                "accurate_long_balls": 2.0568,
                "total_own_half_passes": 55.2674,
                "accurate_own_half_passes": 53.247,
                "total_opp_half_passes": 38.9445,
                "accurate_opp_half_passes": 36.2988,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 104.8716,
                "possession_lost": 5.4065,
                "dispossessed": 0.0485,
                "duels_lost": 2.6486,
                "aerial_lost": 1.0937,
                "total_contest": 0.153,
                "won_contest": 0.0007,
                "ball_recovery": 3.2078,
                "challenges_lost": 0.6304,
                "fouls": 0.7321,
                "fouls_drawn": 0.3256,
                "blocks": 0.3803,
                "goals": 0.0081,
                "goal_rate": 0.0081,
                "assists": 0.2563,
                "assist_rate": 0.2563,
                "expected_goals": 0.0308,
                "expected_assists": 0.0963,
                "shots_on_target": 0.0149,
                "big_chances_created": 0.1302,
                "xgot": 0.0034,
                "ball_carries": 35.4868,
                "total_progression": 165.506,
                "progressive_carries": 1.6794,
                "key_pass": 0.2846,
                "shots_off_target": 0.4088
              },
              "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.1639,
                "tackles": 1.2216,
                "tackles_won": 0.7353,
                "clearances": 4.6949,
                "aerial_won": 2.8024,
                "total_shots": 0.4294,
                "rating": 6.9984,
                "minutes": 86.55,
                "total_pass": 94.212,
                "accurate_pass": 89.5459,
                "duels_won": 4.749,
                "total_long_balls": 3.636,
                "accurate_long_balls": 2.0568,
                "total_own_half_passes": 55.2674,
                "accurate_own_half_passes": 53.247,
                "total_opp_half_passes": 38.9445,
                "accurate_opp_half_passes": 36.2988,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 104.8716,
                "possession_lost": 5.4065,
                "dispossessed": 0.0485,
                "duels_lost": 2.6486,
                "aerial_lost": 1.0937,
                "total_contest": 0.153,
                "won_contest": 0.0007,
                "ball_recovery": 3.2078,
                "challenges_lost": 0.6304,
                "fouls": 0.7321,
                "fouls_drawn": 0.3256,
                "blocks": 0.3803,
                "goals": 0.0081,
                "goal_rate": 0.0081,
                "assists": 0.2563,
                "assist_rate": 0.2563,
                "expected_goals": 0.0308,
                "expected_assists": 0.0963,
                "shots_on_target": 0.0149,
                "big_chances_created": 0.1302,
                "xgot": 0.0034,
                "ball_carries": 35.4868,
                "total_progression": 165.506,
                "progressive_carries": 1.6794,
                "key_pass": 0.2846,
                "shots_off_target": 0.4088,
                "tackles_in_zone": 1.2,
                "tackles_won_in_zone": 1.1,
                "interceptions_in_zone": 1.4,
                "clearances_in_zone": 1.2,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Lucas Boyé",
                "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": "Lucas Boyé",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle"
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 3 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "interceptions": 1.1639,
                "tackles": 1.2216,
                "tackles_won": 0.7353,
                "clearances": 4.6949,
                "aerial_won": 2.8024,
                "total_shots": 0.4294,
                "rating": 6.9984,
                "minutes": 86.55,
                "total_pass": 94.212,
                "accurate_pass": 89.5459,
                "duels_won": 4.749,
                "total_long_balls": 3.636,
                "accurate_long_balls": 2.0568,
                "total_own_half_passes": 55.2674,
                "accurate_own_half_passes": 53.247,
                "total_opp_half_passes": 38.9445,
                "accurate_opp_half_passes": 36.2988,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 104.8716,
                "possession_lost": 5.4065,
                "dispossessed": 0.0485,
                "duels_lost": 2.6486,
                "aerial_lost": 1.0937,
                "total_contest": 0.153,
                "won_contest": 0.0007,
                "ball_recovery": 3.2078,
                "challenges_lost": 0.6304,
                "fouls": 0.7321,
                "fouls_drawn": 0.3256,
                "blocks": 0.3803,
                "goal_rate": 0.0081,
                "goals": 0,
                "assist_rate": 0.2563,
                "assists": 0,
                "expected_goals": 0.0308,
                "expected_assists": 0.0963,
                "shots_on_target": 0.0149,
                "big_chances_created": 0.1302,
                "xgot": 0.0034,
                "ball_carries": 35.4868,
                "total_progression": 165.506,
                "progressive_carries": 1.6794,
                "key_pass": 0.2846,
                "shots_off_target": 0.4088,
                "tackles_in_zone": 1.2,
                "tackles_won_in_zone": 1.1,
                "interceptions_in_zone": 1.4,
                "clearances_in_zone": 1.2,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Lucas Boyé",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 3
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 3.86 (squad xG sum 2.6208, xG scale 1.4740, xA scale 1.6297, team xA 2.51 = 0.65 x lambda)",
              "stats": {
                "interceptions": 1.1639,
                "tackles": 1.2216,
                "tackles_won": 0.7353,
                "clearances": 4.6949,
                "aerial_won": 2.8024,
                "total_shots": 0.4294,
                "rating": 6.9984,
                "minutes": 86.55,
                "total_pass": 94.212,
                "accurate_pass": 89.5459,
                "duels_won": 4.749,
                "total_long_balls": 3.636,
                "accurate_long_balls": 2.0568,
                "total_own_half_passes": 55.2674,
                "accurate_own_half_passes": 53.247,
                "total_opp_half_passes": 38.9445,
                "accurate_opp_half_passes": 36.2988,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 104.8716,
                "possession_lost": 5.4065,
                "dispossessed": 0.0485,
                "duels_lost": 2.6486,
                "aerial_lost": 1.0937,
                "total_contest": 0.153,
                "won_contest": 0.0007,
                "ball_recovery": 3.2078,
                "challenges_lost": 0.6304,
                "fouls": 0.7321,
                "fouls_drawn": 0.3256,
                "blocks": 0.3803,
                "goal_rate": 0.0081,
                "goals": 0,
                "assist_rate": 0.2563,
                "assists": 0,
                "expected_goals": 0.0454,
                "expected_assists": 0.1569,
                "shots_on_target": 0.0149,
                "big_chances_created": 0.1302,
                "xgot": 0.005,
                "ball_carries": 35.4868,
                "total_progression": 165.506,
                "progressive_carries": 1.6794,
                "key_pass": 0.2846,
                "shots_off_target": 0.4088,
                "tackles_in_zone": 1.2,
                "tackles_won_in_zone": 1.1,
                "interceptions_in_zone": 1.4,
                "clearances_in_zone": 1.2,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Lucas Boyé",
                "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": 3.863,
                "squad_xg_sum": 2.6208,
                "squad_xa_sum": 1.5408,
                "team_expected_assists": 2.511,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.474,
                "xa_scale": 1.6297,
                "opponent_lambda": 1.288,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0308,
                  "after": 0.0454
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0963,
                  "after": 0.1569
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 10 by projected rating, fifa_overall 86.0)",
              "stats": {
                "interceptions": 1.1639,
                "tackles": 1.2216,
                "tackles_won": 0.7353,
                "clearances": 4.6949,
                "aerial_won": 2.8024,
                "total_shots": 0.4294,
                "rating": 6.9984,
                "minutes": 86.55,
                "total_pass": 94.212,
                "accurate_pass": 89.5459,
                "duels_won": 4.749,
                "total_long_balls": 3.636,
                "accurate_long_balls": 2.0568,
                "total_own_half_passes": 55.2674,
                "accurate_own_half_passes": 53.247,
                "total_opp_half_passes": 38.9445,
                "accurate_opp_half_passes": 36.2988,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 104.8716,
                "possession_lost": 5.4065,
                "dispossessed": 0.0485,
                "duels_lost": 2.6486,
                "aerial_lost": 1.0937,
                "total_contest": 0.153,
                "won_contest": 0.0007,
                "ball_recovery": 3.2078,
                "challenges_lost": 0.6304,
                "fouls": 0.7321,
                "fouls_drawn": 0.3256,
                "blocks": 0.3803,
                "goal_rate": 0.0081,
                "goals": 0,
                "assist_rate": 0.2563,
                "assists": 0,
                "expected_goals": 0.0454,
                "expected_assists": 0.1569,
                "shots_on_target": 0.0149,
                "big_chances_created": 0.1302,
                "xgot": 0.005,
                "ball_carries": 35.4868,
                "total_progression": 165.506,
                "progressive_carries": 1.6794,
                "key_pass": 0.2846,
                "shots_off_target": 0.4088,
                "tackles_in_zone": 1.2,
                "tackles_won_in_zone": 1.1,
                "interceptions_in_zone": 1.4,
                "clearances_in_zone": 1.2,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Lucas Boyé",
                "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": 86.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": 57,
                "fifa_rank": 76.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 86.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 3 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "interceptions": 1.1639,
                "tackles": 1.2216,
                "tackles_won": 0.7353,
                "clearances": 4.6949,
                "aerial_won": 2.8024,
                "total_shots": 0.4294,
                "rating": 6.9984,
                "minutes": 86.55,
                "total_pass": 94.212,
                "accurate_pass": 89.5459,
                "duels_won": 4.749,
                "total_long_balls": 3.636,
                "accurate_long_balls": 2.0568,
                "total_own_half_passes": 55.2674,
                "accurate_own_half_passes": 53.247,
                "total_opp_half_passes": 38.9445,
                "accurate_opp_half_passes": 36.2988,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 104.8716,
                "possession_lost": 5.4065,
                "dispossessed": 0.0485,
                "duels_lost": 2.6486,
                "aerial_lost": 1.0937,
                "total_contest": 0.153,
                "won_contest": 0.0007,
                "ball_recovery": 3.2078,
                "challenges_lost": 0.6304,
                "fouls": 0.7321,
                "fouls_drawn": 0.3256,
                "blocks": 0.3803,
                "goal_rate": 0.0081,
                "goals": 0,
                "assist_rate": 0.2563,
                "assists": 0,
                "expected_goals": 0.0454,
                "expected_assists": 0.1569,
                "shots_on_target": 0.0149,
                "big_chances_created": 0.1302,
                "xgot": 0.005,
                "ball_carries": 35.4868,
                "total_progression": 165.506,
                "progressive_carries": 1.6794,
                "key_pass": 0.2846,
                "shots_off_target": 0.4088,
                "tackles_in_zone": 1.2,
                "tackles_won_in_zone": 1.1,
                "interceptions_in_zone": 1.4,
                "clearances_in_zone": 1.2,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Lucas Boyé",
                "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.0444,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 1.25,
                "fifa_overall": 86.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 3,
                "goals_allocated": 0,
                "goal_probability": 0.0444,
                "goal_rate": 0.0081,
                "scorer_weight": 0.0363,
                "squad_weight_total": 4.4245,
                "weight_share": 0.0082,
                "finishing_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 12,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Raphinha",
                    "weight": 1.5149,
                    "already": 0,
                    "effective_weight": 1.5149,
                    "runner_up": "Lamine Yamal",
                    "runner_up_effective_weight": 1.1818
                  },
                  {
                    "n": 2,
                    "player": "Lamine Yamal",
                    "weight": 1.1818,
                    "already": 0,
                    "effective_weight": 1.1818,
                    "runner_up": "Raphinha",
                    "runner_up_effective_weight": 0.6446
                  },
                  {
                    "n": 3,
                    "player": "Raphinha",
                    "weight": 1.5149,
                    "already": 1,
                    "effective_weight": 0.6446,
                    "runner_up": "Lamine Yamal",
                    "runner_up_effective_weight": 0.5029
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 2 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "interceptions": 1.1639,
                "tackles": 1.2216,
                "tackles_won": 0.7353,
                "clearances": 4.6949,
                "aerial_won": 2.8024,
                "total_shots": 0.4294,
                "rating": 6.9984,
                "minutes": 86.55,
                "total_pass": 94.212,
                "accurate_pass": 89.5459,
                "duels_won": 4.749,
                "total_long_balls": 3.636,
                "accurate_long_balls": 2.0568,
                "total_own_half_passes": 55.2674,
                "accurate_own_half_passes": 53.247,
                "total_opp_half_passes": 38.9445,
                "accurate_opp_half_passes": 36.2988,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 104.8716,
                "possession_lost": 5.4065,
                "dispossessed": 0.0485,
                "duels_lost": 2.6486,
                "aerial_lost": 1.0937,
                "total_contest": 0.153,
                "won_contest": 0.0007,
                "ball_recovery": 3.2078,
                "challenges_lost": 0.6304,
                "fouls": 0.7321,
                "fouls_drawn": 0.3256,
                "blocks": 0.3803,
                "goal_rate": 0.0081,
                "goals": 0,
                "assist_rate": 0.2563,
                "assists": 0,
                "expected_goals": 0.0454,
                "expected_assists": 0.1569,
                "shots_on_target": 0.0149,
                "big_chances_created": 0.1302,
                "xgot": 0.005,
                "ball_carries": 35.4868,
                "total_progression": 165.506,
                "progressive_carries": 1.6794,
                "key_pass": 0.2846,
                "shots_off_target": 0.4088,
                "tackles_in_zone": 1.2,
                "tackles_won_in_zone": 1.1,
                "interceptions_in_zone": 1.4,
                "clearances_in_zone": 1.2,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Lucas Boyé",
                "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.0444,
                "projected_assists": 0,
                "assist_probability": 0.1452,
                "finishing_factor": 0.8,
                "creation_factor": 1.25,
                "fifa_overall": 86.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 2,
                "assists_allocated": 0,
                "assist_probability": 0.1452,
                "assist_rate": 0.2563,
                "provider_weight": 0.1961,
                "squad_weight_total": 2.7263,
                "weight_share": 0.0719,
                "creation_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 6,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Lamine Yamal",
                    "weight": 0.5086,
                    "already": 0,
                    "effective_weight": 0.5086,
                    "runner_up": "Pedri",
                    "runner_up_effective_weight": 0.3563
                  },
                  {
                    "n": 2,
                    "player": "Pedri",
                    "weight": 0.3563,
                    "already": 0,
                    "effective_weight": 0.3563,
                    "runner_up": "Fermín López",
                    "runner_up_effective_weight": 0.3049
                  }
                ]
              }
            }
          ]
        },
        "Frenkie de Jong": {
          "player_id": 795222,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 21,
          "height": 180,
          "market_value": 23000000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.1662,
            "assist_rate": 0.0851,
            "assists": 0,
            "expected_goals": 0.1131,
            "goal_rate": 0.0863,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 7.0042,
            "minutes": 89,
            "total_pass": 87,
            "accurate_pass": 83,
            "duels_won": 4,
            "total_long_balls": 3,
            "accurate_long_balls": 3,
            "total_own_half_passes": 27,
            "accurate_own_half_passes": 26,
            "total_opp_half_passes": 60,
            "accurate_opp_half_passes": 57,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 98,
            "possession_lost": 6.9389,
            "dispossessed": 0.6616,
            "duels_lost": 2,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 1,
            "tackles_won": 1,
            "tackles": 2,
            "clearances": 1,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 1,
            "fouls": 0,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 1,
            "big_chances_missed": 0,
            "xgot": 0.1783,
            "ball_carries": 36,
            "total_progression": 142,
            "progressive_carries": 3,
            "shots_off_target": 1,
            "duel_xg_multiplier": 1.155,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.9,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.525,
            "pressing_faced": "LOW",
            "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
            "numerical_situation": "1v1",
            "opponent_defenders": "Pablo Ibáñez",
            "opponent_faced": "Pablo Ibáñez",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.1069,
            "projected_assists": 0,
            "assist_probability": 0.1531,
            "finishing_factor": 1.0758,
            "creation_factor": 0.8888,
            "fifa_overall": 86.0
          },
          "latest_10_games": [
            {
              "match_id": 16421080,
              "match_date": "2026-10-25",
              "home_team": "FC Barcelona",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 16,
                "rating": 6.4,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0684,
                "expected_assists": 0.0191,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "total_pass": 19,
                "accurate_pass": 17,
                "tackles": 0,
                "tackles_won": 0,
                "interceptions": 0,
                "clearances": 0,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 0,
                "saves": 0
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 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": 28,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0144,
                "total_shots": 0,
                "total_pass": 24,
                "accurate_pass": 24,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083562,
              "match_date": "2026-05-10",
              "home_team": "FC Barcelona",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 26,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1736,
                "total_shots": 0,
                "total_pass": 10,
                "accurate_pass": 8,
                "key_pass": 3,
                "tackles": 2,
                "tackles_won": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083495,
              "match_date": "2026-05-02",
              "home_team": "Osasuna",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 28,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.014,
                "total_shots": 0,
                "total_pass": 30,
                "accurate_pass": 28,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "duels_won": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 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": 30,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0302,
                "total_shots": 0,
                "total_pass": 23,
                "accurate_pass": 21,
                "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": 14083261,
              "match_date": "2026-04-22",
              "home_team": "FC Barcelona",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 17,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0077,
                "total_shots": 0,
                "total_pass": 17,
                "accurate_pass": 17,
                "tackles": 2,
                "tackles_won": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 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": 12,
                "rating": 6.8,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.1376,
                "total_shots": 0,
                "total_pass": 10,
                "accurate_pass": 8,
                "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": 14083567,
              "match_date": "2026-02-22",
              "home_team": "FC Barcelona",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 10.0,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.4836,
                "expected_assists": 0.4613,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 117,
                "accurate_pass": 114,
                "key_pass": 4,
                "tackles": 3,
                "interceptions": 1,
                "duels_won": 4,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083491,
              "match_date": "2026-02-16",
              "home_team": "Girona FC",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0852,
                "total_shots": 0,
                "total_pass": 101,
                "accurate_pass": 96,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083244,
              "match_date": "2026-01-31",
              "home_team": "Elche",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 7.8,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.4657,
                "total_shots": 0,
                "total_pass": 60,
                "accurate_pass": 55,
                "key_pass": 5,
                "tackles": 1,
                "interceptions": 1,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 59,
            "combined_rank_score": 74.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 47.0,
            "sofascore_rating": 7.7714,
            "sofascore_appearances": 7.0,
            "fifa_rank": 101.0,
            "fifa_overall": 86.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 9,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.0042,
            "source_file": "data/player_rankings.csv",
            "player_name": "Frenkie de Jong",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Martín Zubimendi",
                  "ranking": 54
                },
                {
                  "player_name": "Luan Dias",
                  "ranking": 55
                },
                {
                  "player_name": "César Yanis",
                  "ranking": 56
                },
                {
                  "player_name": "Pau Cubarsí",
                  "ranking": 57
                },
                {
                  "player_name": "Declan Rice",
                  "ranking": 58
                }
              ],
              "lower": [
                {
                  "player_name": "Lucas Paquetá",
                  "ranking": 60
                },
                {
                  "player_name": "Rúben Dias",
                  "ranking": 61
                },
                {
                  "player_name": "Luis Díaz",
                  "ranking": 62
                },
                {
                  "player_name": "Max Weiss",
                  "ranking": 63
                },
                {
                  "player_name": "Paul Villero",
                  "ranking": 64
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 26,
          "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": 26,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 1.0075,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (M_service) evaluated 26 historical appearances across 8 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1.1972,
                "expected_assists": 0.1013,
                "assists": 0.0845,
                "assist_rate": 0.0845,
                "expected_goals": 0.0659,
                "goals": 0.0741,
                "goal_rate": 0.0741,
                "shots_on_target": 0.1884,
                "total_shots": 0.6669,
                "rating": 7.0042,
                "minutes": 88.98,
                "total_pass": 86.5638,
                "accurate_pass": 81.9052,
                "duels_won": 4.1273,
                "total_long_balls": 3.1279,
                "accurate_long_balls": 2.798,
                "total_own_half_passes": 26.8657,
                "accurate_own_half_passes": 25.4611,
                "total_opp_half_passes": 59.6981,
                "accurate_opp_half_passes": 56.4441,
                "crosses_total": 0.2242,
                "crosses_accurate": 0.1312,
                "touches": 96.9695,
                "possession_lost": 6.8872,
                "dispossessed": 0.6567,
                "duels_lost": 2.2258,
                "aerial_won": 0.5301,
                "aerial_lost": 0.4122,
                "interceptions": 0.8684,
                "tackles_won": 0.5997,
                "tackles": 2.0306,
                "clearances": 0.7451,
                "total_contest": 0.3519,
                "won_contest": 0.2977,
                "challenges_lost": 0.6194,
                "fouls": 0.4833,
                "fouls_drawn": 1.2689,
                "blocks": 0.2662,
                "big_chances_created": 0.7675,
                "big_chances_missed": 0.0,
                "xgot": 0.104,
                "ball_carries": 35.7915,
                "total_progression": 141.0966,
                "progressive_carries": 2.9672,
                "shots_off_target": 0.4785
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-31T10:30:21.314387+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 902,
                    "rows": 24945
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-25",
                    "opponent": "Real Madrid",
                    "minutes": 16.0,
                    "is_starting": false,
                    "weight": 0.1522,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Valencia",
                    "minutes": 28.0,
                    "is_starting": false,
                    "weight": 0.1294,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "Real Madrid",
                    "minutes": 26.0,
                    "is_starting": false,
                    "weight": 0.11,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Osasuna",
                    "minutes": 28.0,
                    "is_starting": false,
                    "weight": 0.0935,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-04-25",
                    "opponent": "Getafe",
                    "minutes": 30.0,
                    "is_starting": false,
                    "weight": 0.0795,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-04-22",
                    "opponent": "Celta Vigo",
                    "minutes": 17.0,
                    "is_starting": false,
                    "weight": 0.0675,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-04-11",
                    "opponent": "Espanyol",
                    "minutes": 12.0,
                    "is_starting": false,
                    "weight": 0.0574,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-02-22",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0488,
                    "rating": 10.0
                  },
                  {
                    "match_date": "2026-02-16",
                    "opponent": "Girona FC",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0415,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-01-31",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0353,
                    "rating": 7.8
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.2962,
                  "expectedGoals": 0.0463,
                  "creative_index": 0.4676,
                  "expectedAssists": 0.1038,
                  "keyPass": 1.0133
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.1972341537475586,
                    "model_output": 1.1972,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1583
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1351
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0716
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0542
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.028
                      }
                    ],
                    "decomposition": {
                      "base": 0.8899,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1348
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.1117
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0793
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0711
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": 0.0711
                        }
                      ],
                      "others": 0.0627,
                      "total": 1.1972,
                      "log_link": true,
                      "margin_base": -0.11669,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.14108
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.115405
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.083333
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.069207
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": 0.064726
                        }
                      ],
                      "others_margin": 0.053763
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.10126909613609314,
                    "model_output": 0.1013,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1213
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1076
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0864
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0618
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0476
                      }
                    ],
                    "decomposition": {
                      "base": 0.085,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": -0.0133
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0094
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0083
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0071
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0028
                        }
                      ],
                      "others": 0.0186,
                      "total": 0.1013,
                      "log_link": true,
                      "margin_base": -2.465163,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": -0.169595
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.122843
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.108495
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.093037
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.033908
                        }
                      ],
                      "others_margin": 0.203491
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.08445888757705688,
                    "model_output": 0.0845,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0508
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0447
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0336
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0324
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0322
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0098
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0074
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0067
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0069
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.0047
                        }
                      ],
                      "others": -0.0017,
                      "total": 0.0845,
                      "log_link": true,
                      "margin_base": -2.463734,
                      "item_margins": [
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.121836
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.103406
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.093856
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.08858
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": 0.056583
                        }
                      ],
                      "others_margin": -0.021531
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.06590161472558975,
                    "model_output": 0.0659,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1242
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0778
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0743
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0437
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0241
                      }
                    ],
                    "decomposition": {
                      "base": 0.0911,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0146
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0119
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0105
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0046
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0038
                        }
                      ],
                      "others": -0.0128,
                      "total": 0.0659,
                      "log_link": true,
                      "margin_base": -2.395469,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.175193
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.145128
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.126294
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.056759
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.046755
                        }
                      ],
                      "others_margin": -0.177769
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.07414144277572632,
                    "model_output": 0.0741,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0846
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0655
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0399
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0358
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0268
                      }
                    ],
                    "decomposition": {
                      "base": 0.0947,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0176
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0112
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0086
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0074
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0065
                        }
                      ],
                      "others": -0.0089,
                      "total": 0.0741,
                      "log_link": true,
                      "margin_base": -2.357331,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.205371
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.135571
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.093178
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.078884
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.075327
                        }
                      ],
                      "others_margin": -0.113617
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.18840166926383972,
                    "model_output": 0.1884,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1146
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0928
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0753
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0297
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.3177,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0876
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": -0.028
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0274
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.021
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0162
                        }
                      ],
                      "others": -0.0039,
                      "total": 0.1884,
                      "log_link": true,
                      "margin_base": -1.146731,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.322509
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": -0.129704
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.127309
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": -0.096124
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.080836
                        }
                      ],
                      "others_margin": -0.020584
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.6669477820396423,
                    "model_output": 0.6669,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1488
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1213
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0474
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0446
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0276
                      }
                    ],
                    "decomposition": {
                      "base": 0.9817,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.2928
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1291
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0652
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.043
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0353
                        }
                      ],
                      "others": -0.138,
                      "total": 0.6669,
                      "log_link": false,
                      "margin_base": 0.98173,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.292837
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.129098
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.06517
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.042997
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.035337
                        }
                      ],
                      "others_margin": -0.137879
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.00419282913208,
                    "model_output": 7.0042,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.102
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0743
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0503
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0382
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 6.856,
                      "items": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0809
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0358
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0352
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0162
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0139
                        }
                      ],
                      "others": -0.006,
                      "total": 7.0042,
                      "log_link": false,
                      "margin_base": 6.856008,
                      "item_margins": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.080948
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.035822
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.035169
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.016167
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.013949
                        }
                      ],
                      "others_margin": -0.005972
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 26,
                  "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.0075, quality 0.660)",
              "stats": {
                "key_pass": 1.2062,
                "expected_assists": 0.102,
                "assists": 0.0851,
                "assist_rate": 0.0851,
                "expected_goals": 0.0664,
                "goals": 0.0747,
                "goal_rate": 0.0747,
                "shots_on_target": 0.1898,
                "total_shots": 0.6719,
                "rating": 7.0042,
                "minutes": 88.98,
                "total_pass": 87.213,
                "accurate_pass": 82.5195,
                "duels_won": 4.1583,
                "total_long_balls": 3.1514,
                "accurate_long_balls": 2.819,
                "total_own_half_passes": 27.0672,
                "accurate_own_half_passes": 25.6521,
                "total_opp_half_passes": 60.1458,
                "accurate_opp_half_passes": 56.8674,
                "crosses_total": 0.2259,
                "crosses_accurate": 0.1322,
                "touches": 97.6968,
                "possession_lost": 6.9389,
                "dispossessed": 0.6616,
                "duels_lost": 2.2425,
                "aerial_won": 0.5341,
                "aerial_lost": 0.4153,
                "interceptions": 0.8749,
                "tackles_won": 0.6042,
                "tackles": 2.0458,
                "clearances": 0.7507,
                "total_contest": 0.3545,
                "won_contest": 0.2999,
                "challenges_lost": 0.624,
                "fouls": 0.4869,
                "fouls_drawn": 1.2784,
                "blocks": 0.2682,
                "big_chances_created": 0.7733,
                "big_chances_missed": 0.0,
                "xgot": 0.1048,
                "ball_carries": 36.0599,
                "total_progression": 142.1548,
                "progressive_carries": 2.9895,
                "shots_off_target": 0.4821
              },
              "params": {
                "market_value_eur": 23000000,
                "quality_factor": 0.6595,
                "boost_factor": 1.0075,
                "reference_quality": 0.505,
                "history_matches": 26,
                "history_shrink": 0.1613,
                "market_value_known": true
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1.2062,
                "expected_assists": 0.102,
                "assists": 0.0851,
                "assist_rate": 0.0851,
                "expected_goals": 0.0664,
                "goals": 0.0747,
                "goal_rate": 0.0747,
                "shots_on_target": 0.1898,
                "total_shots": 0.6719,
                "rating": 7.0042,
                "minutes": 88.98,
                "total_pass": 87.213,
                "accurate_pass": 82.5195,
                "duels_won": 4.1583,
                "total_long_balls": 3.1514,
                "accurate_long_balls": 2.819,
                "total_own_half_passes": 27.0672,
                "accurate_own_half_passes": 25.6521,
                "total_opp_half_passes": 60.1458,
                "accurate_opp_half_passes": 56.8674,
                "crosses_total": 0.2259,
                "crosses_accurate": 0.1322,
                "touches": 97.6968,
                "possession_lost": 6.9389,
                "dispossessed": 0.6616,
                "duels_lost": 2.2425,
                "aerial_won": 0.5341,
                "aerial_lost": 0.4153,
                "interceptions": 0.8749,
                "tackles_won": 0.6042,
                "tackles": 2.0458,
                "clearances": 0.7507,
                "total_contest": 0.3545,
                "won_contest": 0.2999,
                "challenges_lost": 0.624,
                "fouls": 0.4869,
                "fouls_drawn": 1.2784,
                "blocks": 0.2682,
                "big_chances_created": 0.7733,
                "big_chances_missed": 0.0,
                "xgot": 0.1048,
                "ball_carries": 36.0599,
                "total_progression": 142.1548,
                "progressive_carries": 2.9895,
                "shots_off_target": 0.4821
              },
              "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.2062,
                "expected_assists": 0.102,
                "assists": 0.0851,
                "assist_rate": 0.0851,
                "expected_goals": 0.0767,
                "goals": 0.0863,
                "goal_rate": 0.0863,
                "shots_on_target": 0.2192,
                "total_shots": 0.776,
                "rating": 7.0042,
                "minutes": 88.98,
                "total_pass": 87.213,
                "accurate_pass": 82.5195,
                "duels_won": 4.1583,
                "total_long_balls": 3.1514,
                "accurate_long_balls": 2.819,
                "total_own_half_passes": 27.0672,
                "accurate_own_half_passes": 25.6521,
                "total_opp_half_passes": 60.1458,
                "accurate_opp_half_passes": 56.8674,
                "crosses_total": 0.2259,
                "crosses_accurate": 0.1322,
                "touches": 97.6968,
                "possession_lost": 6.9389,
                "dispossessed": 0.6616,
                "duels_lost": 2.2425,
                "aerial_won": 1.1,
                "aerial_lost": 0.4153,
                "interceptions": 0.8749,
                "tackles_won": 0.6042,
                "tackles": 2.0458,
                "clearances": 0.7507,
                "total_contest": 0.3545,
                "won_contest": 0.2999,
                "challenges_lost": 0.624,
                "fouls": 0.4869,
                "fouls_drawn": 1.2784,
                "blocks": 0.2682,
                "big_chances_created": 0.7733,
                "big_chances_missed": 0.0,
                "xgot": 0.121,
                "ball_carries": 36.0599,
                "total_progression": 142.1548,
                "progressive_carries": 2.9895,
                "shots_off_target": 0.5568,
                "duel_xg_multiplier": 1.155,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.9,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.525,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pablo Ibáñez",
                "opponent_faced": "Pablo Ibáñez",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Pablo Ibáñez",
                  "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                  "duel_win_rate": 0.525,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 1.155,
                  "skill_edge": 0.1014,
                  "height_edge": 0.004,
                  "attacker_skill": 0.6821,
                  "defender_skill": 0.4567,
                  "attacker_role": "CM",
                  "attacker_mv_price_index": 0.9,
                  "defender_adjusted_parts": [
                    {
                      "player": "Pablo Ibáñez",
                      "market_value": 4099999,
                      "role": "CM",
                      "price_index": 0.9,
                      "adjusted_quality": 0.4567
                    }
                  ],
                  "xg_override": 0.0767
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.5341,
                  "after": 1.1
                },
                {
                  "stat": "totalShots",
                  "before": 0.6719,
                  "after": 0.776
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.4821,
                  "after": 0.5568
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.1898,
                  "after": 0.2192
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.1048,
                  "after": 0.121
                },
                {
                  "stat": "goals",
                  "before": 0.0747,
                  "after": 0.0863
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.0664,
                  "after": 0.0767
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 3 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 1.2062,
                "expected_assists": 0.102,
                "assist_rate": 0.0851,
                "assists": 0,
                "expected_goals": 0.0767,
                "goal_rate": 0.0863,
                "goals": 0,
                "shots_on_target": 0.2192,
                "total_shots": 0.776,
                "rating": 7.0042,
                "minutes": 88.98,
                "total_pass": 87.213,
                "accurate_pass": 82.5195,
                "duels_won": 4.1583,
                "total_long_balls": 3.1514,
                "accurate_long_balls": 2.819,
                "total_own_half_passes": 27.0672,
                "accurate_own_half_passes": 25.6521,
                "total_opp_half_passes": 60.1458,
                "accurate_opp_half_passes": 56.8674,
                "crosses_total": 0.2259,
                "crosses_accurate": 0.1322,
                "touches": 97.6968,
                "possession_lost": 6.9389,
                "dispossessed": 0.6616,
                "duels_lost": 2.2425,
                "aerial_won": 1.1,
                "aerial_lost": 0.4153,
                "interceptions": 0.8749,
                "tackles_won": 0.6042,
                "tackles": 2.0458,
                "clearances": 0.7507,
                "total_contest": 0.3545,
                "won_contest": 0.2999,
                "challenges_lost": 0.624,
                "fouls": 0.4869,
                "fouls_drawn": 1.2784,
                "blocks": 0.2682,
                "big_chances_created": 0.7733,
                "big_chances_missed": 0.0,
                "xgot": 0.121,
                "ball_carries": 36.0599,
                "total_progression": 142.1548,
                "progressive_carries": 2.9895,
                "shots_off_target": 0.5568,
                "duel_xg_multiplier": 1.155,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.9,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.525,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pablo Ibáñez",
                "opponent_faced": "Pablo Ibáñez",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 3
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 3.86 (squad xG sum 2.6208, xG scale 1.4740, xA scale 1.6297, team xA 2.51 = 0.65 x lambda)",
              "stats": {
                "key_pass": 1.2062,
                "expected_assists": 0.1662,
                "assist_rate": 0.0851,
                "assists": 0,
                "expected_goals": 0.1131,
                "goal_rate": 0.0863,
                "goals": 0,
                "shots_on_target": 0.2192,
                "total_shots": 0.776,
                "rating": 7.0042,
                "minutes": 88.98,
                "total_pass": 87.213,
                "accurate_pass": 82.5195,
                "duels_won": 4.1583,
                "total_long_balls": 3.1514,
                "accurate_long_balls": 2.819,
                "total_own_half_passes": 27.0672,
                "accurate_own_half_passes": 25.6521,
                "total_opp_half_passes": 60.1458,
                "accurate_opp_half_passes": 56.8674,
                "crosses_total": 0.2259,
                "crosses_accurate": 0.1322,
                "touches": 97.6968,
                "possession_lost": 6.9389,
                "dispossessed": 0.6616,
                "duels_lost": 2.2425,
                "aerial_won": 1.1,
                "aerial_lost": 0.4153,
                "interceptions": 0.8749,
                "tackles_won": 0.6042,
                "tackles": 2.0458,
                "clearances": 0.7507,
                "total_contest": 0.3545,
                "won_contest": 0.2999,
                "challenges_lost": 0.624,
                "fouls": 0.4869,
                "fouls_drawn": 1.2784,
                "blocks": 0.2682,
                "big_chances_created": 0.7733,
                "big_chances_missed": 0.0,
                "xgot": 0.1783,
                "ball_carries": 36.0599,
                "total_progression": 142.1548,
                "progressive_carries": 2.9895,
                "shots_off_target": 0.5568,
                "duel_xg_multiplier": 1.155,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.9,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.525,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pablo Ibáñez",
                "opponent_faced": "Pablo Ibáñez",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0758,
                "creation_factor": 0.8888
              },
              "params": {
                "team_lambda": 3.863,
                "squad_xg_sum": 2.6208,
                "squad_xa_sum": 1.5408,
                "team_expected_assists": 2.511,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.474,
                "xa_scale": 1.6297,
                "opponent_lambda": 1.288,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0767,
                  "after": 0.1131
                },
                {
                  "stat": "expected_assists",
                  "before": 0.102,
                  "after": 0.1662
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 9 by projected rating, fifa_overall 86.0)",
              "stats": {
                "key_pass": 1.2062,
                "expected_assists": 0.1662,
                "assist_rate": 0.0851,
                "assists": 0,
                "expected_goals": 0.1131,
                "goal_rate": 0.0863,
                "goals": 0,
                "shots_on_target": 0.2192,
                "total_shots": 0.776,
                "rating": 7.0042,
                "minutes": 88.98,
                "total_pass": 87.213,
                "accurate_pass": 82.5195,
                "duels_won": 4.1583,
                "total_long_balls": 3.1514,
                "accurate_long_balls": 2.819,
                "total_own_half_passes": 27.0672,
                "accurate_own_half_passes": 25.6521,
                "total_opp_half_passes": 60.1458,
                "accurate_opp_half_passes": 56.8674,
                "crosses_total": 0.2259,
                "crosses_accurate": 0.1322,
                "touches": 97.6968,
                "possession_lost": 6.9389,
                "dispossessed": 0.6616,
                "duels_lost": 2.2425,
                "aerial_won": 1.1,
                "aerial_lost": 0.4153,
                "interceptions": 0.8749,
                "tackles_won": 0.6042,
                "tackles": 2.0458,
                "clearances": 0.7507,
                "total_contest": 0.3545,
                "won_contest": 0.2999,
                "challenges_lost": 0.624,
                "fouls": 0.4869,
                "fouls_drawn": 1.2784,
                "blocks": 0.2682,
                "big_chances_created": 0.7733,
                "big_chances_missed": 0.0,
                "xgot": 0.1783,
                "ball_carries": 36.0599,
                "total_progression": 142.1548,
                "progressive_carries": 2.9895,
                "shots_off_target": 0.5568,
                "duel_xg_multiplier": 1.155,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.9,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.525,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pablo Ibáñez",
                "opponent_faced": "Pablo Ibáñez",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0758,
                "creation_factor": 0.8888,
                "fifa_overall": 86.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": 59,
                "fifa_rank": 101.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 86.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 3 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 1.2062,
                "expected_assists": 0.1662,
                "assist_rate": 0.0851,
                "assists": 0,
                "expected_goals": 0.1131,
                "goal_rate": 0.0863,
                "goals": 0,
                "shots_on_target": 0.2192,
                "total_shots": 0.776,
                "rating": 7.0042,
                "minutes": 88.98,
                "total_pass": 87.213,
                "accurate_pass": 82.5195,
                "duels_won": 4.1583,
                "total_long_balls": 3.1514,
                "accurate_long_balls": 2.819,
                "total_own_half_passes": 27.0672,
                "accurate_own_half_passes": 25.6521,
                "total_opp_half_passes": 60.1458,
                "accurate_opp_half_passes": 56.8674,
                "crosses_total": 0.2259,
                "crosses_accurate": 0.1322,
                "touches": 97.6968,
                "possession_lost": 6.9389,
                "dispossessed": 0.6616,
                "duels_lost": 2.2425,
                "aerial_won": 1.1,
                "aerial_lost": 0.4153,
                "interceptions": 0.8749,
                "tackles_won": 0.6042,
                "tackles": 2.0458,
                "clearances": 0.7507,
                "total_contest": 0.3545,
                "won_contest": 0.2999,
                "challenges_lost": 0.624,
                "fouls": 0.4869,
                "fouls_drawn": 1.2784,
                "blocks": 0.2682,
                "big_chances_created": 0.7733,
                "big_chances_missed": 0.0,
                "xgot": 0.1783,
                "ball_carries": 36.0599,
                "total_progression": 142.1548,
                "progressive_carries": 2.9895,
                "shots_off_target": 0.5568,
                "duel_xg_multiplier": 1.155,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.9,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.525,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pablo Ibáñez",
                "opponent_faced": "Pablo Ibáñez",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1069,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0758,
                "creation_factor": 0.8888,
                "fifa_overall": 86.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 3,
                "goals_allocated": 0,
                "goal_probability": 0.1069,
                "goal_rate": 0.0863,
                "scorer_weight": 0.1217,
                "squad_weight_total": 4.4245,
                "weight_share": 0.0275,
                "finishing_factor": 1.0758,
                "appearance_weight": 1.0,
                "weight_rank": 8,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Raphinha",
                    "weight": 1.5149,
                    "already": 0,
                    "effective_weight": 1.5149,
                    "runner_up": "Lamine Yamal",
                    "runner_up_effective_weight": 1.1818
                  },
                  {
                    "n": 2,
                    "player": "Lamine Yamal",
                    "weight": 1.1818,
                    "already": 0,
                    "effective_weight": 1.1818,
                    "runner_up": "Raphinha",
                    "runner_up_effective_weight": 0.6446
                  },
                  {
                    "n": 3,
                    "player": "Raphinha",
                    "weight": 1.5149,
                    "already": 1,
                    "effective_weight": 0.6446,
                    "runner_up": "Lamine Yamal",
                    "runner_up_effective_weight": 0.5029
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 2 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "key_pass": 1.2062,
                "expected_assists": 0.1662,
                "assist_rate": 0.0851,
                "assists": 0,
                "expected_goals": 0.1131,
                "goal_rate": 0.0863,
                "goals": 0,
                "shots_on_target": 0.2192,
                "total_shots": 0.776,
                "rating": 7.0042,
                "minutes": 88.98,
                "total_pass": 87.213,
                "accurate_pass": 82.5195,
                "duels_won": 4.1583,
                "total_long_balls": 3.1514,
                "accurate_long_balls": 2.819,
                "total_own_half_passes": 27.0672,
                "accurate_own_half_passes": 25.6521,
                "total_opp_half_passes": 60.1458,
                "accurate_opp_half_passes": 56.8674,
                "crosses_total": 0.2259,
                "crosses_accurate": 0.1322,
                "touches": 97.6968,
                "possession_lost": 6.9389,
                "dispossessed": 0.6616,
                "duels_lost": 2.2425,
                "aerial_won": 1.1,
                "aerial_lost": 0.4153,
                "interceptions": 0.8749,
                "tackles_won": 0.6042,
                "tackles": 2.0458,
                "clearances": 0.7507,
                "total_contest": 0.3545,
                "won_contest": 0.2999,
                "challenges_lost": 0.624,
                "fouls": 0.4869,
                "fouls_drawn": 1.2784,
                "blocks": 0.2682,
                "big_chances_created": 0.7733,
                "big_chances_missed": 0.0,
                "xgot": 0.1783,
                "ball_carries": 36.0599,
                "total_progression": 142.1548,
                "progressive_carries": 2.9895,
                "shots_off_target": 0.5568,
                "duel_xg_multiplier": 1.155,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.9,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.525,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pablo Ibáñez",
                "opponent_faced": "Pablo Ibáñez",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1069,
                "projected_assists": 0,
                "assist_probability": 0.1531,
                "finishing_factor": 1.0758,
                "creation_factor": 0.8888,
                "fifa_overall": 86.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 2,
                "assists_allocated": 0,
                "assist_probability": 0.1531,
                "assist_rate": 0.0851,
                "provider_weight": 0.1477,
                "squad_weight_total": 2.7263,
                "weight_share": 0.0542,
                "creation_factor": 0.8888,
                "appearance_weight": 1.0,
                "weight_rank": 10,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Lamine Yamal",
                    "weight": 0.5086,
                    "already": 0,
                    "effective_weight": 0.5086,
                    "runner_up": "Pedri",
                    "runner_up_effective_weight": 0.3563
                  },
                  {
                    "n": 2,
                    "player": "Pedri",
                    "weight": 0.3563,
                    "already": 0,
                    "effective_weight": 0.3563,
                    "runner_up": "Fermín López",
                    "runner_up_effective_weight": 0.3049
                  }
                ]
              }
            }
          ]
        },
        "João Cancelo": {
          "player_id": 138892,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 2,
          "height": 182,
          "market_value": 7500000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 2,
            "clearances": 2,
            "aerial_won": 1,
            "total_shots": 1,
            "rating": 6.8281,
            "minutes": 84,
            "total_pass": 49,
            "accurate_pass": 43,
            "duels_won": 5,
            "total_long_balls": 3,
            "accurate_long_balls": 2,
            "total_own_half_passes": 20,
            "accurate_own_half_passes": 18,
            "total_opp_half_passes": 29,
            "accurate_opp_half_passes": 25,
            "crosses_total": 3,
            "crosses_accurate": 1,
            "touches": 70,
            "possession_lost": 11.8584,
            "dispossessed": 0.5473,
            "duels_lost": 5,
            "aerial_lost": 0,
            "total_contest": 3,
            "won_contest": 1,
            "ball_recovery": 4,
            "challenges_lost": 2,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 0,
            "goal_rate": 0.2556,
            "goals": 0,
            "assist_rate": 0.0624,
            "assists": 0,
            "expected_goals": 0.0578,
            "expected_assists": 0.243,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.1259,
            "ball_carries": 19,
            "total_progression": 91,
            "progressive_carries": 4,
            "key_pass": 2,
            "shots_off_target": 0,
            "opponent_faced": "Toni Martínez",
            "matchup_zone": "Shape fallback",
            "antagonist_source": "formation_fallback",
            "projected_goals": 0,
            "goal_probability": 0.0562,
            "projected_assists": 0,
            "assist_probability": 0.2157,
            "finishing_factor": 1.25,
            "creation_factor": 0.8,
            "fifa_overall": 83.0
          },
          "latest_10_games": [
            {
              "match_id": 16421080,
              "match_date": "2026-10-25",
              "home_team": "FC Barcelona",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1315,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "total_pass": 58,
                "accurate_pass": 53,
                "key_pass": 4,
                "tackles": 5,
                "tackles_won": 4,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 8,
                "ball_recovery": 5,
                "saves": 0
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416349,
              "match_date": "2026-09-19",
              "home_team": "Sevilla",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.028,
                "expected_assists": 0.272,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 58,
                "accurate_pass": 54,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 4,
                "aerial_won": 2,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416346,
              "match_date": "2026-09-16",
              "home_team": "FC Barcelona",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 78,
                "rating": 7.5,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0901,
                "expected_assists": 0.0492,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 62,
                "accurate_pass": 54,
                "key_pass": 1,
                "interceptions": 2,
                "clearances": 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": 16416329,
              "match_date": "2026-09-13",
              "home_team": "Levante UD",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 10,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0089,
                "total_shots": 0,
                "total_pass": 17,
                "accurate_pass": 15,
                "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": 16416295,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 13,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0213,
                "expected_assists": 0.0078,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 7,
                "accurate_pass": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421059,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 9,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.005,
                "total_shots": 0,
                "total_pass": 5,
                "accurate_pass": 5,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416311,
              "match_date": "2026-08-23",
              "home_team": "Elche",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Elche",
              "stats": {
                "minutes": 10,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.006,
                "total_shots": 0,
                "total_pass": 12,
                "accurate_pass": 8,
                "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": 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.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0069,
                "total_shots": 0,
                "total_pass": 11,
                "accurate_pass": 11,
                "clearances": 1,
                "duels_won": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083666,
              "match_date": "2026-05-17",
              "home_team": "FC Barcelona",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 7.6,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1279,
                "expected_assists": 0.1183,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 43,
                "accurate_pass": 37,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "duels_won": 5,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "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": 0,
              "team": "FC Barcelona",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 11,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0308,
                "total_shots": 0,
                "total_pass": 12,
                "accurate_pass": 11
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 472,
            "combined_rank_score": 281.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 242.0,
            "sofascore_rating": 7.125,
            "sofascore_appearances": 16.0,
            "fifa_rank": 320.0,
            "fifa_overall": 83.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 15,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8281,
            "source_file": "data/player_rankings.csv",
            "player_name": "João Cancelo",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Ramón Terrats",
                  "ranking": 467
                },
                {
                  "player_name": "Igor Formiga",
                  "ranking": 468
                },
                {
                  "player_name": "Anthony Caceres",
                  "ranking": 469
                },
                {
                  "player_name": "James Garner",
                  "ranking": 470
                },
                {
                  "player_name": "Marcus Rashford",
                  "ranking": 471
                }
              ],
              "lower": [
                {
                  "player_name": "Oh-kyu Kim",
                  "ranking": 473
                },
                {
                  "player_name": "Oscar Lopez",
                  "ranking": 474
                },
                {
                  "player_name": "Eberechi Eze",
                  "ranking": 475
                },
                {
                  "player_name": "Hugo Ekitiké",
                  "ranking": 476
                },
                {
                  "player_name": "Manuel Ángel Castillo",
                  "ranking": 477
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.753,
          "history_matches": 23,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "totalTackle",
              "totalShots",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 23,
            "data_confidence": 0.753,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9993,
            "fbref_prior_metrics": {
              "squad": "Barcelona",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 0.0,
              "minutes": 31.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 2.9,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.02
            },
            "rationale": "XGBoost regressor (D_service) evaluated 23 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Barcelona, rel: 0.02, 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.9127,
                "tackles": 2.4946,
                "tackles_won": 1.5918,
                "clearances": 1.9785,
                "aerial_won": 0.7291,
                "total_shots": 0.6169,
                "rating": 6.8281,
                "minutes": 84.33,
                "total_pass": 49.1436,
                "accurate_pass": 43.4171,
                "duels_won": 5.3773,
                "total_long_balls": 2.5526,
                "accurate_long_balls": 1.6353,
                "total_own_half_passes": 19.7024,
                "accurate_own_half_passes": 18.0934,
                "total_opp_half_passes": 29.4413,
                "accurate_opp_half_passes": 25.3238,
                "crosses_total": 2.6879,
                "crosses_accurate": 0.7405,
                "touches": 69.7788,
                "possession_lost": 11.8667,
                "dispossessed": 0.5477,
                "duels_lost": 4.7213,
                "aerial_lost": 0.4622,
                "total_contest": 2.5472,
                "won_contest": 1.1959,
                "ball_recovery": 4.2706,
                "challenges_lost": 1.5301,
                "fouls": 0.83,
                "fouls_drawn": 0.9346,
                "blocks": 0.1071,
                "goals": 0.2564,
                "goal_rate": 0.2564,
                "assists": 0.0625,
                "assist_rate": 0.0625,
                "expected_goals": 0.0392,
                "expected_assists": 0.1492,
                "shots_on_target": 0.444,
                "big_chances_created": 0.4038,
                "xgot": 0.0855,
                "ball_carries": 19.4336,
                "total_progression": 90.8837,
                "progressive_carries": 3.6177,
                "key_pass": 1.5282,
                "shots_off_target": 0.1729
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-31T10:29:25.210665+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 626,
                    "rows": 22004
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-25",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1537,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1306,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Real Racing Club",
                    "minutes": 78.0,
                    "is_starting": true,
                    "weight": 0.111,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Levante UD",
                    "minutes": 10.0,
                    "is_starting": false,
                    "weight": 0.0944,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Rayo Vallecano",
                    "minutes": 13.0,
                    "is_starting": false,
                    "weight": 0.0802,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Athletic Club",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 0.0682,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Elche",
                    "minutes": 10.0,
                    "is_starting": false,
                    "weight": 0.058,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Valencia",
                    "minutes": 17.0,
                    "is_starting": false,
                    "weight": 0.0493,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0419,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Deportivo Alavés",
                    "minutes": 11.0,
                    "is_starting": false,
                    "weight": 0.0356,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 1.2476,
                  "aerialWon": 0.6239,
                  "totalClearance_p90": 2.0111,
                  "totalTackle": 1.5594,
                  "totalPass": 36.0923
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.9126920104026794,
                    "model_output": 0.9127,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2977
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0446
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0318
                      },
                      {
                        "name": "touches",
                        "importance": 0.0281
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0208
                      }
                    ],
                    "decomposition": {
                      "base": 0.8678,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1233
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0917
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0278
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0257
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0207
                        }
                      ],
                      "others": 0.0319,
                      "total": 0.9127,
                      "log_link": true,
                      "margin_base": -0.141777,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.132816
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.097037
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.030461
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.028056
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.0232
                        }
                      ],
                      "others_margin": 0.035436
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 2.4946446418762207,
                    "model_output": 2.4946,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2493
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0731
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0475
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0414
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.0245
                      }
                    ],
                    "decomposition": {
                      "base": 1.3878,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1989
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.2146
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.1122
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.1073
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.1029
                        }
                      ],
                      "others": 0.3709,
                      "total": 2.4946,
                      "log_link": true,
                      "margin_base": 0.327722,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.133966
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.126858
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.060423
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.054578
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.04965
                        }
                      ],
                      "others_margin": 0.16095
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 1.5917859077453613,
                    "model_output": 1.5918,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1966
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0678
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0471
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0406
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0252
                      }
                    ],
                    "decomposition": {
                      "base": 0.8471,
                      "items": [
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.142
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1415
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0616
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0587
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0535
                        }
                      ],
                      "others": 0.2874,
                      "total": 1.5918,
                      "log_link": true,
                      "margin_base": -0.165887,
                      "item_margins": [
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.154988
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.133672
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.053024
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.048049
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.04187
                        }
                      ],
                      "others_margin": 0.199142
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 1.9785161018371582,
                    "model_output": 1.9785,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2929
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1447
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.1031
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0342
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0223
                      }
                    ],
                    "decomposition": {
                      "base": 3.4227,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": -0.8003
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.3632
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.3033
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.2645
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.199
                        }
                      ],
                      "others": -0.2403,
                      "total": 1.9785,
                      "log_link": true,
                      "margin_base": 1.230438,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": -0.266347
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.129726
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.107125
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.103804
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.085884
                        }
                      ],
                      "others_margin": -0.114655
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.7291116714477539,
                    "model_output": 0.7291,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1591
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1548
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0782
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0406
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 1.3743,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": -0.4555
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.1158
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0913
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0609
                        }
                      ],
                      "others": -0.0217,
                      "total": 0.7291,
                      "log_link": true,
                      "margin_base": 0.31798,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": -0.402645
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.134697
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.117381
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.106617
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.077988
                        }
                      ],
                      "others_margin": -0.029343
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.616946816444397,
                    "model_output": 0.6169,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1011
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0687
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0377
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0308
                      },
                      {
                        "name": "rating",
                        "importance": 0.0275
                      }
                    ],
                    "decomposition": {
                      "base": 0.4801,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0599
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0468
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.016
                        },
                        {
                          "name": "rating",
                          "contribution": 0.016
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.015
                        }
                      ],
                      "others": -0.0169,
                      "total": 0.6169,
                      "log_link": false,
                      "margin_base": 0.48008,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.059856
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.046779
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.016043
                        },
                        {
                          "name": "rating",
                          "margin": 0.01596
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.014953
                        }
                      ],
                      "others_margin": -0.016725
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.828117370605469,
                    "model_output": 6.8281,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0922
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0582
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0462
                      },
                      {
                        "name": "rating",
                        "importance": 0.0313
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0279
                      }
                    ],
                    "decomposition": {
                      "base": 6.7972,
                      "items": [
                        {
                          "name": "touches_p90",
                          "contribution": 0.024
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0187
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0131
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0116
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.0111
                        }
                      ],
                      "others": 0.012,
                      "total": 6.8281,
                      "log_link": false,
                      "margin_base": 6.797222,
                      "item_margins": [
                        {
                          "name": "touches_p90",
                          "margin": 0.024016
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.018705
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.013055
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": 0.0116
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": -0.011083
                        }
                      ],
                      "others_margin": 0.012013
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 23,
                  "role_matches": 14,
                  "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.9993, quality 0.493)",
              "stats": {
                "interceptions": 0.9121,
                "tackles": 2.4929,
                "tackles_won": 1.5907,
                "clearances": 1.9771,
                "aerial_won": 0.7286,
                "total_shots": 0.6165,
                "rating": 6.8281,
                "minutes": 84.33,
                "total_pass": 49.1092,
                "accurate_pass": 43.3867,
                "duels_won": 5.3735,
                "total_long_balls": 2.5508,
                "accurate_long_balls": 1.6342,
                "total_own_half_passes": 19.6886,
                "accurate_own_half_passes": 18.0807,
                "total_opp_half_passes": 29.4207,
                "accurate_opp_half_passes": 25.3061,
                "crosses_total": 2.686,
                "crosses_accurate": 0.74,
                "touches": 69.73,
                "possession_lost": 11.8584,
                "dispossessed": 0.5473,
                "duels_lost": 4.718,
                "aerial_lost": 0.4619,
                "total_contest": 2.5454,
                "won_contest": 1.1951,
                "ball_recovery": 4.2676,
                "challenges_lost": 1.529,
                "fouls": 0.8294,
                "fouls_drawn": 0.9339,
                "blocks": 0.107,
                "goals": 0.2562,
                "goal_rate": 0.2562,
                "assists": 0.0625,
                "assist_rate": 0.0625,
                "expected_goals": 0.0392,
                "expected_assists": 0.1491,
                "shots_on_target": 0.4437,
                "big_chances_created": 0.4035,
                "xgot": 0.0854,
                "ball_carries": 19.42,
                "total_progression": 90.8201,
                "progressive_carries": 3.6152,
                "key_pass": 1.5271,
                "shots_off_target": 0.1728
              },
              "params": {
                "market_value_eur": 7500000,
                "quality_factor": 0.4927,
                "boost_factor": 0.9993,
                "reference_quality": 0.505,
                "history_matches": 23,
                "history_shrink": 0.1786,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0023)",
              "stats": {
                "interceptions": 0.91,
                "tackles": 2.4929,
                "tackles_won": 1.5943,
                "clearances": 1.9771,
                "aerial_won": 0.7286,
                "total_shots": 0.6214,
                "rating": 6.8281,
                "minutes": 84.33,
                "total_pass": 49.1092,
                "accurate_pass": 43.3867,
                "duels_won": 5.3735,
                "total_long_balls": 2.5508,
                "accurate_long_balls": 1.6342,
                "total_own_half_passes": 19.6886,
                "accurate_own_half_passes": 18.0807,
                "total_opp_half_passes": 29.4207,
                "accurate_opp_half_passes": 25.3061,
                "crosses_total": 2.6798,
                "crosses_accurate": 0.74,
                "touches": 69.73,
                "possession_lost": 11.8584,
                "dispossessed": 0.5473,
                "duels_lost": 4.718,
                "aerial_lost": 0.4619,
                "total_contest": 2.5454,
                "won_contest": 1.1951,
                "ball_recovery": 4.2676,
                "challenges_lost": 1.529,
                "fouls": 0.8275,
                "fouls_drawn": 0.9317,
                "blocks": 0.107,
                "goals": 0.2556,
                "goal_rate": 0.2556,
                "assists": 0.0624,
                "assist_rate": 0.0624,
                "expected_goals": 0.0392,
                "expected_assists": 0.1491,
                "shots_on_target": 0.4427,
                "big_chances_created": 0.4035,
                "xgot": 0.0854,
                "ball_carries": 19.42,
                "total_progression": 90.8201,
                "progressive_carries": 3.6152,
                "key_pass": 1.5271,
                "shots_off_target": 0.1728
              },
              "params": {
                "blend_weight": 0.0023,
                "history_matches": 23,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.937,
                "prior_reliability": 0.02,
                "competition": "La Liga",
                "squad": "Barcelona"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 2.686,
                  "after": 2.6798
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.91,
                "tackles": 2.4929,
                "tackles_won": 1.5943,
                "clearances": 1.9771,
                "aerial_won": 0.7286,
                "total_shots": 0.6214,
                "rating": 6.8281,
                "minutes": 84.33,
                "total_pass": 49.1092,
                "accurate_pass": 43.3867,
                "duels_won": 5.3735,
                "total_long_balls": 2.5508,
                "accurate_long_balls": 1.6342,
                "total_own_half_passes": 19.6886,
                "accurate_own_half_passes": 18.0807,
                "total_opp_half_passes": 29.4207,
                "accurate_opp_half_passes": 25.3061,
                "crosses_total": 2.6798,
                "crosses_accurate": 0.74,
                "touches": 69.73,
                "possession_lost": 11.8584,
                "dispossessed": 0.5473,
                "duels_lost": 4.718,
                "aerial_lost": 0.4619,
                "total_contest": 2.5454,
                "won_contest": 1.1951,
                "ball_recovery": 4.2676,
                "challenges_lost": 1.529,
                "fouls": 0.8275,
                "fouls_drawn": 0.9317,
                "blocks": 0.107,
                "goals": 0.2556,
                "goal_rate": 0.2556,
                "assists": 0.0624,
                "assist_rate": 0.0624,
                "expected_goals": 0.0392,
                "expected_assists": 0.1491,
                "shots_on_target": 0.4427,
                "big_chances_created": 0.4035,
                "xgot": 0.0854,
                "ball_carries": 19.42,
                "total_progression": 90.8201,
                "progressive_carries": 3.6152,
                "key_pass": 1.5271,
                "shots_off_target": 0.1728
              },
              "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.91,
                "tackles": 2.4929,
                "tackles_won": 1.5943,
                "clearances": 1.9771,
                "aerial_won": 0.7286,
                "total_shots": 0.6214,
                "rating": 6.8281,
                "minutes": 84.33,
                "total_pass": 49.1092,
                "accurate_pass": 43.3867,
                "duels_won": 5.3735,
                "total_long_balls": 2.5508,
                "accurate_long_balls": 1.6342,
                "total_own_half_passes": 19.6886,
                "accurate_own_half_passes": 18.0807,
                "total_opp_half_passes": 29.4207,
                "accurate_opp_half_passes": 25.3061,
                "crosses_total": 2.6798,
                "crosses_accurate": 0.74,
                "touches": 69.73,
                "possession_lost": 11.8584,
                "dispossessed": 0.5473,
                "duels_lost": 4.718,
                "aerial_lost": 0.4619,
                "total_contest": 2.5454,
                "won_contest": 1.1951,
                "ball_recovery": 4.2676,
                "challenges_lost": 1.529,
                "fouls": 0.8275,
                "fouls_drawn": 0.9317,
                "blocks": 0.107,
                "goals": 0.2556,
                "goal_rate": 0.2556,
                "assists": 0.0624,
                "assist_rate": 0.0624,
                "expected_goals": 0.0392,
                "expected_assists": 0.1491,
                "shots_on_target": 0.4427,
                "big_chances_created": 0.4035,
                "xgot": 0.0854,
                "ball_carries": 19.42,
                "total_progression": 90.8201,
                "progressive_carries": 3.6152,
                "key_pass": 1.5271,
                "shots_off_target": 0.1728,
                "opponent_faced": "Toni Martínez",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Toni Martínez",
                  "matchup_zone": "Shape fallback"
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 3 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "interceptions": 0.91,
                "tackles": 2.4929,
                "tackles_won": 1.5943,
                "clearances": 1.9771,
                "aerial_won": 0.7286,
                "total_shots": 0.6214,
                "rating": 6.8281,
                "minutes": 84.33,
                "total_pass": 49.1092,
                "accurate_pass": 43.3867,
                "duels_won": 5.3735,
                "total_long_balls": 2.5508,
                "accurate_long_balls": 1.6342,
                "total_own_half_passes": 19.6886,
                "accurate_own_half_passes": 18.0807,
                "total_opp_half_passes": 29.4207,
                "accurate_opp_half_passes": 25.3061,
                "crosses_total": 2.6798,
                "crosses_accurate": 0.74,
                "touches": 69.73,
                "possession_lost": 11.8584,
                "dispossessed": 0.5473,
                "duels_lost": 4.718,
                "aerial_lost": 0.4619,
                "total_contest": 2.5454,
                "won_contest": 1.1951,
                "ball_recovery": 4.2676,
                "challenges_lost": 1.529,
                "fouls": 0.8275,
                "fouls_drawn": 0.9317,
                "blocks": 0.107,
                "goal_rate": 0.2556,
                "goals": 0,
                "assist_rate": 0.0624,
                "assists": 0,
                "expected_goals": 0.0392,
                "expected_assists": 0.1491,
                "shots_on_target": 0.4427,
                "big_chances_created": 0.4035,
                "xgot": 0.0854,
                "ball_carries": 19.42,
                "total_progression": 90.8201,
                "progressive_carries": 3.6152,
                "key_pass": 1.5271,
                "shots_off_target": 0.1728,
                "opponent_faced": "Toni Martínez",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 3
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 3.86 (squad xG sum 2.6208, xG scale 1.4740, xA scale 1.6297, team xA 2.51 = 0.65 x lambda)",
              "stats": {
                "interceptions": 0.91,
                "tackles": 2.4929,
                "tackles_won": 1.5943,
                "clearances": 1.9771,
                "aerial_won": 0.7286,
                "total_shots": 0.6214,
                "rating": 6.8281,
                "minutes": 84.33,
                "total_pass": 49.1092,
                "accurate_pass": 43.3867,
                "duels_won": 5.3735,
                "total_long_balls": 2.5508,
                "accurate_long_balls": 1.6342,
                "total_own_half_passes": 19.6886,
                "accurate_own_half_passes": 18.0807,
                "total_opp_half_passes": 29.4207,
                "accurate_opp_half_passes": 25.3061,
                "crosses_total": 2.6798,
                "crosses_accurate": 0.74,
                "touches": 69.73,
                "possession_lost": 11.8584,
                "dispossessed": 0.5473,
                "duels_lost": 4.718,
                "aerial_lost": 0.4619,
                "total_contest": 2.5454,
                "won_contest": 1.1951,
                "ball_recovery": 4.2676,
                "challenges_lost": 1.529,
                "fouls": 0.8275,
                "fouls_drawn": 0.9317,
                "blocks": 0.107,
                "goal_rate": 0.2556,
                "goals": 0,
                "assist_rate": 0.0624,
                "assists": 0,
                "expected_goals": 0.0578,
                "expected_assists": 0.243,
                "shots_on_target": 0.4427,
                "big_chances_created": 0.4035,
                "xgot": 0.1259,
                "ball_carries": 19.42,
                "total_progression": 90.8201,
                "progressive_carries": 3.6152,
                "key_pass": 1.5271,
                "shots_off_target": 0.1728,
                "opponent_faced": "Toni Martínez",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 3.863,
                "squad_xg_sum": 2.6208,
                "squad_xa_sum": 1.5408,
                "team_expected_assists": 2.511,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.474,
                "xa_scale": 1.6297,
                "opponent_lambda": 1.288,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0392,
                  "after": 0.0578
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1491,
                  "after": 0.243
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 15 by projected rating, fifa_overall 83.0)",
              "stats": {
                "interceptions": 0.91,
                "tackles": 2.4929,
                "tackles_won": 1.5943,
                "clearances": 1.9771,
                "aerial_won": 0.7286,
                "total_shots": 0.6214,
                "rating": 6.8281,
                "minutes": 84.33,
                "total_pass": 49.1092,
                "accurate_pass": 43.3867,
                "duels_won": 5.3735,
                "total_long_balls": 2.5508,
                "accurate_long_balls": 1.6342,
                "total_own_half_passes": 19.6886,
                "accurate_own_half_passes": 18.0807,
                "total_opp_half_passes": 29.4207,
                "accurate_opp_half_passes": 25.3061,
                "crosses_total": 2.6798,
                "crosses_accurate": 0.74,
                "touches": 69.73,
                "possession_lost": 11.8584,
                "dispossessed": 0.5473,
                "duels_lost": 4.718,
                "aerial_lost": 0.4619,
                "total_contest": 2.5454,
                "won_contest": 1.1951,
                "ball_recovery": 4.2676,
                "challenges_lost": 1.529,
                "fouls": 0.8275,
                "fouls_drawn": 0.9317,
                "blocks": 0.107,
                "goal_rate": 0.2556,
                "goals": 0,
                "assist_rate": 0.0624,
                "assists": 0,
                "expected_goals": 0.0578,
                "expected_assists": 0.243,
                "shots_on_target": 0.4427,
                "big_chances_created": 0.4035,
                "xgot": 0.1259,
                "ball_carries": 19.42,
                "total_progression": 90.8201,
                "progressive_carries": 3.6152,
                "key_pass": 1.5271,
                "shots_off_target": 0.1728,
                "opponent_faced": "Toni Martínez",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 0.8,
                "fifa_overall": 83.0
              },
              "params": {
                "match_squad_rank": 15,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 472,
                "fifa_rank": 320.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 83.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 3 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "interceptions": 0.91,
                "tackles": 2.4929,
                "tackles_won": 1.5943,
                "clearances": 1.9771,
                "aerial_won": 0.7286,
                "total_shots": 0.6214,
                "rating": 6.8281,
                "minutes": 84.33,
                "total_pass": 49.1092,
                "accurate_pass": 43.3867,
                "duels_won": 5.3735,
                "total_long_balls": 2.5508,
                "accurate_long_balls": 1.6342,
                "total_own_half_passes": 19.6886,
                "accurate_own_half_passes": 18.0807,
                "total_opp_half_passes": 29.4207,
                "accurate_opp_half_passes": 25.3061,
                "crosses_total": 2.6798,
                "crosses_accurate": 0.74,
                "touches": 69.73,
                "possession_lost": 11.8584,
                "dispossessed": 0.5473,
                "duels_lost": 4.718,
                "aerial_lost": 0.4619,
                "total_contest": 2.5454,
                "won_contest": 1.1951,
                "ball_recovery": 4.2676,
                "challenges_lost": 1.529,
                "fouls": 0.8275,
                "fouls_drawn": 0.9317,
                "blocks": 0.107,
                "goal_rate": 0.2556,
                "goals": 0,
                "assist_rate": 0.0624,
                "assists": 0,
                "expected_goals": 0.0578,
                "expected_assists": 0.243,
                "shots_on_target": 0.4427,
                "big_chances_created": 0.4035,
                "xgot": 0.1259,
                "ball_carries": 19.42,
                "total_progression": 90.8201,
                "progressive_carries": 3.6152,
                "key_pass": 1.5271,
                "shots_off_target": 0.1728,
                "opponent_faced": "Toni Martínez",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0562,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 0.8,
                "fifa_overall": 83.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 3,
                "goals_allocated": 0,
                "goal_probability": 0.0562,
                "goal_rate": 0.2556,
                "scorer_weight": 0.0722,
                "squad_weight_total": 4.4245,
                "weight_share": 0.0163,
                "finishing_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 11,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Raphinha",
                    "weight": 1.5149,
                    "already": 0,
                    "effective_weight": 1.5149,
                    "runner_up": "Lamine Yamal",
                    "runner_up_effective_weight": 1.1818
                  },
                  {
                    "n": 2,
                    "player": "Lamine Yamal",
                    "weight": 1.1818,
                    "already": 0,
                    "effective_weight": 1.1818,
                    "runner_up": "Raphinha",
                    "runner_up_effective_weight": 0.6446
                  },
                  {
                    "n": 3,
                    "player": "Raphinha",
                    "weight": 1.5149,
                    "already": 1,
                    "effective_weight": 0.6446,
                    "runner_up": "Lamine Yamal",
                    "runner_up_effective_weight": 0.5029
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 2 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "interceptions": 0.91,
                "tackles": 2.4929,
                "tackles_won": 1.5943,
                "clearances": 1.9771,
                "aerial_won": 0.7286,
                "total_shots": 0.6214,
                "rating": 6.8281,
                "minutes": 84.33,
                "total_pass": 49.1092,
                "accurate_pass": 43.3867,
                "duels_won": 5.3735,
                "total_long_balls": 2.5508,
                "accurate_long_balls": 1.6342,
                "total_own_half_passes": 19.6886,
                "accurate_own_half_passes": 18.0807,
                "total_opp_half_passes": 29.4207,
                "accurate_opp_half_passes": 25.3061,
                "crosses_total": 2.6798,
                "crosses_accurate": 0.74,
                "touches": 69.73,
                "possession_lost": 11.8584,
                "dispossessed": 0.5473,
                "duels_lost": 4.718,
                "aerial_lost": 0.4619,
                "total_contest": 2.5454,
                "won_contest": 1.1951,
                "ball_recovery": 4.2676,
                "challenges_lost": 1.529,
                "fouls": 0.8275,
                "fouls_drawn": 0.9317,
                "blocks": 0.107,
                "goal_rate": 0.2556,
                "goals": 0,
                "assist_rate": 0.0624,
                "assists": 0,
                "expected_goals": 0.0578,
                "expected_assists": 0.243,
                "shots_on_target": 0.4427,
                "big_chances_created": 0.4035,
                "xgot": 0.1259,
                "ball_carries": 19.42,
                "total_progression": 90.8201,
                "progressive_carries": 3.6152,
                "key_pass": 1.5271,
                "shots_off_target": 0.1728,
                "opponent_faced": "Toni Martínez",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0562,
                "projected_assists": 0,
                "assist_probability": 0.2157,
                "finishing_factor": 1.25,
                "creation_factor": 0.8,
                "fifa_overall": 83.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 2,
                "assists_allocated": 0,
                "assist_probability": 0.2157,
                "assist_rate": 0.0624,
                "provider_weight": 0.1944,
                "squad_weight_total": 2.7263,
                "weight_share": 0.0713,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 7,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Lamine Yamal",
                    "weight": 0.5086,
                    "already": 0,
                    "effective_weight": 0.5086,
                    "runner_up": "Pedri",
                    "runner_up_effective_weight": 0.3563
                  },
                  {
                    "n": 2,
                    "player": "Pedri",
                    "weight": 0.3563,
                    "already": 0,
                    "effective_weight": 0.3563,
                    "runner_up": "Fermín López",
                    "runner_up_effective_weight": 0.3049
                  }
                ]
              }
            }
          ]
        },
        "Pedri": {
          "player_id": 992587,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 8,
          "height": 174,
          "market_value": 164000000,
          "stats": {
            "key_pass": 3,
            "expected_assists": 0.3289,
            "assist_rate": 0.2228,
            "assists": 1,
            "expected_goals": 0.1341,
            "goal_rate": 0.1193,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 7.2264,
            "minutes": 83,
            "total_pass": 78,
            "accurate_pass": 72,
            "duels_won": 4,
            "total_long_balls": 4,
            "accurate_long_balls": 2,
            "total_own_half_passes": 26,
            "accurate_own_half_passes": 25,
            "total_opp_half_passes": 52,
            "accurate_opp_half_passes": 47,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 92,
            "possession_lost": 10.378,
            "dispossessed": 0.9664,
            "duels_lost": 4,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 1,
            "total_contest": 2,
            "won_contest": 1,
            "challenges_lost": 2,
            "fouls": 0,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0898,
            "ball_carries": 32,
            "total_progression": 106,
            "progressive_carries": 2,
            "shots_off_target": 1,
            "duel_xg_multiplier": 1.2638,
            "dribbles_attempted": 3,
            "dribbles_successful": 1.6,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.599,
            "pressing_faced": "LOW",
            "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
            "numerical_situation": "1v1",
            "opponent_defenders": "Pablo Ibáñez",
            "opponent_faced": "Pablo Ibáñez",
            "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.1255,
            "projected_assists": 1,
            "assist_probability": 0.2803,
            "finishing_factor": 1.2007,
            "creation_factor": 1.0834,
            "fifa_overall": 90.0
          },
          "latest_10_games": [
            {
              "match_id": 16421080,
              "match_date": "2026-10-25",
              "home_team": "FC Barcelona",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.1985,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "total_pass": 87,
                "accurate_pass": 78,
                "key_pass": 4,
                "tackles": 0,
                "tackles_won": 0,
                "interceptions": 1,
                "clearances": 0,
                "aerial_won": 0,
                "duels_won": 3,
                "ball_recovery": 7,
                "saves": 0
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421068,
              "match_date": "2026-10-17",
              "home_team": "Real Betis",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0483,
                "total_shots": 0,
                "total_pass": 112,
                "accurate_pass": 103,
                "key_pass": 2,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 6,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421060,
              "match_date": "2026-10-10",
              "home_team": "FC Barcelona",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Getafe",
              "stats": {
                "minutes": 29,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0257,
                "expected_assists": 0.0447,
                "total_shots": 1,
                "total_pass": 50,
                "accurate_pass": 46,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 2,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416349,
              "match_date": "2026-09-19",
              "home_team": "Sevilla",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 86,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1555,
                "expected_assists": 0.063,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 66,
                "accurate_pass": 60,
                "key_pass": 4,
                "tackles": 2,
                "tackles_won": 2,
                "duels_won": 3,
                "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": 16416346,
              "match_date": "2026-09-16",
              "home_team": "FC Barcelona",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 61,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.4025,
                "total_shots": 0,
                "total_pass": 50,
                "accurate_pass": 48,
                "key_pass": 5,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416329,
              "match_date": "2026-09-13",
              "home_team": "Levante UD",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 66,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1863,
                "total_shots": 0,
                "total_pass": 63,
                "accurate_pass": 53,
                "tackles": 1,
                "clearances": 2,
                "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": 16416325,
              "match_date": "2026-09-06",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Valencia",
              "stats": {
                "minutes": 81,
                "rating": 8.2,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.297,
                "expected_assists": 0.112,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 72,
                "accurate_pass": 69,
                "tackles": 3,
                "tackles_won": 1,
                "clearances": 1,
                "duels_won": 4,
                "ball_recovery": 8
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416295,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 77,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0773,
                "expected_assists": 0.1121,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 72,
                "accurate_pass": 68,
                "key_pass": 2,
                "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": 16421059,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 85,
                "rating": 8.0,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.4608,
                "total_shots": 0,
                "total_pass": 54,
                "accurate_pass": 52,
                "key_pass": 3,
                "tackles": 2,
                "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": 16416311,
              "match_date": "2026-08-23",
              "home_team": "Elche",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Elche",
              "stats": {
                "minutes": 46,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1668,
                "total_shots": 0,
                "total_pass": 46,
                "accurate_pass": 41,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 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"
            }
          ],
          "ranking": {
            "global_player_rank": 6,
            "combined_rank_score": 12.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 12.0,
            "sofascore_rating": 8.425,
            "sofascore_appearances": 4.0,
            "fifa_rank": 12.0,
            "fifa_overall": 90.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 4,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.2264,
            "source_file": "data/player_rankings.csv",
            "player_name": "Pedri",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Lamine Yamal",
                  "ranking": 1
                },
                {
                  "player_name": "Kylian Mbappé",
                  "ranking": 2
                },
                {
                  "player_name": "Erling Haaland",
                  "ranking": 3
                },
                {
                  "player_name": "Mariano Díaz",
                  "ranking": 4
                },
                {
                  "player_name": "Jude Bellingham",
                  "ranking": 5
                }
              ],
              "lower": [
                {
                  "player_name": "Ryu Won-Woo",
                  "ranking": 7
                },
                {
                  "player_name": "Bruno Fernandes",
                  "ranking": 8
                },
                {
                  "player_name": "Felix Horn Myhre",
                  "ranking": 9
                },
                {
                  "player_name": "Raphinha",
                  "ranking": 10
                },
                {
                  "player_name": "Vini Jr.",
                  "ranking": 11
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.773,
          "history_matches": 39,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 39,
            "data_confidence": 0.773,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0135,
            "fbref_prior_metrics": {
              "squad": "Barcelona",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 2.0,
              "minutes": 206.0,
              "goals_per90": 0.0,
              "assists_per90": 0.4347826086956522,
              "shots_per90": 0.87,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.1533
            },
            "rationale": "XGBoost regressor (M_service) evaluated 39 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Barcelona, rel: 0.15, gls/90: 0.0, ast/90: 0.4347826086956522)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 2.5683,
                "expected_assists": 0.1991,
                "assists": 0.2179,
                "assist_rate": 0.2179,
                "expected_goals": 0.071,
                "goals": 0.0943,
                "goal_rate": 0.0943,
                "shots_on_target": 0.1945,
                "total_shots": 0.7767,
                "rating": 7.2264,
                "minutes": 82.54,
                "total_pass": 77.1193,
                "accurate_pass": 70.9568,
                "duels_won": 3.666,
                "total_long_balls": 3.4729,
                "accurate_long_balls": 2.3563,
                "total_own_half_passes": 25.9635,
                "accurate_own_half_passes": 24.3399,
                "total_opp_half_passes": 51.1559,
                "accurate_opp_half_passes": 46.617,
                "crosses_total": 0.8865,
                "crosses_accurate": 0.3137,
                "touches": 90.5344,
                "possession_lost": 10.2398,
                "dispossessed": 0.9535,
                "duels_lost": 4.0222,
                "aerial_won": 0.2187,
                "aerial_lost": 0.1572,
                "interceptions": 0.4209,
                "tackles_won": 0.9075,
                "tackles": 1.4474,
                "clearances": 0.7895,
                "total_contest": 1.7615,
                "won_contest": 0.8547,
                "challenges_lost": 1.7173,
                "fouls": 0.2874,
                "fouls_drawn": 1.1451,
                "blocks": 0.0128,
                "big_chances_created": 0.0889,
                "big_chances_missed": 0.0221,
                "xgot": 0.0476,
                "ball_carries": 31.511,
                "total_progression": 104.0953,
                "progressive_carries": 1.8053,
                "shots_off_target": 0.5821
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-31T10:30:21.314387+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 902,
                    "rows": 24945
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-25",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1503,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-10-17",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1277,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-10-10",
                    "opponent": "Getafe",
                    "minutes": 29.0,
                    "is_starting": false,
                    "weight": 0.1086,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Sevilla",
                    "minutes": 86.0,
                    "is_starting": true,
                    "weight": 0.0923,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Real Racing Club",
                    "minutes": 61.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Levante UD",
                    "minutes": 66.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Valencia",
                    "minutes": 81.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 8.2
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Rayo Vallecano",
                    "minutes": 77.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Athletic Club",
                    "minutes": 85.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 8.0
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Elche",
                    "minutes": 46.0,
                    "is_starting": false,
                    "weight": 0.0348,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.5788,
                  "expectedGoals": 0.0415,
                  "creative_index": 1.057,
                  "expectedAssists": 0.1648,
                  "keyPass": 2.3952
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 2.5683200359344482,
                    "model_output": 2.5683,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1583
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1351
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0716
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0542
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.028
                      }
                    ],
                    "decomposition": {
                      "base": 0.8899,
                      "items": [
                        {
                          "name": "creative_index",
                          "contribution": 0.2496
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1806
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.1634
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.1264
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.12
                        }
                      ],
                      "others": 0.8384,
                      "total": 2.5683,
                      "log_link": true,
                      "margin_base": -0.11669,
                      "item_margins": [
                        {
                          "name": "creative_index",
                          "margin": 0.247237
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.147099
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.116707
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.081754
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.071879
                        }
                      ],
                      "others_margin": 0.395265
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.1990654319524765,
                    "model_output": 0.1991,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1213
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1076
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0864
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0618
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0476
                      }
                    ],
                    "decomposition": {
                      "base": 0.085,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0177
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0156
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0102
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0096
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0091
                        }
                      ],
                      "others": 0.0519,
                      "total": 0.1991,
                      "log_link": true,
                      "margin_base": -2.465163,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": 0.189382
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.141
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.082508
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.071808
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.063653
                        }
                      ],
                      "others_margin": 0.302691
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.2178855538368225,
                    "model_output": 0.2179,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0508
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0447
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0336
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0324
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0322
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0269
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0207
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0148
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0104
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0088
                        }
                      ],
                      "others": 0.0512,
                      "total": 0.2179,
                      "log_link": true,
                      "margin_base": -2.463734,
                      "item_margins": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.27465
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.169805
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.105443
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.06784
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.053973
                        }
                      ],
                      "others_margin": 0.268239
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.0710178017616272,
                    "model_output": 0.071,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1242
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0778
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0743
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0437
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0241
                      }
                    ],
                    "decomposition": {
                      "base": 0.0911,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0139
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0127
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.008
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0069
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0031
                        }
                      ],
                      "others": -0.0033,
                      "total": 0.071,
                      "log_link": true,
                      "margin_base": -2.395469,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.142167
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.128408
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.090944
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.084772
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.040657
                        }
                      ],
                      "others_margin": -0.046742
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.09426409006118774,
                    "model_output": 0.0943,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0846
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0655
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0399
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0358
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0268
                      }
                    ],
                    "decomposition": {
                      "base": 0.0947,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0154
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0107
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0095
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0074
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0046
                        }
                      ],
                      "others": -0.0024,
                      "total": 0.0943,
                      "log_link": true,
                      "margin_base": -2.357331,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.177129
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.126341
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.100634
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.077456
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.04858
                        }
                      ],
                      "others_margin": -0.025294
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.19453787803649902,
                    "model_output": 0.1945,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1146
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0928
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0753
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0297
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.3177,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0703
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.036
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": -0.0246
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0242
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0172
                        }
                      ],
                      "others": 0.0007,
                      "total": 0.1945,
                      "log_link": true,
                      "margin_base": -1.146731,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.249998
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": -0.157214
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": -0.12358
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.121952
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.084842
                        }
                      ],
                      "others_margin": 0.003285
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.7766700387001038,
                    "model_output": 0.7767,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1488
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1213
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0474
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0446
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0276
                      }
                    ],
                    "decomposition": {
                      "base": 0.9817,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.255
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.128
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0492
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0492
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0329
                        }
                      ],
                      "others": -0.1109,
                      "total": 0.7767,
                      "log_link": false,
                      "margin_base": 0.98173,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.255022
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.128049
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.049215
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.049155
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.032919
                        }
                      ],
                      "others_margin": -0.110945
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.226363182067871,
                    "model_output": 7.2264,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.102
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0743
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0503
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0382
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 6.856,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": 0.124
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0936
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0355
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0308
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": 0.0265
                        }
                      ],
                      "others": 0.06,
                      "total": 7.2264,
                      "log_link": false,
                      "margin_base": 6.856008,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": 0.123993
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.093592
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.035529
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.030843
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": 0.026486
                        }
                      ],
                      "others_margin": 0.059915
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 39,
                  "role_matches": 31,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0135, quality 0.900)",
              "stats": {
                "key_pass": 2.603,
                "expected_assists": 0.2018,
                "assists": 0.2208,
                "assist_rate": 0.2208,
                "expected_goals": 0.072,
                "goals": 0.0955,
                "goal_rate": 0.0955,
                "shots_on_target": 0.1972,
                "total_shots": 0.7872,
                "rating": 7.2264,
                "minutes": 82.54,
                "total_pass": 78.1604,
                "accurate_pass": 71.9147,
                "duels_won": 3.7155,
                "total_long_balls": 3.5198,
                "accurate_long_balls": 2.3881,
                "total_own_half_passes": 26.314,
                "accurate_own_half_passes": 24.6685,
                "total_opp_half_passes": 51.8465,
                "accurate_opp_half_passes": 47.2463,
                "crosses_total": 0.8985,
                "crosses_accurate": 0.3179,
                "touches": 91.7566,
                "possession_lost": 10.378,
                "dispossessed": 0.9664,
                "duels_lost": 4.0765,
                "aerial_won": 0.2217,
                "aerial_lost": 0.1593,
                "interceptions": 0.4266,
                "tackles_won": 0.9198,
                "tackles": 1.4669,
                "clearances": 0.8002,
                "total_contest": 1.7853,
                "won_contest": 0.8662,
                "challenges_lost": 1.7405,
                "fouls": 0.2913,
                "fouls_drawn": 1.1606,
                "blocks": 0.013,
                "big_chances_created": 0.0901,
                "big_chances_missed": 0.0224,
                "xgot": 0.0482,
                "ball_carries": 31.9364,
                "total_progression": 105.5006,
                "progressive_carries": 1.8297,
                "shots_off_target": 0.59
              },
              "params": {
                "market_value_eur": 164000000,
                "quality_factor": 0.8997,
                "boost_factor": 1.0135,
                "reference_quality": 0.505,
                "history_matches": 39,
                "history_shrink": 0.1136,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0113)",
              "stats": {
                "key_pass": 2.603,
                "expected_assists": 0.2018,
                "assists": 0.2228,
                "assist_rate": 0.2228,
                "expected_goals": 0.072,
                "goals": 0.0944,
                "goal_rate": 0.0944,
                "shots_on_target": 0.195,
                "total_shots": 0.7873,
                "rating": 7.2264,
                "minutes": 82.54,
                "total_pass": 78.1604,
                "accurate_pass": 71.9147,
                "duels_won": 3.7155,
                "total_long_balls": 3.5198,
                "accurate_long_balls": 2.3881,
                "total_own_half_passes": 26.314,
                "accurate_own_half_passes": 24.6685,
                "total_opp_half_passes": 51.8465,
                "accurate_opp_half_passes": 47.2463,
                "crosses_total": 0.9019,
                "crosses_accurate": 0.3179,
                "touches": 91.7566,
                "possession_lost": 10.378,
                "dispossessed": 0.9664,
                "duels_lost": 4.0765,
                "aerial_won": 0.2217,
                "aerial_lost": 0.1593,
                "interceptions": 0.4218,
                "tackles_won": 0.9274,
                "tackles": 1.4669,
                "clearances": 0.8002,
                "total_contest": 1.7853,
                "won_contest": 0.8662,
                "challenges_lost": 1.7405,
                "fouls": 0.288,
                "fouls_drawn": 1.161,
                "blocks": 0.013,
                "big_chances_created": 0.0901,
                "big_chances_missed": 0.0224,
                "xgot": 0.0482,
                "ball_carries": 31.9364,
                "total_progression": 105.5006,
                "progressive_carries": 1.8297,
                "shots_off_target": 0.59
              },
              "params": {
                "blend_weight": 0.0113,
                "history_matches": 39,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9171,
                "prior_reliability": 0.1533,
                "competition": "La Liga",
                "squad": "Barcelona"
              },
              "changes": [
                {
                  "stat": "wonTackle",
                  "before": 0.9198,
                  "after": 0.9274
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 2.603,
                "expected_assists": 0.2018,
                "assists": 0.2228,
                "assist_rate": 0.2228,
                "expected_goals": 0.072,
                "goals": 0.0944,
                "goal_rate": 0.0944,
                "shots_on_target": 0.195,
                "total_shots": 0.7873,
                "rating": 7.2264,
                "minutes": 82.54,
                "total_pass": 78.1604,
                "accurate_pass": 71.9147,
                "duels_won": 3.7155,
                "total_long_balls": 3.5198,
                "accurate_long_balls": 2.3881,
                "total_own_half_passes": 26.314,
                "accurate_own_half_passes": 24.6685,
                "total_opp_half_passes": 51.8465,
                "accurate_opp_half_passes": 47.2463,
                "crosses_total": 0.9019,
                "crosses_accurate": 0.3179,
                "touches": 91.7566,
                "possession_lost": 10.378,
                "dispossessed": 0.9664,
                "duels_lost": 4.0765,
                "aerial_won": 0.2217,
                "aerial_lost": 0.1593,
                "interceptions": 0.4218,
                "tackles_won": 0.9274,
                "tackles": 1.4669,
                "clearances": 0.8002,
                "total_contest": 1.7853,
                "won_contest": 0.8662,
                "challenges_lost": 1.7405,
                "fouls": 0.288,
                "fouls_drawn": 1.161,
                "blocks": 0.013,
                "big_chances_created": 0.0901,
                "big_chances_missed": 0.0224,
                "xgot": 0.0482,
                "ball_carries": 31.9364,
                "total_progression": 105.5006,
                "progressive_carries": 1.8297,
                "shots_off_target": 0.59
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "key_pass": 2.603,
                "expected_assists": 0.2018,
                "assists": 0.2228,
                "assist_rate": 0.2228,
                "expected_goals": 0.091,
                "goals": 0.1193,
                "goal_rate": 0.1193,
                "shots_on_target": 0.2464,
                "total_shots": 0.995,
                "rating": 7.2264,
                "minutes": 82.54,
                "total_pass": 78.1604,
                "accurate_pass": 71.9147,
                "duels_won": 3.7155,
                "total_long_balls": 3.5198,
                "accurate_long_balls": 2.3881,
                "total_own_half_passes": 26.314,
                "accurate_own_half_passes": 24.6685,
                "total_opp_half_passes": 51.8465,
                "accurate_opp_half_passes": 47.2463,
                "crosses_total": 0.9019,
                "crosses_accurate": 0.3179,
                "touches": 91.7566,
                "possession_lost": 10.378,
                "dispossessed": 0.9664,
                "duels_lost": 4.0765,
                "aerial_won": 0.9,
                "aerial_lost": 0.1593,
                "interceptions": 0.4218,
                "tackles_won": 0.9274,
                "tackles": 1.4669,
                "clearances": 0.8002,
                "total_contest": 1.7853,
                "won_contest": 0.8662,
                "challenges_lost": 1.7405,
                "fouls": 0.288,
                "fouls_drawn": 1.161,
                "blocks": 0.013,
                "big_chances_created": 0.0901,
                "big_chances_missed": 0.0283,
                "xgot": 0.0609,
                "ball_carries": 31.9364,
                "total_progression": 105.5006,
                "progressive_carries": 1.8297,
                "shots_off_target": 0.7456,
                "duel_xg_multiplier": 1.2638,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.599,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pablo Ibáñez",
                "opponent_faced": "Pablo Ibáñez",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Pablo Ibáñez",
                  "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                  "duel_win_rate": 0.599,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 1.2638,
                  "skill_edge": 0.1994,
                  "height_edge": -0.02,
                  "attacker_skill": 0.8999,
                  "defender_skill": 0.4567,
                  "attacker_role": "CM",
                  "attacker_mv_price_index": 0.9,
                  "defender_adjusted_parts": [
                    {
                      "player": "Pablo Ibáñez",
                      "market_value": 4099999,
                      "role": "CM",
                      "price_index": 0.9,
                      "adjusted_quality": 0.4567
                    }
                  ],
                  "xg_override": 0.091
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.2217,
                  "after": 0.9
                },
                {
                  "stat": "totalShots",
                  "before": 0.7873,
                  "after": 0.995
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.59,
                  "after": 0.7456
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.195,
                  "after": 0.2464
                },
                {
                  "stat": "goals",
                  "before": 0.0944,
                  "after": 0.1193
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.072,
                  "after": 0.091
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.0482,
                  "after": 0.0609
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 0.0224,
                  "after": 0.0283
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 3 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 2.603,
                "expected_assists": 0.2018,
                "assist_rate": 0.2228,
                "assists": 0,
                "expected_goals": 0.091,
                "goal_rate": 0.1193,
                "goals": 0,
                "shots_on_target": 0.2464,
                "total_shots": 0.995,
                "rating": 7.2264,
                "minutes": 82.54,
                "total_pass": 78.1604,
                "accurate_pass": 71.9147,
                "duels_won": 3.7155,
                "total_long_balls": 3.5198,
                "accurate_long_balls": 2.3881,
                "total_own_half_passes": 26.314,
                "accurate_own_half_passes": 24.6685,
                "total_opp_half_passes": 51.8465,
                "accurate_opp_half_passes": 47.2463,
                "crosses_total": 0.9019,
                "crosses_accurate": 0.3179,
                "touches": 91.7566,
                "possession_lost": 10.378,
                "dispossessed": 0.9664,
                "duels_lost": 4.0765,
                "aerial_won": 0.9,
                "aerial_lost": 0.1593,
                "interceptions": 0.4218,
                "tackles_won": 0.9274,
                "tackles": 1.4669,
                "clearances": 0.8002,
                "total_contest": 1.7853,
                "won_contest": 0.8662,
                "challenges_lost": 1.7405,
                "fouls": 0.288,
                "fouls_drawn": 1.161,
                "blocks": 0.013,
                "big_chances_created": 0.0901,
                "big_chances_missed": 0.0283,
                "xgot": 0.0609,
                "ball_carries": 31.9364,
                "total_progression": 105.5006,
                "progressive_carries": 1.8297,
                "shots_off_target": 0.7456,
                "duel_xg_multiplier": 1.2638,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.599,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pablo Ibáñez",
                "opponent_faced": "Pablo Ibáñez",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 3
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 3.86 (squad xG sum 2.6208, xG scale 1.4740, xA scale 1.6297, team xA 2.51 = 0.65 x lambda)",
              "stats": {
                "key_pass": 2.603,
                "expected_assists": 0.3289,
                "assist_rate": 0.2228,
                "assists": 0,
                "expected_goals": 0.1341,
                "goal_rate": 0.1193,
                "goals": 0,
                "shots_on_target": 0.2464,
                "total_shots": 0.995,
                "rating": 7.2264,
                "minutes": 82.54,
                "total_pass": 78.1604,
                "accurate_pass": 71.9147,
                "duels_won": 3.7155,
                "total_long_balls": 3.5198,
                "accurate_long_balls": 2.3881,
                "total_own_half_passes": 26.314,
                "accurate_own_half_passes": 24.6685,
                "total_opp_half_passes": 51.8465,
                "accurate_opp_half_passes": 47.2463,
                "crosses_total": 0.9019,
                "crosses_accurate": 0.3179,
                "touches": 91.7566,
                "possession_lost": 10.378,
                "dispossessed": 0.9664,
                "duels_lost": 4.0765,
                "aerial_won": 0.9,
                "aerial_lost": 0.1593,
                "interceptions": 0.4218,
                "tackles_won": 0.9274,
                "tackles": 1.4669,
                "clearances": 0.8002,
                "total_contest": 1.7853,
                "won_contest": 0.8662,
                "challenges_lost": 1.7405,
                "fouls": 0.288,
                "fouls_drawn": 1.161,
                "blocks": 0.013,
                "big_chances_created": 0.0901,
                "big_chances_missed": 0.0283,
                "xgot": 0.0898,
                "ball_carries": 31.9364,
                "total_progression": 105.5006,
                "progressive_carries": 1.8297,
                "shots_off_target": 0.7456,
                "duel_xg_multiplier": 1.2638,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.599,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pablo Ibáñez",
                "opponent_faced": "Pablo Ibáñez",
                "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.2007,
                "creation_factor": 1.0834
              },
              "params": {
                "team_lambda": 3.863,
                "squad_xg_sum": 2.6208,
                "squad_xa_sum": 1.5408,
                "team_expected_assists": 2.511,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.474,
                "xa_scale": 1.6297,
                "opponent_lambda": 1.288,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.091,
                  "after": 0.1341
                },
                {
                  "stat": "expected_assists",
                  "before": 0.2018,
                  "after": 0.3289
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 4 by projected rating, fifa_overall 90.0)",
              "stats": {
                "key_pass": 2.603,
                "expected_assists": 0.3289,
                "assist_rate": 0.2228,
                "assists": 0,
                "expected_goals": 0.1341,
                "goal_rate": 0.1193,
                "goals": 0,
                "shots_on_target": 0.2464,
                "total_shots": 0.995,
                "rating": 7.2264,
                "minutes": 82.54,
                "total_pass": 78.1604,
                "accurate_pass": 71.9147,
                "duels_won": 3.7155,
                "total_long_balls": 3.5198,
                "accurate_long_balls": 2.3881,
                "total_own_half_passes": 26.314,
                "accurate_own_half_passes": 24.6685,
                "total_opp_half_passes": 51.8465,
                "accurate_opp_half_passes": 47.2463,
                "crosses_total": 0.9019,
                "crosses_accurate": 0.3179,
                "touches": 91.7566,
                "possession_lost": 10.378,
                "dispossessed": 0.9664,
                "duels_lost": 4.0765,
                "aerial_won": 0.9,
                "aerial_lost": 0.1593,
                "interceptions": 0.4218,
                "tackles_won": 0.9274,
                "tackles": 1.4669,
                "clearances": 0.8002,
                "total_contest": 1.7853,
                "won_contest": 0.8662,
                "challenges_lost": 1.7405,
                "fouls": 0.288,
                "fouls_drawn": 1.161,
                "blocks": 0.013,
                "big_chances_created": 0.0901,
                "big_chances_missed": 0.0283,
                "xgot": 0.0898,
                "ball_carries": 31.9364,
                "total_progression": 105.5006,
                "progressive_carries": 1.8297,
                "shots_off_target": 0.7456,
                "duel_xg_multiplier": 1.2638,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.599,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pablo Ibáñez",
                "opponent_faced": "Pablo Ibáñez",
                "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.2007,
                "creation_factor": 1.0834,
                "fifa_overall": 90.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": 6,
                "fifa_rank": 12.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 90.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 3 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 2.603,
                "expected_assists": 0.3289,
                "assist_rate": 0.2228,
                "assists": 0,
                "expected_goals": 0.1341,
                "goal_rate": 0.1193,
                "goals": 0,
                "shots_on_target": 0.2464,
                "total_shots": 0.995,
                "rating": 7.2264,
                "minutes": 82.54,
                "total_pass": 78.1604,
                "accurate_pass": 71.9147,
                "duels_won": 3.7155,
                "total_long_balls": 3.5198,
                "accurate_long_balls": 2.3881,
                "total_own_half_passes": 26.314,
                "accurate_own_half_passes": 24.6685,
                "total_opp_half_passes": 51.8465,
                "accurate_opp_half_passes": 47.2463,
                "crosses_total": 0.9019,
                "crosses_accurate": 0.3179,
                "touches": 91.7566,
                "possession_lost": 10.378,
                "dispossessed": 0.9664,
                "duels_lost": 4.0765,
                "aerial_won": 0.9,
                "aerial_lost": 0.1593,
                "interceptions": 0.4218,
                "tackles_won": 0.9274,
                "tackles": 1.4669,
                "clearances": 0.8002,
                "total_contest": 1.7853,
                "won_contest": 0.8662,
                "challenges_lost": 1.7405,
                "fouls": 0.288,
                "fouls_drawn": 1.161,
                "blocks": 0.013,
                "big_chances_created": 0.0901,
                "big_chances_missed": 0.0283,
                "xgot": 0.0898,
                "ball_carries": 31.9364,
                "total_progression": 105.5006,
                "progressive_carries": 1.8297,
                "shots_off_target": 0.7456,
                "duel_xg_multiplier": 1.2638,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.599,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pablo Ibáñez",
                "opponent_faced": "Pablo Ibáñez",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1255,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.2007,
                "creation_factor": 1.0834,
                "fifa_overall": 90.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 3,
                "goals_allocated": 0,
                "goal_probability": 0.1255,
                "goal_rate": 0.1193,
                "scorer_weight": 0.161,
                "squad_weight_total": 4.4245,
                "weight_share": 0.0364,
                "finishing_factor": 1.2007,
                "appearance_weight": 1.0,
                "weight_rank": 7,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Raphinha",
                    "weight": 1.5149,
                    "already": 0,
                    "effective_weight": 1.5149,
                    "runner_up": "Lamine Yamal",
                    "runner_up_effective_weight": 1.1818
                  },
                  {
                    "n": 2,
                    "player": "Lamine Yamal",
                    "weight": 1.1818,
                    "already": 0,
                    "effective_weight": 1.1818,
                    "runner_up": "Raphinha",
                    "runner_up_effective_weight": 0.6446
                  },
                  {
                    "n": 3,
                    "player": "Raphinha",
                    "weight": 1.5149,
                    "already": 1,
                    "effective_weight": 0.6446,
                    "runner_up": "Lamine Yamal",
                    "runner_up_effective_weight": 0.5029
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 2 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "key_pass": 2.603,
                "expected_assists": 0.3289,
                "assist_rate": 0.2228,
                "assists": 1,
                "expected_goals": 0.1341,
                "goal_rate": 0.1193,
                "goals": 0,
                "shots_on_target": 0.2464,
                "total_shots": 0.995,
                "rating": 7.2264,
                "minutes": 82.54,
                "total_pass": 78.1604,
                "accurate_pass": 71.9147,
                "duels_won": 3.7155,
                "total_long_balls": 3.5198,
                "accurate_long_balls": 2.3881,
                "total_own_half_passes": 26.314,
                "accurate_own_half_passes": 24.6685,
                "total_opp_half_passes": 51.8465,
                "accurate_opp_half_passes": 47.2463,
                "crosses_total": 0.9019,
                "crosses_accurate": 0.3179,
                "touches": 91.7566,
                "possession_lost": 10.378,
                "dispossessed": 0.9664,
                "duels_lost": 4.0765,
                "aerial_won": 0.9,
                "aerial_lost": 0.1593,
                "interceptions": 0.4218,
                "tackles_won": 0.9274,
                "tackles": 1.4669,
                "clearances": 0.8002,
                "total_contest": 1.7853,
                "won_contest": 0.8662,
                "challenges_lost": 1.7405,
                "fouls": 0.288,
                "fouls_drawn": 1.161,
                "blocks": 0.013,
                "big_chances_created": 0.0901,
                "big_chances_missed": 0.0283,
                "xgot": 0.0898,
                "ball_carries": 31.9364,
                "total_progression": 105.5006,
                "progressive_carries": 1.8297,
                "shots_off_target": 0.7456,
                "duel_xg_multiplier": 1.2638,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.599,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pablo Ibáñez",
                "opponent_faced": "Pablo Ibáñez",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1255,
                "projected_assists": 1,
                "assist_probability": 0.2803,
                "finishing_factor": 1.2007,
                "creation_factor": 1.0834,
                "fifa_overall": 90.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 2,
                "assists_allocated": 1,
                "assist_probability": 0.2803,
                "assist_rate": 0.2228,
                "provider_weight": 0.3563,
                "squad_weight_total": 2.7263,
                "weight_share": 0.1307,
                "creation_factor": 1.0834,
                "appearance_weight": 1.0,
                "weight_rank": 2,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Lamine Yamal",
                    "weight": 0.5086,
                    "already": 0,
                    "effective_weight": 0.5086,
                    "runner_up": "Pedri",
                    "runner_up_effective_weight": 0.3563
                  },
                  {
                    "n": 2,
                    "player": "Pedri",
                    "weight": 0.3563,
                    "already": 0,
                    "effective_weight": 0.3563,
                    "runner_up": "Fermín López",
                    "runner_up_effective_weight": 0.3049
                  }
                ]
              }
            }
          ]
        },
        "Fermín López": {
          "player_id": 1153270,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 7,
          "height": 176,
          "market_value": 113000000,
          "stats": {
            "key_pass": 2,
            "expected_assists": 0.2708,
            "assist_rate": 0.1934,
            "assists": 0,
            "expected_goals": 0.3383,
            "goal_rate": 0.2508,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 3,
            "rating": 7.0322,
            "minutes": 77,
            "total_pass": 37,
            "accurate_pass": 31,
            "duels_won": 4,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_own_half_passes": 11,
            "accurate_own_half_passes": 10,
            "total_opp_half_passes": 26,
            "accurate_opp_half_passes": 21,
            "crosses_total": 2,
            "crosses_accurate": 0,
            "touches": 53,
            "possession_lost": 12.037,
            "dispossessed": 1.5619,
            "duels_lost": 6,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 0,
            "total_contest": 2,
            "won_contest": 1,
            "challenges_lost": 1,
            "fouls": 2,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 1,
            "big_chances_missed": 0,
            "xgot": 0.8969,
            "ball_carries": 13,
            "total_progression": 50,
            "progressive_carries": 2,
            "shots_off_target": 2,
            "duel_xg_multiplier": 1.2744,
            "dribbles_attempted": 3,
            "dribbles_successful": 1.6,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.607,
            "pressing_faced": "LOW",
            "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
            "numerical_situation": "1v1",
            "opponent_defenders": "Pablo Ibáñez",
            "opponent_faced": "Pablo Ibáñez",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.287,
            "projected_assists": 0,
            "assist_probability": 0.2372,
            "finishing_factor": 1.0762,
            "creation_factor": 1.1258,
            "fifa_overall": 90.0
          },
          "latest_10_games": [
            {
              "match_id": 16421080,
              "match_date": "2026-10-25",
              "home_team": "FC Barcelona",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 74,
                "rating": 6.4,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0191,
                "expected_assists": 0.0358,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "total_pass": 32,
                "accurate_pass": 27,
                "key_pass": 2,
                "tackles": 0,
                "tackles_won": 0,
                "interceptions": 0,
                "clearances": 0,
                "aerial_won": 0,
                "duels_won": 3,
                "ball_recovery": 1,
                "saves": 0
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421068,
              "match_date": "2026-10-17",
              "home_team": "Real Betis",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 62,
                "rating": 7.3,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.1348,
                "expected_assists": 0.3833,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 32,
                "accurate_pass": 28,
                "key_pass": 2,
                "tackles": 1,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421060,
              "match_date": "2026-10-10",
              "home_team": "FC Barcelona",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Getafe",
              "stats": {
                "minutes": 29,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0653,
                "expected_assists": 0.034,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 28,
                "accurate_pass": 25,
                "key_pass": 1,
                "tackles": 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": 16416349,
              "match_date": "2026-09-19",
              "home_team": "Sevilla",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 76,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0861,
                "total_shots": 0,
                "total_pass": 36,
                "accurate_pass": 28,
                "key_pass": 3,
                "tackles": 1,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 6,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416329,
              "match_date": "2026-09-13",
              "home_team": "Levante UD",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0124,
                "expected_assists": 0.1037,
                "total_shots": 1,
                "total_pass": 47,
                "accurate_pass": 40,
                "key_pass": 2,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416325,
              "match_date": "2026-09-06",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Valencia",
              "stats": {
                "minutes": 75,
                "rating": 8.9,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 2.0,
                "assists": 2,
                "expected_goals": 0.3788,
                "expected_assists": 0.4771,
                "total_shots": 4,
                "shots_on_target": 3,
                "shots_off_target": 1,
                "total_pass": 47,
                "accurate_pass": 40,
                "key_pass": 4,
                "duels_won": 4,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416295,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 26,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3051,
                "expected_assists": 0.0748,
                "total_shots": 1,
                "total_pass": 14,
                "accurate_pass": 12,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421059,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 7.6,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.0318,
                "expected_assists": 0.0498,
                "total_shots": 3,
                "shots_on_target": 3,
                "total_pass": 43,
                "accurate_pass": 36,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416311,
              "match_date": "2026-08-23",
              "home_team": "Elche",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 8.6,
                "goal_rate": 2.0,
                "goals": 2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.0127,
                "expected_assists": 0.0329,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 33,
                "accurate_pass": 27,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 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": 14083666,
              "match_date": "2026-05-17",
              "home_team": "FC Barcelona",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 45,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2671,
                "expected_assists": 0.0139,
                "total_shots": 3,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 25,
                "accurate_pass": 21,
                "tackles": 1,
                "interceptions": 1,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 33,
            "combined_rank_score": 28.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 44.0,
            "sofascore_rating": 7.8,
            "sofascore_appearances": 3.0,
            "fifa_rank": 13.0,
            "fifa_overall": 90.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 8,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.0322,
            "source_file": "data/player_rankings.csv",
            "player_name": "Fermín López",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Rafael Romo",
                  "ranking": 28
                },
                {
                  "player_name": "Michael Olise",
                  "ranking": 29
                },
                {
                  "player_name": "Marko Arnautović",
                  "ranking": 30
                },
                {
                  "player_name": "Mikel Oyarzabal",
                  "ranking": 31
                },
                {
                  "player_name": "Vitinha",
                  "ranking": 32
                }
              ],
              "lower": [
                {
                  "player_name": "Bianneider Tamayo",
                  "ranking": 34
                },
                {
                  "player_name": "Virgil van Dijk",
                  "ranking": 35
                },
                {
                  "player_name": "Remo Freuler",
                  "ranking": 36
                },
                {
                  "player_name": "Pablo Cunat Campos",
                  "ranking": 37
                },
                {
                  "player_name": "Pablo Cuñat",
                  "ranking": 38
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.773,
          "history_matches": 39,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 39,
            "data_confidence": 0.773,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0133,
            "fbref_prior_metrics": {
              "squad": "Barcelona",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 2.0,
              "minutes": 207.0,
              "goals_per90": 1.3043478260869565,
              "assists_per90": 0.0,
              "shots_per90": 2.61,
              "shots_on_target_pct": 83.3,
              "prior_reliability": 0.1533
            },
            "rationale": "XGBoost regressor (M_service) evaluated 39 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Barcelona, rel: 0.15, gls/90: 1.3043478260869565, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1.8672,
                "expected_assists": 0.164,
                "assists": 0.193,
                "assist_rate": 0.193,
                "expected_goals": 0.1777,
                "goals": 0.1838,
                "goal_rate": 0.1838,
                "shots_on_target": 0.7218,
                "total_shots": 1.9727,
                "rating": 7.0322,
                "minutes": 77.03,
                "total_pass": 36.3823,
                "accurate_pass": 30.9372,
                "duels_won": 4.0457,
                "total_long_balls": 1.8414,
                "accurate_long_balls": 0.6514,
                "total_own_half_passes": 10.7498,
                "accurate_own_half_passes": 10.2793,
                "total_opp_half_passes": 25.6325,
                "accurate_opp_half_passes": 20.658,
                "crosses_total": 1.5981,
                "crosses_accurate": 0.3921,
                "touches": 52.0145,
                "possession_lost": 11.879,
                "dispossessed": 1.5414,
                "duels_lost": 5.4667,
                "aerial_won": 0.5341,
                "aerial_lost": 0.4483,
                "interceptions": 0.2571,
                "tackles_won": 0.4868,
                "tackles": 1.218,
                "clearances": 0.2976,
                "total_contest": 2.4513,
                "won_contest": 1.4495,
                "challenges_lost": 0.9589,
                "fouls": 1.5596,
                "fouls_drawn": 0.8441,
                "blocks": 0.0992,
                "big_chances_created": 0.6357,
                "big_chances_missed": 0.1567,
                "xgot": 0.4712,
                "ball_carries": 13.1497,
                "total_progression": 49.3654,
                "progressive_carries": 1.8336,
                "shots_off_target": 1.2509
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-31T10:30:21.314387+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 902,
                    "rows": 24945
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-25",
                    "opponent": "Real Madrid",
                    "minutes": 74.0,
                    "is_starting": true,
                    "weight": 0.1503,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-10-17",
                    "opponent": "Real Betis",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.1277,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-10-10",
                    "opponent": "Getafe",
                    "minutes": 29.0,
                    "is_starting": false,
                    "weight": 0.1086,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Sevilla",
                    "minutes": 76.0,
                    "is_starting": true,
                    "weight": 0.0923,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Valencia",
                    "minutes": 75.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 8.9
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Rayo Vallecano",
                    "minutes": 26.0,
                    "is_starting": false,
                    "weight": 0.0567,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 8.6
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Real Betis",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalShots": 1.6777,
                  "expectedGoals": 0.2179,
                  "creative_index": 0.7531,
                  "expectedAssists": 0.1428,
                  "keyPass": 1.6686
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.8671786785125732,
                    "model_output": 1.8672,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1583
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1351
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0716
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0542
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.028
                      }
                    ],
                    "decomposition": {
                      "base": 0.8899,
                      "items": [
                        {
                          "name": "creative_index",
                          "contribution": 0.1425
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1481
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.1097
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0543
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0447
                        }
                      ],
                      "others": 0.478,
                      "total": 1.8672,
                      "log_link": true,
                      "margin_base": -0.11669,
                      "item_margins": [
                        {
                          "name": "creative_index",
                          "margin": 0.148568
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.134074
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.088863
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.04126
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": 0.032713
                        }
                      ],
                      "others_margin": 0.295642
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.16398601233959198,
                    "model_output": 0.164,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1213
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1076
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0864
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0618
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0476
                      }
                    ],
                    "decomposition": {
                      "base": 0.085,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0111
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.01
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0065
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0058
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0059
                        }
                      ],
                      "others": 0.0397,
                      "total": 0.164,
                      "log_link": true,
                      "margin_base": -2.465163,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.122887
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.098706
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.059734
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.050148
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.049021
                        }
                      ],
                      "others_margin": 0.276693
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.19298584759235382,
                    "model_output": 0.193,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0508
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0447
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0336
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0324
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0322
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "creative_index",
                          "contribution": 0.0122
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0082
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.008
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.0083
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0081
                        }
                      ],
                      "others": 0.0631,
                      "total": 0.193,
                      "log_link": true,
                      "margin_base": -2.463734,
                      "item_margins": [
                        {
                          "name": "creative_index",
                          "margin": 0.133761
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.080692
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.072894
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": 0.070681
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.064781
                        }
                      ],
                      "others_margin": 0.395787
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.17769235372543335,
                    "model_output": 0.1777,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1242
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0778
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0743
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0437
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0241
                      }
                    ],
                    "decomposition": {
                      "base": 0.0911,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0278
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0163
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0154
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0113
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0068
                        }
                      ],
                      "others": 0.009,
                      "total": 0.1777,
                      "log_link": true,
                      "margin_base": -2.395469,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": 0.266611
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.128684
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.107916
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.072193
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.041131
                        }
                      ],
                      "others_margin": 0.051231
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.1838337928056717,
                    "model_output": 0.1838,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0846
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0655
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0399
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0358
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0268
                      }
                    ],
                    "decomposition": {
                      "base": 0.0947,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0217
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0187
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0156
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0158
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0127
                        }
                      ],
                      "others": 0.0046,
                      "total": 0.1838,
                      "log_link": true,
                      "margin_base": -2.357331,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.206729
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.14867
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.108978
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.099623
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.073361
                        }
                      ],
                      "others_margin": 0.026248
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.7217862606048584,
                    "model_output": 0.7218,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1146
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0928
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0753
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0297
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.3177,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.084
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0702
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0667
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0348
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0355
                        }
                      ],
                      "others": 0.1129,
                      "total": 0.7218,
                      "log_link": true,
                      "margin_base": -1.146731,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.234641
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.161045
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.132251
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.062556
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.060146
                        }
                      ],
                      "others_margin": 0.170066
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.9727028608322144,
                    "model_output": 1.9727,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1488
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1213
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0474
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0446
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0276
                      }
                    ],
                    "decomposition": {
                      "base": 0.9817,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.4253
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1598
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.066
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0651
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0572
                        }
                      ],
                      "others": 0.2176,
                      "total": 1.9727,
                      "log_link": false,
                      "margin_base": 0.98173,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.425263
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.1598
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.066013
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.065109
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.057177
                        }
                      ],
                      "others_margin": 0.217611
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.032212734222412,
                    "model_output": 7.0322,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.102
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0743
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0503
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0382
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 6.856,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": 0.0691
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0533
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0237
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0219
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0137
                        }
                      ],
                      "others": 0.0383,
                      "total": 7.0322,
                      "log_link": false,
                      "margin_base": 6.856008,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": 0.069112
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.053331
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.023746
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.021876
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.013698
                        }
                      ],
                      "others_margin": 0.038197
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 39,
                  "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.0133, quality 0.896)",
              "stats": {
                "key_pass": 1.892,
                "expected_assists": 0.1662,
                "assists": 0.1956,
                "assist_rate": 0.1956,
                "expected_goals": 0.1801,
                "goals": 0.1863,
                "goal_rate": 0.1863,
                "shots_on_target": 0.7314,
                "total_shots": 1.9989,
                "rating": 7.0322,
                "minutes": 77.03,
                "total_pass": 36.8662,
                "accurate_pass": 31.3487,
                "duels_won": 4.0995,
                "total_long_balls": 1.8659,
                "accurate_long_balls": 0.6601,
                "total_own_half_passes": 10.8928,
                "accurate_own_half_passes": 10.416,
                "total_opp_half_passes": 25.9734,
                "accurate_opp_half_passes": 20.9328,
                "crosses_total": 1.6194,
                "crosses_accurate": 0.3973,
                "touches": 52.7063,
                "possession_lost": 12.037,
                "dispossessed": 1.5619,
                "duels_lost": 5.5394,
                "aerial_won": 0.5412,
                "aerial_lost": 0.4543,
                "interceptions": 0.2605,
                "tackles_won": 0.4933,
                "tackles": 1.2342,
                "clearances": 0.3016,
                "total_contest": 2.4839,
                "won_contest": 1.4688,
                "challenges_lost": 0.9717,
                "fouls": 1.5803,
                "fouls_drawn": 0.8553,
                "blocks": 0.1005,
                "big_chances_created": 0.6442,
                "big_chances_missed": 0.1588,
                "xgot": 0.4775,
                "ball_carries": 13.3246,
                "total_progression": 50.022,
                "progressive_carries": 1.858,
                "shots_off_target": 1.2675
              },
              "params": {
                "market_value_eur": 113000000,
                "quality_factor": 0.8965,
                "boost_factor": 1.0133,
                "reference_quality": 0.505,
                "history_matches": 39,
                "history_shrink": 0.1136,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0113)",
              "stats": {
                "key_pass": 1.892,
                "expected_assists": 0.1662,
                "assists": 0.1934,
                "assist_rate": 0.1934,
                "expected_goals": 0.1801,
                "goals": 0.1968,
                "goal_rate": 0.1968,
                "shots_on_target": 0.7441,
                "total_shots": 2.0016,
                "rating": 7.0322,
                "minutes": 77.03,
                "total_pass": 36.8662,
                "accurate_pass": 31.3487,
                "duels_won": 4.0995,
                "total_long_balls": 1.8659,
                "accurate_long_balls": 0.6601,
                "total_own_half_passes": 10.8928,
                "accurate_own_half_passes": 10.416,
                "total_opp_half_passes": 25.9734,
                "accurate_opp_half_passes": 20.9328,
                "crosses_total": 1.6137,
                "crosses_accurate": 0.3973,
                "touches": 52.7063,
                "possession_lost": 12.037,
                "dispossessed": 1.5619,
                "duels_lost": 5.5394,
                "aerial_won": 0.5412,
                "aerial_lost": 0.4543,
                "interceptions": 0.2618,
                "tackles_won": 0.5004,
                "tackles": 1.2342,
                "clearances": 0.3016,
                "total_contest": 2.4839,
                "won_contest": 1.4688,
                "challenges_lost": 0.9717,
                "fouls": 1.5793,
                "fouls_drawn": 0.8625,
                "blocks": 0.1005,
                "big_chances_created": 0.6442,
                "big_chances_missed": 0.1588,
                "xgot": 0.4775,
                "ball_carries": 13.3246,
                "total_progression": 50.022,
                "progressive_carries": 1.858,
                "shots_off_target": 1.2675
              },
              "params": {
                "blend_weight": 0.0113,
                "history_matches": 39,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.8559,
                "prior_reliability": 0.1533,
                "competition": "La Liga",
                "squad": "Barcelona"
              },
              "changes": [
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.7314,
                  "after": 0.7441
                },
                {
                  "stat": "goals",
                  "before": 0.1863,
                  "after": 0.1968
                },
                {
                  "stat": "wasFouled",
                  "before": 0.8553,
                  "after": 0.8625
                },
                {
                  "stat": "wonTackle",
                  "before": 0.4933,
                  "after": 0.5004
                },
                {
                  "stat": "totalCross",
                  "before": 1.6194,
                  "after": 1.6137
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1.892,
                "expected_assists": 0.1662,
                "assists": 0.1934,
                "assist_rate": 0.1934,
                "expected_goals": 0.1801,
                "goals": 0.1968,
                "goal_rate": 0.1968,
                "shots_on_target": 0.7441,
                "total_shots": 2.0116,
                "rating": 7.0322,
                "minutes": 77.03,
                "total_pass": 36.8662,
                "accurate_pass": 31.3487,
                "duels_won": 4.0995,
                "total_long_balls": 1.8659,
                "accurate_long_balls": 0.6601,
                "total_own_half_passes": 10.8928,
                "accurate_own_half_passes": 10.416,
                "total_opp_half_passes": 25.9734,
                "accurate_opp_half_passes": 20.9328,
                "crosses_total": 1.6137,
                "crosses_accurate": 0.3973,
                "touches": 52.7063,
                "possession_lost": 12.037,
                "dispossessed": 1.5619,
                "duels_lost": 5.5394,
                "aerial_won": 0.5412,
                "aerial_lost": 0.4543,
                "interceptions": 0.2618,
                "tackles_won": 0.5004,
                "tackles": 1.2342,
                "clearances": 0.3016,
                "total_contest": 2.4839,
                "won_contest": 1.4688,
                "challenges_lost": 0.9717,
                "fouls": 1.5793,
                "fouls_drawn": 0.8625,
                "blocks": 0.1005,
                "big_chances_created": 0.6442,
                "big_chances_missed": 0.1588,
                "xgot": 0.4775,
                "ball_carries": 13.3246,
                "total_progression": 50.022,
                "progressive_carries": 1.858,
                "shots_off_target": 1.2675
              },
              "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.892,
                "expected_assists": 0.1662,
                "assists": 0.1934,
                "assist_rate": 0.1934,
                "expected_goals": 0.2295,
                "goals": 0.2508,
                "goal_rate": 0.2508,
                "shots_on_target": 0.9483,
                "total_shots": 2.5636,
                "rating": 7.0322,
                "minutes": 77.03,
                "total_pass": 36.8662,
                "accurate_pass": 31.3487,
                "duels_won": 4.0995,
                "total_long_balls": 1.8659,
                "accurate_long_balls": 0.6601,
                "total_own_half_passes": 10.8928,
                "accurate_own_half_passes": 10.416,
                "total_opp_half_passes": 25.9734,
                "accurate_opp_half_passes": 20.9328,
                "crosses_total": 1.6137,
                "crosses_accurate": 0.3973,
                "touches": 52.7063,
                "possession_lost": 12.037,
                "dispossessed": 1.5619,
                "duels_lost": 5.5394,
                "aerial_won": 0.9,
                "aerial_lost": 0.4543,
                "interceptions": 0.2618,
                "tackles_won": 0.5004,
                "tackles": 1.2342,
                "clearances": 0.3016,
                "total_contest": 2.4839,
                "won_contest": 1.4688,
                "challenges_lost": 0.9717,
                "fouls": 1.5793,
                "fouls_drawn": 0.8625,
                "blocks": 0.1005,
                "big_chances_created": 0.6442,
                "big_chances_missed": 0.2024,
                "xgot": 0.6085,
                "ball_carries": 13.3246,
                "total_progression": 50.022,
                "progressive_carries": 1.858,
                "shots_off_target": 1.6153,
                "duel_xg_multiplier": 1.2744,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.607,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pablo Ibáñez",
                "opponent_faced": "Pablo Ibáñez",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Pablo Ibáñez",
                  "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                  "duel_win_rate": 0.607,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 1.2744,
                  "skill_edge": 0.1986,
                  "height_edge": -0.012,
                  "attacker_skill": 0.8981,
                  "defender_skill": 0.4567,
                  "attacker_role": "CM",
                  "attacker_mv_price_index": 0.9,
                  "defender_adjusted_parts": [
                    {
                      "player": "Pablo Ibáñez",
                      "market_value": 4099999,
                      "role": "CM",
                      "price_index": 0.9,
                      "adjusted_quality": 0.4567
                    }
                  ],
                  "xg_override": 0.2295
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 2.0116,
                  "after": 2.5636
                },
                {
                  "stat": "aerialWon",
                  "before": 0.5412,
                  "after": 0.9
                },
                {
                  "stat": "shotOffTarget",
                  "before": 1.2675,
                  "after": 1.6153
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.7441,
                  "after": 0.9483
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.4775,
                  "after": 0.6085
                },
                {
                  "stat": "goals",
                  "before": 0.1968,
                  "after": 0.2508
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.1801,
                  "after": 0.2295
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 0.1588,
                  "after": 0.2024
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 3 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 1.892,
                "expected_assists": 0.1662,
                "assist_rate": 0.1934,
                "assists": 0,
                "expected_goals": 0.2295,
                "goal_rate": 0.2508,
                "goals": 0,
                "shots_on_target": 0.9483,
                "total_shots": 2.5636,
                "rating": 7.0322,
                "minutes": 77.03,
                "total_pass": 36.8662,
                "accurate_pass": 31.3487,
                "duels_won": 4.0995,
                "total_long_balls": 1.8659,
                "accurate_long_balls": 0.6601,
                "total_own_half_passes": 10.8928,
                "accurate_own_half_passes": 10.416,
                "total_opp_half_passes": 25.9734,
                "accurate_opp_half_passes": 20.9328,
                "crosses_total": 1.6137,
                "crosses_accurate": 0.3973,
                "touches": 52.7063,
                "possession_lost": 12.037,
                "dispossessed": 1.5619,
                "duels_lost": 5.5394,
                "aerial_won": 0.9,
                "aerial_lost": 0.4543,
                "interceptions": 0.2618,
                "tackles_won": 0.5004,
                "tackles": 1.2342,
                "clearances": 0.3016,
                "total_contest": 2.4839,
                "won_contest": 1.4688,
                "challenges_lost": 0.9717,
                "fouls": 1.5793,
                "fouls_drawn": 0.8625,
                "blocks": 0.1005,
                "big_chances_created": 0.6442,
                "big_chances_missed": 0.2024,
                "xgot": 0.6085,
                "ball_carries": 13.3246,
                "total_progression": 50.022,
                "progressive_carries": 1.858,
                "shots_off_target": 1.6153,
                "duel_xg_multiplier": 1.2744,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.607,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pablo Ibáñez",
                "opponent_faced": "Pablo Ibáñez",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 3
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 3.86 (squad xG sum 2.6208, xG scale 1.4740, xA scale 1.6297, team xA 2.51 = 0.65 x lambda)",
              "stats": {
                "key_pass": 1.892,
                "expected_assists": 0.2708,
                "assist_rate": 0.1934,
                "assists": 0,
                "expected_goals": 0.3383,
                "goal_rate": 0.2508,
                "goals": 0,
                "shots_on_target": 0.9483,
                "total_shots": 2.5636,
                "rating": 7.0322,
                "minutes": 77.03,
                "total_pass": 36.8662,
                "accurate_pass": 31.3487,
                "duels_won": 4.0995,
                "total_long_balls": 1.8659,
                "accurate_long_balls": 0.6601,
                "total_own_half_passes": 10.8928,
                "accurate_own_half_passes": 10.416,
                "total_opp_half_passes": 25.9734,
                "accurate_opp_half_passes": 20.9328,
                "crosses_total": 1.6137,
                "crosses_accurate": 0.3973,
                "touches": 52.7063,
                "possession_lost": 12.037,
                "dispossessed": 1.5619,
                "duels_lost": 5.5394,
                "aerial_won": 0.9,
                "aerial_lost": 0.4543,
                "interceptions": 0.2618,
                "tackles_won": 0.5004,
                "tackles": 1.2342,
                "clearances": 0.3016,
                "total_contest": 2.4839,
                "won_contest": 1.4688,
                "challenges_lost": 0.9717,
                "fouls": 1.5793,
                "fouls_drawn": 0.8625,
                "blocks": 0.1005,
                "big_chances_created": 0.6442,
                "big_chances_missed": 0.2024,
                "xgot": 0.8969,
                "ball_carries": 13.3246,
                "total_progression": 50.022,
                "progressive_carries": 1.858,
                "shots_off_target": 1.6153,
                "duel_xg_multiplier": 1.2744,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.607,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pablo Ibáñez",
                "opponent_faced": "Pablo Ibáñez",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0762,
                "creation_factor": 1.1258
              },
              "params": {
                "team_lambda": 3.863,
                "squad_xg_sum": 2.6208,
                "squad_xa_sum": 1.5408,
                "team_expected_assists": 2.511,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.474,
                "xa_scale": 1.6297,
                "opponent_lambda": 1.288,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.2295,
                  "after": 0.3383
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1662,
                  "after": 0.2708
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 8 by projected rating, fifa_overall 90.0)",
              "stats": {
                "key_pass": 1.892,
                "expected_assists": 0.2708,
                "assist_rate": 0.1934,
                "assists": 0,
                "expected_goals": 0.3383,
                "goal_rate": 0.2508,
                "goals": 0,
                "shots_on_target": 0.9483,
                "total_shots": 2.5636,
                "rating": 7.0322,
                "minutes": 77.03,
                "total_pass": 36.8662,
                "accurate_pass": 31.3487,
                "duels_won": 4.0995,
                "total_long_balls": 1.8659,
                "accurate_long_balls": 0.6601,
                "total_own_half_passes": 10.8928,
                "accurate_own_half_passes": 10.416,
                "total_opp_half_passes": 25.9734,
                "accurate_opp_half_passes": 20.9328,
                "crosses_total": 1.6137,
                "crosses_accurate": 0.3973,
                "touches": 52.7063,
                "possession_lost": 12.037,
                "dispossessed": 1.5619,
                "duels_lost": 5.5394,
                "aerial_won": 0.9,
                "aerial_lost": 0.4543,
                "interceptions": 0.2618,
                "tackles_won": 0.5004,
                "tackles": 1.2342,
                "clearances": 0.3016,
                "total_contest": 2.4839,
                "won_contest": 1.4688,
                "challenges_lost": 0.9717,
                "fouls": 1.5793,
                "fouls_drawn": 0.8625,
                "blocks": 0.1005,
                "big_chances_created": 0.6442,
                "big_chances_missed": 0.2024,
                "xgot": 0.8969,
                "ball_carries": 13.3246,
                "total_progression": 50.022,
                "progressive_carries": 1.858,
                "shots_off_target": 1.6153,
                "duel_xg_multiplier": 1.2744,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.607,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pablo Ibáñez",
                "opponent_faced": "Pablo Ibáñez",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0762,
                "creation_factor": 1.1258,
                "fifa_overall": 90.0
              },
              "params": {
                "match_squad_rank": 8,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 33,
                "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: 3 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 1.892,
                "expected_assists": 0.2708,
                "assist_rate": 0.1934,
                "assists": 0,
                "expected_goals": 0.3383,
                "goal_rate": 0.2508,
                "goals": 0,
                "shots_on_target": 0.9483,
                "total_shots": 2.5636,
                "rating": 7.0322,
                "minutes": 77.03,
                "total_pass": 36.8662,
                "accurate_pass": 31.3487,
                "duels_won": 4.0995,
                "total_long_balls": 1.8659,
                "accurate_long_balls": 0.6601,
                "total_own_half_passes": 10.8928,
                "accurate_own_half_passes": 10.416,
                "total_opp_half_passes": 25.9734,
                "accurate_opp_half_passes": 20.9328,
                "crosses_total": 1.6137,
                "crosses_accurate": 0.3973,
                "touches": 52.7063,
                "possession_lost": 12.037,
                "dispossessed": 1.5619,
                "duels_lost": 5.5394,
                "aerial_won": 0.9,
                "aerial_lost": 0.4543,
                "interceptions": 0.2618,
                "tackles_won": 0.5004,
                "tackles": 1.2342,
                "clearances": 0.3016,
                "total_contest": 2.4839,
                "won_contest": 1.4688,
                "challenges_lost": 0.9717,
                "fouls": 1.5793,
                "fouls_drawn": 0.8625,
                "blocks": 0.1005,
                "big_chances_created": 0.6442,
                "big_chances_missed": 0.2024,
                "xgot": 0.8969,
                "ball_carries": 13.3246,
                "total_progression": 50.022,
                "progressive_carries": 1.858,
                "shots_off_target": 1.6153,
                "duel_xg_multiplier": 1.2744,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.607,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pablo Ibáñez",
                "opponent_faced": "Pablo Ibáñez",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.287,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0762,
                "creation_factor": 1.1258,
                "fifa_overall": 90.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 3,
                "goals_allocated": 0,
                "goal_probability": 0.287,
                "goal_rate": 0.2508,
                "scorer_weight": 0.3641,
                "squad_weight_total": 4.4245,
                "weight_share": 0.0823,
                "finishing_factor": 1.0762,
                "appearance_weight": 1.0,
                "weight_rank": 4,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Raphinha",
                    "weight": 1.5149,
                    "already": 0,
                    "effective_weight": 1.5149,
                    "runner_up": "Lamine Yamal",
                    "runner_up_effective_weight": 1.1818
                  },
                  {
                    "n": 2,
                    "player": "Lamine Yamal",
                    "weight": 1.1818,
                    "already": 0,
                    "effective_weight": 1.1818,
                    "runner_up": "Raphinha",
                    "runner_up_effective_weight": 0.6446
                  },
                  {
                    "n": 3,
                    "player": "Raphinha",
                    "weight": 1.5149,
                    "already": 1,
                    "effective_weight": 0.6446,
                    "runner_up": "Lamine Yamal",
                    "runner_up_effective_weight": 0.5029
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 2 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "key_pass": 1.892,
                "expected_assists": 0.2708,
                "assist_rate": 0.1934,
                "assists": 0,
                "expected_goals": 0.3383,
                "goal_rate": 0.2508,
                "goals": 0,
                "shots_on_target": 0.9483,
                "total_shots": 2.5636,
                "rating": 7.0322,
                "minutes": 77.03,
                "total_pass": 36.8662,
                "accurate_pass": 31.3487,
                "duels_won": 4.0995,
                "total_long_balls": 1.8659,
                "accurate_long_balls": 0.6601,
                "total_own_half_passes": 10.8928,
                "accurate_own_half_passes": 10.416,
                "total_opp_half_passes": 25.9734,
                "accurate_opp_half_passes": 20.9328,
                "crosses_total": 1.6137,
                "crosses_accurate": 0.3973,
                "touches": 52.7063,
                "possession_lost": 12.037,
                "dispossessed": 1.5619,
                "duels_lost": 5.5394,
                "aerial_won": 0.9,
                "aerial_lost": 0.4543,
                "interceptions": 0.2618,
                "tackles_won": 0.5004,
                "tackles": 1.2342,
                "clearances": 0.3016,
                "total_contest": 2.4839,
                "won_contest": 1.4688,
                "challenges_lost": 0.9717,
                "fouls": 1.5793,
                "fouls_drawn": 0.8625,
                "blocks": 0.1005,
                "big_chances_created": 0.6442,
                "big_chances_missed": 0.2024,
                "xgot": 0.8969,
                "ball_carries": 13.3246,
                "total_progression": 50.022,
                "progressive_carries": 1.858,
                "shots_off_target": 1.6153,
                "duel_xg_multiplier": 1.2744,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.607,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pablo Ibáñez",
                "opponent_faced": "Pablo Ibáñez",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.287,
                "projected_assists": 0,
                "assist_probability": 0.2372,
                "finishing_factor": 1.0762,
                "creation_factor": 1.1258,
                "fifa_overall": 90.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 2,
                "assists_allocated": 0,
                "assist_probability": 0.2372,
                "assist_rate": 0.1934,
                "provider_weight": 0.3049,
                "squad_weight_total": 2.7263,
                "weight_share": 0.1118,
                "creation_factor": 1.1258,
                "appearance_weight": 1.0,
                "weight_rank": 3,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Lamine Yamal",
                    "weight": 0.5086,
                    "already": 0,
                    "effective_weight": 0.5086,
                    "runner_up": "Pedri",
                    "runner_up_effective_weight": 0.3563
                  },
                  {
                    "n": 2,
                    "player": "Pedri",
                    "weight": 0.3563,
                    "already": 0,
                    "effective_weight": 0.3563,
                    "runner_up": "Fermín López",
                    "runner_up_effective_weight": 0.3049
                  }
                ]
              }
            }
          ]
        },
        "Rodri": {
          "player_id": 827606,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 16,
          "height": 191,
          "market_value": 54000000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.1869,
            "assist_rate": 0.107,
            "assists": 0,
            "expected_goals": 0.1845,
            "goal_rate": 0.1393,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 7.3499,
            "minutes": 83,
            "total_pass": 100,
            "accurate_pass": 93,
            "duels_won": 5,
            "total_long_balls": 8,
            "accurate_long_balls": 6,
            "total_own_half_passes": 38,
            "accurate_own_half_passes": 35,
            "total_opp_half_passes": 62,
            "accurate_opp_half_passes": 58,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 112,
            "possession_lost": 9.1415,
            "dispossessed": 0.256,
            "duels_lost": 3,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 1,
            "tackles_won": 1,
            "tackles": 2,
            "clearances": 2,
            "total_contest": 1,
            "won_contest": 0,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.2731,
            "ball_carries": 36,
            "total_progression": 136,
            "progressive_carries": 2,
            "shots_off_target": 1,
            "duel_xg_multiplier": 1.3373,
            "dribbles_attempted": 2,
            "dribbles_successful": 1.1,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.629,
            "pressing_faced": "LOW",
            "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
            "numerical_situation": "1v1",
            "opponent_defenders": "Pablo Ibáñez",
            "opponent_faced": "Pablo Ibáñez",
            "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.1685,
            "projected_assists": 0,
            "assist_probability": 0.1705,
            "finishing_factor": 1.0805,
            "creation_factor": 0.9532,
            "fifa_overall": 90.0
          },
          "latest_10_games": [
            {
              "match_id": 16421080,
              "match_date": "2026-10-25",
              "home_team": "FC Barcelona",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0392,
                "expected_assists": 0.0519,
                "total_shots": 1,
                "shots_on_target": 1,
                "shots_off_target": 0,
                "total_pass": 96,
                "accurate_pass": 84,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 0,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 4,
                "saves": 0
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421068,
              "match_date": "2026-10-17",
              "home_team": "Real Betis",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 8.5,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1461,
                "expected_assists": 0.0567,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 129,
                "accurate_pass": 126,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421060,
              "match_date": "2026-10-10",
              "home_team": "FC Barcelona",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Getafe",
              "stats": {
                "minutes": 71,
                "rating": 9.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.344,
                "total_shots": 0,
                "total_pass": 124,
                "accurate_pass": 119,
                "key_pass": 2,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 7,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416349,
              "match_date": "2026-09-19",
              "home_team": "Sevilla",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 8.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.6712,
                "expected_assists": 0.0412,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 73,
                "accurate_pass": 67,
                "key_pass": 1,
                "tackles": 5,
                "tackles_won": 4,
                "interceptions": 3,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 6,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416346,
              "match_date": "2026-09-16",
              "home_team": "FC Barcelona",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 61,
                "rating": 8.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0576,
                "expected_assists": 0.3232,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 61,
                "accurate_pass": 55,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416329,
              "match_date": "2026-09-13",
              "home_team": "Levante UD",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 7.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0662,
                "total_shots": 0,
                "total_pass": 117,
                "accurate_pass": 111,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 2,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 7,
                "ball_recovery": 8
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416325,
              "match_date": "2026-09-06",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Valencia",
              "stats": {
                "minutes": 62,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0795,
                "expected_assists": 0.0737,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 83,
                "accurate_pass": 81,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 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": 16416295,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 26,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0089,
                "total_shots": 0,
                "total_pass": 31,
                "accurate_pass": 31,
                "tackles": 2,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421059,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 27,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0267,
                "total_shots": 0,
                "total_pass": 26,
                "accurate_pass": 23,
                "key_pass": 1,
                "clearances": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14023936,
              "match_date": "2026-05-19",
              "home_team": "Bournemouth",
              "away_team": "Manchester City",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Manchester City",
              "opponent": "Bournemouth",
              "stats": {
                "minutes": 90,
                "rating": 7.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3227,
                "expected_assists": 0.1302,
                "total_shots": 4,
                "shots_on_target": 1,
                "shots_off_target": 2,
                "total_pass": 88,
                "accurate_pass": 77,
                "key_pass": 2,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 5,
                "duels_won": 12,
                "ball_recovery": 8
              },
              "has_player_stats": true,
              "league_name": "Premier League",
              "league_id": "17",
              "league_slug": "premier-league",
              "league_country": "England",
              "season_id": "76986",
              "season_name": "Premier League 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 50,
            "combined_rank_score": 60.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 113.0,
            "sofascore_rating": 7.43,
            "sofascore_appearances": 21.0,
            "fifa_rank": 8.0,
            "fifa_overall": 90.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 3,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.3499,
            "source_file": "data/player_rankings.csv",
            "player_name": "Rodri",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Bukayo Saka",
                  "ranking": 45
                },
                {
                  "player_name": "Federico Valverde",
                  "ranking": 46
                },
                {
                  "player_name": "Ayrton Lucas",
                  "ranking": 47
                },
                {
                  "player_name": "Giorgian de Arrascaeta",
                  "ranking": 48
                },
                {
                  "player_name": "Rayan Cherki",
                  "ranking": 49
                }
              ],
              "lower": [
                {
                  "player_name": "Matheus Serafim",
                  "ranking": 51
                },
                {
                  "player_name": "Matheus Frizzo",
                  "ranking": 52
                },
                {
                  "player_name": "Florian Wirtz",
                  "ranking": 53
                },
                {
                  "player_name": "Martín Zubimendi",
                  "ranking": 54
                },
                {
                  "player_name": "Luan Dias",
                  "ranking": 55
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.756,
          "history_matches": 30,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 30,
            "data_confidence": 0.756,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0142,
            "fbref_prior_metrics": {
              "squad": "Barcelona",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 0.0,
              "minutes": 55.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.04
            },
            "rationale": "XGBoost regressor (M_service) evaluated 30 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Barcelona, rel: 0.04, 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.2338,
                "expected_assists": 0.1131,
                "assists": 0.1059,
                "assist_rate": 0.1059,
                "expected_goals": 0.0923,
                "goals": 0.1031,
                "goal_rate": 0.1031,
                "shots_on_target": 0.3122,
                "total_shots": 0.8877,
                "rating": 7.3499,
                "minutes": 83.33,
                "total_pass": 98.8482,
                "accurate_pass": 91.7197,
                "duels_won": 4.9853,
                "total_long_balls": 7.8577,
                "accurate_long_balls": 6.1345,
                "total_own_half_passes": 37.2943,
                "accurate_own_half_passes": 34.9805,
                "total_opp_half_passes": 61.5539,
                "accurate_opp_half_passes": 56.7392,
                "crosses_total": 0.289,
                "crosses_accurate": 0.0134,
                "touches": 110.7343,
                "possession_lost": 9.0135,
                "dispossessed": 0.2524,
                "duels_lost": 2.6952,
                "aerial_won": 1.5475,
                "aerial_lost": 0.4083,
                "interceptions": 1.223,
                "tackles_won": 1.3763,
                "tackles": 2.0696,
                "clearances": 1.7317,
                "total_contest": 0.5018,
                "won_contest": 0.1741,
                "challenges_lost": 0.8223,
                "fouls": 1.0147,
                "fouls_drawn": 1.1941,
                "blocks": 0.2113,
                "big_chances_created": 0.1816,
                "big_chances_missed": 0.094,
                "xgot": 0.1367,
                "ball_carries": 35.6207,
                "total_progression": 134.019,
                "progressive_carries": 2.1082,
                "shots_off_target": 0.5755
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-31T10:30:21.314387+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 902,
                    "rows": 24945
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-25",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1512,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-10-17",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1285,
                    "rating": 8.5
                  },
                  {
                    "match_date": "2026-10-10",
                    "opponent": "Getafe",
                    "minutes": 71.0,
                    "is_starting": true,
                    "weight": 0.1092,
                    "rating": 9.0
                  },
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0928,
                    "rating": 8.2
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Real Racing Club",
                    "minutes": 61.0,
                    "is_starting": true,
                    "weight": 0.0789,
                    "rating": 8.3
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0671,
                    "rating": 7.9
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Valencia",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.057,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Rayo Vallecano",
                    "minutes": 26.0,
                    "is_starting": false,
                    "weight": 0.0485,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Athletic Club",
                    "minutes": 27.0,
                    "is_starting": false,
                    "weight": 0.0412,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-19",
                    "opponent": "Bournemouth",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.035,
                    "rating": 7.6
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.8924,
                  "expectedGoals": 0.1189,
                  "creative_index": 0.5835,
                  "expectedAssists": 0.1274,
                  "keyPass": 1.2675
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.2337785959243774,
                    "model_output": 1.2338,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1583
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1351
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0716
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0542
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.028
                      }
                    ],
                    "decomposition": {
                      "base": 0.8899,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1223
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.1212
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.1223
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": 0.0933
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0913
                        }
                      ],
                      "others": -0.0239,
                      "total": 1.2338,
                      "log_link": true,
                      "margin_base": -0.11669,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.128789
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.113122
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.102476
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": 0.071685
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.070042
                        }
                      ],
                      "others_margin": -0.019258
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.11309929192066193,
                    "model_output": 0.1131,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1213
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1076
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0864
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0618
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0476
                      }
                    ],
                    "decomposition": {
                      "base": 0.085,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0112
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.012
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0097
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0096
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0045
                        }
                      ],
                      "others": 0.0005,
                      "total": 0.1131,
                      "log_link": true,
                      "margin_base": -2.465163,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.123578
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.117462
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.094165
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.092601
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.040542
                        }
                      ],
                      "others_margin": 0.005657
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.1058611050248146,
                    "model_output": 0.1059,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0508
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0447
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0336
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0324
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0322
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0125
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0096
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0091
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0068
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0073
                        }
                      ],
                      "others": -0.0063,
                      "total": 0.1059,
                      "log_link": true,
                      "margin_base": -2.463734,
                      "item_margins": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.13728
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.093483
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.088817
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.067484
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.067205
                        }
                      ],
                      "others_margin": -0.058525
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.0923209935426712,
                    "model_output": 0.0923,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1242
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0778
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0743
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0437
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0241
                      }
                    ],
                    "decomposition": {
                      "base": 0.0911,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0201
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0136
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.008
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0062
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0036
                        }
                      ],
                      "others": -0.0147,
                      "total": 0.0923,
                      "log_link": true,
                      "margin_base": -2.395469,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": 0.199041
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.115108
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.066395
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.054866
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.03334
                        }
                      ],
                      "others_margin": -0.146563
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.1031351089477539,
                    "model_output": 0.1031,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0846
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0655
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0399
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0358
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0268
                      }
                    ],
                    "decomposition": {
                      "base": 0.0947,
                      "items": [
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0147
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0088
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": 0.0085
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0056
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0054
                        }
                      ],
                      "others": 0.006,
                      "total": 0.1031,
                      "log_link": true,
                      "margin_base": -2.357331,
                      "item_margins": [
                        {
                          "name": "interceptionWon",
                          "margin": -0.168733
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.104081
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": 0.091516
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.059388
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.057262
                        }
                      ],
                      "others_margin": 0.060877
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.31221121549606323,
                    "model_output": 0.3122,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1146
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0928
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0753
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0297
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.3177,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0514
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0444
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": -0.0417
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0349
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0315
                        }
                      ],
                      "others": 0.0068,
                      "total": 0.3122,
                      "log_link": true,
                      "margin_base": -1.146731,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": 0.149973
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.113566
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": -0.106433
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": -0.098741
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.098256
                        }
                      ],
                      "others_margin": 0.022547
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.8876674175262451,
                    "model_output": 0.8877,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1488
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1213
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0474
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0446
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0276
                      }
                    ],
                    "decomposition": {
                      "base": 0.9817,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1492
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0468
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0437
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": -0.027
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0232
                        }
                      ],
                      "others": -0.1025,
                      "total": 0.8877,
                      "log_link": false,
                      "margin_base": 0.98173,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.149189
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.046763
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.04371
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "margin": -0.027025
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.023245
                        }
                      ],
                      "others_margin": -0.102508
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.349859237670898,
                    "model_output": 7.3499,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.102
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0743
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0503
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0382
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 6.856,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": 0.1307
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.1013
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0465
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0353
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0336
                        }
                      ],
                      "others": 0.1465,
                      "total": 7.3499,
                      "log_link": false,
                      "margin_base": 6.856008,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": 0.130679
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.101262
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.046513
                        },
                        {
                          "name": "touches",
                          "margin": 0.035318
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.033598
                        }
                      ],
                      "others_margin": 0.146481
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 30,
                  "role_matches": 24,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0142, quality 0.837)",
              "stats": {
                "key_pass": 1.2513,
                "expected_assists": 0.1147,
                "assists": 0.1074,
                "assist_rate": 0.1074,
                "expected_goals": 0.0936,
                "goals": 0.1046,
                "goal_rate": 0.1046,
                "shots_on_target": 0.3166,
                "total_shots": 0.9003,
                "rating": 7.3499,
                "minutes": 83.33,
                "total_pass": 100.2518,
                "accurate_pass": 93.0221,
                "duels_won": 5.0561,
                "total_long_balls": 7.9693,
                "accurate_long_balls": 6.2216,
                "total_own_half_passes": 37.8239,
                "accurate_own_half_passes": 35.4772,
                "total_opp_half_passes": 62.428,
                "accurate_opp_half_passes": 57.5449,
                "crosses_total": 0.2931,
                "crosses_accurate": 0.0136,
                "touches": 112.3067,
                "possession_lost": 9.1415,
                "dispossessed": 0.256,
                "duels_lost": 2.7335,
                "aerial_won": 1.5695,
                "aerial_lost": 0.4141,
                "interceptions": 1.2404,
                "tackles_won": 1.3958,
                "tackles": 2.099,
                "clearances": 1.7563,
                "total_contest": 0.5089,
                "won_contest": 0.1766,
                "challenges_lost": 0.834,
                "fouls": 1.0291,
                "fouls_drawn": 1.2111,
                "blocks": 0.2143,
                "big_chances_created": 0.1842,
                "big_chances_missed": 0.0953,
                "xgot": 0.1386,
                "ball_carries": 36.1265,
                "total_progression": 135.9221,
                "progressive_carries": 2.1381,
                "shots_off_target": 0.5837
              },
              "params": {
                "market_value_eur": 54000000,
                "quality_factor": 0.837,
                "boost_factor": 1.0142,
                "reference_quality": 0.505,
                "history_matches": 30,
                "history_shrink": 0.1429,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0037)",
              "stats": {
                "key_pass": 1.2513,
                "expected_assists": 0.1147,
                "assists": 0.107,
                "assist_rate": 0.107,
                "expected_goals": 0.0936,
                "goals": 0.1042,
                "goal_rate": 0.1042,
                "shots_on_target": 0.3154,
                "total_shots": 0.897,
                "rating": 7.3499,
                "minutes": 83.33,
                "total_pass": 100.2518,
                "accurate_pass": 93.0221,
                "duels_won": 5.0561,
                "total_long_balls": 7.9693,
                "accurate_long_balls": 6.2216,
                "total_own_half_passes": 37.8239,
                "accurate_own_half_passes": 35.4772,
                "total_opp_half_passes": 62.428,
                "accurate_opp_half_passes": 57.5449,
                "crosses_total": 0.292,
                "crosses_accurate": 0.0136,
                "touches": 112.3067,
                "possession_lost": 9.1415,
                "dispossessed": 0.256,
                "duels_lost": 2.7335,
                "aerial_won": 1.5695,
                "aerial_lost": 0.4141,
                "interceptions": 1.2358,
                "tackles_won": 1.3906,
                "tackles": 2.099,
                "clearances": 1.7563,
                "total_contest": 0.5089,
                "won_contest": 0.1766,
                "challenges_lost": 0.834,
                "fouls": 1.0253,
                "fouls_drawn": 1.2066,
                "blocks": 0.2143,
                "big_chances_created": 0.1842,
                "big_chances_missed": 0.0953,
                "xgot": 0.1386,
                "ball_carries": 36.1265,
                "total_progression": 135.9221,
                "progressive_carries": 2.1381,
                "shots_off_target": 0.5837
              },
              "params": {
                "blend_weight": 0.0037,
                "history_matches": 30,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9259,
                "prior_reliability": 0.04,
                "competition": "La Liga",
                "squad": "Barcelona"
              },
              "changes": [
                {
                  "stat": "wonTackle",
                  "before": 1.3958,
                  "after": 1.3906
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1.2513,
                "expected_assists": 0.1147,
                "assists": 0.107,
                "assist_rate": 0.107,
                "expected_goals": 0.0936,
                "goals": 0.1042,
                "goal_rate": 0.1042,
                "shots_on_target": 0.3154,
                "total_shots": 0.8991,
                "rating": 7.3499,
                "minutes": 83.33,
                "total_pass": 100.2518,
                "accurate_pass": 93.0221,
                "duels_won": 5.0561,
                "total_long_balls": 7.9693,
                "accurate_long_balls": 6.2216,
                "total_own_half_passes": 37.8239,
                "accurate_own_half_passes": 35.4772,
                "total_opp_half_passes": 62.428,
                "accurate_opp_half_passes": 57.5449,
                "crosses_total": 0.292,
                "crosses_accurate": 0.0136,
                "touches": 112.3067,
                "possession_lost": 9.1415,
                "dispossessed": 0.256,
                "duels_lost": 2.7335,
                "aerial_won": 1.5695,
                "aerial_lost": 0.4141,
                "interceptions": 1.2358,
                "tackles_won": 1.3906,
                "tackles": 2.099,
                "clearances": 1.7563,
                "total_contest": 0.5089,
                "won_contest": 0.1766,
                "challenges_lost": 0.834,
                "fouls": 1.0253,
                "fouls_drawn": 1.2066,
                "blocks": 0.2143,
                "big_chances_created": 0.1842,
                "big_chances_missed": 0.0953,
                "xgot": 0.1386,
                "ball_carries": 36.1265,
                "total_progression": 135.9221,
                "progressive_carries": 2.1381,
                "shots_off_target": 0.5837
              },
              "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.2513,
                "expected_assists": 0.1147,
                "assists": 0.107,
                "assist_rate": 0.107,
                "expected_goals": 0.1252,
                "goals": 0.1393,
                "goal_rate": 0.1393,
                "shots_on_target": 0.4218,
                "total_shots": 1.2024,
                "rating": 7.3499,
                "minutes": 83.33,
                "total_pass": 100.2518,
                "accurate_pass": 93.0221,
                "duels_won": 5.0561,
                "total_long_balls": 7.9693,
                "accurate_long_balls": 6.2216,
                "total_own_half_passes": 37.8239,
                "accurate_own_half_passes": 35.4772,
                "total_opp_half_passes": 62.428,
                "accurate_opp_half_passes": 57.5449,
                "crosses_total": 0.292,
                "crosses_accurate": 0.0136,
                "touches": 112.3067,
                "possession_lost": 9.1415,
                "dispossessed": 0.256,
                "duels_lost": 2.7335,
                "aerial_won": 1.3,
                "aerial_lost": 0.4141,
                "interceptions": 1.2358,
                "tackles_won": 1.3906,
                "tackles": 2.099,
                "clearances": 1.7563,
                "total_contest": 0.5089,
                "won_contest": 0.1766,
                "challenges_lost": 0.834,
                "fouls": 1.0253,
                "fouls_drawn": 1.2066,
                "blocks": 0.2143,
                "big_chances_created": 0.1842,
                "big_chances_missed": 0.1274,
                "xgot": 0.1853,
                "ball_carries": 36.1265,
                "total_progression": 135.9221,
                "progressive_carries": 2.1381,
                "shots_off_target": 0.7806,
                "duel_xg_multiplier": 1.3373,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 1.1,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.629,
                "pressing_faced": "LOW",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pablo Ibáñez",
                "opponent_faced": "Pablo Ibáñez",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Pablo Ibáñez",
                  "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                  "duel_win_rate": 0.629,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 1.3373,
                  "skill_edge": 0.1815,
                  "height_edge": 0.048,
                  "attacker_skill": 0.8599,
                  "defender_skill": 0.4567,
                  "attacker_role": "CDM",
                  "attacker_mv_price_index": 0.85,
                  "defender_adjusted_parts": [
                    {
                      "player": "Pablo Ibáñez",
                      "market_value": 4099999,
                      "role": "CM",
                      "price_index": 0.9,
                      "adjusted_quality": 0.4567
                    }
                  ],
                  "xg_override": 0.1252
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 0.8991,
                  "after": 1.2024
                },
                {
                  "stat": "aerialWon",
                  "before": 1.5695,
                  "after": 1.3
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.5837,
                  "after": 0.7806
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.3154,
                  "after": 0.4218
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.1386,
                  "after": 0.1853
                },
                {
                  "stat": "goals",
                  "before": 0.1042,
                  "after": 0.1393
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 0.0953,
                  "after": 0.1274
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.0936,
                  "after": 0.1252
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 3 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 1.2513,
                "expected_assists": 0.1147,
                "assist_rate": 0.107,
                "assists": 0,
                "expected_goals": 0.1252,
                "goal_rate": 0.1393,
                "goals": 0,
                "shots_on_target": 0.4218,
                "total_shots": 1.2024,
                "rating": 7.3499,
                "minutes": 83.33,
                "total_pass": 100.2518,
                "accurate_pass": 93.0221,
                "duels_won": 5.0561,
                "total_long_balls": 7.9693,
                "accurate_long_balls": 6.2216,
                "total_own_half_passes": 37.8239,
                "accurate_own_half_passes": 35.4772,
                "total_opp_half_passes": 62.428,
                "accurate_opp_half_passes": 57.5449,
                "crosses_total": 0.292,
                "crosses_accurate": 0.0136,
                "touches": 112.3067,
                "possession_lost": 9.1415,
                "dispossessed": 0.256,
                "duels_lost": 2.7335,
                "aerial_won": 1.3,
                "aerial_lost": 0.4141,
                "interceptions": 1.2358,
                "tackles_won": 1.3906,
                "tackles": 2.099,
                "clearances": 1.7563,
                "total_contest": 0.5089,
                "won_contest": 0.1766,
                "challenges_lost": 0.834,
                "fouls": 1.0253,
                "fouls_drawn": 1.2066,
                "blocks": 0.2143,
                "big_chances_created": 0.1842,
                "big_chances_missed": 0.1274,
                "xgot": 0.1853,
                "ball_carries": 36.1265,
                "total_progression": 135.9221,
                "progressive_carries": 2.1381,
                "shots_off_target": 0.7806,
                "duel_xg_multiplier": 1.3373,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 1.1,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.629,
                "pressing_faced": "LOW",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pablo Ibáñez",
                "opponent_faced": "Pablo Ibáñez",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 3
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 3.86 (squad xG sum 2.6208, xG scale 1.4740, xA scale 1.6297, team xA 2.51 = 0.65 x lambda)",
              "stats": {
                "key_pass": 1.2513,
                "expected_assists": 0.1869,
                "assist_rate": 0.107,
                "assists": 0,
                "expected_goals": 0.1845,
                "goal_rate": 0.1393,
                "goals": 0,
                "shots_on_target": 0.4218,
                "total_shots": 1.2024,
                "rating": 7.3499,
                "minutes": 83.33,
                "total_pass": 100.2518,
                "accurate_pass": 93.0221,
                "duels_won": 5.0561,
                "total_long_balls": 7.9693,
                "accurate_long_balls": 6.2216,
                "total_own_half_passes": 37.8239,
                "accurate_own_half_passes": 35.4772,
                "total_opp_half_passes": 62.428,
                "accurate_opp_half_passes": 57.5449,
                "crosses_total": 0.292,
                "crosses_accurate": 0.0136,
                "touches": 112.3067,
                "possession_lost": 9.1415,
                "dispossessed": 0.256,
                "duels_lost": 2.7335,
                "aerial_won": 1.3,
                "aerial_lost": 0.4141,
                "interceptions": 1.2358,
                "tackles_won": 1.3906,
                "tackles": 2.099,
                "clearances": 1.7563,
                "total_contest": 0.5089,
                "won_contest": 0.1766,
                "challenges_lost": 0.834,
                "fouls": 1.0253,
                "fouls_drawn": 1.2066,
                "blocks": 0.2143,
                "big_chances_created": 0.1842,
                "big_chances_missed": 0.1274,
                "xgot": 0.2731,
                "ball_carries": 36.1265,
                "total_progression": 135.9221,
                "progressive_carries": 2.1381,
                "shots_off_target": 0.7806,
                "duel_xg_multiplier": 1.3373,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 1.1,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.629,
                "pressing_faced": "LOW",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pablo Ibáñez",
                "opponent_faced": "Pablo Ibáñez",
                "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.0805,
                "creation_factor": 0.9532
              },
              "params": {
                "team_lambda": 3.863,
                "squad_xg_sum": 2.6208,
                "squad_xa_sum": 1.5408,
                "team_expected_assists": 2.511,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.474,
                "xa_scale": 1.6297,
                "opponent_lambda": 1.288,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1252,
                  "after": 0.1845
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1147,
                  "after": 0.1869
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 3 by projected rating, fifa_overall 90.0)",
              "stats": {
                "key_pass": 1.2513,
                "expected_assists": 0.1869,
                "assist_rate": 0.107,
                "assists": 0,
                "expected_goals": 0.1845,
                "goal_rate": 0.1393,
                "goals": 0,
                "shots_on_target": 0.4218,
                "total_shots": 1.2024,
                "rating": 7.3499,
                "minutes": 83.33,
                "total_pass": 100.2518,
                "accurate_pass": 93.0221,
                "duels_won": 5.0561,
                "total_long_balls": 7.9693,
                "accurate_long_balls": 6.2216,
                "total_own_half_passes": 37.8239,
                "accurate_own_half_passes": 35.4772,
                "total_opp_half_passes": 62.428,
                "accurate_opp_half_passes": 57.5449,
                "crosses_total": 0.292,
                "crosses_accurate": 0.0136,
                "touches": 112.3067,
                "possession_lost": 9.1415,
                "dispossessed": 0.256,
                "duels_lost": 2.7335,
                "aerial_won": 1.3,
                "aerial_lost": 0.4141,
                "interceptions": 1.2358,
                "tackles_won": 1.3906,
                "tackles": 2.099,
                "clearances": 1.7563,
                "total_contest": 0.5089,
                "won_contest": 0.1766,
                "challenges_lost": 0.834,
                "fouls": 1.0253,
                "fouls_drawn": 1.2066,
                "blocks": 0.2143,
                "big_chances_created": 0.1842,
                "big_chances_missed": 0.1274,
                "xgot": 0.2731,
                "ball_carries": 36.1265,
                "total_progression": 135.9221,
                "progressive_carries": 2.1381,
                "shots_off_target": 0.7806,
                "duel_xg_multiplier": 1.3373,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 1.1,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.629,
                "pressing_faced": "LOW",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pablo Ibáñez",
                "opponent_faced": "Pablo Ibáñez",
                "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.0805,
                "creation_factor": 0.9532,
                "fifa_overall": 90.0
              },
              "params": {
                "match_squad_rank": 3,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 50,
                "fifa_rank": 8.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 90.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 3 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 1.2513,
                "expected_assists": 0.1869,
                "assist_rate": 0.107,
                "assists": 0,
                "expected_goals": 0.1845,
                "goal_rate": 0.1393,
                "goals": 0,
                "shots_on_target": 0.4218,
                "total_shots": 1.2024,
                "rating": 7.3499,
                "minutes": 83.33,
                "total_pass": 100.2518,
                "accurate_pass": 93.0221,
                "duels_won": 5.0561,
                "total_long_balls": 7.9693,
                "accurate_long_balls": 6.2216,
                "total_own_half_passes": 37.8239,
                "accurate_own_half_passes": 35.4772,
                "total_opp_half_passes": 62.428,
                "accurate_opp_half_passes": 57.5449,
                "crosses_total": 0.292,
                "crosses_accurate": 0.0136,
                "touches": 112.3067,
                "possession_lost": 9.1415,
                "dispossessed": 0.256,
                "duels_lost": 2.7335,
                "aerial_won": 1.3,
                "aerial_lost": 0.4141,
                "interceptions": 1.2358,
                "tackles_won": 1.3906,
                "tackles": 2.099,
                "clearances": 1.7563,
                "total_contest": 0.5089,
                "won_contest": 0.1766,
                "challenges_lost": 0.834,
                "fouls": 1.0253,
                "fouls_drawn": 1.2066,
                "blocks": 0.2143,
                "big_chances_created": 0.1842,
                "big_chances_missed": 0.1274,
                "xgot": 0.2731,
                "ball_carries": 36.1265,
                "total_progression": 135.9221,
                "progressive_carries": 2.1381,
                "shots_off_target": 0.7806,
                "duel_xg_multiplier": 1.3373,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 1.1,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.629,
                "pressing_faced": "LOW",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pablo Ibáñez",
                "opponent_faced": "Pablo Ibáñez",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1685,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0805,
                "creation_factor": 0.9532,
                "fifa_overall": 90.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 3,
                "goals_allocated": 0,
                "goal_probability": 0.1685,
                "goal_rate": 0.1393,
                "scorer_weight": 0.1994,
                "squad_weight_total": 4.4245,
                "weight_share": 0.0451,
                "finishing_factor": 1.0805,
                "appearance_weight": 1.0,
                "weight_rank": 5,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Raphinha",
                    "weight": 1.5149,
                    "already": 0,
                    "effective_weight": 1.5149,
                    "runner_up": "Lamine Yamal",
                    "runner_up_effective_weight": 1.1818
                  },
                  {
                    "n": 2,
                    "player": "Lamine Yamal",
                    "weight": 1.1818,
                    "already": 0,
                    "effective_weight": 1.1818,
                    "runner_up": "Raphinha",
                    "runner_up_effective_weight": 0.6446
                  },
                  {
                    "n": 3,
                    "player": "Raphinha",
                    "weight": 1.5149,
                    "already": 1,
                    "effective_weight": 0.6446,
                    "runner_up": "Lamine Yamal",
                    "runner_up_effective_weight": 0.5029
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 2 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "key_pass": 1.2513,
                "expected_assists": 0.1869,
                "assist_rate": 0.107,
                "assists": 0,
                "expected_goals": 0.1845,
                "goal_rate": 0.1393,
                "goals": 0,
                "shots_on_target": 0.4218,
                "total_shots": 1.2024,
                "rating": 7.3499,
                "minutes": 83.33,
                "total_pass": 100.2518,
                "accurate_pass": 93.0221,
                "duels_won": 5.0561,
                "total_long_balls": 7.9693,
                "accurate_long_balls": 6.2216,
                "total_own_half_passes": 37.8239,
                "accurate_own_half_passes": 35.4772,
                "total_opp_half_passes": 62.428,
                "accurate_opp_half_passes": 57.5449,
                "crosses_total": 0.292,
                "crosses_accurate": 0.0136,
                "touches": 112.3067,
                "possession_lost": 9.1415,
                "dispossessed": 0.256,
                "duels_lost": 2.7335,
                "aerial_won": 1.3,
                "aerial_lost": 0.4141,
                "interceptions": 1.2358,
                "tackles_won": 1.3906,
                "tackles": 2.099,
                "clearances": 1.7563,
                "total_contest": 0.5089,
                "won_contest": 0.1766,
                "challenges_lost": 0.834,
                "fouls": 1.0253,
                "fouls_drawn": 1.2066,
                "blocks": 0.2143,
                "big_chances_created": 0.1842,
                "big_chances_missed": 0.1274,
                "xgot": 0.2731,
                "ball_carries": 36.1265,
                "total_progression": 135.9221,
                "progressive_carries": 2.1381,
                "shots_off_target": 0.7806,
                "duel_xg_multiplier": 1.3373,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 1.1,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.629,
                "pressing_faced": "LOW",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pablo Ibáñez",
                "opponent_faced": "Pablo Ibáñez",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1685,
                "projected_assists": 0,
                "assist_probability": 0.1705,
                "finishing_factor": 1.0805,
                "creation_factor": 0.9532,
                "fifa_overall": 90.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 2,
                "assists_allocated": 0,
                "assist_probability": 0.1705,
                "assist_rate": 0.107,
                "provider_weight": 0.1782,
                "squad_weight_total": 2.7263,
                "weight_share": 0.0653,
                "creation_factor": 0.9532,
                "appearance_weight": 1.0,
                "weight_rank": 9,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Lamine Yamal",
                    "weight": 0.5086,
                    "already": 0,
                    "effective_weight": 0.5086,
                    "runner_up": "Pedri",
                    "runner_up_effective_weight": 0.3563
                  },
                  {
                    "n": 2,
                    "player": "Pedri",
                    "weight": 0.3563,
                    "already": 0,
                    "effective_weight": 0.3563,
                    "runner_up": "Fermín López",
                    "runner_up_effective_weight": 0.3049
                  }
                ]
              }
            }
          ]
        },
        "Lamine Yamal": {
          "player_id": 1402912,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 10,
          "height": 183,
          "market_value": 237000000,
          "stats": {
            "expected_goals": 0.9454,
            "goal_rate": 0.8752,
            "goals": 1,
            "shots_on_target": 2,
            "total_shots": 6,
            "expected_assists": 0.4069,
            "key_pass": 3,
            "rating": 8.1568,
            "minutes": 83,
            "total_pass": 47,
            "accurate_pass": 37,
            "duels_won": 7,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_opp_half_passes": 40,
            "accurate_opp_half_passes": 30,
            "crosses_total": 3,
            "crosses_accurate": 1,
            "touches": 73,
            "possession_lost": 20.1396,
            "dispossessed": 0.9375,
            "duels_lost": 6,
            "aerial_lost": 0,
            "total_contest": 7,
            "won_contest": 4,
            "ball_recovery": 3,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 2,
            "assist_rate": 0.6518,
            "assists": 1,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 1,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 1,
            "big_chances_missed": 1,
            "xgot": 1.1367,
            "offsides": 1,
            "ball_carries": 26,
            "total_progression": 140,
            "progressive_carries": 7,
            "shots_off_target": 4,
            "duel_xg_multiplier": 1.2867,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.7,
            "aerial_won": 2,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.395,
            "pressing_faced": "LOW",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Nahuel Tenaglia, Ville Koski",
            "opponent_faced": "Nahuel Tenaglia, Ville Koski",
            "antagonist_source": "attacking_duel",
            "projected_goals": 1,
            "goal_probability": 0.6115,
            "projected_assists": 1,
            "assist_probability": 0.3343,
            "finishing_factor": 1.25,
            "creation_factor": 1.25,
            "fifa_overall": 90.0
          },
          "latest_10_games": [
            {
              "match_id": 16421080,
              "match_date": "2026-10-25",
              "home_team": "FC Barcelona",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.5089,
                "expected_assists": 0.0622,
                "total_shots": 5,
                "shots_on_target": 0,
                "shots_off_target": 3,
                "total_pass": 47,
                "accurate_pass": 36,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 0,
                "clearances": 0,
                "aerial_won": 0,
                "duels_won": 8,
                "ball_recovery": 4,
                "saves": 0
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421068,
              "match_date": "2026-10-17",
              "home_team": "Real Betis",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 70,
                "rating": 8.7,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.2224,
                "expected_assists": 0.4691,
                "total_shots": 4,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 32,
                "accurate_pass": 21,
                "key_pass": 2,
                "tackles": 1,
                "interceptions": 1,
                "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": 16421060,
              "match_date": "2026-10-10",
              "home_team": "FC Barcelona",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 7.9,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.2346,
                "expected_assists": 0.7747,
                "total_shots": 6,
                "shots_off_target": 4,
                "total_pass": 52,
                "accurate_pass": 37,
                "key_pass": 3,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416349,
              "match_date": "2026-09-19",
              "home_team": "Sevilla",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 8.3,
                "assist_rate": 2.0,
                "assists": 2,
                "expected_goals": 0.2641,
                "expected_assists": 0.5755,
                "total_shots": 5,
                "shots_on_target": 1,
                "shots_off_target": 3,
                "total_pass": 52,
                "accurate_pass": 44,
                "key_pass": 6,
                "duels_won": 7,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416346,
              "match_date": "2026-09-16",
              "home_team": "FC Barcelona",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 90,
                "rating": 9.0,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 2.0,
                "assists": 2,
                "expected_goals": 1.6645,
                "expected_assists": 0.3084,
                "total_shots": 7,
                "shots_on_target": 2,
                "shots_off_target": 3,
                "total_pass": 53,
                "accurate_pass": 42,
                "key_pass": 3,
                "duels_won": 9,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416329,
              "match_date": "2026-09-13",
              "home_team": "Levante UD",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 66,
                "rating": 8.4,
                "goal_rate": 2.0,
                "goals": 2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.6035,
                "expected_assists": 0.0385,
                "total_shots": 3,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 36,
                "accurate_pass": 30,
                "tackles": 1,
                "clearances": 1,
                "duels_won": 5,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416325,
              "match_date": "2026-09-06",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 8.9,
                "goal_rate": 2.0,
                "goals": 2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.1231,
                "expected_assists": 0.3021,
                "total_shots": 8,
                "shots_on_target": 4,
                "shots_off_target": 3,
                "total_pass": 79,
                "accurate_pass": 66,
                "key_pass": 6,
                "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": 16416295,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 10.0,
                "goal_rate": 2.0,
                "goals": 2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.327,
                "expected_assists": 0.5343,
                "total_shots": 6,
                "shots_on_target": 2,
                "shots_off_target": 2,
                "total_pass": 40,
                "accurate_pass": 30,
                "key_pass": 7,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 12,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421059,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 7.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.8933,
                "expected_assists": 0.7456,
                "total_shots": 7,
                "shots_on_target": 3,
                "shots_off_target": 1,
                "total_pass": 55,
                "accurate_pass": 45,
                "key_pass": 5,
                "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": 16416311,
              "match_date": "2026-08-23",
              "home_team": "Elche",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Elche",
              "stats": {
                "minutes": 65,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2063,
                "expected_assists": 0.1498,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 29,
                "accurate_pass": 22,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 1,
            "combined_rank_score": 5.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 7.0,
            "sofascore_rating": 8.65,
            "sofascore_appearances": 2.0,
            "fifa_rank": 4.0,
            "fifa_overall": 90.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 1,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 8.1568,
            "source_file": "data/player_rankings.csv",
            "player_name": "Lamine Yamal",
            "ranking_neighbors": {
              "upper": [],
              "lower": [
                {
                  "player_name": "Kylian Mbappé",
                  "ranking": 2
                },
                {
                  "player_name": "Erling Haaland",
                  "ranking": 3
                },
                {
                  "player_name": "Mariano Díaz",
                  "ranking": 4
                },
                {
                  "player_name": "Jude Bellingham",
                  "ranking": 5
                },
                {
                  "player_name": "Pedri",
                  "ranking": 6
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.777,
          "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.777,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0138,
            "fbref_prior_metrics": {
              "squad": "Barcelona",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 244.0,
              "goals_per90": 0.7407407407407407,
              "assists_per90": 0.0,
              "shots_per90": 5.53,
              "shots_on_target_pct": 33.3,
              "prior_reliability": 0.18
            },
            "rationale": "XGBoost regressor (F_service) evaluated 38 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Barcelona, rel: 0.18, gls/90: 0.7407407407407407, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.4917,
                "goals": 0.6709,
                "goal_rate": 0.6709,
                "shots_on_target": 1.4354,
                "total_shots": 4.8183,
                "expected_assists": 0.2462,
                "key_pass": 2.5847,
                "rating": 8.1568,
                "minutes": 82.87,
                "total_pass": 46.7452,
                "accurate_pass": 36.4737,
                "duels_won": 6.4561,
                "total_long_balls": 1.9444,
                "accurate_long_balls": 0.825,
                "total_opp_half_passes": 39.3017,
                "accurate_opp_half_passes": 29.9638,
                "crosses_total": 2.6855,
                "crosses_accurate": 0.7372,
                "touches": 72.0512,
                "possession_lost": 19.8655,
                "dispossessed": 0.9247,
                "duels_lost": 5.6291,
                "aerial_lost": 0.0118,
                "total_contest": 6.9928,
                "won_contest": 4.1116,
                "ball_recovery": 2.5159,
                "challenges_lost": 0.5914,
                "fouls": 1.2868,
                "fouls_drawn": 1.7397,
                "assists": 0.6518,
                "assist_rate": 0.6518,
                "interceptions": 0.2809,
                "tackles_won": 0.2762,
                "tackles": 0.6048,
                "clearances": 0.1222,
                "blocks": 0.0,
                "big_chances_created": 1.335,
                "big_chances_missed": 0.4216,
                "xgot": 0.5912,
                "offsides": 0.703,
                "ball_carries": 25.8932,
                "total_progression": 137.612,
                "progressive_carries": 6.6117,
                "shots_off_target": 3.3829
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-31T10:30:56.271646+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 610,
                    "rows": 17075
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-25",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1503,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-10-17",
                    "opponent": "Real Betis",
                    "minutes": 70.0,
                    "is_starting": true,
                    "weight": 0.1278,
                    "rating": 8.7
                  },
                  {
                    "match_date": "2026-10-10",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1086,
                    "rating": 7.9
                  },
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0923,
                    "rating": 8.3
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Real Racing Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0785,
                    "rating": 9.0
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Levante UD",
                    "minutes": 66.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 8.4
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 8.9
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 10.0
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.041,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Elche",
                    "minutes": 65.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "accurateOppositionHalfPasses": 29.473,
                  "expectedGoals": 0.6322,
                  "totalOppositionHalfPasses": 38.7379,
                  "accuratePass": 35.8813,
                  "totalShots": 5.0412
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.49169060587882996,
                    "model_output": 0.4917,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.282
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0898
                      },
                      {
                        "name": "goals",
                        "importance": 0.0323
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0316
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0236
                      }
                    ],
                    "decomposition": {
                      "base": 0.1945,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.076
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0968
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0541
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0379
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0252
                        }
                      ],
                      "others": 0.0072,
                      "total": 0.4917,
                      "log_link": true,
                      "margin_base": -1.637486,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.32985
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.305911
                        },
                        {
                          "name": "goals",
                          "margin": 0.137526
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.08605
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.053473
                        }
                      ],
                      "others_margin": 0.014772
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.670945405960083,
                    "model_output": 0.6709,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.144
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0742
                      },
                      {
                        "name": "goals",
                        "importance": 0.053
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0321
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0311
                      }
                    ],
                    "decomposition": {
                      "base": 0.199,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.078
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0861
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0621
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0574
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.06
                        }
                      ],
                      "others": 0.1283,
                      "total": 0.6709,
                      "log_link": true,
                      "margin_base": -1.614663,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.330912
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.270614
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.157792
                        },
                        {
                          "name": "goals",
                          "margin": 0.126559
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.117129
                        }
                      ],
                      "others_margin": 0.212588
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 1.4354040622711182,
                    "model_output": 1.4354,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2115
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.066
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0499
                      },
                      {
                        "name": "goals",
                        "importance": 0.0473
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0333
                      }
                    ],
                    "decomposition": {
                      "base": 0.5305,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2116
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.2
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0845
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0906
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0897
                        }
                      ],
                      "others": 0.2285,
                      "total": 1.4354,
                      "log_link": true,
                      "margin_base": -0.633985,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.33573
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.238574
                        },
                        {
                          "name": "goals",
                          "margin": 0.085929
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.084542
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.077214
                        }
                      ],
                      "others_margin": 0.173441
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 4.818307399749756,
                    "model_output": 4.8183,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2934
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0662
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.05
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0272
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.027
                      }
                    ],
                    "decomposition": {
                      "base": 1.3805,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.8736
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.8223
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.307
                        },
                        {
                          "name": "aerialLost",
                          "contribution": 0.1992
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.1821
                        }
                      ],
                      "others": 1.0536,
                      "total": 4.8183,
                      "log_link": false,
                      "margin_base": 1.38048,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.873577
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.822324
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.306979
                        },
                        {
                          "name": "aerialLost",
                          "margin": 0.199214
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.18207
                        }
                      ],
                      "others_margin": 1.053662
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.24618016183376312,
                    "model_output": 0.2462,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1135
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0826
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0722
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0587
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0552
                      }
                    ],
                    "decomposition": {
                      "base": 0.0647,
                      "items": [
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0145
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0162
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0154
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.015
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0153
                        }
                      ],
                      "others": 0.1051,
                      "total": 0.2462,
                      "log_link": true,
                      "margin_base": -2.738275,
                      "item_margins": [
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.202548
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.185646
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.149376
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.126946
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.115078
                        }
                      ],
                      "others_margin": 0.556988
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 2.5847082138061523,
                    "model_output": 2.5847,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1545
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.1071
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0923
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0893
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0298
                      }
                    ],
                    "decomposition": {
                      "base": 0.6939,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2093
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.2258
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.1684
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.1513
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.1415
                        }
                      ],
                      "others": 0.9945,
                      "total": 2.5847,
                      "log_link": true,
                      "margin_base": -0.365451,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.263587
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.223133
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.139001
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.1103
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.093197
                        }
                      ],
                      "others_margin": 0.485845
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 8.156820297241211,
                    "model_output": 8.1568,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0529
                      },
                      {
                        "name": "rating",
                        "importance": 0.0463
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.044
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0417
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0371
                      }
                    ],
                    "decomposition": {
                      "base": 6.7735,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": 0.2008
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.1363
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.1232
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.1221
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0804
                        }
                      ],
                      "others": 0.7205,
                      "total": 8.1568,
                      "log_link": false,
                      "margin_base": 6.773504,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": 0.200815
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.136346
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.123235
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.122065
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.080357
                        }
                      ],
                      "others_margin": 0.720497
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 38,
                  "role_matches": 36,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0138, quality 0.900)",
              "stats": {
                "expected_goals": 0.4985,
                "goals": 0.6802,
                "goal_rate": 0.6802,
                "shots_on_target": 1.4552,
                "total_shots": 4.8848,
                "expected_assists": 0.2496,
                "key_pass": 2.6204,
                "rating": 8.1568,
                "minutes": 82.87,
                "total_pass": 47.3903,
                "accurate_pass": 36.977,
                "duels_won": 6.5452,
                "total_long_balls": 1.9712,
                "accurate_long_balls": 0.8364,
                "total_opp_half_passes": 39.8441,
                "accurate_opp_half_passes": 30.3773,
                "crosses_total": 2.7226,
                "crosses_accurate": 0.7474,
                "touches": 73.0455,
                "possession_lost": 20.1396,
                "dispossessed": 0.9375,
                "duels_lost": 5.7068,
                "aerial_lost": 0.012,
                "total_contest": 7.0893,
                "won_contest": 4.1683,
                "ball_recovery": 2.5506,
                "challenges_lost": 0.5996,
                "fouls": 1.3046,
                "fouls_drawn": 1.7637,
                "assists": 0.6608,
                "assist_rate": 0.6608,
                "interceptions": 0.2848,
                "tackles_won": 0.28,
                "tackles": 0.6131,
                "clearances": 0.1239,
                "blocks": 0.0,
                "big_chances_created": 1.3534,
                "big_chances_missed": 0.4274,
                "xgot": 0.5994,
                "offsides": 0.7127,
                "ball_carries": 26.2505,
                "total_progression": 139.511,
                "progressive_carries": 6.7029,
                "shots_off_target": 3.4296
              },
              "params": {
                "market_value_eur": 237000000,
                "quality_factor": 0.9,
                "boost_factor": 1.0138,
                "reference_quality": 0.505,
                "history_matches": 38,
                "history_shrink": 0.1163,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0136)",
              "stats": {
                "expected_goals": 0.4985,
                "goals": 0.6802,
                "goal_rate": 0.6802,
                "shots_on_target": 1.4585,
                "total_shots": 4.8876,
                "expected_assists": 0.2496,
                "key_pass": 2.6204,
                "rating": 8.1568,
                "minutes": 82.87,
                "total_pass": 47.3903,
                "accurate_pass": 36.977,
                "duels_won": 6.5452,
                "total_long_balls": 1.9712,
                "accurate_long_balls": 0.8364,
                "total_opp_half_passes": 39.8441,
                "accurate_opp_half_passes": 30.3773,
                "crosses_total": 2.7366,
                "crosses_accurate": 0.7474,
                "touches": 73.0455,
                "possession_lost": 20.1396,
                "dispossessed": 0.9375,
                "duels_lost": 5.7068,
                "aerial_lost": 0.012,
                "total_contest": 7.0893,
                "won_contest": 4.1683,
                "ball_recovery": 2.5506,
                "challenges_lost": 0.5996,
                "fouls": 1.2961,
                "fouls_drawn": 1.7629,
                "assists": 0.6518,
                "assist_rate": 0.6518,
                "interceptions": 0.2902,
                "tackles_won": 0.2808,
                "tackles": 0.6131,
                "clearances": 0.1239,
                "blocks": 0.0,
                "big_chances_created": 1.3534,
                "big_chances_missed": 0.4274,
                "xgot": 0.5994,
                "offsides": 0.7308,
                "ball_carries": 26.2505,
                "total_progression": 139.511,
                "progressive_carries": 6.7029,
                "shots_off_target": 3.4296
              },
              "params": {
                "blend_weight": 0.0136,
                "history_matches": 38,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9208,
                "prior_reliability": 0.18,
                "competition": "La Liga",
                "squad": "Barcelona"
              },
              "changes": [
                {
                  "stat": "totalOffside",
                  "before": 0.7127,
                  "after": 0.7308
                },
                {
                  "stat": "totalCross",
                  "before": 2.7226,
                  "after": 2.7366
                },
                {
                  "stat": "goalAssist",
                  "before": 0.6608,
                  "after": 0.6518
                },
                {
                  "stat": "fouls",
                  "before": 1.3046,
                  "after": 1.2961
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.2848,
                  "after": 0.2902
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.4985,
                "goals": 0.6802,
                "goal_rate": 0.6802,
                "shots_on_target": 1.4585,
                "total_shots": 4.8881,
                "expected_assists": 0.2496,
                "key_pass": 2.6204,
                "rating": 8.1568,
                "minutes": 82.87,
                "total_pass": 47.3903,
                "accurate_pass": 36.977,
                "duels_won": 6.5452,
                "total_long_balls": 1.9712,
                "accurate_long_balls": 0.8364,
                "total_opp_half_passes": 39.8441,
                "accurate_opp_half_passes": 30.3773,
                "crosses_total": 2.7366,
                "crosses_accurate": 0.7474,
                "touches": 73.0455,
                "possession_lost": 20.1396,
                "dispossessed": 0.9375,
                "duels_lost": 5.7068,
                "aerial_lost": 0.012,
                "total_contest": 7.0893,
                "won_contest": 4.1683,
                "ball_recovery": 2.5506,
                "challenges_lost": 0.5996,
                "fouls": 1.2961,
                "fouls_drawn": 1.7629,
                "assists": 0.6518,
                "assist_rate": 0.6518,
                "interceptions": 0.2902,
                "tackles_won": 0.2808,
                "tackles": 0.6131,
                "clearances": 0.1239,
                "blocks": 0.0,
                "big_chances_created": 1.3534,
                "big_chances_missed": 0.4274,
                "xgot": 0.5994,
                "offsides": 0.7308,
                "ball_carries": 26.2505,
                "total_progression": 139.511,
                "progressive_carries": 6.7029,
                "shots_off_target": 3.4296
              },
              "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.6414,
                "goals": 0.8752,
                "goal_rate": 0.8752,
                "shots_on_target": 1.8767,
                "total_shots": 6.2896,
                "expected_assists": 0.2496,
                "key_pass": 2.6204,
                "rating": 8.1568,
                "minutes": 82.87,
                "total_pass": 47.3903,
                "accurate_pass": 36.977,
                "duels_won": 6.5452,
                "total_long_balls": 1.9712,
                "accurate_long_balls": 0.8364,
                "total_opp_half_passes": 39.8441,
                "accurate_opp_half_passes": 30.3773,
                "crosses_total": 2.7366,
                "crosses_accurate": 0.7474,
                "touches": 73.0455,
                "possession_lost": 20.1396,
                "dispossessed": 0.9375,
                "duels_lost": 5.7068,
                "aerial_lost": 0.012,
                "total_contest": 7.0893,
                "won_contest": 4.1683,
                "ball_recovery": 2.5506,
                "challenges_lost": 0.5996,
                "fouls": 1.2961,
                "fouls_drawn": 1.7629,
                "assists": 0.6518,
                "assist_rate": 0.6518,
                "interceptions": 0.2902,
                "tackles_won": 0.2808,
                "tackles": 0.6131,
                "clearances": 0.1239,
                "blocks": 0.0,
                "big_chances_created": 1.3534,
                "big_chances_missed": 0.5499,
                "xgot": 0.7712,
                "offsides": 0.7308,
                "ball_carries": 26.2505,
                "total_progression": 139.511,
                "progressive_carries": 6.7029,
                "shots_off_target": 4.4129,
                "duel_xg_multiplier": 1.2867,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.7,
                "aerial_won": 1.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.395,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Nahuel Tenaglia, Ville Koski",
                "opponent_faced": "Nahuel Tenaglia, Ville Koski",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Nahuel Tenaglia, Ville Koski",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.395,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v2",
                  "xg_multiplier": 1.2867,
                  "skill_edge": 0.197,
                  "height_edge": -0.002,
                  "attacker_skill": 0.9,
                  "defender_skill": 0.4622,
                  "attacker_role": "ST",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Nahuel Tenaglia",
                      "market_value": 3200000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.4531
                    },
                    {
                      "player": "Ville Koski",
                      "market_value": 4300000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.4712
                    }
                  ],
                  "xg_override": 0.6414
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 4.8881,
                  "after": 6.2896
                },
                {
                  "stat": "shotOffTarget",
                  "before": 3.4296,
                  "after": 4.4129
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 1.4585,
                  "after": 1.8767
                },
                {
                  "stat": "goals",
                  "before": 0.6802,
                  "after": 0.8752
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.5994,
                  "after": 0.7712
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.4985,
                  "after": 0.6414
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 0.4274,
                  "after": 0.5499
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 3 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.6414,
                "goal_rate": 0.8752,
                "goals": 0,
                "shots_on_target": 1.8767,
                "total_shots": 6.2896,
                "expected_assists": 0.2496,
                "key_pass": 2.6204,
                "rating": 8.1568,
                "minutes": 82.87,
                "total_pass": 47.3903,
                "accurate_pass": 36.977,
                "duels_won": 6.5452,
                "total_long_balls": 1.9712,
                "accurate_long_balls": 0.8364,
                "total_opp_half_passes": 39.8441,
                "accurate_opp_half_passes": 30.3773,
                "crosses_total": 2.7366,
                "crosses_accurate": 0.7474,
                "touches": 73.0455,
                "possession_lost": 20.1396,
                "dispossessed": 0.9375,
                "duels_lost": 5.7068,
                "aerial_lost": 0.012,
                "total_contest": 7.0893,
                "won_contest": 4.1683,
                "ball_recovery": 2.5506,
                "challenges_lost": 0.5996,
                "fouls": 1.2961,
                "fouls_drawn": 1.7629,
                "assist_rate": 0.6518,
                "assists": 0,
                "interceptions": 0.2902,
                "tackles_won": 0.2808,
                "tackles": 0.6131,
                "clearances": 0.1239,
                "blocks": 0.0,
                "big_chances_created": 1.3534,
                "big_chances_missed": 0.5499,
                "xgot": 0.7712,
                "offsides": 0.7308,
                "ball_carries": 26.2505,
                "total_progression": 139.511,
                "progressive_carries": 6.7029,
                "shots_off_target": 4.4129,
                "duel_xg_multiplier": 1.2867,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.7,
                "aerial_won": 1.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.395,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Nahuel Tenaglia, Ville Koski",
                "opponent_faced": "Nahuel Tenaglia, Ville Koski",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 3
              },
              "changes": [
                {
                  "stat": "goals",
                  "before": 1.0,
                  "after": 0
                },
                {
                  "stat": "assists",
                  "before": 1.0,
                  "after": 0
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 3.86 (squad xG sum 2.6208, xG scale 1.4740, xA scale 1.6297, team xA 2.51 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.9454,
                "goal_rate": 0.8752,
                "goals": 0,
                "shots_on_target": 1.8767,
                "total_shots": 6.2896,
                "expected_assists": 0.4069,
                "key_pass": 2.6204,
                "rating": 8.1568,
                "minutes": 82.87,
                "total_pass": 47.3903,
                "accurate_pass": 36.977,
                "duels_won": 6.5452,
                "total_long_balls": 1.9712,
                "accurate_long_balls": 0.8364,
                "total_opp_half_passes": 39.8441,
                "accurate_opp_half_passes": 30.3773,
                "crosses_total": 2.7366,
                "crosses_accurate": 0.7474,
                "touches": 73.0455,
                "possession_lost": 20.1396,
                "dispossessed": 0.9375,
                "duels_lost": 5.7068,
                "aerial_lost": 0.012,
                "total_contest": 7.0893,
                "won_contest": 4.1683,
                "ball_recovery": 2.5506,
                "challenges_lost": 0.5996,
                "fouls": 1.2961,
                "fouls_drawn": 1.7629,
                "assist_rate": 0.6518,
                "assists": 0,
                "interceptions": 0.2902,
                "tackles_won": 0.2808,
                "tackles": 0.6131,
                "clearances": 0.1239,
                "blocks": 0.0,
                "big_chances_created": 1.3534,
                "big_chances_missed": 0.5499,
                "xgot": 1.1367,
                "offsides": 0.7308,
                "ball_carries": 26.2505,
                "total_progression": 139.511,
                "progressive_carries": 6.7029,
                "shots_off_target": 4.4129,
                "duel_xg_multiplier": 1.2867,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.7,
                "aerial_won": 1.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.395,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Nahuel Tenaglia, Ville Koski",
                "opponent_faced": "Nahuel Tenaglia, Ville Koski",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 3.863,
                "squad_xg_sum": 2.6208,
                "squad_xa_sum": 1.5408,
                "team_expected_assists": 2.511,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.474,
                "xa_scale": 1.6297,
                "opponent_lambda": 1.288,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.6414,
                  "after": 0.9454
                },
                {
                  "stat": "expected_assists",
                  "before": 0.2496,
                  "after": 0.4069
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 1 by projected rating, fifa_overall 90.0)",
              "stats": {
                "expected_goals": 0.9454,
                "goal_rate": 0.8752,
                "goals": 0,
                "shots_on_target": 1.8767,
                "total_shots": 6.2896,
                "expected_assists": 0.4069,
                "key_pass": 2.6204,
                "rating": 8.1568,
                "minutes": 82.87,
                "total_pass": 47.3903,
                "accurate_pass": 36.977,
                "duels_won": 6.5452,
                "total_long_balls": 1.9712,
                "accurate_long_balls": 0.8364,
                "total_opp_half_passes": 39.8441,
                "accurate_opp_half_passes": 30.3773,
                "crosses_total": 2.7366,
                "crosses_accurate": 0.7474,
                "touches": 73.0455,
                "possession_lost": 20.1396,
                "dispossessed": 0.9375,
                "duels_lost": 5.7068,
                "aerial_lost": 0.012,
                "total_contest": 7.0893,
                "won_contest": 4.1683,
                "ball_recovery": 2.5506,
                "challenges_lost": 0.5996,
                "fouls": 1.2961,
                "fouls_drawn": 1.7629,
                "assist_rate": 0.6518,
                "assists": 0,
                "interceptions": 0.2902,
                "tackles_won": 0.2808,
                "tackles": 0.6131,
                "clearances": 0.1239,
                "blocks": 0.0,
                "big_chances_created": 1.3534,
                "big_chances_missed": 0.5499,
                "xgot": 1.1367,
                "offsides": 0.7308,
                "ball_carries": 26.2505,
                "total_progression": 139.511,
                "progressive_carries": 6.7029,
                "shots_off_target": 4.4129,
                "duel_xg_multiplier": 1.2867,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.7,
                "aerial_won": 1.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.395,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Nahuel Tenaglia, Ville Koski",
                "opponent_faced": "Nahuel Tenaglia, Ville Koski",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 1.25,
                "fifa_overall": 90.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": 1,
                "fifa_rank": 4.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 90.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 3 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.9454,
                "goal_rate": 0.8752,
                "goals": 1,
                "shots_on_target": 1.8767,
                "total_shots": 6.2896,
                "expected_assists": 0.4069,
                "key_pass": 2.6204,
                "rating": 8.1568,
                "minutes": 82.87,
                "total_pass": 47.3903,
                "accurate_pass": 36.977,
                "duels_won": 6.5452,
                "total_long_balls": 1.9712,
                "accurate_long_balls": 0.8364,
                "total_opp_half_passes": 39.8441,
                "accurate_opp_half_passes": 30.3773,
                "crosses_total": 2.7366,
                "crosses_accurate": 0.7474,
                "touches": 73.0455,
                "possession_lost": 20.1396,
                "dispossessed": 0.9375,
                "duels_lost": 5.7068,
                "aerial_lost": 0.012,
                "total_contest": 7.0893,
                "won_contest": 4.1683,
                "ball_recovery": 2.5506,
                "challenges_lost": 0.5996,
                "fouls": 1.2961,
                "fouls_drawn": 1.7629,
                "assist_rate": 0.6518,
                "assists": 0,
                "interceptions": 0.2902,
                "tackles_won": 0.2808,
                "tackles": 0.6131,
                "clearances": 0.1239,
                "blocks": 0.0,
                "big_chances_created": 1.3534,
                "big_chances_missed": 0.5499,
                "xgot": 1.1367,
                "offsides": 0.7308,
                "ball_carries": 26.2505,
                "total_progression": 139.511,
                "progressive_carries": 6.7029,
                "shots_off_target": 4.4129,
                "duel_xg_multiplier": 1.2867,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.7,
                "aerial_won": 1.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.395,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Nahuel Tenaglia, Ville Koski",
                "opponent_faced": "Nahuel Tenaglia, Ville Koski",
                "antagonist_source": "attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.6115,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 1.25,
                "fifa_overall": 90.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 3,
                "goals_allocated": 1,
                "goal_probability": 0.6115,
                "goal_rate": 0.8752,
                "scorer_weight": 1.1818,
                "squad_weight_total": 4.4245,
                "weight_share": 0.2671,
                "finishing_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 2,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Raphinha",
                    "weight": 1.5149,
                    "already": 0,
                    "effective_weight": 1.5149,
                    "runner_up": "Lamine Yamal",
                    "runner_up_effective_weight": 1.1818
                  },
                  {
                    "n": 2,
                    "player": "Lamine Yamal",
                    "weight": 1.1818,
                    "already": 0,
                    "effective_weight": 1.1818,
                    "runner_up": "Raphinha",
                    "runner_up_effective_weight": 0.6446
                  },
                  {
                    "n": 3,
                    "player": "Raphinha",
                    "weight": 1.5149,
                    "already": 1,
                    "effective_weight": 0.6446,
                    "runner_up": "Lamine Yamal",
                    "runner_up_effective_weight": 0.5029
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 2 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "expected_goals": 0.9454,
                "goal_rate": 0.8752,
                "goals": 1,
                "shots_on_target": 1.8767,
                "total_shots": 6.2896,
                "expected_assists": 0.4069,
                "key_pass": 2.6204,
                "rating": 8.1568,
                "minutes": 82.87,
                "total_pass": 47.3903,
                "accurate_pass": 36.977,
                "duels_won": 6.5452,
                "total_long_balls": 1.9712,
                "accurate_long_balls": 0.8364,
                "total_opp_half_passes": 39.8441,
                "accurate_opp_half_passes": 30.3773,
                "crosses_total": 2.7366,
                "crosses_accurate": 0.7474,
                "touches": 73.0455,
                "possession_lost": 20.1396,
                "dispossessed": 0.9375,
                "duels_lost": 5.7068,
                "aerial_lost": 0.012,
                "total_contest": 7.0893,
                "won_contest": 4.1683,
                "ball_recovery": 2.5506,
                "challenges_lost": 0.5996,
                "fouls": 1.2961,
                "fouls_drawn": 1.7629,
                "assist_rate": 0.6518,
                "assists": 1,
                "interceptions": 0.2902,
                "tackles_won": 0.2808,
                "tackles": 0.6131,
                "clearances": 0.1239,
                "blocks": 0.0,
                "big_chances_created": 1.3534,
                "big_chances_missed": 0.5499,
                "xgot": 1.1367,
                "offsides": 0.7308,
                "ball_carries": 26.2505,
                "total_progression": 139.511,
                "progressive_carries": 6.7029,
                "shots_off_target": 4.4129,
                "duel_xg_multiplier": 1.2867,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.7,
                "aerial_won": 1.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.395,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Nahuel Tenaglia, Ville Koski",
                "opponent_faced": "Nahuel Tenaglia, Ville Koski",
                "antagonist_source": "attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.6115,
                "projected_assists": 1,
                "assist_probability": 0.3343,
                "finishing_factor": 1.25,
                "creation_factor": 1.25,
                "fifa_overall": 90.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 2,
                "assists_allocated": 1,
                "assist_probability": 0.3343,
                "assist_rate": 0.6518,
                "provider_weight": 0.5086,
                "squad_weight_total": 2.7263,
                "weight_share": 0.1866,
                "creation_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 1,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Lamine Yamal",
                    "weight": 0.5086,
                    "already": 0,
                    "effective_weight": 0.5086,
                    "runner_up": "Pedri",
                    "runner_up_effective_weight": 0.3563
                  },
                  {
                    "n": 2,
                    "player": "Pedri",
                    "weight": 0.3563,
                    "already": 0,
                    "effective_weight": 0.3563,
                    "runner_up": "Fermín López",
                    "runner_up_effective_weight": 0.3049
                  }
                ]
              }
            }
          ]
        },
        "Raphinha": {
          "player_id": 831005,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 11,
          "height": 176,
          "market_value": 63000000,
          "stats": {
            "expected_goals": 1.2119,
            "goal_rate": 1.1773,
            "goals": 2,
            "shots_on_target": 2,
            "total_shots": 5,
            "expected_assists": 0.2433,
            "key_pass": 2,
            "rating": 7.8679,
            "minutes": 79,
            "total_pass": 30,
            "accurate_pass": 24,
            "duels_won": 3,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_opp_half_passes": 22,
            "accurate_opp_half_passes": 17,
            "crosses_total": 3,
            "crosses_accurate": 1,
            "touches": 44,
            "possession_lost": 9.9729,
            "dispossessed": 0.6329,
            "duels_lost": 2,
            "aerial_lost": 0,
            "total_contest": 2,
            "won_contest": 1,
            "ball_recovery": 2,
            "challenges_lost": 1,
            "fouls": 0,
            "fouls_drawn": 1,
            "assist_rate": 0.2542,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 1,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 1,
            "xgot": 1.8237,
            "offsides": 1,
            "ball_carries": 12,
            "total_progression": 58,
            "progressive_carries": 2,
            "shots_off_target": 3,
            "duel_xg_multiplier": 1.2847,
            "dribbles_attempted": 4,
            "dribbles_successful": 2.4,
            "aerial_won": 1,
            "crosses_attempted": 2.6,
            "duel_win_rate": 0.674,
            "pressing_faced": "LOW",
            "matchup_zone": "Left Wing vs Right Back — Flank Battle",
            "numerical_situation": "1v1",
            "opponent_defenders": "Jonny Otto",
            "opponent_faced": "Jonny Otto",
            "antagonist_source": "attacking_duel",
            "projected_goals": 2,
            "goal_probability": 0.7024,
            "projected_assists": 0,
            "assist_probability": 0.216,
            "finishing_factor": 1.25,
            "creation_factor": 1.25,
            "fifa_overall": 88.0
          },
          "latest_10_games": [
            {
              "match_id": 16421080,
              "match_date": "2026-10-25",
              "home_team": "FC Barcelona",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 86,
                "rating": 7.6,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3415,
                "expected_assists": 0.0592,
                "total_shots": 6,
                "shots_on_target": 1,
                "shots_off_target": 3,
                "total_pass": 27,
                "accurate_pass": 20,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 0,
                "interceptions": 0,
                "clearances": 0,
                "aerial_won": 0,
                "duels_won": 1,
                "ball_recovery": 2,
                "saves": 0
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421068,
              "match_date": "2026-10-17",
              "home_team": "Real Betis",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 20,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0375,
                "expected_assists": 0.065,
                "total_shots": 1,
                "total_pass": 10,
                "accurate_pass": 9,
                "key_pass": 2,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416349,
              "match_date": "2026-09-19",
              "home_team": "Sevilla",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 77,
                "rating": 10.0,
                "goal_rate": 3.0,
                "goals": 3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.8306,
                "expected_assists": 0.0272,
                "total_shots": 4,
                "shots_on_target": 3,
                "shots_off_target": 1,
                "total_pass": 23,
                "accurate_pass": 19,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 4,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416346,
              "match_date": "2026-09-16",
              "home_team": "FC Barcelona",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 69,
                "rating": 10.0,
                "goal_rate": 3.0,
                "goals": 3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 2.3796,
                "expected_assists": 0.0249,
                "total_shots": 6,
                "shots_on_target": 4,
                "total_pass": 19,
                "accurate_pass": 17,
                "key_pass": 1,
                "tackles": 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": 16416329,
              "match_date": "2026-09-13",
              "home_team": "Levante UD",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 7.4,
                "assist_rate": 2.0,
                "assists": 2,
                "expected_goals": 0.232,
                "expected_assists": 0.5508,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 38,
                "accurate_pass": 29,
                "key_pass": 3,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416325,
              "match_date": "2026-09-06",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.2971,
                "expected_assists": 0.0868,
                "total_shots": 3,
                "shots_on_target": 1,
                "total_pass": 48,
                "accurate_pass": 39,
                "key_pass": 1,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416295,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 86,
                "rating": 9.5,
                "goal_rate": 2.0,
                "goals": 2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.2998,
                "expected_assists": 0.3009,
                "total_shots": 4,
                "shots_on_target": 3,
                "total_pass": 27,
                "accurate_pass": 25,
                "key_pass": 3,
                "tackles": 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": 16421059,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 63,
                "rating": 7.9,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.7976,
                "expected_assists": 0.1329,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 17,
                "accurate_pass": 16,
                "key_pass": 3,
                "clearances": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416311,
              "match_date": "2026-08-23",
              "home_team": "Elche",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Elche",
              "stats": {
                "minutes": 80,
                "rating": 9.9,
                "goal_rate": 2.0,
                "goals": 2,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 2.0042,
                "expected_assists": 0.3631,
                "total_shots": 3,
                "shots_on_target": 3,
                "total_pass": 18,
                "accurate_pass": 15,
                "key_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": 14083666,
              "match_date": "2026-05-17",
              "home_team": "FC Barcelona",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 63,
                "rating": 9.4,
                "goal_rate": 2.0,
                "goals": 2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3943,
                "expected_assists": 0.2517,
                "total_shots": 5,
                "shots_on_target": 4,
                "shots_off_target": 1,
                "total_pass": 39,
                "accurate_pass": 31,
                "key_pass": 2,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 10,
            "combined_rank_score": 17.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 2.0,
            "sofascore_rating": 9.1,
            "sofascore_appearances": 3.0,
            "fifa_rank": 32.0,
            "fifa_overall": 88.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 2,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.8679,
            "source_file": "data/player_rankings.csv",
            "player_name": "Raphinha",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Jude Bellingham",
                  "ranking": 5
                },
                {
                  "player_name": "Pedri",
                  "ranking": 6
                },
                {
                  "player_name": "Ryu Won-Woo",
                  "ranking": 7
                },
                {
                  "player_name": "Bruno Fernandes",
                  "ranking": 8
                },
                {
                  "player_name": "Felix Horn Myhre",
                  "ranking": 9
                }
              ],
              "lower": [
                {
                  "player_name": "Vini Jr.",
                  "ranking": 11
                },
                {
                  "player_name": "Nico López",
                  "ranking": 12
                },
                {
                  "player_name": "Harry Kane",
                  "ranking": 13
                },
                {
                  "player_name": "Adrián",
                  "ranking": 14
                },
                {
                  "player_name": "Gabriel",
                  "ranking": 15
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.775,
          "history_matches": 31,
          "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": 31,
            "data_confidence": 0.775,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0147,
            "fbref_prior_metrics": {
              "squad": "Barcelona",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 226.0,
              "goals_per90": 2.0,
              "assists_per90": 0.4,
              "shots_per90": 3.98,
              "shots_on_target_pct": 70.0,
              "prior_reliability": 0.1667
            },
            "rationale": "XGBoost regressor (F_service) evaluated 31 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Barcelona, rel: 0.17, gls/90: 2.0, ast/90: 0.4)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.6307,
                "goals": 0.8906,
                "goal_rate": 0.8906,
                "shots_on_target": 1.598,
                "total_shots": 3.7039,
                "expected_assists": 0.1471,
                "key_pass": 1.8128,
                "rating": 7.8679,
                "minutes": 78.74,
                "total_pass": 29.0956,
                "accurate_pass": 23.6915,
                "duels_won": 2.7687,
                "total_long_balls": 1.5549,
                "accurate_long_balls": 0.7476,
                "total_opp_half_passes": 21.3888,
                "accurate_opp_half_passes": 16.6471,
                "crosses_total": 2.5879,
                "crosses_accurate": 0.798,
                "touches": 43.6572,
                "possession_lost": 9.8284,
                "dispossessed": 0.6237,
                "duels_lost": 2.2938,
                "aerial_lost": 0.264,
                "total_contest": 2.0436,
                "won_contest": 1.3393,
                "ball_recovery": 1.5865,
                "challenges_lost": 0.5032,
                "fouls": 0.2816,
                "fouls_drawn": 0.585,
                "assists": 0.249,
                "assist_rate": 0.249,
                "interceptions": 0.0895,
                "tackles_won": 0.3558,
                "tackles": 0.7505,
                "clearances": 0.2886,
                "blocks": 0.0,
                "big_chances_created": 0.3859,
                "big_chances_missed": 0.6174,
                "xgot": 0.9491,
                "offsides": 0.5702,
                "ball_carries": 12.2962,
                "total_progression": 57.1726,
                "progressive_carries": 2.1489,
                "shots_off_target": 2.1059
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-31T10:30:56.271646+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 610,
                    "rows": 17075
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-25",
                    "opponent": "Real Madrid",
                    "minutes": 86.0,
                    "is_starting": true,
                    "weight": 0.151,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-10-17",
                    "opponent": "Real Betis",
                    "minutes": 20.0,
                    "is_starting": false,
                    "weight": 0.1283,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Sevilla",
                    "minutes": 77.0,
                    "is_starting": true,
                    "weight": 0.1091,
                    "rating": 10.0
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Real Racing Club",
                    "minutes": 69.0,
                    "is_starting": true,
                    "weight": 0.0927,
                    "rating": 10.0
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0788,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.067,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Rayo Vallecano",
                    "minutes": 86.0,
                    "is_starting": true,
                    "weight": 0.0569,
                    "rating": 9.5
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Athletic Club",
                    "minutes": 63.0,
                    "is_starting": true,
                    "weight": 0.0484,
                    "rating": 7.9
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Elche",
                    "minutes": 80.0,
                    "is_starting": true,
                    "weight": 0.0411,
                    "rating": 9.9
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Real Betis",
                    "minutes": 63.0,
                    "is_starting": true,
                    "weight": 0.035,
                    "rating": 9.4
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "accurateOppositionHalfPasses": 14.2212,
                  "expectedGoals": 0.7847,
                  "totalOppositionHalfPasses": 18.2772,
                  "accuratePass": 20.5214,
                  "totalShots": 3.5923
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.6307468414306641,
                    "model_output": 0.6307,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.282
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0898
                      },
                      {
                        "name": "goals",
                        "importance": 0.0323
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0316
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0236
                      }
                    ],
                    "decomposition": {
                      "base": 0.1945,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0825
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0966
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0626
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0531
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0374
                        }
                      ],
                      "others": 0.104,
                      "total": 0.6307,
                      "log_link": true,
                      "margin_base": -1.637486,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.353806
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.29926
                        },
                        {
                          "name": "goals",
                          "margin": 0.154879
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.114935
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.073568
                        }
                      ],
                      "others_margin": 0.180188
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.8906078338623047,
                    "model_output": 0.8906,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.144
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0742
                      },
                      {
                        "name": "goals",
                        "importance": 0.053
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0321
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0311
                      }
                    ],
                    "decomposition": {
                      "base": 0.199,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1017
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0962
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0634
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0724
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0741
                        }
                      ],
                      "others": 0.2838,
                      "total": 0.8906,
                      "log_link": true,
                      "margin_base": -1.614663,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.413005
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.277666
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.148103
                        },
                        {
                          "name": "goals",
                          "margin": 0.146076
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.130243
                        }
                      ],
                      "others_margin": 0.383718
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 1.597959280014038,
                    "model_output": 1.598,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2115
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.066
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0499
                      },
                      {
                        "name": "goals",
                        "importance": 0.0473
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0333
                      }
                    ],
                    "decomposition": {
                      "base": 0.5305,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2395
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.2144
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0927
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0858
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0901
                        }
                      ],
                      "others": 0.345,
                      "total": 1.598,
                      "log_link": true,
                      "margin_base": -0.633985,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.372582
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.245695
                        },
                        {
                          "name": "goals",
                          "margin": 0.090026
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.076604
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.074598
                        }
                      ],
                      "others_margin": 0.243206
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 3.703850030899048,
                    "model_output": 3.7039,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2934
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0662
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.05
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0272
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.027
                      }
                    ],
                    "decomposition": {
                      "base": 1.3805,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.7329
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.6417
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.2701
                        },
                        {
                          "name": "goals",
                          "contribution": 0.1096
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0974
                        }
                      ],
                      "others": 0.4717,
                      "total": 3.7039,
                      "log_link": false,
                      "margin_base": 1.38048,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.732851
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.641722
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.270109
                        },
                        {
                          "name": "goals",
                          "margin": 0.109552
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.097414
                        }
                      ],
                      "others_margin": 0.471724
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.14708934724330902,
                    "model_output": 0.1471,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1135
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0826
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0722
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0587
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0552
                      }
                    ],
                    "decomposition": {
                      "base": 0.0647,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0131
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0114
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0108
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0094
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0059
                        }
                      ],
                      "others": 0.0318,
                      "total": 0.1471,
                      "log_link": true,
                      "margin_base": -2.738275,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.184589
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.136369
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.114718
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.090247
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.052337
                        }
                      ],
                      "others_margin": 0.2433
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 1.8127830028533936,
                    "model_output": 1.8128,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1545
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.1071
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0923
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0893
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0298
                      }
                    ],
                    "decomposition": {
                      "base": 0.6939,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1761
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0945
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0904
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0895
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0785
                        }
                      ],
                      "others": 0.5899,
                      "total": 1.8128,
                      "log_link": true,
                      "margin_base": -0.365451,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.22622
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.10311
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.089547
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.081399
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.066341
                        }
                      ],
                      "others_margin": 0.393697
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.867915153503418,
                    "model_output": 7.8679,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0529
                      },
                      {
                        "name": "rating",
                        "importance": 0.0463
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.044
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0417
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0371
                      }
                    ],
                    "decomposition": {
                      "base": 6.7735,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": 0.1988
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.1865
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.1356
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0755
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0751
                        }
                      ],
                      "others": 0.4229,
                      "total": 7.8679,
                      "log_link": false,
                      "margin_base": 6.773504,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": 0.198781
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.186451
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.13556
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.075472
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.075051
                        }
                      ],
                      "others_margin": 0.423095
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 31,
                  "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.0147, quality 0.859)",
              "stats": {
                "expected_goals": 0.64,
                "goals": 0.9037,
                "goal_rate": 0.9037,
                "shots_on_target": 1.6214,
                "total_shots": 3.7583,
                "expected_assists": 0.1493,
                "key_pass": 1.8394,
                "rating": 7.8679,
                "minutes": 78.74,
                "total_pass": 29.5233,
                "accurate_pass": 24.0398,
                "duels_won": 2.8094,
                "total_long_balls": 1.5778,
                "accurate_long_balls": 0.7586,
                "total_opp_half_passes": 21.7032,
                "accurate_opp_half_passes": 16.8918,
                "crosses_total": 2.6259,
                "crosses_accurate": 0.8097,
                "touches": 44.299,
                "possession_lost": 9.9729,
                "dispossessed": 0.6329,
                "duels_lost": 2.3275,
                "aerial_lost": 0.2679,
                "total_contest": 2.0736,
                "won_contest": 1.359,
                "ball_recovery": 1.6098,
                "challenges_lost": 0.5106,
                "fouls": 0.2857,
                "fouls_drawn": 0.5936,
                "assists": 0.2527,
                "assist_rate": 0.2527,
                "interceptions": 0.0908,
                "tackles_won": 0.361,
                "tackles": 0.7615,
                "clearances": 0.2928,
                "blocks": 0.0,
                "big_chances_created": 0.3916,
                "big_chances_missed": 0.6265,
                "xgot": 0.9631,
                "offsides": 0.5786,
                "ball_carries": 12.477,
                "total_progression": 58.013,
                "progressive_carries": 2.1805,
                "shots_off_target": 2.1369
              },
              "params": {
                "market_value_eur": 63000000,
                "quality_factor": 0.8589,
                "boost_factor": 1.0147,
                "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.0150)",
              "stats": {
                "expected_goals": 0.64,
                "goals": 0.9164,
                "goal_rate": 0.9164,
                "shots_on_target": 1.6337,
                "total_shots": 3.7541,
                "expected_assists": 0.1493,
                "key_pass": 1.8394,
                "rating": 7.8679,
                "minutes": 78.74,
                "total_pass": 29.5233,
                "accurate_pass": 24.0398,
                "duels_won": 2.8094,
                "total_long_balls": 1.5778,
                "accurate_long_balls": 0.7586,
                "total_opp_half_passes": 21.7032,
                "accurate_opp_half_passes": 16.8918,
                "crosses_total": 2.639,
                "crosses_accurate": 0.8097,
                "touches": 44.299,
                "possession_lost": 9.9729,
                "dispossessed": 0.6329,
                "duels_lost": 2.3275,
                "aerial_lost": 0.2679,
                "total_contest": 2.0736,
                "won_contest": 1.359,
                "ball_recovery": 1.6098,
                "challenges_lost": 0.5106,
                "fouls": 0.2972,
                "fouls_drawn": 0.5899,
                "assists": 0.2542,
                "assist_rate": 0.2542,
                "interceptions": 0.0894,
                "tackles_won": 0.3556,
                "tackles": 0.7615,
                "clearances": 0.2928,
                "blocks": 0.0,
                "big_chances_created": 0.3916,
                "big_chances_missed": 0.6265,
                "xgot": 0.9631,
                "offsides": 0.5857,
                "ball_carries": 12.477,
                "total_progression": 58.013,
                "progressive_carries": 2.1805,
                "shots_off_target": 2.1369
              },
              "params": {
                "blend_weight": 0.015,
                "history_matches": 31,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.8749,
                "prior_reliability": 0.1667,
                "competition": "La Liga",
                "squad": "Barcelona"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 2.6259,
                  "after": 2.639
                },
                {
                  "stat": "goals",
                  "before": 0.9037,
                  "after": 0.9164
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 1.6214,
                  "after": 1.6337
                },
                {
                  "stat": "fouls",
                  "before": 0.2857,
                  "after": 0.2972
                },
                {
                  "stat": "totalOffside",
                  "before": 0.5786,
                  "after": 0.5857
                },
                {
                  "stat": "wonTackle",
                  "before": 0.361,
                  "after": 0.3556
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.64,
                "goals": 0.9164,
                "goal_rate": 0.9164,
                "shots_on_target": 1.6337,
                "total_shots": 3.7706,
                "expected_assists": 0.1493,
                "key_pass": 1.8394,
                "rating": 7.8679,
                "minutes": 78.74,
                "total_pass": 29.5233,
                "accurate_pass": 24.0398,
                "duels_won": 2.8094,
                "total_long_balls": 1.5778,
                "accurate_long_balls": 0.7586,
                "total_opp_half_passes": 21.7032,
                "accurate_opp_half_passes": 16.8918,
                "crosses_total": 2.639,
                "crosses_accurate": 0.8097,
                "touches": 44.299,
                "possession_lost": 9.9729,
                "dispossessed": 0.6329,
                "duels_lost": 2.3275,
                "aerial_lost": 0.2679,
                "total_contest": 2.0736,
                "won_contest": 1.359,
                "ball_recovery": 1.6098,
                "challenges_lost": 0.5106,
                "fouls": 0.2972,
                "fouls_drawn": 0.5899,
                "assists": 0.2542,
                "assist_rate": 0.2542,
                "interceptions": 0.0894,
                "tackles_won": 0.3556,
                "tackles": 0.7615,
                "clearances": 0.2928,
                "blocks": 0.0,
                "big_chances_created": 0.3916,
                "big_chances_missed": 0.6265,
                "xgot": 0.9631,
                "offsides": 0.5857,
                "ball_carries": 12.477,
                "total_progression": 58.013,
                "progressive_carries": 2.1805,
                "shots_off_target": 2.1369
              },
              "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.8222,
                "goals": 1.1773,
                "goal_rate": 1.1773,
                "shots_on_target": 2.0988,
                "total_shots": 4.8441,
                "expected_assists": 0.1493,
                "key_pass": 1.8394,
                "rating": 7.8679,
                "minutes": 78.74,
                "total_pass": 29.5233,
                "accurate_pass": 24.0398,
                "duels_won": 2.8094,
                "total_long_balls": 1.5778,
                "accurate_long_balls": 0.7586,
                "total_opp_half_passes": 21.7032,
                "accurate_opp_half_passes": 16.8918,
                "crosses_total": 2.639,
                "crosses_accurate": 0.8097,
                "touches": 44.299,
                "possession_lost": 9.9729,
                "dispossessed": 0.6329,
                "duels_lost": 2.3275,
                "aerial_lost": 0.2679,
                "total_contest": 2.0736,
                "won_contest": 1.359,
                "ball_recovery": 1.6098,
                "challenges_lost": 0.5106,
                "fouls": 0.2972,
                "fouls_drawn": 0.5899,
                "assists": 0.2542,
                "assist_rate": 0.2542,
                "interceptions": 0.0894,
                "tackles_won": 0.3556,
                "tackles": 0.7615,
                "clearances": 0.2928,
                "blocks": 0.0,
                "big_chances_created": 0.3916,
                "big_chances_missed": 0.8049,
                "xgot": 1.2373,
                "offsides": 0.5857,
                "ball_carries": 12.477,
                "total_progression": 58.013,
                "progressive_carries": 2.1805,
                "shots_off_target": 2.7453,
                "duel_xg_multiplier": 1.2847,
                "dribbles_attempted": 4.0,
                "dribbles_successful": 2.4,
                "aerial_won": 0.9,
                "crosses_attempted": 2.6,
                "duel_win_rate": 0.674,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Jonny Otto",
                "opponent_faced": "Jonny Otto",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Jonny Otto",
                  "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                  "duel_win_rate": 0.674,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 1.2847,
                  "skill_edge": 0.1897,
                  "height_edge": 0.004,
                  "attacker_skill": 0.8589,
                  "defender_skill": 0.4374,
                  "attacker_role": "LW",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Jonny Otto",
                      "market_value": 2100000,
                      "role": "RB",
                      "price_index": 0.7,
                      "adjusted_quality": 0.4374
                    }
                  ],
                  "xg_override": 0.8222
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 3.7706,
                  "after": 4.8441
                },
                {
                  "stat": "shotOffTarget",
                  "before": 2.1369,
                  "after": 2.7453
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 1.6337,
                  "after": 2.0988
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.9631,
                  "after": 1.2373
                },
                {
                  "stat": "goals",
                  "before": 0.9164,
                  "after": 1.1773
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.64,
                  "after": 0.8222
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 0.6265,
                  "after": 0.8049
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 3 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.8222,
                "goal_rate": 1.1773,
                "goals": 0,
                "shots_on_target": 2.0988,
                "total_shots": 4.8441,
                "expected_assists": 0.1493,
                "key_pass": 1.8394,
                "rating": 7.8679,
                "minutes": 78.74,
                "total_pass": 29.5233,
                "accurate_pass": 24.0398,
                "duels_won": 2.8094,
                "total_long_balls": 1.5778,
                "accurate_long_balls": 0.7586,
                "total_opp_half_passes": 21.7032,
                "accurate_opp_half_passes": 16.8918,
                "crosses_total": 2.639,
                "crosses_accurate": 0.8097,
                "touches": 44.299,
                "possession_lost": 9.9729,
                "dispossessed": 0.6329,
                "duels_lost": 2.3275,
                "aerial_lost": 0.2679,
                "total_contest": 2.0736,
                "won_contest": 1.359,
                "ball_recovery": 1.6098,
                "challenges_lost": 0.5106,
                "fouls": 0.2972,
                "fouls_drawn": 0.5899,
                "assist_rate": 0.2542,
                "assists": 0,
                "interceptions": 0.0894,
                "tackles_won": 0.3556,
                "tackles": 0.7615,
                "clearances": 0.2928,
                "blocks": 0.0,
                "big_chances_created": 0.3916,
                "big_chances_missed": 0.8049,
                "xgot": 1.2373,
                "offsides": 0.5857,
                "ball_carries": 12.477,
                "total_progression": 58.013,
                "progressive_carries": 2.1805,
                "shots_off_target": 2.7453,
                "duel_xg_multiplier": 1.2847,
                "dribbles_attempted": 4.0,
                "dribbles_successful": 2.4,
                "aerial_won": 0.9,
                "crosses_attempted": 2.6,
                "duel_win_rate": 0.674,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Jonny Otto",
                "opponent_faced": "Jonny Otto",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 3
              },
              "changes": [
                {
                  "stat": "goals",
                  "before": 1.0,
                  "after": 0
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 3.86 (squad xG sum 2.6208, xG scale 1.4740, xA scale 1.6297, team xA 2.51 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 1.2119,
                "goal_rate": 1.1773,
                "goals": 0,
                "shots_on_target": 2.0988,
                "total_shots": 4.8441,
                "expected_assists": 0.2433,
                "key_pass": 1.8394,
                "rating": 7.8679,
                "minutes": 78.74,
                "total_pass": 29.5233,
                "accurate_pass": 24.0398,
                "duels_won": 2.8094,
                "total_long_balls": 1.5778,
                "accurate_long_balls": 0.7586,
                "total_opp_half_passes": 21.7032,
                "accurate_opp_half_passes": 16.8918,
                "crosses_total": 2.639,
                "crosses_accurate": 0.8097,
                "touches": 44.299,
                "possession_lost": 9.9729,
                "dispossessed": 0.6329,
                "duels_lost": 2.3275,
                "aerial_lost": 0.2679,
                "total_contest": 2.0736,
                "won_contest": 1.359,
                "ball_recovery": 1.6098,
                "challenges_lost": 0.5106,
                "fouls": 0.2972,
                "fouls_drawn": 0.5899,
                "assist_rate": 0.2542,
                "assists": 0,
                "interceptions": 0.0894,
                "tackles_won": 0.3556,
                "tackles": 0.7615,
                "clearances": 0.2928,
                "blocks": 0.0,
                "big_chances_created": 0.3916,
                "big_chances_missed": 0.8049,
                "xgot": 1.8237,
                "offsides": 0.5857,
                "ball_carries": 12.477,
                "total_progression": 58.013,
                "progressive_carries": 2.1805,
                "shots_off_target": 2.7453,
                "duel_xg_multiplier": 1.2847,
                "dribbles_attempted": 4.0,
                "dribbles_successful": 2.4,
                "aerial_won": 0.9,
                "crosses_attempted": 2.6,
                "duel_win_rate": 0.674,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Jonny Otto",
                "opponent_faced": "Jonny Otto",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 3.863,
                "squad_xg_sum": 2.6208,
                "squad_xa_sum": 1.5408,
                "team_expected_assists": 2.511,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.474,
                "xa_scale": 1.6297,
                "opponent_lambda": 1.288,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.8222,
                  "after": 1.2119
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1493,
                  "after": 0.2433
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 2 by projected rating, fifa_overall 88.0)",
              "stats": {
                "expected_goals": 1.2119,
                "goal_rate": 1.1773,
                "goals": 0,
                "shots_on_target": 2.0988,
                "total_shots": 4.8441,
                "expected_assists": 0.2433,
                "key_pass": 1.8394,
                "rating": 7.8679,
                "minutes": 78.74,
                "total_pass": 29.5233,
                "accurate_pass": 24.0398,
                "duels_won": 2.8094,
                "total_long_balls": 1.5778,
                "accurate_long_balls": 0.7586,
                "total_opp_half_passes": 21.7032,
                "accurate_opp_half_passes": 16.8918,
                "crosses_total": 2.639,
                "crosses_accurate": 0.8097,
                "touches": 44.299,
                "possession_lost": 9.9729,
                "dispossessed": 0.6329,
                "duels_lost": 2.3275,
                "aerial_lost": 0.2679,
                "total_contest": 2.0736,
                "won_contest": 1.359,
                "ball_recovery": 1.6098,
                "challenges_lost": 0.5106,
                "fouls": 0.2972,
                "fouls_drawn": 0.5899,
                "assist_rate": 0.2542,
                "assists": 0,
                "interceptions": 0.0894,
                "tackles_won": 0.3556,
                "tackles": 0.7615,
                "clearances": 0.2928,
                "blocks": 0.0,
                "big_chances_created": 0.3916,
                "big_chances_missed": 0.8049,
                "xgot": 1.8237,
                "offsides": 0.5857,
                "ball_carries": 12.477,
                "total_progression": 58.013,
                "progressive_carries": 2.1805,
                "shots_off_target": 2.7453,
                "duel_xg_multiplier": 1.2847,
                "dribbles_attempted": 4.0,
                "dribbles_successful": 2.4,
                "aerial_won": 0.9,
                "crosses_attempted": 2.6,
                "duel_win_rate": 0.674,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Jonny Otto",
                "opponent_faced": "Jonny Otto",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 1.25,
                "fifa_overall": 88.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": 10,
                "fifa_rank": 32.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 88.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 3 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 1.2119,
                "goal_rate": 1.1773,
                "goals": 2,
                "shots_on_target": 2.0988,
                "total_shots": 4.8441,
                "expected_assists": 0.2433,
                "key_pass": 1.8394,
                "rating": 7.8679,
                "minutes": 78.74,
                "total_pass": 29.5233,
                "accurate_pass": 24.0398,
                "duels_won": 2.8094,
                "total_long_balls": 1.5778,
                "accurate_long_balls": 0.7586,
                "total_opp_half_passes": 21.7032,
                "accurate_opp_half_passes": 16.8918,
                "crosses_total": 2.639,
                "crosses_accurate": 0.8097,
                "touches": 44.299,
                "possession_lost": 9.9729,
                "dispossessed": 0.6329,
                "duels_lost": 2.3275,
                "aerial_lost": 0.2679,
                "total_contest": 2.0736,
                "won_contest": 1.359,
                "ball_recovery": 1.6098,
                "challenges_lost": 0.5106,
                "fouls": 0.2972,
                "fouls_drawn": 0.5899,
                "assist_rate": 0.2542,
                "assists": 0,
                "interceptions": 0.0894,
                "tackles_won": 0.3556,
                "tackles": 0.7615,
                "clearances": 0.2928,
                "blocks": 0.0,
                "big_chances_created": 0.3916,
                "big_chances_missed": 0.8049,
                "xgot": 1.8237,
                "offsides": 0.5857,
                "ball_carries": 12.477,
                "total_progression": 58.013,
                "progressive_carries": 2.1805,
                "shots_off_target": 2.7453,
                "duel_xg_multiplier": 1.2847,
                "dribbles_attempted": 4.0,
                "dribbles_successful": 2.4,
                "aerial_won": 0.9,
                "crosses_attempted": 2.6,
                "duel_win_rate": 0.674,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Jonny Otto",
                "opponent_faced": "Jonny Otto",
                "antagonist_source": "attacking_duel",
                "projected_goals": 2,
                "goal_probability": 0.7024,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 1.25,
                "fifa_overall": 88.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 3,
                "goals_allocated": 2,
                "goal_probability": 0.7024,
                "goal_rate": 1.1773,
                "scorer_weight": 1.5149,
                "squad_weight_total": 4.4245,
                "weight_share": 0.3424,
                "finishing_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 1,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Raphinha",
                    "weight": 1.5149,
                    "already": 0,
                    "effective_weight": 1.5149,
                    "runner_up": "Lamine Yamal",
                    "runner_up_effective_weight": 1.1818
                  },
                  {
                    "n": 2,
                    "player": "Lamine Yamal",
                    "weight": 1.1818,
                    "already": 0,
                    "effective_weight": 1.1818,
                    "runner_up": "Raphinha",
                    "runner_up_effective_weight": 0.6446
                  },
                  {
                    "n": 3,
                    "player": "Raphinha",
                    "weight": 1.5149,
                    "already": 1,
                    "effective_weight": 0.6446,
                    "runner_up": "Lamine Yamal",
                    "runner_up_effective_weight": 0.5029
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 2 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "expected_goals": 1.2119,
                "goal_rate": 1.1773,
                "goals": 2,
                "shots_on_target": 2.0988,
                "total_shots": 4.8441,
                "expected_assists": 0.2433,
                "key_pass": 1.8394,
                "rating": 7.8679,
                "minutes": 78.74,
                "total_pass": 29.5233,
                "accurate_pass": 24.0398,
                "duels_won": 2.8094,
                "total_long_balls": 1.5778,
                "accurate_long_balls": 0.7586,
                "total_opp_half_passes": 21.7032,
                "accurate_opp_half_passes": 16.8918,
                "crosses_total": 2.639,
                "crosses_accurate": 0.8097,
                "touches": 44.299,
                "possession_lost": 9.9729,
                "dispossessed": 0.6329,
                "duels_lost": 2.3275,
                "aerial_lost": 0.2679,
                "total_contest": 2.0736,
                "won_contest": 1.359,
                "ball_recovery": 1.6098,
                "challenges_lost": 0.5106,
                "fouls": 0.2972,
                "fouls_drawn": 0.5899,
                "assist_rate": 0.2542,
                "assists": 0,
                "interceptions": 0.0894,
                "tackles_won": 0.3556,
                "tackles": 0.7615,
                "clearances": 0.2928,
                "blocks": 0.0,
                "big_chances_created": 0.3916,
                "big_chances_missed": 0.8049,
                "xgot": 1.8237,
                "offsides": 0.5857,
                "ball_carries": 12.477,
                "total_progression": 58.013,
                "progressive_carries": 2.1805,
                "shots_off_target": 2.7453,
                "duel_xg_multiplier": 1.2847,
                "dribbles_attempted": 4.0,
                "dribbles_successful": 2.4,
                "aerial_won": 0.9,
                "crosses_attempted": 2.6,
                "duel_win_rate": 0.674,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Jonny Otto",
                "opponent_faced": "Jonny Otto",
                "antagonist_source": "attacking_duel",
                "projected_goals": 2,
                "goal_probability": 0.7024,
                "projected_assists": 0,
                "assist_probability": 0.216,
                "finishing_factor": 1.25,
                "creation_factor": 1.25,
                "fifa_overall": 88.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 2,
                "assists_allocated": 0,
                "assist_probability": 0.216,
                "assist_rate": 0.2542,
                "provider_weight": 0.3041,
                "squad_weight_total": 2.7263,
                "weight_share": 0.1116,
                "creation_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 4,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Lamine Yamal",
                    "weight": 0.5086,
                    "already": 0,
                    "effective_weight": 0.5086,
                    "runner_up": "Pedri",
                    "runner_up_effective_weight": 0.3563
                  },
                  {
                    "n": 2,
                    "player": "Pedri",
                    "weight": 0.3563,
                    "already": 0,
                    "effective_weight": 0.3563,
                    "runner_up": "Fermín López",
                    "runner_up_effective_weight": 0.3049
                  }
                ]
              }
            }
          ]
        },
        "Karim Adeyemi": {
          "player_id": 940054,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 14,
          "height": 180,
          "market_value": 41000000,
          "stats": {
            "expected_goals": 0.451,
            "goal_rate": 0.2519,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 3,
            "expected_assists": 0.1643,
            "key_pass": 1,
            "rating": 6.9869,
            "minutes": 75,
            "total_pass": 32,
            "accurate_pass": 24,
            "duels_won": 7,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 25,
            "accurate_opp_half_passes": 19,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 49,
            "possession_lost": 12.2862,
            "dispossessed": 0.3397,
            "duels_lost": 3,
            "aerial_lost": 1,
            "total_contest": 4,
            "won_contest": 3,
            "ball_recovery": 3,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 3,
            "assist_rate": 0.3469,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 1,
            "big_chances_missed": 2,
            "xgot": 0.2441,
            "offsides": 0,
            "ball_carries": 24,
            "total_progression": 141,
            "progressive_carries": 7,
            "shots_off_target": 2,
            "duel_xg_multiplier": 1.2188,
            "dribbles_attempted": 4,
            "dribbles_successful": 2.2,
            "aerial_won": 1,
            "crosses_attempted": 2.5,
            "duel_win_rate": 0.629,
            "pressing_faced": "LOW",
            "matchup_zone": "Right Wing vs Left Back — Flank Battle",
            "numerical_situation": "1v1",
            "opponent_defenders": "Hugo Novoa",
            "opponent_faced": "Hugo Novoa",
            "antagonist_source": "attacking_duel",
            "projected_goals": 0,
            "goal_probability": 0.363,
            "projected_assists": 0,
            "assist_probability": 0.1515,
            "finishing_factor": 0.848,
            "creation_factor": 1.25,
            "fifa_overall": 82.0
          },
          "latest_10_games": [
            {
              "match_id": 16421080,
              "match_date": "2026-10-25",
              "home_team": "FC Barcelona",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 13,
                "rating": 6.5,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0013,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "total_pass": 2,
                "accurate_pass": 2,
                "tackles": 0,
                "tackles_won": 0,
                "interceptions": 0,
                "clearances": 0,
                "aerial_won": 0,
                "duels_won": 0,
                "ball_recovery": 0,
                "saves": 0
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421068,
              "match_date": "2026-10-17",
              "home_team": "Real Betis",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 62,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.028,
                "total_shots": 0,
                "total_pass": 29,
                "accurate_pass": 22,
                "tackles": 1,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421060,
              "match_date": "2026-10-10",
              "home_team": "FC Barcelona",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Getafe",
              "stats": {
                "minutes": 19,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0387,
                "total_shots": 0,
                "total_pass": 11,
                "accurate_pass": 10,
                "key_pass": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416349,
              "match_date": "2026-09-19",
              "home_team": "Sevilla",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 13,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3701,
                "expected_assists": 0.0019,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 8,
                "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": 16416346,
              "match_date": "2026-09-16",
              "home_team": "FC Barcelona",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 90,
                "rating": 8.2,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 1.8305,
                "expected_assists": 0.5412,
                "total_shots": 8,
                "shots_on_target": 1,
                "shots_off_target": 7,
                "total_pass": 42,
                "accurate_pass": 36,
                "key_pass": 4,
                "aerial_won": 2,
                "duels_won": 12,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416329,
              "match_date": "2026-09-13",
              "home_team": "Levante UD",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 23,
                "rating": 7.9,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.648,
                "expected_assists": 0.0185,
                "total_shots": 4,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 12,
                "accurate_pass": 11,
                "tackles": 2,
                "clearances": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416325,
              "match_date": "2026-09-06",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Valencia",
              "stats": {
                "minutes": 28,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0459,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 12,
                "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": 16416295,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 13,
                "rating": 6.9,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.3099,
                "expected_assists": 0.0195,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 2,
                "accurate_pass": 2,
                "key_pass": 1,
                "aerial_won": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421059,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 10,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.5525,
                "expected_assists": 0.0012,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 3,
                "accurate_pass": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416311,
              "match_date": "2026-08-23",
              "home_team": "Elche",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Elche",
              "stats": {
                "minutes": 65,
                "rating": 7.6,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.5198,
                "expected_assists": 0.051,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 20,
                "accurate_pass": 11,
                "key_pass": 1,
                "duels_won": 4,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 927,
            "combined_rank_score": 430.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 445.0,
            "sofascore_rating": 6.9,
            "sofascore_appearances": 3.0,
            "fifa_rank": 416.0,
            "fifa_overall": 82.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 11,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9869,
            "source_file": "data/player_rankings.csv",
            "player_name": "Karim Adeyemi",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Joaquín Montecinos",
                  "ranking": 922
                },
                {
                  "player_name": "Sang-jun Lee",
                  "ranking": 923
                },
                {
                  "player_name": "Ju-an You",
                  "ranking": 924
                },
                {
                  "player_name": "Julián Brea",
                  "ranking": 925
                },
                {
                  "player_name": "Rodrigo Zalazar",
                  "ranking": 926
                }
              ],
              "lower": [
                {
                  "player_name": "Marlon Maranhão",
                  "ranking": 928
                },
                {
                  "player_name": "Islom Kenzhaboev",
                  "ranking": 929
                },
                {
                  "player_name": "Isco",
                  "ranking": 930
                },
                {
                  "player_name": "Karim Benzema",
                  "ranking": 931
                },
                {
                  "player_name": "Julen Agirrezabala",
                  "ranking": 932
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.76,
          "history_matches": 10,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 10,
            "data_confidence": 0.76,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0281,
            "fbref_prior_metrics": {
              "squad": "Barcelona",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 1.0,
              "minutes": 89.0,
              "goals_per90": 1.0,
              "assists_per90": 1.0,
              "shots_per90": 3.03,
              "shots_on_target_pct": 100.0,
              "prior_reliability": 0.0667
            },
            "rationale": "XGBoost regressor (F_service) evaluated 10 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Barcelona, rel: 0.07, gls/90: 1.0, ast/90: 1.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.2442,
                "goals": 0.1921,
                "goal_rate": 0.1921,
                "shots_on_target": 0.7683,
                "total_shots": 2.0047,
                "expected_assists": 0.098,
                "key_pass": 1.1484,
                "rating": 6.9869,
                "minutes": 75.26,
                "total_pass": 30.7677,
                "accurate_pass": 23.5364,
                "duels_won": 6.6433,
                "total_long_balls": 0.6696,
                "accurate_long_balls": 0.2809,
                "total_opp_half_passes": 24.4869,
                "accurate_opp_half_passes": 18.0982,
                "crosses_total": 1.0496,
                "crosses_accurate": 0.3304,
                "touches": 47.9291,
                "possession_lost": 11.9504,
                "dispossessed": 0.3304,
                "duels_lost": 3.3712,
                "aerial_lost": 0.6608,
                "total_contest": 4.3217,
                "won_contest": 2.933,
                "ball_recovery": 3.0991,
                "challenges_lost": 0.3304,
                "fouls": 0.6608,
                "fouls_drawn": 2.6608,
                "assists": 0.3304,
                "assist_rate": 0.3304,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.3887,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.9913,
                "big_chances_missed": 1.38,
                "xgot": 0.1322,
                "offsides": 0.3887,
                "ball_carries": 23.759,
                "total_progression": 137.5865,
                "progressive_carries": 7.1487,
                "shots_off_target": 1.2364
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-31T10:30:56.271646+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 610,
                    "rows": 17075
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-25",
                    "opponent": "Real Madrid",
                    "minutes": 13.0,
                    "is_starting": false,
                    "weight": 0.1868,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-10-17",
                    "opponent": "Real Betis",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.1588,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-10-10",
                    "opponent": "Getafe",
                    "minutes": 19.0,
                    "is_starting": false,
                    "weight": 0.1349,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Sevilla",
                    "minutes": 13.0,
                    "is_starting": false,
                    "weight": 0.1147,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Real Racing Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0975,
                    "rating": 8.2
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Levante UD",
                    "minutes": 23.0,
                    "is_starting": false,
                    "weight": 0.0829,
                    "rating": 7.9
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Valencia",
                    "minutes": 28.0,
                    "is_starting": false,
                    "weight": 0.0704,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Rayo Vallecano",
                    "minutes": 13.0,
                    "is_starting": false,
                    "weight": 0.0599,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Athletic Club",
                    "minutes": 10.0,
                    "is_starting": false,
                    "weight": 0.0509,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Elche",
                    "minutes": 65.0,
                    "is_starting": true,
                    "weight": 0.0433,
                    "rating": 7.6
                  }
                ],
                "feature_row": {
                  "history_matches": 10.0,
                  "is_starting_11": 1.0,
                  "accurateOppositionHalfPasses": 8.7991,
                  "expectedGoals": 0.3438,
                  "totalOppositionHalfPasses": 11.1578,
                  "accuratePass": 11.9187,
                  "totalShots": 1.3802
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.24420619010925293,
                    "model_output": 0.2442,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.282
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0898
                      },
                      {
                        "name": "goals",
                        "importance": 0.0323
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0316
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0236
                      }
                    ],
                    "decomposition": {
                      "base": 0.1945,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0631
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0458
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0173
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0135
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0104
                        }
                      ],
                      "others": -0.018,
                      "total": 0.2442,
                      "log_link": true,
                      "margin_base": -1.637486,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.281124
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.163636
                        },
                        {
                          "name": "goals",
                          "margin": -0.058593
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.048419
                        },
                        {
                          "name": "duelLost",
                          "margin": -0.038773
                        }
                      ],
                      "others_margin": -0.071231
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.19207289814949036,
                    "model_output": 0.1921,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.144
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0742
                      },
                      {
                        "name": "goals",
                        "importance": 0.053
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0321
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0311
                      }
                    ],
                    "decomposition": {
                      "base": 0.199,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.073
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0331
                        },
                        {
                          "name": "dispossessed",
                          "contribution": -0.0277
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0232
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.012
                        }
                      ],
                      "others": -0.0501,
                      "total": 0.1921,
                      "log_link": true,
                      "margin_base": -1.614663,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.312385
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.114924
                        },
                        {
                          "name": "dispossessed",
                          "margin": -0.095052
                        },
                        {
                          "name": "goals",
                          "margin": -0.087373
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.048492
                        }
                      ],
                      "others_margin": -0.231611
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.7682836651802063,
                    "model_output": 0.7683,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2115
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.066
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0499
                      },
                      {
                        "name": "goals",
                        "importance": 0.0473
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0333
                      }
                    ],
                    "decomposition": {
                      "base": 0.5305,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1854
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0537
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.047
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0406
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0355
                        }
                      ],
                      "others": -0.0432,
                      "total": 0.7683,
                      "log_link": true,
                      "margin_base": -0.633985,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.299779
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.072265
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.059261
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.050941
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.044698
                        }
                      ],
                      "others_margin": -0.054673
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 2.0047264099121094,
                    "model_output": 2.0047,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2934
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0662
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.05
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0272
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.027
                      }
                    ],
                    "decomposition": {
                      "base": 1.3805,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.5354
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0589
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0572
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.057
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0465
                        }
                      ],
                      "others": -0.0378,
                      "total": 2.0047,
                      "log_link": false,
                      "margin_base": 1.38048,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.535403
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.058946
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.057159
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.056965
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.04655
                        }
                      ],
                      "others_margin": -0.037676
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.09801916778087616,
                    "model_output": 0.098,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1135
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0826
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0722
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0587
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0552
                      }
                    ],
                    "decomposition": {
                      "base": 0.0647,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0178
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0097
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0089
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0085
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.008
                        }
                      ],
                      "others": -0.0026,
                      "total": 0.098,
                      "log_link": true,
                      "margin_base": -2.738275,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.243064
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.111055
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.092539
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.088335
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.083063
                        }
                      ],
                      "others_margin": -0.025704
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 1.148383617401123,
                    "model_output": 1.1484,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1545
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.1071
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0923
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0893
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0298
                      }
                    ],
                    "decomposition": {
                      "base": 0.6939,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2471
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.1562
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0761
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0748
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.04
                        }
                      ],
                      "others": 0.0099,
                      "total": 1.1484,
                      "log_link": true,
                      "margin_base": -0.365451,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.304646
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.153594
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.067035
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.065877
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.035747
                        }
                      ],
                      "others_margin": 0.008661
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.986854553222656,
                    "model_output": 6.9869,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0529
                      },
                      {
                        "name": "rating",
                        "importance": 0.0463
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.044
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0417
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0371
                      }
                    ],
                    "decomposition": {
                      "base": 6.7735,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0785
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0599
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0447
                        },
                        {
                          "name": "dispossessed",
                          "contribution": -0.0171
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0168
                        }
                      ],
                      "others": 0.0306,
                      "total": 6.9869,
                      "log_link": false,
                      "margin_base": 6.773504,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.078533
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.05991
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.044669
                        },
                        {
                          "name": "dispossessed",
                          "margin": -0.01714
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": 0.016755
                        }
                      ],
                      "others_margin": 0.030622
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 10,
                  "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.0281, quality 0.786)",
              "stats": {
                "expected_goals": 0.2511,
                "goals": 0.1975,
                "goal_rate": 0.1975,
                "shots_on_target": 0.7899,
                "total_shots": 2.0611,
                "expected_assists": 0.1008,
                "key_pass": 1.1807,
                "rating": 6.9869,
                "minutes": 75.26,
                "total_pass": 31.6323,
                "accurate_pass": 24.1978,
                "duels_won": 6.83,
                "total_long_balls": 0.6884,
                "accurate_long_balls": 0.2888,
                "total_opp_half_passes": 25.175,
                "accurate_opp_half_passes": 18.6068,
                "crosses_total": 1.0791,
                "crosses_accurate": 0.3397,
                "touches": 49.2759,
                "possession_lost": 12.2862,
                "dispossessed": 0.3397,
                "duels_lost": 3.4659,
                "aerial_lost": 0.6794,
                "total_contest": 4.4431,
                "won_contest": 3.0154,
                "ball_recovery": 3.1862,
                "challenges_lost": 0.3397,
                "fouls": 0.6794,
                "fouls_drawn": 2.7356,
                "assists": 0.3397,
                "assist_rate": 0.3397,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.3996,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 1.0192,
                "big_chances_missed": 1.4188,
                "xgot": 0.1359,
                "offsides": 0.3996,
                "ball_carries": 24.4266,
                "total_progression": 141.4527,
                "progressive_carries": 7.3496,
                "shots_off_target": 1.2711
              },
              "params": {
                "market_value_eur": 41000000,
                "quality_factor": 0.7859,
                "boost_factor": 1.0281,
                "reference_quality": 0.505,
                "history_matches": 10,
                "history_shrink": 0.3333,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0145)",
              "stats": {
                "expected_goals": 0.2511,
                "goals": 0.2067,
                "goal_rate": 0.2067,
                "shots_on_target": 0.8151,
                "total_shots": 2.0679,
                "expected_assists": 0.1008,
                "key_pass": 1.1807,
                "rating": 6.9869,
                "minutes": 75.26,
                "total_pass": 31.6323,
                "accurate_pass": 24.1978,
                "duels_won": 6.83,
                "total_long_balls": 0.6884,
                "accurate_long_balls": 0.2888,
                "total_opp_half_passes": 25.175,
                "accurate_opp_half_passes": 18.6068,
                "crosses_total": 1.0756,
                "crosses_accurate": 0.3397,
                "touches": 49.2759,
                "possession_lost": 12.2862,
                "dispossessed": 0.3397,
                "duels_lost": 3.4659,
                "aerial_lost": 0.6794,
                "total_contest": 4.4431,
                "won_contest": 3.0154,
                "ball_recovery": 3.1862,
                "challenges_lost": 0.3397,
                "fouls": 0.6817,
                "fouls_drawn": 2.7202,
                "assists": 0.3469,
                "assist_rate": 0.3469,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.3996,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 1.0192,
                "big_chances_missed": 1.4188,
                "xgot": 0.1359,
                "offsides": 0.3938,
                "ball_carries": 24.4266,
                "total_progression": 141.4527,
                "progressive_carries": 7.3496,
                "shots_off_target": 1.2711
              },
              "params": {
                "blend_weight": 0.0145,
                "history_matches": 10,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.8362,
                "prior_reliability": 0.0667,
                "competition": "La Liga",
                "squad": "Barcelona"
              },
              "changes": [
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.7899,
                  "after": 0.8151
                },
                {
                  "stat": "wasFouled",
                  "before": 2.7356,
                  "after": 2.7202
                },
                {
                  "stat": "goals",
                  "before": 0.1975,
                  "after": 0.2067
                },
                {
                  "stat": "goalAssist",
                  "before": 0.3397,
                  "after": 0.3469
                },
                {
                  "stat": "totalShots",
                  "before": 2.0611,
                  "after": 2.0679
                },
                {
                  "stat": "totalOffside",
                  "before": 0.3996,
                  "after": 0.3938
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.2511,
                "goals": 0.2067,
                "goal_rate": 0.2067,
                "shots_on_target": 0.8151,
                "total_shots": 2.0862,
                "expected_assists": 0.1008,
                "key_pass": 1.1807,
                "rating": 6.9869,
                "minutes": 75.26,
                "total_pass": 31.6323,
                "accurate_pass": 24.1978,
                "duels_won": 6.83,
                "total_long_balls": 0.6884,
                "accurate_long_balls": 0.2888,
                "total_opp_half_passes": 25.175,
                "accurate_opp_half_passes": 18.6068,
                "crosses_total": 1.0756,
                "crosses_accurate": 0.3397,
                "touches": 49.2759,
                "possession_lost": 12.2862,
                "dispossessed": 0.3397,
                "duels_lost": 3.4659,
                "aerial_lost": 0.6794,
                "total_contest": 4.4431,
                "won_contest": 3.0154,
                "ball_recovery": 3.1862,
                "challenges_lost": 0.3397,
                "fouls": 0.6817,
                "fouls_drawn": 2.7202,
                "assists": 0.3469,
                "assist_rate": 0.3469,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.3996,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 1.0192,
                "big_chances_missed": 1.4188,
                "xgot": 0.1359,
                "offsides": 0.3938,
                "ball_carries": 24.4266,
                "total_progression": 141.4527,
                "progressive_carries": 7.3496,
                "shots_off_target": 1.2711
              },
              "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.306,
                "goals": 0.2519,
                "goal_rate": 0.2519,
                "shots_on_target": 0.9934,
                "total_shots": 2.5427,
                "expected_assists": 0.1008,
                "key_pass": 1.1807,
                "rating": 6.9869,
                "minutes": 75.26,
                "total_pass": 31.6323,
                "accurate_pass": 24.1978,
                "duels_won": 6.83,
                "total_long_balls": 0.6884,
                "accurate_long_balls": 0.2888,
                "total_opp_half_passes": 25.175,
                "accurate_opp_half_passes": 18.6068,
                "crosses_total": 1.0756,
                "crosses_accurate": 0.3397,
                "touches": 49.2759,
                "possession_lost": 12.2862,
                "dispossessed": 0.3397,
                "duels_lost": 3.4659,
                "aerial_lost": 0.6794,
                "total_contest": 4.4431,
                "won_contest": 3.0154,
                "ball_recovery": 3.1862,
                "challenges_lost": 0.3397,
                "fouls": 0.6817,
                "fouls_drawn": 2.7202,
                "assists": 0.3469,
                "assist_rate": 0.3469,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.3996,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 1.0192,
                "big_chances_missed": 1.7292,
                "xgot": 0.1656,
                "offsides": 0.3938,
                "ball_carries": 24.4266,
                "total_progression": 141.4527,
                "progressive_carries": 7.3496,
                "shots_off_target": 1.5492,
                "duel_xg_multiplier": 1.2188,
                "dribbles_attempted": 4.0,
                "dribbles_successful": 2.2,
                "aerial_won": 1.1,
                "crosses_attempted": 2.5,
                "duel_win_rate": 0.629,
                "pressing_faced": "LOW",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Hugo Novoa",
                "opponent_faced": "Hugo Novoa",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Hugo Novoa",
                  "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                  "duel_win_rate": 0.629,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 1.2188,
                  "skill_edge": 0.1568,
                  "height_edge": -0.008,
                  "attacker_skill": 0.7859,
                  "defender_skill": 0.4374,
                  "attacker_role": "RW",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Hugo Novoa",
                      "market_value": 725000,
                      "role": "LB",
                      "price_index": 0.7,
                      "adjusted_quality": 0.4374
                    }
                  ],
                  "xg_override": 0.306
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 2.0862,
                  "after": 2.5427
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 1.4188,
                  "after": 1.7292
                },
                {
                  "stat": "shotOffTarget",
                  "before": 1.2711,
                  "after": 1.5492
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.8151,
                  "after": 0.9934
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.2511,
                  "after": 0.306
                },
                {
                  "stat": "goals",
                  "before": 0.2067,
                  "after": 0.2519
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.1359,
                  "after": 0.1656
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 3 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.306,
                "goal_rate": 0.2519,
                "goals": 0,
                "shots_on_target": 0.9934,
                "total_shots": 2.5427,
                "expected_assists": 0.1008,
                "key_pass": 1.1807,
                "rating": 6.9869,
                "minutes": 75.26,
                "total_pass": 31.6323,
                "accurate_pass": 24.1978,
                "duels_won": 6.83,
                "total_long_balls": 0.6884,
                "accurate_long_balls": 0.2888,
                "total_opp_half_passes": 25.175,
                "accurate_opp_half_passes": 18.6068,
                "crosses_total": 1.0756,
                "crosses_accurate": 0.3397,
                "touches": 49.2759,
                "possession_lost": 12.2862,
                "dispossessed": 0.3397,
                "duels_lost": 3.4659,
                "aerial_lost": 0.6794,
                "total_contest": 4.4431,
                "won_contest": 3.0154,
                "ball_recovery": 3.1862,
                "challenges_lost": 0.3397,
                "fouls": 0.6817,
                "fouls_drawn": 2.7202,
                "assist_rate": 0.3469,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.3996,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 1.0192,
                "big_chances_missed": 1.7292,
                "xgot": 0.1656,
                "offsides": 0.3938,
                "ball_carries": 24.4266,
                "total_progression": 141.4527,
                "progressive_carries": 7.3496,
                "shots_off_target": 1.5492,
                "duel_xg_multiplier": 1.2188,
                "dribbles_attempted": 4.0,
                "dribbles_successful": 2.2,
                "aerial_won": 1.1,
                "crosses_attempted": 2.5,
                "duel_win_rate": 0.629,
                "pressing_faced": "LOW",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Hugo Novoa",
                "opponent_faced": "Hugo Novoa",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 3
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 3.86 (squad xG sum 2.6208, xG scale 1.4740, xA scale 1.6297, team xA 2.51 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.451,
                "goal_rate": 0.2519,
                "goals": 0,
                "shots_on_target": 0.9934,
                "total_shots": 2.5427,
                "expected_assists": 0.1643,
                "key_pass": 1.1807,
                "rating": 6.9869,
                "minutes": 75.26,
                "total_pass": 31.6323,
                "accurate_pass": 24.1978,
                "duels_won": 6.83,
                "total_long_balls": 0.6884,
                "accurate_long_balls": 0.2888,
                "total_opp_half_passes": 25.175,
                "accurate_opp_half_passes": 18.6068,
                "crosses_total": 1.0756,
                "crosses_accurate": 0.3397,
                "touches": 49.2759,
                "possession_lost": 12.2862,
                "dispossessed": 0.3397,
                "duels_lost": 3.4659,
                "aerial_lost": 0.6794,
                "total_contest": 4.4431,
                "won_contest": 3.0154,
                "ball_recovery": 3.1862,
                "challenges_lost": 0.3397,
                "fouls": 0.6817,
                "fouls_drawn": 2.7202,
                "assist_rate": 0.3469,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.3996,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 1.0192,
                "big_chances_missed": 1.7292,
                "xgot": 0.2441,
                "offsides": 0.3938,
                "ball_carries": 24.4266,
                "total_progression": 141.4527,
                "progressive_carries": 7.3496,
                "shots_off_target": 1.5492,
                "duel_xg_multiplier": 1.2188,
                "dribbles_attempted": 4.0,
                "dribbles_successful": 2.2,
                "aerial_won": 1.1,
                "crosses_attempted": 2.5,
                "duel_win_rate": 0.629,
                "pressing_faced": "LOW",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Hugo Novoa",
                "opponent_faced": "Hugo Novoa",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.848,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 3.863,
                "squad_xg_sum": 2.6208,
                "squad_xa_sum": 1.5408,
                "team_expected_assists": 2.511,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.474,
                "xa_scale": 1.6297,
                "opponent_lambda": 1.288,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.306,
                  "after": 0.451
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1008,
                  "after": 0.1643
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 11 by projected rating, fifa_overall 82.0)",
              "stats": {
                "expected_goals": 0.451,
                "goal_rate": 0.2519,
                "goals": 0,
                "shots_on_target": 0.9934,
                "total_shots": 2.5427,
                "expected_assists": 0.1643,
                "key_pass": 1.1807,
                "rating": 6.9869,
                "minutes": 75.26,
                "total_pass": 31.6323,
                "accurate_pass": 24.1978,
                "duels_won": 6.83,
                "total_long_balls": 0.6884,
                "accurate_long_balls": 0.2888,
                "total_opp_half_passes": 25.175,
                "accurate_opp_half_passes": 18.6068,
                "crosses_total": 1.0756,
                "crosses_accurate": 0.3397,
                "touches": 49.2759,
                "possession_lost": 12.2862,
                "dispossessed": 0.3397,
                "duels_lost": 3.4659,
                "aerial_lost": 0.6794,
                "total_contest": 4.4431,
                "won_contest": 3.0154,
                "ball_recovery": 3.1862,
                "challenges_lost": 0.3397,
                "fouls": 0.6817,
                "fouls_drawn": 2.7202,
                "assist_rate": 0.3469,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.3996,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 1.0192,
                "big_chances_missed": 1.7292,
                "xgot": 0.2441,
                "offsides": 0.3938,
                "ball_carries": 24.4266,
                "total_progression": 141.4527,
                "progressive_carries": 7.3496,
                "shots_off_target": 1.5492,
                "duel_xg_multiplier": 1.2188,
                "dribbles_attempted": 4.0,
                "dribbles_successful": 2.2,
                "aerial_won": 1.1,
                "crosses_attempted": 2.5,
                "duel_win_rate": 0.629,
                "pressing_faced": "LOW",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Hugo Novoa",
                "opponent_faced": "Hugo Novoa",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.848,
                "creation_factor": 1.25,
                "fifa_overall": 82.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": 927,
                "fifa_rank": 416.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 82.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 3 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.451,
                "goal_rate": 0.2519,
                "goals": 0,
                "shots_on_target": 0.9934,
                "total_shots": 2.5427,
                "expected_assists": 0.1643,
                "key_pass": 1.1807,
                "rating": 6.9869,
                "minutes": 75.26,
                "total_pass": 31.6323,
                "accurate_pass": 24.1978,
                "duels_won": 6.83,
                "total_long_balls": 0.6884,
                "accurate_long_balls": 0.2888,
                "total_opp_half_passes": 25.175,
                "accurate_opp_half_passes": 18.6068,
                "crosses_total": 1.0756,
                "crosses_accurate": 0.3397,
                "touches": 49.2759,
                "possession_lost": 12.2862,
                "dispossessed": 0.3397,
                "duels_lost": 3.4659,
                "aerial_lost": 0.6794,
                "total_contest": 4.4431,
                "won_contest": 3.0154,
                "ball_recovery": 3.1862,
                "challenges_lost": 0.3397,
                "fouls": 0.6817,
                "fouls_drawn": 2.7202,
                "assist_rate": 0.3469,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.3996,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 1.0192,
                "big_chances_missed": 1.7292,
                "xgot": 0.2441,
                "offsides": 0.3938,
                "ball_carries": 24.4266,
                "total_progression": 141.4527,
                "progressive_carries": 7.3496,
                "shots_off_target": 1.5492,
                "duel_xg_multiplier": 1.2188,
                "dribbles_attempted": 4.0,
                "dribbles_successful": 2.2,
                "aerial_won": 1.1,
                "crosses_attempted": 2.5,
                "duel_win_rate": 0.629,
                "pressing_faced": "LOW",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Hugo Novoa",
                "opponent_faced": "Hugo Novoa",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.363,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.848,
                "creation_factor": 1.25,
                "fifa_overall": 82.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 3,
                "goals_allocated": 0,
                "goal_probability": 0.363,
                "goal_rate": 0.2519,
                "scorer_weight": 0.3824,
                "squad_weight_total": 4.4245,
                "weight_share": 0.0864,
                "finishing_factor": 0.848,
                "appearance_weight": 1.0,
                "weight_rank": 3,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Raphinha",
                    "weight": 1.5149,
                    "already": 0,
                    "effective_weight": 1.5149,
                    "runner_up": "Lamine Yamal",
                    "runner_up_effective_weight": 1.1818
                  },
                  {
                    "n": 2,
                    "player": "Lamine Yamal",
                    "weight": 1.1818,
                    "already": 0,
                    "effective_weight": 1.1818,
                    "runner_up": "Raphinha",
                    "runner_up_effective_weight": 0.6446
                  },
                  {
                    "n": 3,
                    "player": "Raphinha",
                    "weight": 1.5149,
                    "already": 1,
                    "effective_weight": 0.6446,
                    "runner_up": "Lamine Yamal",
                    "runner_up_effective_weight": 0.5029
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 2 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "expected_goals": 0.451,
                "goal_rate": 0.2519,
                "goals": 0,
                "shots_on_target": 0.9934,
                "total_shots": 2.5427,
                "expected_assists": 0.1643,
                "key_pass": 1.1807,
                "rating": 6.9869,
                "minutes": 75.26,
                "total_pass": 31.6323,
                "accurate_pass": 24.1978,
                "duels_won": 6.83,
                "total_long_balls": 0.6884,
                "accurate_long_balls": 0.2888,
                "total_opp_half_passes": 25.175,
                "accurate_opp_half_passes": 18.6068,
                "crosses_total": 1.0756,
                "crosses_accurate": 0.3397,
                "touches": 49.2759,
                "possession_lost": 12.2862,
                "dispossessed": 0.3397,
                "duels_lost": 3.4659,
                "aerial_lost": 0.6794,
                "total_contest": 4.4431,
                "won_contest": 3.0154,
                "ball_recovery": 3.1862,
                "challenges_lost": 0.3397,
                "fouls": 0.6817,
                "fouls_drawn": 2.7202,
                "assist_rate": 0.3469,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.3996,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 1.0192,
                "big_chances_missed": 1.7292,
                "xgot": 0.2441,
                "offsides": 0.3938,
                "ball_carries": 24.4266,
                "total_progression": 141.4527,
                "progressive_carries": 7.3496,
                "shots_off_target": 1.5492,
                "duel_xg_multiplier": 1.2188,
                "dribbles_attempted": 4.0,
                "dribbles_successful": 2.2,
                "aerial_won": 1.1,
                "crosses_attempted": 2.5,
                "duel_win_rate": 0.629,
                "pressing_faced": "LOW",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Hugo Novoa",
                "opponent_faced": "Hugo Novoa",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.363,
                "projected_assists": 0,
                "assist_probability": 0.1515,
                "finishing_factor": 0.848,
                "creation_factor": 1.25,
                "fifa_overall": 82.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 2,
                "assists_allocated": 0,
                "assist_probability": 0.1515,
                "assist_rate": 0.3469,
                "provider_weight": 0.2054,
                "squad_weight_total": 2.7263,
                "weight_share": 0.0753,
                "creation_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 5,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Lamine Yamal",
                    "weight": 0.5086,
                    "already": 0,
                    "effective_weight": 0.5086,
                    "runner_up": "Pedri",
                    "runner_up_effective_weight": 0.3563
                  },
                  {
                    "n": 2,
                    "player": "Pedri",
                    "weight": 0.3563,
                    "already": 0,
                    "effective_weight": 0.3563,
                    "runner_up": "Fermín López",
                    "runner_up_effective_weight": 0.3049
                  }
                ]
              }
            }
          ]
        }
      },
      "bench_players": {
        "Dominik Livaković": {
          "player_id": 190419,
          "position": "G",
          "position_depth": "G_BENCH",
          "is_starter": false,
          "shirt_number": 25,
          "height": 186,
          "market_value": 4099999,
          "stats": {
            "saves": 0,
            "goals_prevented": 0.0096,
            "rating": 7.0363,
            "minutes": 4,
            "total_pass": 3,
            "accurate_pass": 2,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "touches": 4,
            "clearances": 0,
            "ball_recovery": 1,
            "high_claims": 0,
            "aerial_won": 0,
            "sweeper_actions": 0,
            "sweeper_accurate": 0,
            "saves_inside_box": 0,
            "possession_lost": 0.4617,
            "duels_won": 0,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 2,
            "accurate_own_half_passes": 2,
            "bench_appearance_probability": 0.111,
            "bench_expected_minutes": 4.45,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.765,
            "projected_substitution_game_state_adjustment": -1,
            "substitution_usage": "available_bench_not_projected_used",
            "goals": 0,
            "projected_goals": 0,
            "goal_probability": 0.0,
            "assists": 0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 78.0
          },
          "latest_10_games": [
            {
              "match_id": 16416349,
              "match_date": "2026-09-19",
              "home_team": "Sevilla",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0002,
                "total_shots": 0,
                "total_pass": 18,
                "accurate_pass": 15,
                "clearances": 2,
                "ball_recovery": 8,
                "saves": 2,
                "goals_prevented": -0.1939
              },
              "has_player_stats": true,
              "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": 2016,
            "combined_rank_score": 769.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 274.0,
            "sofascore_rating": 7.0714,
            "sofascore_appearances": 7.0,
            "fifa_rank": 1264.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 6,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 7.0363,
            "source_file": "data/player_rankings.csv",
            "player_name": "Dominik Livaković",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Ayoub El Kaabi",
                  "ranking": 2011
                },
                {
                  "player_name": "Viktor Tsygankov",
                  "ranking": 2012
                },
                {
                  "player_name": "Brennan Johnson",
                  "ranking": 2013
                },
                {
                  "player_name": "Dani Vivian",
                  "ranking": 2014
                },
                {
                  "player_name": "Joaquín Larrivey",
                  "ranking": 2015
                }
              ],
              "lower": [
                {
                  "player_name": "Alexander Nübel",
                  "ranking": 2017
                },
                {
                  "player_name": "Domingos Duarte",
                  "ranking": 2018
                },
                {
                  "player_name": "Davide Frattesi",
                  "ranking": 2019
                },
                {
                  "player_name": "Sebastian Szymański",
                  "ranking": 2020
                },
                {
                  "player_name": "Ibrokhim Ibrokhimov",
                  "ranking": 2021
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.312,
          "history_matches": 1,
          "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": 1,
            "data_confidence": 0.312,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 4.446242177473513,
            "bench_appearance_prob": 0.11119282624879602,
            "market_value_adjustment": 0.9865,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost G_service (1 historical appearances) to 4.4 expected mins (appearance prob 0.11)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost G_service raw output over 3 target models",
              "stats": {
                "saves": 2.9477,
                "goals_prevented": 0.0627,
                "rating": 7.0363,
                "minutes": 28.5,
                "total_pass": 18.0,
                "accurate_pass": 15.0,
                "total_long_balls": 5.0,
                "accurate_long_balls": 2.0,
                "touches": 29.0,
                "clearances": 2.0,
                "ball_recovery": 8.0,
                "high_claims": 0.0,
                "aerial_won": 0.0,
                "sweeper_actions": 2.0,
                "sweeper_accurate": 2.0,
                "saves_inside_box": 0.0,
                "possession_lost": 3.0,
                "duels_won": 0.0,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 15.0,
                "accurate_own_half_passes": 14.0
              },
              "trace": {
                "model": {
                  "position_service": "G",
                  "schema_version": 5,
                  "trained_at": "2026-10-31T10:28:35.350989+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 201,
                    "rows": 7385
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 1.0,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 1.0,
                  "is_starting_11": 0.0,
                  "accurateKeeperSweeper": 2.0,
                  "goalkeeperValueNormalized": -0.57,
                  "goodHighClaim": 0.0,
                  "save_contribution": 1.8061,
                  "possessionLostCtrl": 3.0,
                  "sweeper_actions_p90": 2.0
                },
                "per_target": [
                  {
                    "target": "saves",
                    "predicted": 2.947664260864258,
                    "model_output": 2.9477,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "save_contribution",
                        "importance": 0.0422
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0362
                      },
                      {
                        "name": "goodHighClaim",
                        "importance": 0.0359
                      },
                      {
                        "name": "defensiveValueNormalized",
                        "importance": 0.0358
                      },
                      {
                        "name": "pass_accuracy",
                        "importance": 0.0358
                      }
                    ],
                    "decomposition": {
                      "base": 2.9271,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1518
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0556
                        },
                        {
                          "name": "savedShotsFromInsideTheBox",
                          "contribution": 0.043
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0417
                        },
                        {
                          "name": "inside_box_save_rate",
                          "contribution": 0.0261
                        }
                      ],
                      "others": 0.1172,
                      "total": 2.9477,
                      "log_link": true,
                      "margin_base": 1.074005,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.053257
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.020253
                        },
                        {
                          "name": "savedShotsFromInsideTheBox",
                          "margin": 0.015686
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.014989
                        },
                        {
                          "name": "inside_box_save_rate",
                          "margin": 0.009279
                        }
                      ],
                      "others_margin": 0.040565
                    }
                  },
                  {
                    "target": "goalsPrevented",
                    "predicted": 0.06265109777450562,
                    "model_output": 0.0627,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "goalkeeperValueNormalized",
                        "importance": 0.0432
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.04
                      },
                      {
                        "name": "goodHighClaim",
                        "importance": 0.0388
                      },
                      {
                        "name": "punches",
                        "importance": 0.0371
                      },
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.0358
                      }
                    ],
                    "decomposition": {
                      "base": -0.0235,
                      "items": [
                        {
                          "name": "goalkeeperValueNormalized",
                          "contribution": 0.0849
                        },
                        {
                          "name": "savedShotsFromInsideTheBox",
                          "contribution": -0.0517
                        },
                        {
                          "name": "sweeper_accuracy",
                          "contribution": 0.0373
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0306
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0228
                        }
                      ],
                      "others": 0.0235,
                      "total": 0.0627,
                      "log_link": false,
                      "margin_base": -0.023525,
                      "item_margins": [
                        {
                          "name": "goalkeeperValueNormalized",
                          "margin": 0.084941
                        },
                        {
                          "name": "savedShotsFromInsideTheBox",
                          "margin": -0.051706
                        },
                        {
                          "name": "sweeper_accuracy",
                          "margin": 0.037267
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.030601
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.022767
                        }
                      ],
                      "others_margin": 0.023508
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.036336898803711,
                    "model_output": 7.0363,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "accurateKeeperSweeper",
                        "importance": 0.0401
                      },
                      {
                        "name": "accurateOwnHalfPasses",
                        "importance": 0.0389
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0374
                      },
                      {
                        "name": "touches",
                        "importance": 0.0351
                      },
                      {
                        "name": "rating",
                        "importance": 0.0339
                      }
                    ],
                    "decomposition": {
                      "base": 6.9898,
                      "items": [
                        {
                          "name": "goalkeeperValueNormalized",
                          "contribution": 0.0698
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.029
                        },
                        {
                          "name": "sweeper_accuracy",
                          "contribution": 0.0278
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0139
                        },
                        {
                          "name": "accurateKeeperSweeper",
                          "contribution": -0.0124
                        }
                      ],
                      "others": -0.0236,
                      "total": 7.0363,
                      "log_link": false,
                      "margin_base": 6.989751,
                      "item_margins": [
                        {
                          "name": "goalkeeperValueNormalized",
                          "margin": 0.069805
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.029004
                        },
                        {
                          "name": "sweeper_accuracy",
                          "margin": 0.027758
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.013945
                        },
                        {
                          "name": "accurateKeeperSweeper",
                          "margin": -0.012364
                        }
                      ],
                      "others_margin": -0.023552
                    }
                  }
                ],
                "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.9865, quality 0.451)",
              "stats": {
                "saves": 2.9079,
                "goals_prevented": 0.0618,
                "rating": 7.0363,
                "minutes": 28.5,
                "total_pass": 17.757,
                "accurate_pass": 14.7975,
                "total_long_balls": 4.9325,
                "accurate_long_balls": 1.973,
                "touches": 28.6085,
                "clearances": 1.973,
                "ball_recovery": 7.892,
                "high_claims": 0.0,
                "aerial_won": 0.0,
                "sweeper_actions": 1.973,
                "sweeper_accurate": 1.973,
                "saves_inside_box": 0.0,
                "possession_lost": 2.9595,
                "duels_won": 0.0,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 14.7975,
                "accurate_own_half_passes": 13.811
              },
              "params": {
                "market_value_eur": 4099999,
                "quality_factor": 0.4511,
                "boost_factor": 0.9865,
                "reference_quality": 0.505,
                "history_matches": 1,
                "history_shrink": 0.8333,
                "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.4537,
                "goals_prevented": 0.0096,
                "rating": 7.0363,
                "minutes": 4.45,
                "total_pass": 2.7702,
                "accurate_pass": 2.3085,
                "total_long_balls": 0.7695,
                "accurate_long_balls": 0.3078,
                "touches": 4.4632,
                "clearances": 0.3078,
                "ball_recovery": 1.2312,
                "high_claims": 0.0,
                "aerial_won": 0.0,
                "sweeper_actions": 0.3078,
                "sweeper_accurate": 0.3078,
                "saves_inside_box": 0.0,
                "possession_lost": 0.4617,
                "duels_won": 0.0,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 2.3085,
                "accurate_own_half_passes": 2.1546,
                "bench_appearance_probability": 0.111,
                "bench_expected_minutes": 4.45
              },
              "params": {
                "expected_minutes": 4.45,
                "projection_minutes": 28.5,
                "minutes_scale": 0.156,
                "appearance_probability": 0.111
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 0.4537,
                "goals_prevented": 0.0096,
                "rating": 7.0363,
                "minutes": 4.45,
                "total_pass": 2.7702,
                "accurate_pass": 2.3085,
                "total_long_balls": 0.7695,
                "accurate_long_balls": 0.3078,
                "touches": 4.4632,
                "clearances": 0.3078,
                "ball_recovery": 1.2312,
                "high_claims": 0.0,
                "aerial_won": 0.0,
                "sweeper_actions": 0.3078,
                "sweeper_accurate": 0.3078,
                "saves_inside_box": 0.0,
                "possession_lost": 0.4617,
                "duels_won": 0.0,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 2.3085,
                "accurate_own_half_passes": 2.1546,
                "bench_appearance_probability": 0.111,
                "bench_expected_minutes": 4.45
              },
              "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.4537,
                "goals_prevented": 0.0096,
                "rating": 7.0363,
                "minutes": 4.45,
                "total_pass": 2.7702,
                "accurate_pass": 2.3085,
                "total_long_balls": 0.7695,
                "accurate_long_balls": 0.3078,
                "touches": 4.4632,
                "clearances": 0.3078,
                "ball_recovery": 1.2312,
                "high_claims": 0.0,
                "aerial_won": 0.0,
                "sweeper_actions": 0.3078,
                "sweeper_accurate": 0.3078,
                "saves_inside_box": 0.0,
                "possession_lost": 0.4617,
                "duels_won": 0.0,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 2.3085,
                "accurate_own_half_passes": 2.1546,
                "bench_appearance_probability": 0.111,
                "bench_expected_minutes": 4.45,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.765,
                "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.111,
                "projected_substitutes": 2,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 6 by projected rating, fifa_overall 78.0)",
              "stats": {
                "saves": 0.4537,
                "goals_prevented": 0.0096,
                "rating": 7.0363,
                "minutes": 4.45,
                "total_pass": 2.7702,
                "accurate_pass": 2.3085,
                "total_long_balls": 0.7695,
                "accurate_long_balls": 0.3078,
                "touches": 4.4632,
                "clearances": 0.3078,
                "ball_recovery": 1.2312,
                "high_claims": 0.0,
                "aerial_won": 0.0,
                "sweeper_actions": 0.3078,
                "sweeper_accurate": 0.3078,
                "saves_inside_box": 0.0,
                "possession_lost": 0.4617,
                "duels_won": 0.0,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 2.3085,
                "accurate_own_half_passes": 2.1546,
                "bench_appearance_probability": 0.111,
                "bench_expected_minutes": 4.45,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.765,
                "projected_substitution_game_state_adjustment": -1,
                "substitution_usage": "available_bench_not_projected_used",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 78.0
              },
              "params": {
                "match_squad_rank": 6,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 2016,
                "fifa_rank": 1264.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 78.0
              }
            }
          ]
        },
        "Jules Koundé": {
          "player_id": 827212,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 23,
          "height": 180,
          "market_value": 64000000,
          "stats": {
            "interceptions": 0,
            "tackles": 0,
            "tackles_won": 0,
            "clearances": 0,
            "aerial_won": 0,
            "total_shots": 0,
            "rating": 6.9277,
            "minutes": 13,
            "total_pass": 16,
            "accurate_pass": 15,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 6,
            "accurate_own_half_passes": 6,
            "total_opp_half_passes": 10,
            "accurate_opp_half_passes": 9,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 19,
            "possession_lost": 1.6522,
            "dispossessed": 0.301,
            "duels_lost": 0,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0022,
            "expected_assists": 0.0102,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 7,
            "total_progression": 34,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.508,
            "bench_expected_minutes": 12.91,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.765,
            "projected_substitution_game_state_adjustment": -1,
            "substitution_usage": "available_bench_not_projected_used",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 85.0
          },
          "latest_10_games": [
            {
              "match_id": 16421068,
              "match_date": "2026-10-17",
              "home_team": "Real Betis",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.0176,
                "total_shots": 0,
                "total_pass": 65,
                "accurate_pass": 61,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 1,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421060,
              "match_date": "2026-10-10",
              "home_team": "FC Barcelona",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 7.9,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.8137,
                "expected_assists": 0.0953,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 87,
                "accurate_pass": 82,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "aerial_won": 2,
                "duels_won": 8,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416325,
              "match_date": "2026-09-06",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Valencia",
              "stats": {
                "minutes": 61,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0401,
                "total_shots": 0,
                "total_pass": 78,
                "accurate_pass": 75,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 3,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416295,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0297,
                "total_shots": 0,
                "total_pass": 72,
                "accurate_pass": 66,
                "key_pass": 1,
                "clearances": 4,
                "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": 16421059,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 10,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0003,
                "total_shots": 0,
                "total_pass": 9,
                "accurate_pass": 8,
                "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": 16416311,
              "match_date": "2026-08-23",
              "home_team": "Elche",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Elche",
              "stats": {
                "minutes": 10,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0022,
                "total_shots": 0,
                "total_pass": 15,
                "accurate_pass": 14,
                "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": 14083666,
              "match_date": "2026-05-17",
              "home_team": "FC Barcelona",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0327,
                "expected_assists": 0.0134,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 66,
                "accurate_pass": 62,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 2,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 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": 90,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0991,
                "total_shots": 0,
                "total_pass": 85,
                "accurate_pass": 82,
                "key_pass": 1,
                "interceptions": 2,
                "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": "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": 1,
              "team": "FC Barcelona",
              "opponent": "Getafe",
              "stats": {
                "minutes": 60,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0168,
                "expected_assists": 0.1141,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 66,
                "accurate_pass": 62,
                "key_pass": 2,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083261,
              "match_date": "2026-04-22",
              "home_team": "FC Barcelona",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0485,
                "total_shots": 0,
                "total_pass": 86,
                "accurate_pass": 82,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 2,
                "duels_won": 1,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 540,
            "combined_rank_score": 301.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 444.0,
            "sofascore_rating": 6.9033,
            "sofascore_appearances": 30.0,
            "fifa_rank": 159.0,
            "fifa_overall": 85.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 12,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9277,
            "source_file": "data/player_rankings.csv",
            "player_name": "Jules Koundé",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Evan Ndicka",
                  "ranking": 535
                },
                {
                  "player_name": "Gabriel Lima",
                  "ranking": 536
                },
                {
                  "player_name": "Eder Aller",
                  "ranking": 537
                },
                {
                  "player_name": "Rafael Leão",
                  "ranking": 538
                },
                {
                  "player_name": "Mattia Zaccagni",
                  "ranking": 539
                }
              ],
              "lower": [
                {
                  "player_name": "Rafa Romero",
                  "ranking": 541
                },
                {
                  "player_name": "Alisher Odilov",
                  "ranking": 542
                },
                {
                  "player_name": "Hyeok-chan Son",
                  "ranking": 543
                },
                {
                  "player_name": "Min-ho Yoon",
                  "ranking": 544
                },
                {
                  "player_name": "Akmal Muzaffarov",
                  "ranking": 545
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.762,
          "history_matches": 36,
          "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": 36,
            "data_confidence": 0.762,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 12.91,
            "bench_appearance_prob": 0.508,
            "market_value_adjustment": 1.013,
            "fbref_prior_metrics": {
              "squad": "Barcelona",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 1.0,
              "sub_appearances": 2.0,
              "minutes_per_sub": 11.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.08
            },
            "rationale": "Bench projection scaled from XGBoost D_service (36 historical appearances) to 12.9 expected mins (appearance prob 0.51); FBref playing time empirical prior: 2.0 sub appearances, 11.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 0.3131,
                "tackles": 0.598,
                "tackles_won": 0.4723,
                "clearances": 0.727,
                "aerial_won": 0.333,
                "total_shots": 0.2341,
                "rating": 6.9277,
                "minutes": 27.47,
                "total_pass": 32.9886,
                "accurate_pass": 30.8332,
                "duels_won": 1.8383,
                "total_long_balls": 1.0094,
                "accurate_long_balls": 0.8142,
                "total_own_half_passes": 12.2784,
                "accurate_own_half_passes": 12.0746,
                "total_opp_half_passes": 20.7102,
                "accurate_opp_half_passes": 18.7586,
                "crosses_total": 0.2844,
                "crosses_accurate": 0.0,
                "touches": 38.9367,
                "possession_lost": 3.4705,
                "dispossessed": 0.2971,
                "duels_lost": 0.7602,
                "aerial_lost": 0.1952,
                "total_contest": 0.481,
                "won_contest": 0.3151,
                "ball_recovery": 1.7088,
                "challenges_lost": 0.1019,
                "fouls": 0.0,
                "fouls_drawn": 0.8606,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0046,
                "expected_assists": 0.0215,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 13.9687,
                "total_progression": 70.9005,
                "progressive_carries": 0.7049,
                "key_pass": 0.1952,
                "shots_off_target": 0.2341
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-31T10:29:25.210665+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 626,
                    "rows": 22004
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-17",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1504,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-10-10",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1279,
                    "rating": 7.9
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Valencia",
                    "minutes": 61.0,
                    "is_starting": false,
                    "weight": 0.1087,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0924,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Athletic Club",
                    "minutes": 10.0,
                    "is_starting": false,
                    "weight": 0.0785,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Elche",
                    "minutes": 10.0,
                    "is_starting": false,
                    "weight": 0.0667,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-04-25",
                    "opponent": "Getafe",
                    "minutes": 60.0,
                    "is_starting": true,
                    "weight": 0.041,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-04-22",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 7.0
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalClearance": 1.3158,
                  "aerialWon": 0.7348,
                  "totalClearance_p90": 2.0866,
                  "totalTackle": 1.1793,
                  "totalPass": 65.5639
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.3130670189857483,
                    "model_output": 0.3131,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2977
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0446
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0318
                      },
                      {
                        "name": "touches",
                        "importance": 0.0281
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0208
                      }
                    ],
                    "decomposition": {
                      "base": 0.8678,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4916
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0131
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": -0.0094
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0078
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0062
                        }
                      ],
                      "others": -0.0266,
                      "total": 0.3131,
                      "log_link": true,
                      "margin_base": -0.141777,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.835779
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.035476
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": -0.026337
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.022294
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.018053
                        }
                      ],
                      "others_margin": -0.081623
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 0.5980488657951355,
                    "model_output": 0.598,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2493
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0731
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0475
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0414
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.0245
                      }
                    ],
                    "decomposition": {
                      "base": 1.3878,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.7413
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0189
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0178
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0169
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0168
                        }
                      ],
                      "others": -0.0475,
                      "total": 0.598,
                      "log_link": true,
                      "margin_base": 0.327722,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.763907
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.0296
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.027906
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.025889
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.025762
                        }
                      ],
                      "others_margin": -0.076331
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.47227743268013,
                    "model_output": 0.4723,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1966
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0678
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0471
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0406
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0252
                      }
                    ],
                    "decomposition": {
                      "base": 0.8471,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4152
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0228
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0209
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0139
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0136
                        }
                      ],
                      "others": -0.003,
                      "total": 0.4723,
                      "log_link": true,
                      "margin_base": -0.165887,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.673557
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.051532
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.044944
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.029638
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.029123
                        }
                      ],
                      "others_margin": -0.006707
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 0.7270004749298096,
                    "model_output": 0.727,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2929
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1447
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.1031
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0342
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0223
                      }
                    ],
                    "decomposition": {
                      "base": 3.4227,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -2.0627
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.3099
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0806
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0628
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.058
                        }
                      ],
                      "others": -0.1217,
                      "total": 0.727,
                      "log_link": true,
                      "margin_base": 1.230438,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.922933
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.258634
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.079816
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.066931
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.06615
                        }
                      ],
                      "others_margin": -0.154802
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.3330199420452118,
                    "model_output": 0.333,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1591
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1548
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0782
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0406
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 1.3743,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.8079
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.166
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0487
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0295
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0258
                        }
                      ],
                      "others": -0.0224,
                      "total": 0.333,
                      "log_link": true,
                      "margin_base": 0.31798,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.886378
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.346703
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.129554
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.080482
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.070152
                        }
                      ],
                      "others_margin": -0.065228
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.23414656519889832,
                    "model_output": 0.2341,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1011
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0687
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0377
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0308
                      },
                      {
                        "name": "rating",
                        "importance": 0.0275
                      }
                    ],
                    "decomposition": {
                      "base": 0.4801,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2284
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0287
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0268
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0252
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0152
                        }
                      ],
                      "others": -0.0295,
                      "total": 0.2341,
                      "log_link": false,
                      "margin_base": 0.48008,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.228404
                        },
                        {
                          "name": "rating",
                          "margin": 0.028748
                        },
                        {
                          "name": "touches",
                          "margin": -0.026839
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.025191
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.015246
                        }
                      ],
                      "others_margin": -0.029383
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.927727222442627,
                    "model_output": 6.9277,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0922
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0582
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0462
                      },
                      {
                        "name": "rating",
                        "importance": 0.0313
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0279
                      }
                    ],
                    "decomposition": {
                      "base": 6.7972,
                      "items": [
                        {
                          "name": "totalPass",
                          "contribution": 0.1357
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0614
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0332
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": 0.0161
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0144
                        }
                      ],
                      "others": -0.0075,
                      "total": 6.9277,
                      "log_link": false,
                      "margin_base": 6.797222,
                      "item_margins": [
                        {
                          "name": "totalPass",
                          "margin": 0.135679
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.061371
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.033241
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": 0.016073
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.014442
                        }
                      ],
                      "others_margin": -0.00756
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 36,
                  "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.0130, quality 0.861)",
              "stats": {
                "interceptions": 0.3171,
                "tackles": 0.6058,
                "tackles_won": 0.4784,
                "clearances": 0.7365,
                "aerial_won": 0.3373,
                "total_shots": 0.2372,
                "rating": 6.9277,
                "minutes": 27.47,
                "total_pass": 33.4175,
                "accurate_pass": 31.234,
                "duels_won": 1.8622,
                "total_long_balls": 1.0225,
                "accurate_long_balls": 0.8248,
                "total_own_half_passes": 12.438,
                "accurate_own_half_passes": 12.2316,
                "total_opp_half_passes": 20.9794,
                "accurate_opp_half_passes": 19.0025,
                "crosses_total": 0.2881,
                "crosses_accurate": 0.0,
                "touches": 39.4429,
                "possession_lost": 3.5156,
                "dispossessed": 0.301,
                "duels_lost": 0.7701,
                "aerial_lost": 0.1977,
                "total_contest": 0.4873,
                "won_contest": 0.3192,
                "ball_recovery": 1.731,
                "challenges_lost": 0.1032,
                "fouls": 0.0,
                "fouls_drawn": 0.8718,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0047,
                "expected_assists": 0.0218,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 14.1503,
                "total_progression": 71.8222,
                "progressive_carries": 0.7141,
                "key_pass": 0.1977,
                "shots_off_target": 0.2371
              },
              "params": {
                "market_value_eur": 64000000,
                "quality_factor": 0.8608,
                "boost_factor": 1.013,
                "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.0063)",
              "stats": {
                "interceptions": 0.3151,
                "tackles": 0.6058,
                "tackles_won": 0.4754,
                "clearances": 0.7365,
                "aerial_won": 0.3373,
                "total_shots": 0.2357,
                "rating": 6.9277,
                "minutes": 27.47,
                "total_pass": 33.4175,
                "accurate_pass": 31.234,
                "duels_won": 1.8622,
                "total_long_balls": 1.0225,
                "accurate_long_balls": 0.8248,
                "total_own_half_passes": 12.438,
                "accurate_own_half_passes": 12.2316,
                "total_opp_half_passes": 20.9794,
                "accurate_opp_half_passes": 19.0025,
                "crosses_total": 0.2863,
                "crosses_accurate": 0.0,
                "touches": 39.4429,
                "possession_lost": 3.5156,
                "dispossessed": 0.301,
                "duels_lost": 0.7701,
                "aerial_lost": 0.1977,
                "total_contest": 0.4873,
                "won_contest": 0.3192,
                "ball_recovery": 1.731,
                "challenges_lost": 0.1032,
                "fouls": 0.0016,
                "fouls_drawn": 0.8679,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0047,
                "expected_assists": 0.0218,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 14.1503,
                "total_progression": 71.8222,
                "progressive_carries": 0.7141,
                "key_pass": 0.1977,
                "shots_off_target": 0.2371
              },
              "params": {
                "blend_weight": 0.0063,
                "history_matches": 36,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.3052,
                "prior_reliability": 0.08,
                "competition": "La Liga",
                "squad": "Barcelona"
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 27.5 to 12.9 expected minutes (appearance prob 0.51)",
              "stats": {
                "interceptions": 0.1481,
                "tackles": 0.2847,
                "tackles_won": 0.2234,
                "clearances": 0.3461,
                "aerial_won": 0.1585,
                "total_shots": 0.1114,
                "rating": 6.9277,
                "minutes": 12.91,
                "total_pass": 15.7051,
                "accurate_pass": 14.679,
                "duels_won": 0.8752,
                "total_long_balls": 0.4805,
                "accurate_long_balls": 0.3876,
                "total_own_half_passes": 5.8455,
                "accurate_own_half_passes": 5.7485,
                "total_opp_half_passes": 9.8596,
                "accurate_opp_half_passes": 8.9306,
                "crosses_total": 0.1346,
                "crosses_accurate": 0.0,
                "touches": 18.5369,
                "possession_lost": 1.6522,
                "dispossessed": 0.301,
                "duels_lost": 0.3619,
                "aerial_lost": 0.1977,
                "total_contest": 0.229,
                "won_contest": 0.15,
                "ball_recovery": 0.8135,
                "challenges_lost": 0.1032,
                "fouls": 0.0008,
                "fouls_drawn": 0.4079,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0022,
                "expected_assists": 0.0102,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 6.6502,
                "total_progression": 33.7541,
                "progressive_carries": 0.3356,
                "key_pass": 0.0929,
                "shots_off_target": 0.1114,
                "bench_appearance_probability": 0.508,
                "bench_expected_minutes": 12.91
              },
              "params": {
                "expected_minutes": 12.91,
                "projection_minutes": 27.47,
                "minutes_scale": 0.47,
                "appearance_probability": 0.508
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.1481,
                "tackles": 0.2847,
                "tackles_won": 0.2234,
                "clearances": 0.3461,
                "aerial_won": 0.1585,
                "total_shots": 0.1114,
                "rating": 6.9277,
                "minutes": 12.91,
                "total_pass": 15.7051,
                "accurate_pass": 14.679,
                "duels_won": 0.8752,
                "total_long_balls": 0.4805,
                "accurate_long_balls": 0.3876,
                "total_own_half_passes": 5.8455,
                "accurate_own_half_passes": 5.7485,
                "total_opp_half_passes": 9.8596,
                "accurate_opp_half_passes": 8.9306,
                "crosses_total": 0.1346,
                "crosses_accurate": 0.0,
                "touches": 18.5369,
                "possession_lost": 1.6522,
                "dispossessed": 0.301,
                "duels_lost": 0.3619,
                "aerial_lost": 0.1977,
                "total_contest": 0.229,
                "won_contest": 0.15,
                "ball_recovery": 0.8135,
                "challenges_lost": 0.1032,
                "fouls": 0.0008,
                "fouls_drawn": 0.4079,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0022,
                "expected_assists": 0.0102,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 6.6502,
                "total_progression": 33.7541,
                "progressive_carries": 0.3356,
                "key_pass": 0.0929,
                "shots_off_target": 0.1114,
                "bench_appearance_probability": 0.508,
                "bench_expected_minutes": 12.91
              },
              "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.1481,
                "tackles": 0.2847,
                "tackles_won": 0.2234,
                "clearances": 0.3461,
                "aerial_won": 0.1585,
                "total_shots": 0.1114,
                "rating": 6.9277,
                "minutes": 12.91,
                "total_pass": 15.7051,
                "accurate_pass": 14.679,
                "duels_won": 0.8752,
                "total_long_balls": 0.4805,
                "accurate_long_balls": 0.3876,
                "total_own_half_passes": 5.8455,
                "accurate_own_half_passes": 5.7485,
                "total_opp_half_passes": 9.8596,
                "accurate_opp_half_passes": 8.9306,
                "crosses_total": 0.1346,
                "crosses_accurate": 0.0,
                "touches": 18.5369,
                "possession_lost": 1.6522,
                "dispossessed": 0.301,
                "duels_lost": 0.3619,
                "aerial_lost": 0.1977,
                "total_contest": 0.229,
                "won_contest": 0.15,
                "ball_recovery": 0.8135,
                "challenges_lost": 0.1032,
                "fouls": 0.0008,
                "fouls_drawn": 0.4079,
                "blocks": 0.0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0022,
                "expected_assists": 0.0102,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 6.6502,
                "total_progression": 33.7541,
                "progressive_carries": 0.3356,
                "key_pass": 0.0929,
                "shots_off_target": 0.1114,
                "bench_appearance_probability": 0.508,
                "bench_expected_minutes": 12.91,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.765,
                "projected_substitution_game_state_adjustment": -1,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "appearance_probability": 0.508,
                "projected_substitutes": 2,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 12 by projected rating, fifa_overall 85.0)",
              "stats": {
                "interceptions": 0.1481,
                "tackles": 0.2847,
                "tackles_won": 0.2234,
                "clearances": 0.3461,
                "aerial_won": 0.1585,
                "total_shots": 0.1114,
                "rating": 6.9277,
                "minutes": 12.91,
                "total_pass": 15.7051,
                "accurate_pass": 14.679,
                "duels_won": 0.8752,
                "total_long_balls": 0.4805,
                "accurate_long_balls": 0.3876,
                "total_own_half_passes": 5.8455,
                "accurate_own_half_passes": 5.7485,
                "total_opp_half_passes": 9.8596,
                "accurate_opp_half_passes": 8.9306,
                "crosses_total": 0.1346,
                "crosses_accurate": 0.0,
                "touches": 18.5369,
                "possession_lost": 1.6522,
                "dispossessed": 0.301,
                "duels_lost": 0.3619,
                "aerial_lost": 0.1977,
                "total_contest": 0.229,
                "won_contest": 0.15,
                "ball_recovery": 0.8135,
                "challenges_lost": 0.1032,
                "fouls": 0.0008,
                "fouls_drawn": 0.4079,
                "blocks": 0.0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0022,
                "expected_assists": 0.0102,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 6.6502,
                "total_progression": 33.7541,
                "progressive_carries": 0.3356,
                "key_pass": 0.0929,
                "shots_off_target": 0.1114,
                "bench_appearance_probability": 0.508,
                "bench_expected_minutes": 12.91,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.765,
                "projected_substitution_game_state_adjustment": -1,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 85.0
              },
              "params": {
                "match_squad_rank": 12,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 540,
                "fifa_rank": 159.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 85.0
              }
            }
          ]
        },
        "Alejandro Balde": {
          "player_id": 997035,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 3,
          "height": 177,
          "market_value": 55000000,
          "stats": {
            "interceptions": 0,
            "tackles": 0,
            "tackles_won": 0,
            "clearances": 0,
            "aerial_won": 0,
            "total_shots": 0,
            "rating": 6.7389,
            "minutes": 15,
            "total_pass": 10,
            "accurate_pass": 9,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 4,
            "accurate_own_half_passes": 4,
            "total_opp_half_passes": 5,
            "accurate_opp_half_passes": 5,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 14,
            "possession_lost": 2.0029,
            "dispossessed": 0.1382,
            "duels_lost": 1,
            "aerial_lost": 0,
            "total_contest": 1,
            "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.0027,
            "expected_assists": 0.0234,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 4,
            "total_progression": 18,
            "progressive_carries": 1,
            "key_pass": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.371,
            "bench_expected_minutes": 15.17,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.765,
            "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": 16421080,
              "match_date": "2026-10-25",
              "home_team": "FC Barcelona",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 60,
                "rating": 6.1,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1255,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "total_pass": 29,
                "accurate_pass": 29,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 0,
                "duels_won": 1,
                "ball_recovery": 5,
                "saves": 0
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416346,
              "match_date": "2026-09-16",
              "home_team": "FC Barcelona",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 12,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0954,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 11,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083739,
              "match_date": "2026-05-23",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2811,
                "expected_assists": 0.08,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 58,
                "accurate_pass": 53,
                "key_pass": 1,
                "clearances": 2,
                "duels_won": 1,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "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": 45,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0378,
                "expected_assists": 0.0005,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 18,
                "accurate_pass": 14,
                "clearances": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "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": 79,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0196,
                "total_shots": 0,
                "total_pass": 52,
                "accurate_pass": 47,
                "key_pass": 1,
                "tackles": 2,
                "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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083562,
              "match_date": "2026-05-10",
              "home_team": "FC Barcelona",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 2,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 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": 8,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0037,
                "total_shots": 0,
                "total_pass": 9,
                "accurate_pass": 9,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083261,
              "match_date": "2026-04-22",
              "home_team": "FC Barcelona",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 67,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0234,
                "total_shots": 0,
                "total_pass": 51,
                "accurate_pass": 48,
                "tackles": 1,
                "tackles_won": 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": 14083113,
              "match_date": "2026-04-11",
              "home_team": "FC Barcelona",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 64,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0295,
                "total_shots": 0,
                "total_pass": 45,
                "accurate_pass": 43,
                "tackles": 2,
                "tackles_won": 1,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14081789,
              "match_date": "2026-02-28",
              "home_team": "FC Barcelona",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0374,
                "total_shots": 0,
                "total_pass": 74,
                "accurate_pass": 70,
                "tackles": 1,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 1817,
            "combined_rank_score": 965.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 700.0,
            "sofascore_rating": 6.6963,
            "sofascore_appearances": 28.0,
            "fifa_rank": 1231.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 16,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7389,
            "source_file": "data/player_rankings.csv",
            "player_name": "Alejandro Balde",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Nail Omerović",
                  "ranking": 1812
                },
                {
                  "player_name": "Elhan Kastrati",
                  "ranking": 1813
                },
                {
                  "player_name": "Jae-hun Cho",
                  "ranking": 1814
                },
                {
                  "player_name": "Abulfayz Bobomurodov",
                  "ranking": 1815
                },
                {
                  "player_name": "Alejandro Rego Mora",
                  "ranking": 1816
                }
              ],
              "lower": [
                {
                  "player_name": "José Luis Morales",
                  "ranking": 1818
                },
                {
                  "player_name": "Guido Rodríguez",
                  "ranking": 1819
                },
                {
                  "player_name": "Wesley Fofana",
                  "ranking": 1820
                },
                {
                  "player_name": "Marten de Roon",
                  "ranking": 1821
                },
                {
                  "player_name": "Florentino Luís",
                  "ranking": 1822
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 30,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "totalTackle",
              "totalShots",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 30,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 15.16605686531093,
            "bench_appearance_prob": 0.3711844029686786,
            "market_value_adjustment": 1.0144,
            "fbref_prior_metrics": {
              "squad": "Barcelona",
              "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 (30 historical appearances) to 15.2 expected mins (appearance prob 0.37); 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.344,
                "tackles": 0.7866,
                "tackles_won": 0.5385,
                "clearances": 0.621,
                "aerial_won": 0.1722,
                "total_shots": 0.1438,
                "rating": 6.7389,
                "minutes": 30.41,
                "total_pass": 19.4518,
                "accurate_pass": 17.6464,
                "duels_won": 1.7606,
                "total_long_balls": 0.141,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 8.5994,
                "accurate_own_half_passes": 7.9823,
                "total_opp_half_passes": 10.8525,
                "accurate_opp_half_passes": 9.6641,
                "crosses_total": 0.2688,
                "crosses_accurate": 0.0,
                "touches": 28.1046,
                "possession_lost": 3.9591,
                "dispossessed": 0.1362,
                "duels_lost": 1.6413,
                "aerial_lost": 0.0532,
                "total_contest": 1.0948,
                "won_contest": 0.1492,
                "ball_recovery": 2.1134,
                "challenges_lost": 0.0,
                "fouls": 0.5062,
                "fouls_drawn": 0.7328,
                "blocks": 0.0532,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0053,
                "expected_assists": 0.0462,
                "shots_on_target": 0.0,
                "big_chances_created": 0.1659,
                "xgot": 0.0,
                "ball_carries": 7.6867,
                "total_progression": 36.005,
                "progressive_carries": 1.0869,
                "key_pass": 0.4348,
                "shots_off_target": 0.1438
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-31T10:29:25.210665+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 626,
                    "rows": 22004
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-25",
                    "opponent": "Real Madrid",
                    "minutes": 60.0,
                    "is_starting": false,
                    "weight": 0.1512,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Real Racing Club",
                    "minutes": 12.0,
                    "is_starting": false,
                    "weight": 0.1285,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1092,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Real Betis",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.0928,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Deportivo Alavés",
                    "minutes": 79.0,
                    "is_starting": true,
                    "weight": 0.0789,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "Real Madrid",
                    "minutes": 2.0,
                    "is_starting": false,
                    "weight": 0.0671,
                    "rating": 0.0
                  },
                  {
                    "match_date": "2026-04-25",
                    "opponent": "Getafe",
                    "minutes": 8.0,
                    "is_starting": false,
                    "weight": 0.057,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-04-22",
                    "opponent": "Celta Vigo",
                    "minutes": 67.0,
                    "is_starting": false,
                    "weight": 0.0485,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-04-11",
                    "opponent": "Espanyol",
                    "minutes": 64.0,
                    "is_starting": true,
                    "weight": 0.0412,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-02-28",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.035,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalClearance": 0.8022,
                  "aerialWon": 0.1131,
                  "totalClearance_p90": 1.0288,
                  "totalTackle": 0.9631,
                  "totalPass": 34.4526
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.3440091013908386,
                    "model_output": 0.344,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2977
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0446
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0318
                      },
                      {
                        "name": "touches",
                        "importance": 0.0281
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0208
                      }
                    ],
                    "decomposition": {
                      "base": 0.8678,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4855
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0337
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.019
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0134
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0083
                        }
                      ],
                      "others": -0.0185,
                      "total": 0.344,
                      "log_link": true,
                      "margin_base": -0.141777,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.819694
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.092364
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.053164
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.037024
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.023179
                        }
                      ],
                      "others_margin": -0.052571
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 0.7866472005844116,
                    "model_output": 0.7866,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2493
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0731
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0475
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0414
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.0245
                      }
                    ],
                    "decomposition": {
                      "base": 1.3878,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.7395
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.036
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0273
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0206
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0205
                        }
                      ],
                      "others": 0.0751,
                      "total": 0.7866,
                      "log_link": true,
                      "margin_base": 0.327722,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.761116
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.054095
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.039137
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.029373
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.029166
                        }
                      ],
                      "others_margin": 0.100393
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.538533091545105,
                    "model_output": 0.5385,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1966
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0678
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0471
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0406
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0252
                      }
                    ],
                    "decomposition": {
                      "base": 0.8471,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4405
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0409
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0279
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0199
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.015
                        }
                      ],
                      "others": 0.0282,
                      "total": 0.5385,
                      "log_link": true,
                      "margin_base": -0.165887,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.733913
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.095891
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.06044
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.041021
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.029798
                        }
                      ],
                      "others_margin": 0.053744
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 0.6209933161735535,
                    "model_output": 0.621,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2929
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1447
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.1031
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0342
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0223
                      }
                    ],
                    "decomposition": {
                      "base": 3.4227,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -2.1207
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.3165
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.1067
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0701
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0563
                        }
                      ],
                      "others": -0.1314,
                      "total": 0.621,
                      "log_link": true,
                      "margin_base": 1.230438,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.966537
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.278549
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.114584
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.083154
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.072177
                        }
                      ],
                      "others_margin": -0.191871
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.172244593501091,
                    "model_output": 0.1722,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1591
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1548
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0782
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0406
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 1.3743,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.8362
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.2078
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0588
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0311
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0204
                        }
                      ],
                      "others": -0.0478,
                      "total": 0.1722,
                      "log_link": true,
                      "margin_base": 0.31798,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.93762
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.488115
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.196131
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.121464
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.088798
                        }
                      ],
                      "others_margin": -0.244691
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.14376391470432281,
                    "model_output": 0.1438,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1011
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0687
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0377
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0308
                      },
                      {
                        "name": "rating",
                        "importance": 0.0275
                      }
                    ],
                    "decomposition": {
                      "base": 0.4801,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2239
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0674
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0278
                        },
                        {
                          "name": "aerialLost",
                          "contribution": 0.0139
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0132
                        }
                      ],
                      "others": -0.0443,
                      "total": 0.1438,
                      "log_link": false,
                      "margin_base": 0.48008,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.223899
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.06739
                        },
                        {
                          "name": "rating",
                          "margin": -0.027781
                        },
                        {
                          "name": "aerialLost",
                          "margin": 0.013866
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.013168
                        }
                      ],
                      "others_margin": -0.04428
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.738920211791992,
                    "model_output": 6.7389,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0922
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0582
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0462
                      },
                      {
                        "name": "rating",
                        "importance": 0.0313
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0279
                      }
                    ],
                    "decomposition": {
                      "base": 6.7972,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": -0.0214
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0203
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0165
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.013
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0094
                        }
                      ],
                      "others": -0.0107,
                      "total": 6.7389,
                      "log_link": false,
                      "margin_base": 6.797222,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": -0.021423
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.020296
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.016506
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.013005
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.009428
                        }
                      ],
                      "others_margin": -0.010655
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 30,
                  "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.0144, quality 0.840)",
              "stats": {
                "interceptions": 0.349,
                "tackles": 0.798,
                "tackles_won": 0.5463,
                "clearances": 0.6299,
                "aerial_won": 0.1747,
                "total_shots": 0.1459,
                "rating": 6.7389,
                "minutes": 30.41,
                "total_pass": 19.7319,
                "accurate_pass": 17.9005,
                "duels_won": 1.786,
                "total_long_balls": 0.143,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 8.7232,
                "accurate_own_half_passes": 8.0972,
                "total_opp_half_passes": 11.0088,
                "accurate_opp_half_passes": 9.8033,
                "crosses_total": 0.2727,
                "crosses_accurate": 0.0,
                "touches": 28.5093,
                "possession_lost": 4.0161,
                "dispossessed": 0.1382,
                "duels_lost": 1.6649,
                "aerial_lost": 0.054,
                "total_contest": 1.1106,
                "won_contest": 0.1513,
                "ball_recovery": 2.1438,
                "challenges_lost": 0.0,
                "fouls": 0.5135,
                "fouls_drawn": 0.7434,
                "blocks": 0.054,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0054,
                "expected_assists": 0.0469,
                "shots_on_target": 0.0,
                "big_chances_created": 0.1683,
                "xgot": 0.0,
                "ball_carries": 7.7974,
                "total_progression": 36.5235,
                "progressive_carries": 1.1026,
                "key_pass": 0.4411,
                "shots_off_target": 0.1459
              },
              "params": {
                "market_value_eur": 55000000,
                "quality_factor": 0.8399,
                "boost_factor": 1.0144,
                "reference_quality": 0.505,
                "history_matches": 30,
                "history_shrink": 0.1429,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 30.4 to 15.2 expected minutes (appearance prob 0.37)",
              "stats": {
                "interceptions": 0.1741,
                "tackles": 0.398,
                "tackles_won": 0.2725,
                "clearances": 0.3141,
                "aerial_won": 0.0871,
                "total_shots": 0.0728,
                "rating": 6.7389,
                "minutes": 15.17,
                "total_pass": 9.8407,
                "accurate_pass": 8.9273,
                "duels_won": 0.8907,
                "total_long_balls": 0.0713,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 4.3504,
                "accurate_own_half_passes": 4.0382,
                "total_opp_half_passes": 5.4903,
                "accurate_opp_half_passes": 4.8891,
                "crosses_total": 0.136,
                "crosses_accurate": 0.0,
                "touches": 14.2181,
                "possession_lost": 2.0029,
                "dispossessed": 0.1382,
                "duels_lost": 0.8303,
                "aerial_lost": 0.054,
                "total_contest": 0.5539,
                "won_contest": 0.0755,
                "ball_recovery": 1.0692,
                "challenges_lost": 0.0,
                "fouls": 0.2561,
                "fouls_drawn": 0.3707,
                "blocks": 0.0269,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0027,
                "expected_assists": 0.0234,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0839,
                "xgot": 0.0,
                "ball_carries": 3.8887,
                "total_progression": 18.215,
                "progressive_carries": 0.5499,
                "key_pass": 0.22,
                "shots_off_target": 0.0728,
                "bench_appearance_probability": 0.371,
                "bench_expected_minutes": 15.17
              },
              "params": {
                "expected_minutes": 15.17,
                "projection_minutes": 30.41,
                "minutes_scale": 0.4987,
                "appearance_probability": 0.371
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.1741,
                "tackles": 0.398,
                "tackles_won": 0.2725,
                "clearances": 0.3141,
                "aerial_won": 0.0871,
                "total_shots": 0.0728,
                "rating": 6.7389,
                "minutes": 15.17,
                "total_pass": 9.8407,
                "accurate_pass": 8.9273,
                "duels_won": 0.8907,
                "total_long_balls": 0.0713,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 4.3504,
                "accurate_own_half_passes": 4.0382,
                "total_opp_half_passes": 5.4903,
                "accurate_opp_half_passes": 4.8891,
                "crosses_total": 0.136,
                "crosses_accurate": 0.0,
                "touches": 14.2181,
                "possession_lost": 2.0029,
                "dispossessed": 0.1382,
                "duels_lost": 0.8303,
                "aerial_lost": 0.054,
                "total_contest": 0.5539,
                "won_contest": 0.0755,
                "ball_recovery": 1.0692,
                "challenges_lost": 0.0,
                "fouls": 0.2561,
                "fouls_drawn": 0.3707,
                "blocks": 0.0269,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0027,
                "expected_assists": 0.0234,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0839,
                "xgot": 0.0,
                "ball_carries": 3.8887,
                "total_progression": 18.215,
                "progressive_carries": 0.5499,
                "key_pass": 0.22,
                "shots_off_target": 0.0728,
                "bench_appearance_probability": 0.371,
                "bench_expected_minutes": 15.17
              },
              "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.1741,
                "tackles": 0.398,
                "tackles_won": 0.2725,
                "clearances": 0.3141,
                "aerial_won": 0.0871,
                "total_shots": 0.0728,
                "rating": 6.7389,
                "minutes": 15.17,
                "total_pass": 9.8407,
                "accurate_pass": 8.9273,
                "duels_won": 0.8907,
                "total_long_balls": 0.0713,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 4.3504,
                "accurate_own_half_passes": 4.0382,
                "total_opp_half_passes": 5.4903,
                "accurate_opp_half_passes": 4.8891,
                "crosses_total": 0.136,
                "crosses_accurate": 0.0,
                "touches": 14.2181,
                "possession_lost": 2.0029,
                "dispossessed": 0.1382,
                "duels_lost": 0.8303,
                "aerial_lost": 0.054,
                "total_contest": 0.5539,
                "won_contest": 0.0755,
                "ball_recovery": 1.0692,
                "challenges_lost": 0.0,
                "fouls": 0.2561,
                "fouls_drawn": 0.3707,
                "blocks": 0.0269,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0027,
                "expected_assists": 0.0234,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0839,
                "xgot": 0.0,
                "ball_carries": 3.8887,
                "total_progression": 18.215,
                "progressive_carries": 0.5499,
                "key_pass": 0.22,
                "shots_off_target": 0.0728,
                "bench_appearance_probability": 0.371,
                "bench_expected_minutes": 15.17,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.765,
                "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.371,
                "projected_substitutes": 2,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 16 by projected rating, fifa_overall 78.0)",
              "stats": {
                "interceptions": 0.1741,
                "tackles": 0.398,
                "tackles_won": 0.2725,
                "clearances": 0.3141,
                "aerial_won": 0.0871,
                "total_shots": 0.0728,
                "rating": 6.7389,
                "minutes": 15.17,
                "total_pass": 9.8407,
                "accurate_pass": 8.9273,
                "duels_won": 0.8907,
                "total_long_balls": 0.0713,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 4.3504,
                "accurate_own_half_passes": 4.0382,
                "total_opp_half_passes": 5.4903,
                "accurate_opp_half_passes": 4.8891,
                "crosses_total": 0.136,
                "crosses_accurate": 0.0,
                "touches": 14.2181,
                "possession_lost": 2.0029,
                "dispossessed": 0.1382,
                "duels_lost": 0.8303,
                "aerial_lost": 0.054,
                "total_contest": 0.5539,
                "won_contest": 0.0755,
                "ball_recovery": 1.0692,
                "challenges_lost": 0.0,
                "fouls": 0.2561,
                "fouls_drawn": 0.3707,
                "blocks": 0.0269,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0027,
                "expected_assists": 0.0234,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0839,
                "xgot": 0.0,
                "ball_carries": 3.8887,
                "total_progression": 18.215,
                "progressive_carries": 0.5499,
                "key_pass": 0.22,
                "shots_off_target": 0.0728,
                "bench_appearance_probability": 0.371,
                "bench_expected_minutes": 15.17,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.765,
                "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": 16,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 1817,
                "fifa_rank": 1231.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 78.0
              }
            }
          ]
        },
        "Ferran Torres": {
          "player_id": 855833,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 7,
          "height": 183,
          "market_value": 59000000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0291,
            "assist_rate": 0.0683,
            "assists": 0,
            "expected_goals": 0.1105,
            "goal_rate": 0.086,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.6869,
            "minutes": 24,
            "total_pass": 8,
            "accurate_pass": 6,
            "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": 7,
            "accurate_opp_half_passes": 5,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 13,
            "possession_lost": 3.8538,
            "dispossessed": 0.4539,
            "duels_lost": 2,
            "aerial_won": 0,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 1,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.1126,
            "ball_carries": 3,
            "total_progression": 10,
            "progressive_carries": 0,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.573,
            "bench_expected_minutes": 23.61,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.765,
            "projected_substitution_game_state_adjustment": -1,
            "substitution_usage": "available_bench_not_projected_used",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 84.0
          },
          "latest_10_games": [
            {
              "match_id": 14083739,
              "match_date": "2026-05-23",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Valencia",
              "stats": {
                "minutes": 83,
                "rating": 6.6,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.091,
                "expected_assists": 0.0111,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 44,
                "accurate_pass": 34,
                "key_pass": 1,
                "duels_won": 4,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "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": 0,
              "team": "FC Barcelona",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 28,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0165,
                "total_shots": 0,
                "total_pass": 12,
                "accurate_pass": 7,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083562,
              "match_date": "2026-05-10",
              "home_team": "FC Barcelona",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 77,
                "rating": 7.5,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3143,
                "expected_assists": 0.1374,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 16,
                "accurate_pass": 11,
                "key_pass": 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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083495,
              "match_date": "2026-05-02",
              "home_team": "Osasuna",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 28,
                "rating": 7.6,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3333,
                "expected_assists": 0.0707,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 20,
                "accurate_pass": 19,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083261,
              "match_date": "2026-04-22",
              "home_team": "FC Barcelona",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 73,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0551,
                "expected_assists": 0.0688,
                "total_shots": 1,
                "total_pass": 17,
                "accurate_pass": 16,
                "key_pass": 2,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083113,
              "match_date": "2026-04-11",
              "home_team": "FC Barcelona",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 74,
                "rating": 8.7,
                "goal_rate": 2.0,
                "goals": 2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.5961,
                "expected_assists": 0.0301,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 25,
                "accurate_pass": 23,
                "key_pass": 2,
                "tackles": 1,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14081810,
              "match_date": "2026-04-04",
              "home_team": "Atlético Madrid",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 45,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1977,
                "expected_assists": 0.0379,
                "total_shots": 3,
                "shots_on_target": 3,
                "total_pass": 8,
                "accurate_pass": 8,
                "clearances": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 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": 45,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0293,
                "expected_assists": 0.0096,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 9,
                "accurate_pass": 5,
                "tackles": 1,
                "clearances": 1,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083597,
              "match_date": "2026-03-07",
              "home_team": "Athletic Club",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 62,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0179,
                "expected_assists": 0.0001,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 5,
                "accurate_pass": 2,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14081789,
              "match_date": "2026-02-28",
              "home_team": "FC Barcelona",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 67,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.07,
                "expected_assists": 0.0127,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 10,
                "accurate_pass": 7,
                "aerial_won": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 631,
            "combined_rank_score": 322.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 418.0,
            "sofascore_rating": 6.925,
            "sofascore_appearances": 4.0,
            "fifa_rank": 227.0,
            "fifa_overall": 84.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 17,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6869,
            "source_file": "data/player_rankings.csv",
            "player_name": "Ferran Torres",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Matheuzinho",
                  "ranking": 626
                },
                {
                  "player_name": "Naeem Mohammed",
                  "ranking": 627
                },
                {
                  "player_name": "Ivan Toney",
                  "ranking": 628
                },
                {
                  "player_name": "Antoine Griezmann",
                  "ranking": 629
                },
                {
                  "player_name": "Kingsley Coman",
                  "ranking": 630
                }
              ],
              "lower": [
                {
                  "player_name": "Achraf Hakimi",
                  "ranking": 632
                },
                {
                  "player_name": "Bong-jin Choi",
                  "ranking": 633
                },
                {
                  "player_name": "João Félix",
                  "ranking": 634
                },
                {
                  "player_name": "Kai Havertz",
                  "ranking": 635
                },
                {
                  "player_name": "Makhmud Makhamadzhonov",
                  "ranking": 636
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 33,
          "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": 33,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 23.607043414228116,
            "bench_appearance_prob": 0.5730474279194597,
            "market_value_adjustment": 1.0136,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost M_service (33 historical appearances) to 23.6 expected mins (appearance prob 0.57)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.4756,
                "expected_assists": 0.0339,
                "assists": 0.0797,
                "assist_rate": 0.0797,
                "expected_goals": 0.1287,
                "goals": 0.1002,
                "goal_rate": 0.1002,
                "shots_on_target": 0.3864,
                "total_shots": 1.076,
                "rating": 6.6869,
                "minutes": 27.89,
                "total_pass": 9.4527,
                "accurate_pass": 7.3439,
                "duels_won": 0.8224,
                "total_long_balls": 0.2096,
                "accurate_long_balls": 0.1587,
                "total_own_half_passes": 1.4103,
                "accurate_own_half_passes": 1.3399,
                "total_opp_half_passes": 8.0424,
                "accurate_opp_half_passes": 6.004,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 15.0325,
                "possession_lost": 4.4919,
                "dispossessed": 0.4478,
                "duels_lost": 2.0386,
                "aerial_won": 0.1213,
                "aerial_lost": 0.3858,
                "interceptions": 0.0,
                "tackles_won": 0.1588,
                "tackles": 0.2735,
                "clearances": 0.4084,
                "total_contest": 0.5711,
                "won_contest": 0.0,
                "challenges_lost": 0.583,
                "fouls": 0.0509,
                "fouls_drawn": 0.4276,
                "blocks": 0.0,
                "big_chances_created": 0.0433,
                "big_chances_missed": 0.0975,
                "xgot": 0.1312,
                "ball_carries": 3.4749,
                "total_progression": 12.0726,
                "progressive_carries": 0.5524,
                "shots_off_target": 0.6896
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-31T10:30:21.314387+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 902,
                    "rows": 24945
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Valencia",
                    "minutes": 83.0,
                    "is_starting": true,
                    "weight": 0.1507,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Deportivo Alavés",
                    "minutes": 28.0,
                    "is_starting": false,
                    "weight": 0.1281,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "Real Madrid",
                    "minutes": 77.0,
                    "is_starting": true,
                    "weight": 0.1089,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Osasuna",
                    "minutes": 28.0,
                    "is_starting": false,
                    "weight": 0.0926,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-04-22",
                    "opponent": "Celta Vigo",
                    "minutes": 73.0,
                    "is_starting": true,
                    "weight": 0.0787,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-04-11",
                    "opponent": "Espanyol",
                    "minutes": 74.0,
                    "is_starting": true,
                    "weight": 0.0669,
                    "rating": 8.7
                  },
                  {
                    "match_date": "2026-04-04",
                    "opponent": "Atlético Madrid",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.0568,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-03-22",
                    "opponent": "Rayo Vallecano",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.0483,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-03-07",
                    "opponent": "Athletic Club",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.0411,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-02-28",
                    "opponent": "Villarreal",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.0349,
                    "rating": 6.3
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalShots": 1.6182,
                  "expectedGoals": 0.2268,
                  "creative_index": 0.2713,
                  "expectedAssists": 0.0456,
                  "keyPass": 0.6099
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.4756055474281311,
                    "model_output": 0.4756,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1583
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1351
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0716
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0542
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.028
                      }
                    ],
                    "decomposition": {
                      "base": 0.8899,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3949
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0397
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0333
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.019
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0174
                        }
                      ],
                      "others": 0.0552,
                      "total": 0.4756,
                      "log_link": true,
                      "margin_base": -0.11669,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.586584
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.083661
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.075984
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.04615
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.042173
                        }
                      ],
                      "others_margin": 0.12373
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.03393268585205078,
                    "model_output": 0.0339,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1213
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1076
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0864
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0618
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0476
                      }
                    ],
                    "decomposition": {
                      "base": 0.085,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0394
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0084
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0031
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0031
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0017
                        }
                      ],
                      "others": -0.005,
                      "total": 0.0339,
                      "log_link": true,
                      "margin_base": -2.465163,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.622053
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.204426
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.080746
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.07915
                        },
                        {
                          "name": "goals",
                          "margin": 0.045866
                        }
                      ],
                      "others_margin": -0.139195
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.07965989410877228,
                    "model_output": 0.0797,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0508
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0447
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0336
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0324
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0322
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.022
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0065
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0056
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0053
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0037
                        }
                      ],
                      "others": 0.0191,
                      "total": 0.0797,
                      "log_link": true,
                      "margin_base": -2.463734,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.299048
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.108458
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.094681
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.089532
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.063693
                        }
                      ],
                      "others_margin": 0.272409
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.12871339917182922,
                    "model_output": 0.1287,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1242
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0778
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0743
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0437
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0241
                      }
                    ],
                    "decomposition": {
                      "base": 0.0911,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0307
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0193
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0096
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0075
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.0079
                        }
                      ],
                      "others": 0.024,
                      "total": 0.1287,
                      "log_link": true,
                      "margin_base": -2.395469,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.410743
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.277022
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.113205
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.081163
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": 0.078366
                        }
                      ],
                      "others_margin": 0.206288
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.10020820796489716,
                    "model_output": 0.1002,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0846
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0655
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0399
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0358
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0268
                      }
                    ],
                    "decomposition": {
                      "base": 0.0947,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0353
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0115
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0113
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0103
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.0093
                        }
                      ],
                      "others": -0.0016,
                      "total": 0.1002,
                      "log_link": true,
                      "margin_base": -2.357331,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.466354
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.176655
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.147712
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.118236
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": 0.096323
                        }
                      ],
                      "others_margin": -0.015747
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.3863978385925293,
                    "model_output": 0.3864,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1146
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0928
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0753
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0297
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.3177,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1378
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0405
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0408
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.041
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0232
                        }
                      ],
                      "others": 0.061,
                      "total": 0.3864,
                      "log_link": true,
                      "margin_base": -1.146731,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.568774
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.203218
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.1697
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": 0.145917
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.07409
                        }
                      ],
                      "others_margin": 0.171692
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.0759484767913818,
                    "model_output": 1.0759,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1488
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1213
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0474
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0446
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0276
                      }
                    ],
                    "decomposition": {
                      "base": 0.9817,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.551
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.3437
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0869
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.045
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0398
                        }
                      ],
                      "others": 0.1298,
                      "total": 1.0759,
                      "log_link": false,
                      "margin_base": 0.98173,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.550964
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.34369
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.086851
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.044998
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.039787
                        }
                      ],
                      "others_margin": 0.129856
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.686919689178467,
                    "model_output": 6.6869,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.102
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0743
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0503
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0382
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 6.856,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0762
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0331
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0162
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0124
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0084
                        }
                      ],
                      "others": -0.0228,
                      "total": 6.6869,
                      "log_link": false,
                      "margin_base": 6.856008,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.076187
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.033123
                        },
                        {
                          "name": "rating",
                          "margin": -0.01622
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.01243
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.008404
                        }
                      ],
                      "others_margin": -0.022727
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 33,
                  "role_matches": 10,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0136, quality 0.850)",
              "stats": {
                "key_pass": 0.4821,
                "expected_assists": 0.0344,
                "assists": 0.0807,
                "assist_rate": 0.0807,
                "expected_goals": 0.1305,
                "goals": 0.1016,
                "goal_rate": 0.1016,
                "shots_on_target": 0.3917,
                "total_shots": 1.0907,
                "rating": 6.6869,
                "minutes": 27.89,
                "total_pass": 9.5813,
                "accurate_pass": 7.4438,
                "duels_won": 0.8336,
                "total_long_balls": 0.2125,
                "accurate_long_balls": 0.1609,
                "total_own_half_passes": 1.4295,
                "accurate_own_half_passes": 1.3581,
                "total_opp_half_passes": 8.1518,
                "accurate_opp_half_passes": 6.0857,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 15.2369,
                "possession_lost": 4.553,
                "dispossessed": 0.4539,
                "duels_lost": 2.0663,
                "aerial_won": 0.1229,
                "aerial_lost": 0.391,
                "interceptions": 0.0,
                "tackles_won": 0.161,
                "tackles": 0.2772,
                "clearances": 0.414,
                "total_contest": 0.5789,
                "won_contest": 0.0,
                "challenges_lost": 0.5909,
                "fouls": 0.0516,
                "fouls_drawn": 0.4334,
                "blocks": 0.0,
                "big_chances_created": 0.0439,
                "big_chances_missed": 0.0988,
                "xgot": 0.133,
                "ball_carries": 3.5222,
                "total_progression": 12.2368,
                "progressive_carries": 0.5599,
                "shots_off_target": 0.699
              },
              "params": {
                "market_value_eur": 59000000,
                "quality_factor": 0.8503,
                "boost_factor": 1.0136,
                "reference_quality": 0.505,
                "history_matches": 33,
                "history_shrink": 0.1316,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 27.9 to 23.6 expected minutes (appearance prob 0.57)",
              "stats": {
                "key_pass": 0.4081,
                "expected_assists": 0.0291,
                "assists": 0.0683,
                "assist_rate": 0.0683,
                "expected_goals": 0.1105,
                "goals": 0.086,
                "goal_rate": 0.086,
                "shots_on_target": 0.3315,
                "total_shots": 0.9232,
                "rating": 6.6869,
                "minutes": 23.61,
                "total_pass": 8.1099,
                "accurate_pass": 6.3007,
                "duels_won": 0.7056,
                "total_long_balls": 0.1799,
                "accurate_long_balls": 0.1362,
                "total_own_half_passes": 1.21,
                "accurate_own_half_passes": 1.1495,
                "total_opp_half_passes": 6.9,
                "accurate_opp_half_passes": 5.1511,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 12.897,
                "possession_lost": 3.8538,
                "dispossessed": 0.4539,
                "duels_lost": 1.749,
                "aerial_won": 0.104,
                "aerial_lost": 0.391,
                "interceptions": 0.0,
                "tackles_won": 0.1363,
                "tackles": 0.2346,
                "clearances": 0.3504,
                "total_contest": 0.49,
                "won_contest": 0.0,
                "challenges_lost": 0.5909,
                "fouls": 0.0437,
                "fouls_drawn": 0.3668,
                "blocks": 0.0,
                "big_chances_created": 0.0372,
                "big_chances_missed": 0.0836,
                "xgot": 0.1126,
                "ball_carries": 2.9813,
                "total_progression": 10.3576,
                "progressive_carries": 0.4739,
                "shots_off_target": 0.5917,
                "bench_appearance_probability": 0.573,
                "bench_expected_minutes": 23.61
              },
              "params": {
                "expected_minutes": 23.61,
                "projection_minutes": 27.89,
                "minutes_scale": 0.8464,
                "appearance_probability": 0.573
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.4081,
                "expected_assists": 0.0291,
                "assists": 0.0683,
                "assist_rate": 0.0683,
                "expected_goals": 0.1105,
                "goals": 0.086,
                "goal_rate": 0.086,
                "shots_on_target": 0.3315,
                "total_shots": 0.9232,
                "rating": 6.6869,
                "minutes": 23.61,
                "total_pass": 8.1099,
                "accurate_pass": 6.3007,
                "duels_won": 0.7056,
                "total_long_balls": 0.1799,
                "accurate_long_balls": 0.1362,
                "total_own_half_passes": 1.21,
                "accurate_own_half_passes": 1.1495,
                "total_opp_half_passes": 6.9,
                "accurate_opp_half_passes": 5.1511,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 12.897,
                "possession_lost": 3.8538,
                "dispossessed": 0.4539,
                "duels_lost": 1.749,
                "aerial_won": 0.104,
                "aerial_lost": 0.391,
                "interceptions": 0.0,
                "tackles_won": 0.1363,
                "tackles": 0.2346,
                "clearances": 0.3504,
                "total_contest": 0.49,
                "won_contest": 0.0,
                "challenges_lost": 0.5909,
                "fouls": 0.0437,
                "fouls_drawn": 0.3668,
                "blocks": 0.0,
                "big_chances_created": 0.0372,
                "big_chances_missed": 0.0836,
                "xgot": 0.1126,
                "ball_carries": 2.9813,
                "total_progression": 10.3576,
                "progressive_carries": 0.4739,
                "shots_off_target": 0.5917,
                "bench_appearance_probability": 0.573,
                "bench_expected_minutes": 23.61
              },
              "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.4081,
                "expected_assists": 0.0291,
                "assist_rate": 0.0683,
                "assists": 0,
                "expected_goals": 0.1105,
                "goal_rate": 0.086,
                "goals": 0,
                "shots_on_target": 0.3315,
                "total_shots": 0.9232,
                "rating": 6.6869,
                "minutes": 23.61,
                "total_pass": 8.1099,
                "accurate_pass": 6.3007,
                "duels_won": 0.7056,
                "total_long_balls": 0.1799,
                "accurate_long_balls": 0.1362,
                "total_own_half_passes": 1.21,
                "accurate_own_half_passes": 1.1495,
                "total_opp_half_passes": 6.9,
                "accurate_opp_half_passes": 5.1511,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 12.897,
                "possession_lost": 3.8538,
                "dispossessed": 0.4539,
                "duels_lost": 1.749,
                "aerial_won": 0.104,
                "aerial_lost": 0.391,
                "interceptions": 0.0,
                "tackles_won": 0.1363,
                "tackles": 0.2346,
                "clearances": 0.3504,
                "total_contest": 0.49,
                "won_contest": 0.0,
                "challenges_lost": 0.5909,
                "fouls": 0.0437,
                "fouls_drawn": 0.3668,
                "blocks": 0.0,
                "big_chances_created": 0.0372,
                "big_chances_missed": 0.0836,
                "xgot": 0.1126,
                "ball_carries": 2.9813,
                "total_progression": 10.3576,
                "progressive_carries": 0.4739,
                "shots_off_target": 0.5917,
                "bench_appearance_probability": 0.573,
                "bench_expected_minutes": 23.61,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.765,
                "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.573,
                "projected_substitutes": 2,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 17 by projected rating, fifa_overall 84.0)",
              "stats": {
                "key_pass": 0.4081,
                "expected_assists": 0.0291,
                "assist_rate": 0.0683,
                "assists": 0,
                "expected_goals": 0.1105,
                "goal_rate": 0.086,
                "goals": 0,
                "shots_on_target": 0.3315,
                "total_shots": 0.9232,
                "rating": 6.6869,
                "minutes": 23.61,
                "total_pass": 8.1099,
                "accurate_pass": 6.3007,
                "duels_won": 0.7056,
                "total_long_balls": 0.1799,
                "accurate_long_balls": 0.1362,
                "total_own_half_passes": 1.21,
                "accurate_own_half_passes": 1.1495,
                "total_opp_half_passes": 6.9,
                "accurate_opp_half_passes": 5.1511,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 12.897,
                "possession_lost": 3.8538,
                "dispossessed": 0.4539,
                "duels_lost": 1.749,
                "aerial_won": 0.104,
                "aerial_lost": 0.391,
                "interceptions": 0.0,
                "tackles_won": 0.1363,
                "tackles": 0.2346,
                "clearances": 0.3504,
                "total_contest": 0.49,
                "won_contest": 0.0,
                "challenges_lost": 0.5909,
                "fouls": 0.0437,
                "fouls_drawn": 0.3668,
                "blocks": 0.0,
                "big_chances_created": 0.0372,
                "big_chances_missed": 0.0836,
                "xgot": 0.1126,
                "ball_carries": 2.9813,
                "total_progression": 10.3576,
                "progressive_carries": 0.4739,
                "shots_off_target": 0.5917,
                "bench_appearance_probability": 0.573,
                "bench_expected_minutes": 23.61,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.765,
                "projected_substitution_game_state_adjustment": -1,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 84.0
              },
              "params": {
                "match_squad_rank": 17,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 631,
                "fifa_rank": 227.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 84.0
              }
            }
          ]
        },
        "Dani Olmo": {
          "player_id": 789071,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 20,
          "height": 182,
          "market_value": 58000000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0934,
            "assist_rate": 0.1284,
            "assists": 0,
            "expected_goals": 0.0862,
            "goal_rate": 0.2013,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 2,
            "rating": 7.1378,
            "minutes": 25,
            "total_pass": 20,
            "accurate_pass": 19,
            "duels_won": 2,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "total_own_half_passes": 6,
            "accurate_own_half_passes": 5,
            "total_opp_half_passes": 15,
            "accurate_opp_half_passes": 13,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 27,
            "possession_lost": 2.8336,
            "dispossessed": 0.3977,
            "duels_lost": 1,
            "aerial_won": 0,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 1,
            "total_contest": 1,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.1611,
            "ball_carries": 9,
            "total_progression": 21,
            "progressive_carries": 0,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.597,
            "bench_expected_minutes": 25.47,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.765,
            "projected_substitution_game_state_adjustment": -1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0803,
            "projected_assists": 0,
            "assist_probability": 0.0865,
            "finishing_factor": 1.25,
            "creation_factor": 1.2219,
            "fifa_overall": 84.0
          },
          "latest_10_games": [
            {
              "match_id": 16421068,
              "match_date": "2026-10-17",
              "home_team": "Real Betis",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 28,
                "rating": 8.2,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1,
                "expected_assists": 0.0445,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 19,
                "accurate_pass": 18,
                "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": 16421060,
              "match_date": "2026-10-10",
              "home_team": "FC Barcelona",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Getafe",
              "stats": {
                "minutes": 61,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2181,
                "expected_assists": 0.0986,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 33,
                "accurate_pass": 28,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416349,
              "match_date": "2026-09-19",
              "home_team": "Sevilla",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 14,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0865,
                "expected_assists": 0.0233,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 19,
                "accurate_pass": 19,
                "key_pass": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416346,
              "match_date": "2026-09-16",
              "home_team": "FC Barcelona",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 90,
                "rating": 8.8,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.261,
                "expected_assists": 0.6775,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 60,
                "accurate_pass": 60,
                "key_pass": 6,
                "tackles": 1,
                "interceptions": 1,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416329,
              "match_date": "2026-09-13",
              "home_team": "Levante UD",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 24,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0348,
                "total_shots": 0,
                "total_pass": 25,
                "accurate_pass": 25,
                "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": 16416325,
              "match_date": "2026-09-06",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Valencia",
              "stats": {
                "minutes": 15,
                "rating": 7.9,
                "assist_rate": 2.0,
                "assists": 2,
                "expected_goals": 0.1952,
                "expected_assists": 0.4391,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 16,
                "accurate_pass": 15,
                "key_pass": 2,
                "tackles": 1,
                "interceptions": 1,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416295,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 64,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0755,
                "expected_assists": 0.5023,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 37,
                "accurate_pass": 30,
                "key_pass": 2,
                "tackles": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421059,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 27,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0193,
                "expected_assists": 0.2054,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 20,
                "accurate_pass": 19,
                "key_pass": 1,
                "tackles": 1,
                "clearances": 2,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416311,
              "match_date": "2026-08-23",
              "home_team": "Elche",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Elche",
              "stats": {
                "minutes": 25,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1185,
                "expected_assists": 0.0063,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 15,
                "accurate_pass": 15,
                "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": 14083739,
              "match_date": "2026-05-23",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Valencia",
              "stats": {
                "minutes": 62,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0245,
                "expected_assists": 0.2054,
                "total_shots": 1,
                "total_pass": 36,
                "accurate_pass": 29,
                "key_pass": 1,
                "interceptions": 1,
                "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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 426,
            "combined_rank_score": 261.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 292.0,
            "sofascore_rating": 7.05,
            "sofascore_appearances": 2.0,
            "fifa_rank": 230.0,
            "fifa_overall": 84.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 5,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 7.1378,
            "source_file": "data/player_rankings.csv",
            "player_name": "Dani Olmo",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Ismoilbek Usmonxo'jayev",
                  "ranking": 421
                },
                {
                  "player_name": "Seok-joo Yoon",
                  "ranking": 422
                },
                {
                  "player_name": "Harry Wilson",
                  "ranking": 423
                },
                {
                  "player_name": "Christos Tzolis",
                  "ranking": 424
                },
                {
                  "player_name": "Nordi Mukiele",
                  "ranking": 425
                }
              ],
              "lower": [
                {
                  "player_name": "Piotr Zieliński",
                  "ranking": 427
                },
                {
                  "player_name": "Anvar Gofurov",
                  "ranking": 428
                },
                {
                  "player_name": "Ibrokhimkhalil Yuldoshev",
                  "ranking": 429
                },
                {
                  "player_name": "Iliman Ndiaye",
                  "ranking": 430
                },
                {
                  "player_name": "Lisandro Martínez",
                  "ranking": 431
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.763,
          "history_matches": 42,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 42,
            "data_confidence": 0.763,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 25.47,
            "bench_appearance_prob": 0.597,
            "market_value_adjustment": 1.0109,
            "fbref_prior_metrics": {
              "squad": "Barcelona",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 1.0,
              "sub_appearances": 2.0,
              "minutes_per_sub": 27.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.0867
            },
            "rationale": "Bench projection scaled from XGBoost M_service (42 historical appearances) to 25.5 expected mins (appearance prob 0.60); FBref playing time empirical prior: 2.0 sub appearances, 27.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1.0066,
                "expected_assists": 0.085,
                "assists": 0.1144,
                "assist_rate": 0.1144,
                "expected_goals": 0.0868,
                "goals": 0.1793,
                "goal_rate": 0.1793,
                "shots_on_target": 0.4989,
                "total_shots": 1.0552,
                "rating": 7.1378,
                "minutes": 22.8,
                "total_pass": 17.9859,
                "accurate_pass": 16.768,
                "duels_won": 1.8224,
                "total_long_balls": 0.9896,
                "accurate_long_balls": 0.853,
                "total_own_half_passes": 4.988,
                "accurate_own_half_passes": 4.823,
                "total_opp_half_passes": 12.9979,
                "accurate_opp_half_passes": 11.9451,
                "crosses_total": 0.2794,
                "crosses_accurate": 0.0858,
                "touches": 23.7636,
                "possession_lost": 2.5092,
                "dispossessed": 0.3934,
                "duels_lost": 0.9196,
                "aerial_won": 0.2585,
                "aerial_lost": 0.1187,
                "interceptions": 0.1656,
                "tackles_won": 0.1023,
                "tackles": 0.289,
                "clearances": 0.6145,
                "total_contest": 0.5456,
                "won_contest": 0.3217,
                "challenges_lost": 0.1666,
                "fouls": 0.0169,
                "fouls_drawn": 0.9533,
                "blocks": 0.0,
                "big_chances_created": 0.3925,
                "big_chances_missed": 0.0,
                "xgot": 0.1621,
                "ball_carries": 7.7386,
                "total_progression": 18.9185,
                "progressive_carries": 0.389,
                "shots_off_target": 0.5563
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-31T10:30:21.314387+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 902,
                    "rows": 24945
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-17",
                    "opponent": "Real Betis",
                    "minutes": 28.0,
                    "is_starting": false,
                    "weight": 0.1502,
                    "rating": 8.2
                  },
                  {
                    "match_date": "2026-10-10",
                    "opponent": "Getafe",
                    "minutes": 61.0,
                    "is_starting": true,
                    "weight": 0.1276,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Sevilla",
                    "minutes": 14.0,
                    "is_starting": false,
                    "weight": 0.1085,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Real Racing Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0922,
                    "rating": 8.8
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Levante UD",
                    "minutes": 24.0,
                    "is_starting": false,
                    "weight": 0.0784,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Valencia",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.0666,
                    "rating": 7.9
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Rayo Vallecano",
                    "minutes": 64.0,
                    "is_starting": true,
                    "weight": 0.0566,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Athletic Club",
                    "minutes": 27.0,
                    "is_starting": false,
                    "weight": 0.0481,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Elche",
                    "minutes": 25.0,
                    "is_starting": false,
                    "weight": 0.0409,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Valencia",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.5
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalShots": 1.6153,
                  "expectedGoals": 0.1304,
                  "creative_index": 0.7643,
                  "expectedAssists": 0.1859,
                  "keyPass": 1.6319
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.0066109895706177,
                    "model_output": 1.0066,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1583
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1351
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0716
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0542
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.028
                      }
                    ],
                    "decomposition": {
                      "base": 0.8899,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4279
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0848
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0635
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0334
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0285
                        }
                      ],
                      "others": 0.3344,
                      "total": 1.0066,
                      "log_link": true,
                      "margin_base": -0.11669,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.655609
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.16852
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.109856
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.053346
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.043254
                        }
                      ],
                      "others_margin": 0.403913
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.08497294038534164,
                    "model_output": 0.085,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1213
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1076
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0864
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0618
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0476
                      }
                    ],
                    "decomposition": {
                      "base": 0.085,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0395
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0099
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0048
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0047
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0044
                        }
                      ],
                      "others": 0.0253,
                      "total": 0.085,
                      "log_link": true,
                      "margin_base": -2.465163,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.625403
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.19665
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.090274
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.088418
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.077432
                        }
                      ],
                      "others_margin": 0.352918
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.1143517717719078,
                    "model_output": 0.1144,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0508
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0447
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0336
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0324
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0322
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.019
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0128
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0121
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0095
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0079
                        }
                      ],
                      "others": 0.0218,
                      "total": 0.1144,
                      "log_link": true,
                      "margin_base": -2.463734,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.25269
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.176874
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.142377
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.099213
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.082405
                        }
                      ],
                      "others_margin": 0.21189
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.08675651997327805,
                    "model_output": 0.0868,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1242
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0778
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0743
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0437
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0241
                      }
                    ],
                    "decomposition": {
                      "base": 0.0911,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0384
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0113
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.011
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0063
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0043
                        }
                      ],
                      "others": 0.0012,
                      "total": 0.0868,
                      "log_link": true,
                      "margin_base": -2.395469,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.546406
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.194212
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.158492
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.080812
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.051691
                        }
                      ],
                      "others_margin": 0.012019
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.1793178915977478,
                    "model_output": 0.1793,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0846
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0655
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0399
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0358
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0268
                      }
                    ],
                    "decomposition": {
                      "base": 0.0947,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0296
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0193
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0172
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0168
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0139
                        }
                      ],
                      "others": 0.047,
                      "total": 0.1793,
                      "log_link": true,
                      "margin_base": -2.357331,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.374647
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.259486
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.185596
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.152646
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": 0.111076
                        }
                      ],
                      "others_margin": 0.304579
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.49887341260910034,
                    "model_output": 0.4989,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1146
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0928
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0753
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0297
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.3177,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1062
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.061
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0452
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0282
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0239
                        }
                      ],
                      "others": 0.1291,
                      "total": 0.4989,
                      "log_link": true,
                      "margin_base": -1.146731,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.406878
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.253275
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.153472
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.085125
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.066937
                        }
                      ],
                      "others_margin": 0.299398
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.0551856756210327,
                    "model_output": 1.0552,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1488
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1213
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0474
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0446
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0276
                      }
                    ],
                    "decomposition": {
                      "base": 0.9817,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.5297
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.3913
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0623
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0451
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": 0.0417
                        }
                      ],
                      "others": 0.0628,
                      "total": 1.0552,
                      "log_link": false,
                      "margin_base": 0.98173,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.529708
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.391341
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.06232
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.045099
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": 0.041707
                        }
                      ],
                      "others_margin": 0.062697
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.137820243835449,
                    "model_output": 7.1378,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.102
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0743
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0503
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0382
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 6.856,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": 0.1245
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0889
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0681
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0253
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0251
                        }
                      ],
                      "others": 0.1277,
                      "total": 7.1378,
                      "log_link": false,
                      "margin_base": 6.856008,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": 0.124541
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.088923
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.068073
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.025325
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.025136
                        }
                      ],
                      "others_margin": 0.127659
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 42,
                  "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.0109, quality 0.848)",
              "stats": {
                "key_pass": 1.0176,
                "expected_assists": 0.0859,
                "assists": 0.1156,
                "assist_rate": 0.1156,
                "expected_goals": 0.0877,
                "goals": 0.1813,
                "goal_rate": 0.1813,
                "shots_on_target": 0.5043,
                "total_shots": 1.0667,
                "rating": 7.1378,
                "minutes": 22.8,
                "total_pass": 18.1819,
                "accurate_pass": 16.9508,
                "duels_won": 1.8423,
                "total_long_balls": 1.0004,
                "accurate_long_balls": 0.8623,
                "total_own_half_passes": 5.0424,
                "accurate_own_half_passes": 4.8756,
                "total_opp_half_passes": 13.1396,
                "accurate_opp_half_passes": 12.0753,
                "crosses_total": 0.2824,
                "crosses_accurate": 0.0867,
                "touches": 24.0226,
                "possession_lost": 2.5366,
                "dispossessed": 0.3977,
                "duels_lost": 0.9296,
                "aerial_won": 0.2613,
                "aerial_lost": 0.12,
                "interceptions": 0.1674,
                "tackles_won": 0.1034,
                "tackles": 0.2922,
                "clearances": 0.6212,
                "total_contest": 0.5515,
                "won_contest": 0.3252,
                "challenges_lost": 0.1684,
                "fouls": 0.0171,
                "fouls_drawn": 0.9637,
                "blocks": 0.0,
                "big_chances_created": 0.3968,
                "big_chances_missed": 0.0,
                "xgot": 0.1639,
                "ball_carries": 7.823,
                "total_progression": 19.1247,
                "progressive_carries": 0.3932,
                "shots_off_target": 0.5624
              },
              "params": {
                "market_value_eur": 58000000,
                "quality_factor": 0.8478,
                "boost_factor": 1.0109,
                "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.0060)",
              "stats": {
                "key_pass": 1.0176,
                "expected_assists": 0.0859,
                "assists": 0.1149,
                "assist_rate": 0.1149,
                "expected_goals": 0.0877,
                "goals": 0.1802,
                "goal_rate": 0.1802,
                "shots_on_target": 0.5024,
                "total_shots": 1.065,
                "rating": 7.1378,
                "minutes": 22.8,
                "total_pass": 18.1819,
                "accurate_pass": 16.9508,
                "duels_won": 1.8423,
                "total_long_balls": 1.0004,
                "accurate_long_balls": 0.8623,
                "total_own_half_passes": 5.0424,
                "accurate_own_half_passes": 4.8756,
                "total_opp_half_passes": 13.1396,
                "accurate_opp_half_passes": 12.0753,
                "crosses_total": 0.2842,
                "crosses_accurate": 0.0867,
                "touches": 24.0226,
                "possession_lost": 2.5366,
                "dispossessed": 0.3977,
                "duels_lost": 0.9296,
                "aerial_won": 0.2613,
                "aerial_lost": 0.12,
                "interceptions": 0.1664,
                "tackles_won": 0.1028,
                "tackles": 0.2922,
                "clearances": 0.6212,
                "total_contest": 0.5515,
                "won_contest": 0.3252,
                "challenges_lost": 0.1684,
                "fouls": 0.017,
                "fouls_drawn": 0.9603,
                "blocks": 0.0,
                "big_chances_created": 0.3968,
                "big_chances_missed": 0.0,
                "xgot": 0.1639,
                "ball_carries": 7.823,
                "total_progression": 19.1247,
                "progressive_carries": 0.3932,
                "shots_off_target": 0.5624
              },
              "params": {
                "blend_weight": 0.006,
                "history_matches": 42,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.2533,
                "prior_reliability": 0.0867,
                "competition": "La Liga",
                "squad": "Barcelona"
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 22.8 to 25.5 expected minutes (appearance prob 0.60)",
              "stats": {
                "key_pass": 1.1368,
                "expected_assists": 0.096,
                "assists": 0.1284,
                "assist_rate": 0.1284,
                "expected_goals": 0.098,
                "goals": 0.2013,
                "goal_rate": 0.2013,
                "shots_on_target": 0.5612,
                "total_shots": 1.1897,
                "rating": 7.1378,
                "minutes": 25.47,
                "total_pass": 20.3111,
                "accurate_pass": 18.9358,
                "duels_won": 2.058,
                "total_long_balls": 1.1176,
                "accurate_long_balls": 0.9633,
                "total_own_half_passes": 5.6329,
                "accurate_own_half_passes": 5.4466,
                "total_opp_half_passes": 14.6783,
                "accurate_opp_half_passes": 13.4894,
                "crosses_total": 0.3175,
                "crosses_accurate": 0.0969,
                "touches": 26.8358,
                "possession_lost": 2.8336,
                "dispossessed": 0.3977,
                "duels_lost": 1.0385,
                "aerial_won": 0.2919,
                "aerial_lost": 0.12,
                "interceptions": 0.1859,
                "tackles_won": 0.1148,
                "tackles": 0.3264,
                "clearances": 0.6939,
                "total_contest": 0.6161,
                "won_contest": 0.3633,
                "challenges_lost": 0.1684,
                "fouls": 0.019,
                "fouls_drawn": 1.0728,
                "blocks": 0.0,
                "big_chances_created": 0.4433,
                "big_chances_missed": 0.0,
                "xgot": 0.1831,
                "ball_carries": 8.7391,
                "total_progression": 21.3643,
                "progressive_carries": 0.4392,
                "shots_off_target": 0.6283,
                "bench_appearance_probability": 0.597,
                "bench_expected_minutes": 25.47
              },
              "params": {
                "expected_minutes": 25.47,
                "projection_minutes": 22.8,
                "minutes_scale": 1.1171,
                "appearance_probability": 0.597
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1.1368,
                "expected_assists": 0.096,
                "assists": 0.1284,
                "assist_rate": 0.1284,
                "expected_goals": 0.098,
                "goals": 0.2013,
                "goal_rate": 0.2013,
                "shots_on_target": 0.5612,
                "total_shots": 1.1897,
                "rating": 7.1378,
                "minutes": 25.47,
                "total_pass": 20.3111,
                "accurate_pass": 18.9358,
                "duels_won": 2.058,
                "total_long_balls": 1.1176,
                "accurate_long_balls": 0.9633,
                "total_own_half_passes": 5.6329,
                "accurate_own_half_passes": 5.4466,
                "total_opp_half_passes": 14.6783,
                "accurate_opp_half_passes": 13.4894,
                "crosses_total": 0.3175,
                "crosses_accurate": 0.0969,
                "touches": 26.8358,
                "possession_lost": 2.8336,
                "dispossessed": 0.3977,
                "duels_lost": 1.0385,
                "aerial_won": 0.2919,
                "aerial_lost": 0.12,
                "interceptions": 0.1859,
                "tackles_won": 0.1148,
                "tackles": 0.3264,
                "clearances": 0.6939,
                "total_contest": 0.6161,
                "won_contest": 0.3633,
                "challenges_lost": 0.1684,
                "fouls": 0.019,
                "fouls_drawn": 1.0728,
                "blocks": 0.0,
                "big_chances_created": 0.4433,
                "big_chances_missed": 0.0,
                "xgot": 0.1831,
                "ball_carries": 8.7391,
                "total_progression": 21.3643,
                "progressive_carries": 0.4392,
                "shots_off_target": 0.6283,
                "bench_appearance_probability": 0.597,
                "bench_expected_minutes": 25.47
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 3 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 1.1368,
                "expected_assists": 0.096,
                "assist_rate": 0.1284,
                "assists": 0,
                "expected_goals": 0.098,
                "goal_rate": 0.2013,
                "goals": 0,
                "shots_on_target": 0.5612,
                "total_shots": 1.1897,
                "rating": 7.1378,
                "minutes": 25.47,
                "total_pass": 20.3111,
                "accurate_pass": 18.9358,
                "duels_won": 2.058,
                "total_long_balls": 1.1176,
                "accurate_long_balls": 0.9633,
                "total_own_half_passes": 5.6329,
                "accurate_own_half_passes": 5.4466,
                "total_opp_half_passes": 14.6783,
                "accurate_opp_half_passes": 13.4894,
                "crosses_total": 0.3175,
                "crosses_accurate": 0.0969,
                "touches": 26.8358,
                "possession_lost": 2.8336,
                "dispossessed": 0.3977,
                "duels_lost": 1.0385,
                "aerial_won": 0.2919,
                "aerial_lost": 0.12,
                "interceptions": 0.1859,
                "tackles_won": 0.1148,
                "tackles": 0.3264,
                "clearances": 0.6939,
                "total_contest": 0.6161,
                "won_contest": 0.3633,
                "challenges_lost": 0.1684,
                "fouls": 0.019,
                "fouls_drawn": 1.0728,
                "blocks": 0.0,
                "big_chances_created": 0.4433,
                "big_chances_missed": 0.0,
                "xgot": 0.1831,
                "ball_carries": 8.7391,
                "total_progression": 21.3643,
                "progressive_carries": 0.4392,
                "shots_off_target": 0.6283,
                "bench_appearance_probability": 0.597,
                "bench_expected_minutes": 25.47,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.765,
                "projected_substitution_game_state_adjustment": -1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 3
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 3.86 (squad xG sum 2.6208, xG scale 1.4740, xA scale 1.6297, team xA 2.51 = 0.65 x lambda)",
              "stats": {
                "key_pass": 1.1368,
                "expected_assists": 0.0934,
                "assist_rate": 0.1284,
                "assists": 0,
                "expected_goals": 0.0862,
                "goal_rate": 0.2013,
                "goals": 0,
                "shots_on_target": 0.5612,
                "total_shots": 1.1897,
                "rating": 7.1378,
                "minutes": 25.47,
                "total_pass": 20.3111,
                "accurate_pass": 18.9358,
                "duels_won": 2.058,
                "total_long_balls": 1.1176,
                "accurate_long_balls": 0.9633,
                "total_own_half_passes": 5.6329,
                "accurate_own_half_passes": 5.4466,
                "total_opp_half_passes": 14.6783,
                "accurate_opp_half_passes": 13.4894,
                "crosses_total": 0.3175,
                "crosses_accurate": 0.0969,
                "touches": 26.8358,
                "possession_lost": 2.8336,
                "dispossessed": 0.3977,
                "duels_lost": 1.0385,
                "aerial_won": 0.2919,
                "aerial_lost": 0.12,
                "interceptions": 0.1859,
                "tackles_won": 0.1148,
                "tackles": 0.3264,
                "clearances": 0.6939,
                "total_contest": 0.6161,
                "won_contest": 0.3633,
                "challenges_lost": 0.1684,
                "fouls": 0.019,
                "fouls_drawn": 1.0728,
                "blocks": 0.0,
                "big_chances_created": 0.4433,
                "big_chances_missed": 0.0,
                "xgot": 0.1611,
                "ball_carries": 8.7391,
                "total_progression": 21.3643,
                "progressive_carries": 0.4392,
                "shots_off_target": 0.6283,
                "bench_appearance_probability": 0.597,
                "bench_expected_minutes": 25.47,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.765,
                "projected_substitution_game_state_adjustment": -1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 1.2219
              },
              "params": {
                "team_lambda": 3.863,
                "squad_xg_sum": 2.6208,
                "squad_xa_sum": 1.5408,
                "team_expected_assists": 2.511,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.474,
                "xa_scale": 1.6297,
                "opponent_lambda": 1.288,
                "scoreline_reset": true,
                "appearance_weight": 0.597
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.098,
                  "after": 0.0862
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 5 by projected rating, fifa_overall 84.0)",
              "stats": {
                "key_pass": 1.1368,
                "expected_assists": 0.0934,
                "assist_rate": 0.1284,
                "assists": 0,
                "expected_goals": 0.0862,
                "goal_rate": 0.2013,
                "goals": 0,
                "shots_on_target": 0.5612,
                "total_shots": 1.1897,
                "rating": 7.1378,
                "minutes": 25.47,
                "total_pass": 20.3111,
                "accurate_pass": 18.9358,
                "duels_won": 2.058,
                "total_long_balls": 1.1176,
                "accurate_long_balls": 0.9633,
                "total_own_half_passes": 5.6329,
                "accurate_own_half_passes": 5.4466,
                "total_opp_half_passes": 14.6783,
                "accurate_opp_half_passes": 13.4894,
                "crosses_total": 0.3175,
                "crosses_accurate": 0.0969,
                "touches": 26.8358,
                "possession_lost": 2.8336,
                "dispossessed": 0.3977,
                "duels_lost": 1.0385,
                "aerial_won": 0.2919,
                "aerial_lost": 0.12,
                "interceptions": 0.1859,
                "tackles_won": 0.1148,
                "tackles": 0.3264,
                "clearances": 0.6939,
                "total_contest": 0.6161,
                "won_contest": 0.3633,
                "challenges_lost": 0.1684,
                "fouls": 0.019,
                "fouls_drawn": 1.0728,
                "blocks": 0.0,
                "big_chances_created": 0.4433,
                "big_chances_missed": 0.0,
                "xgot": 0.1611,
                "ball_carries": 8.7391,
                "total_progression": 21.3643,
                "progressive_carries": 0.4392,
                "shots_off_target": 0.6283,
                "bench_appearance_probability": 0.597,
                "bench_expected_minutes": 25.47,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.765,
                "projected_substitution_game_state_adjustment": -1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 1.2219,
                "fifa_overall": 84.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": 426,
                "fifa_rank": 230.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 84.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 3 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 1.1368,
                "expected_assists": 0.0934,
                "assist_rate": 0.1284,
                "assists": 0,
                "expected_goals": 0.0862,
                "goal_rate": 0.2013,
                "goals": 0,
                "shots_on_target": 0.5612,
                "total_shots": 1.1897,
                "rating": 7.1378,
                "minutes": 25.47,
                "total_pass": 20.3111,
                "accurate_pass": 18.9358,
                "duels_won": 2.058,
                "total_long_balls": 1.1176,
                "accurate_long_balls": 0.9633,
                "total_own_half_passes": 5.6329,
                "accurate_own_half_passes": 5.4466,
                "total_opp_half_passes": 14.6783,
                "accurate_opp_half_passes": 13.4894,
                "crosses_total": 0.3175,
                "crosses_accurate": 0.0969,
                "touches": 26.8358,
                "possession_lost": 2.8336,
                "dispossessed": 0.3977,
                "duels_lost": 1.0385,
                "aerial_won": 0.2919,
                "aerial_lost": 0.12,
                "interceptions": 0.1859,
                "tackles_won": 0.1148,
                "tackles": 0.3264,
                "clearances": 0.6939,
                "total_contest": 0.6161,
                "won_contest": 0.3633,
                "challenges_lost": 0.1684,
                "fouls": 0.019,
                "fouls_drawn": 1.0728,
                "blocks": 0.0,
                "big_chances_created": 0.4433,
                "big_chances_missed": 0.0,
                "xgot": 0.1611,
                "ball_carries": 8.7391,
                "total_progression": 21.3643,
                "progressive_carries": 0.4392,
                "shots_off_target": 0.6283,
                "bench_appearance_probability": 0.597,
                "bench_expected_minutes": 25.47,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.765,
                "projected_substitution_game_state_adjustment": -1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0803,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 1.2219,
                "fifa_overall": 84.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 3,
                "goals_allocated": 0,
                "goal_probability": 0.0803,
                "goal_rate": 0.2013,
                "scorer_weight": 0.1077,
                "squad_weight_total": 4.4245,
                "weight_share": 0.0244,
                "finishing_factor": 1.25,
                "appearance_weight": 0.597,
                "weight_rank": 10,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Raphinha",
                    "weight": 1.5149,
                    "already": 0,
                    "effective_weight": 1.5149,
                    "runner_up": "Lamine Yamal",
                    "runner_up_effective_weight": 1.1818
                  },
                  {
                    "n": 2,
                    "player": "Lamine Yamal",
                    "weight": 1.1818,
                    "already": 0,
                    "effective_weight": 1.1818,
                    "runner_up": "Raphinha",
                    "runner_up_effective_weight": 0.6446
                  },
                  {
                    "n": 3,
                    "player": "Raphinha",
                    "weight": 1.5149,
                    "already": 1,
                    "effective_weight": 0.6446,
                    "runner_up": "Lamine Yamal",
                    "runner_up_effective_weight": 0.5029
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 2 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "key_pass": 1.1368,
                "expected_assists": 0.0934,
                "assist_rate": 0.1284,
                "assists": 0,
                "expected_goals": 0.0862,
                "goal_rate": 0.2013,
                "goals": 0,
                "shots_on_target": 0.5612,
                "total_shots": 1.1897,
                "rating": 7.1378,
                "minutes": 25.47,
                "total_pass": 20.3111,
                "accurate_pass": 18.9358,
                "duels_won": 2.058,
                "total_long_balls": 1.1176,
                "accurate_long_balls": 0.9633,
                "total_own_half_passes": 5.6329,
                "accurate_own_half_passes": 5.4466,
                "total_opp_half_passes": 14.6783,
                "accurate_opp_half_passes": 13.4894,
                "crosses_total": 0.3175,
                "crosses_accurate": 0.0969,
                "touches": 26.8358,
                "possession_lost": 2.8336,
                "dispossessed": 0.3977,
                "duels_lost": 1.0385,
                "aerial_won": 0.2919,
                "aerial_lost": 0.12,
                "interceptions": 0.1859,
                "tackles_won": 0.1148,
                "tackles": 0.3264,
                "clearances": 0.6939,
                "total_contest": 0.6161,
                "won_contest": 0.3633,
                "challenges_lost": 0.1684,
                "fouls": 0.019,
                "fouls_drawn": 1.0728,
                "blocks": 0.0,
                "big_chances_created": 0.4433,
                "big_chances_missed": 0.0,
                "xgot": 0.1611,
                "ball_carries": 8.7391,
                "total_progression": 21.3643,
                "progressive_carries": 0.4392,
                "shots_off_target": 0.6283,
                "bench_appearance_probability": 0.597,
                "bench_expected_minutes": 25.47,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.765,
                "projected_substitution_game_state_adjustment": -1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0803,
                "projected_assists": 0,
                "assist_probability": 0.0865,
                "finishing_factor": 1.25,
                "creation_factor": 1.2219,
                "fifa_overall": 84.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 2,
                "assists_allocated": 0,
                "assist_probability": 0.0865,
                "assist_rate": 0.1284,
                "provider_weight": 0.1141,
                "squad_weight_total": 2.7263,
                "weight_share": 0.0419,
                "creation_factor": 1.2219,
                "appearance_weight": 0.597,
                "weight_rank": 11,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Lamine Yamal",
                    "weight": 0.5086,
                    "already": 0,
                    "effective_weight": 0.5086,
                    "runner_up": "Pedri",
                    "runner_up_effective_weight": 0.3563
                  },
                  {
                    "n": 2,
                    "player": "Pedri",
                    "weight": 0.3563,
                    "already": 0,
                    "effective_weight": 0.3563,
                    "runner_up": "Fermín López",
                    "runner_up_effective_weight": 0.3049
                  }
                ]
              }
            }
          ]
        },
        "Anthony Gordon": {
          "player_id": 914902,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 17,
          "height": 183,
          "market_value": 82000000,
          "stats": {
            "expected_goals": 0.1516,
            "goal_rate": 0.1394,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 2,
            "expected_assists": 0.099,
            "key_pass": 1,
            "rating": 7.034,
            "minutes": 26,
            "total_pass": 15,
            "accurate_pass": 13,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 12,
            "accurate_opp_half_passes": 10,
            "crosses_total": 1,
            "crosses_accurate": 1,
            "touches": 19,
            "possession_lost": 2.9138,
            "dispossessed": 0.0,
            "duels_lost": 1,
            "aerial_lost": 0,
            "total_contest": 1,
            "won_contest": 0,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "assist_rate": 0.6885,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 1,
            "big_chances_missed": 0,
            "xgot": 0.4675,
            "offsides": 0,
            "ball_carries": 10,
            "total_progression": 44,
            "progressive_carries": 3,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.498,
            "bench_expected_minutes": 26.48,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.765,
            "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": 16421080,
              "match_date": "2026-10-25",
              "home_team": "FC Barcelona",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 85,
                "rating": 7.7,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1398,
                "expected_assists": 0.3149,
                "total_shots": 3,
                "shots_on_target": 3,
                "shots_off_target": 0,
                "total_pass": 36,
                "accurate_pass": 35,
                "key_pass": 4,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 0,
                "aerial_won": 0,
                "duels_won": 4,
                "ball_recovery": 4,
                "saves": 0
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421068,
              "match_date": "2026-10-17",
              "home_team": "Real Betis",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 28,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1596,
                "expected_assists": 0.0109,
                "total_shots": 3,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 19,
                "accurate_pass": 16,
                "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": 16421060,
              "match_date": "2026-10-10",
              "home_team": "FC Barcelona",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Getafe",
              "stats": {
                "minutes": 71,
                "rating": 8.0,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1965,
                "expected_assists": 0.0754,
                "total_shots": 3,
                "shots_on_target": 2,
                "total_pass": 47,
                "accurate_pass": 41,
                "key_pass": 2,
                "tackles": 1,
                "tackles_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": 16416349,
              "match_date": "2026-09-19",
              "home_team": "Sevilla",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 86,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.9081,
                "expected_assists": 0.0178,
                "total_shots": 3,
                "shots_off_target": 3,
                "total_pass": 27,
                "accurate_pass": 24,
                "tackles": 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": 16416329,
              "match_date": "2026-09-13",
              "home_team": "Levante UD",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 67,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.028,
                "total_shots": 0,
                "total_pass": 16,
                "accurate_pass": 16,
                "key_pass": 1,
                "tackles": 1,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416325,
              "match_date": "2026-09-06",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Valencia",
              "stats": {
                "minutes": 62,
                "rating": 6.5,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.5656,
                "expected_assists": 0.129,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 27,
                "accurate_pass": 25,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416295,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 77,
                "rating": 7.4,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.2531,
                "expected_assists": 0.1888,
                "total_shots": 4,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 23,
                "accurate_pass": 18,
                "key_pass": 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": 16421059,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 80,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3171,
                "expected_assists": 0.2526,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 22,
                "accurate_pass": 19,
                "key_pass": 1,
                "tackles": 1,
                "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": 16416311,
              "match_date": "2026-08-23",
              "home_team": "Elche",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Elche",
              "stats": {
                "minutes": 25,
                "rating": 7.6,
                "assist_rate": 2.0,
                "assists": 2,
                "expected_goals": 0.0769,
                "expected_assists": 0.3274,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 13,
                "accurate_pass": 13,
                "key_pass": 2,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14023999,
              "match_date": "2026-04-12",
              "home_team": "Crystal Palace",
              "away_team": "Newcastle United",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Newcastle United",
              "opponent": "Crystal Palace",
              "stats": {
                "minutes": 71,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0375,
                "expected_assists": 0.0283,
                "total_shots": 1,
                "total_pass": 26,
                "accurate_pass": 19,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "Premier League",
              "league_id": "17",
              "league_slug": "premier-league",
              "league_country": "England",
              "season_id": "76986",
              "season_name": "Premier League 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 395,
            "combined_rank_score": 252.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 91.0,
            "sofascore_rating": 7.5,
            "sofascore_appearances": 12.0,
            "fifa_rank": 413.0,
            "fifa_overall": 82.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 7,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 7.034,
            "source_file": "data/player_rankings.csv",
            "player_name": "Anthony Gordon",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Oybek Bozorov",
                  "ranking": 390
                },
                {
                  "player_name": "Marlon Freitas",
                  "ranking": 391
                },
                {
                  "player_name": "Gabriel Paulista",
                  "ranking": 392
                },
                {
                  "player_name": "Sergio Rochet",
                  "ranking": 393
                },
                {
                  "player_name": "João Palhinha",
                  "ranking": 394
                }
              ],
              "lower": [
                {
                  "player_name": "Giorgi Jgerenaia",
                  "ranking": 396
                },
                {
                  "player_name": "Stipe Perica",
                  "ranking": 397
                },
                {
                  "player_name": "Nurillo Tukhtasinov",
                  "ranking": 398
                },
                {
                  "player_name": "Min Ji-Hoon",
                  "ranking": 399
                },
                {
                  "player_name": "Avazbek Ulmasaliyev",
                  "ranking": 400
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.77,
          "history_matches": 35,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 35,
            "data_confidence": 0.77,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 26.48,
            "bench_appearance_prob": 0.498,
            "market_value_adjustment": 1.0142,
            "fbref_prior_metrics": {
              "squad": "Barcelona",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 2.0,
              "sub_appearances": 1.0,
              "minutes_per_sub": 26.0,
              "goals_per90": 0.0,
              "assists_per90": 1.5,
              "prior_reliability": 0.1333
            },
            "rationale": "Bench projection scaled from XGBoost F_service (35 historical appearances) to 26.5 expected mins (appearance prob 0.50); FBref playing time empirical prior: 1.0 sub appearances, 26.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.1171,
                "goals": 0.1088,
                "goal_rate": 0.1088,
                "shots_on_target": 0.4935,
                "total_shots": 1.3697,
                "expected_assists": 0.0764,
                "key_pass": 0.7722,
                "rating": 7.034,
                "minutes": 20.73,
                "total_pass": 11.2099,
                "accurate_pass": 10.0417,
                "duels_won": 0.4935,
                "total_long_balls": 0.2267,
                "accurate_long_balls": 0.2267,
                "total_opp_half_passes": 8.9677,
                "accurate_opp_half_passes": 7.7995,
                "crosses_total": 0.9069,
                "crosses_accurate": 0.4535,
                "touches": 14.6728,
                "possession_lost": 2.2492,
                "dispossessed": 0.0,
                "duels_lost": 0.5065,
                "aerial_lost": 0.1927,
                "total_contest": 0.5405,
                "won_contest": 0.2267,
                "ball_recovery": 0.5806,
                "challenges_lost": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.2667,
                "assists": 0.5335,
                "assist_rate": 0.5335,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.5335,
                "big_chances_missed": 0.345,
                "xgot": 0.3609,
                "offsides": 0.0,
                "ball_carries": 7.8006,
                "total_progression": 34.2253,
                "progressive_carries": 2.4595,
                "shots_off_target": 0.8762
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-31T10:30:56.271646+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 610,
                    "rows": 17075
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-25",
                    "opponent": "Real Madrid",
                    "minutes": 85.0,
                    "is_starting": true,
                    "weight": 0.1505,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-10-17",
                    "opponent": "Real Betis",
                    "minutes": 28.0,
                    "is_starting": false,
                    "weight": 0.1279,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-10-10",
                    "opponent": "Getafe",
                    "minutes": 71.0,
                    "is_starting": true,
                    "weight": 0.1087,
                    "rating": 8.0
                  },
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Sevilla",
                    "minutes": 86.0,
                    "is_starting": true,
                    "weight": 0.0924,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Levante UD",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.0786,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Valencia",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.0668,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Rayo Vallecano",
                    "minutes": 77.0,
                    "is_starting": true,
                    "weight": 0.0568,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Athletic Club",
                    "minutes": 80.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Elche",
                    "minutes": 25.0,
                    "is_starting": false,
                    "weight": 0.041,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-04-12",
                    "opponent": "Crystal Palace",
                    "minutes": 71.0,
                    "is_starting": true,
                    "weight": 0.0349,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "accurateOppositionHalfPasses": 18.897,
                  "expectedGoals": 0.3181,
                  "totalOppositionHalfPasses": 21.3619,
                  "accuratePass": 23.1646,
                  "totalShots": 2.4235
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.11705467104911804,
                    "model_output": 0.1171,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.282
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0898
                      },
                      {
                        "name": "goals",
                        "importance": 0.0323
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0316
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0236
                      }
                    ],
                    "decomposition": {
                      "base": 0.1945,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0908
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0214
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0077
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.005
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0046
                        }
                      ],
                      "others": -0.0007,
                      "total": 0.1171,
                      "log_link": true,
                      "margin_base": -1.637486,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.629295
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.187723
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.063923
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.041803
                        },
                        {
                          "name": "goals",
                          "margin": -0.037939
                        }
                      ],
                      "others_margin": -0.005996
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.1087624579668045,
                    "model_output": 0.1088,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.144
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0742
                      },
                      {
                        "name": "goals",
                        "importance": 0.053
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0321
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0311
                      }
                    ],
                    "decomposition": {
                      "base": 0.199,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1022
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.013
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0095
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0067
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": 0.0041
                        }
                      ],
                      "others": 0.0111,
                      "total": 0.1088,
                      "log_link": true,
                      "margin_base": -1.614663,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.720418
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.126103
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.090917
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": -0.069574
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": 0.04275
                        }
                      ],
                      "others_margin": 0.10813
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.49352481961250305,
                    "model_output": 0.4935,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2115
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.066
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0499
                      },
                      {
                        "name": "goals",
                        "importance": 0.0473
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0333
                      }
                    ],
                    "decomposition": {
                      "base": 0.5305,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2461
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0412
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0365
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0206
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0209
                        }
                      ],
                      "others": 0.0899,
                      "total": 0.4935,
                      "log_link": true,
                      "margin_base": -0.633985,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.623589
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.135202
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.106261
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.055328
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.053275
                        }
                      ],
                      "others_margin": 0.201325
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.3697019815444946,
                    "model_output": 1.3697,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2934
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0662
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.05
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0272
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.027
                      }
                    ],
                    "decomposition": {
                      "base": 1.3805,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.6408
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.2048
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.1017
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0745
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0494
                        }
                      ],
                      "others": 0.1996,
                      "total": 1.3697,
                      "log_link": false,
                      "margin_base": 1.38048,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.640835
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.204797
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.101685
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.074481
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.049396
                        }
                      ],
                      "others_margin": 0.199698
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.0763741061091423,
                    "model_output": 0.0764,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1135
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0826
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0722
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0587
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0552
                      }
                    ],
                    "decomposition": {
                      "base": 0.0647,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0222
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0073
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0077
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0057
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0035
                        }
                      ],
                      "others": 0.0167,
                      "total": 0.0764,
                      "log_link": true,
                      "margin_base": -2.738275,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.420787
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.158939
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.144221
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.094067
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.056718
                        }
                      ],
                      "others_margin": 0.246442
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.7721672654151917,
                    "model_output": 0.7722,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1545
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.1071
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0923
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0893
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0298
                      }
                    ],
                    "decomposition": {
                      "base": 0.6939,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2686
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0641
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0509
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0429
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0369
                        }
                      ],
                      "others": 0.1521,
                      "total": 0.7722,
                      "log_link": true,
                      "margin_base": -0.365451,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.489525
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.140297
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.099017
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.076405
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.061373
                        }
                      ],
                      "others_margin": 0.219329
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.0339579582214355,
                    "model_output": 7.034,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0529
                      },
                      {
                        "name": "rating",
                        "importance": 0.0463
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.044
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0417
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0371
                      }
                    ],
                    "decomposition": {
                      "base": 6.7735,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1113
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0589
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0465
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0406
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0355
                        }
                      ],
                      "others": 0.1903,
                      "total": 7.034,
                      "log_link": false,
                      "margin_base": 6.773504,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.11128
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.058938
                        },
                        {
                          "name": "rating",
                          "margin": 0.046511
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.040582
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.035469
                        }
                      ],
                      "others_margin": 0.190235
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 35,
                  "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.0142, quality 0.884)",
              "stats": {
                "expected_goals": 0.1187,
                "goals": 0.1103,
                "goal_rate": 0.1103,
                "shots_on_target": 0.5005,
                "total_shots": 1.3892,
                "expected_assists": 0.0775,
                "key_pass": 0.7831,
                "rating": 7.034,
                "minutes": 20.73,
                "total_pass": 11.3691,
                "accurate_pass": 10.1843,
                "duels_won": 0.5005,
                "total_long_balls": 0.2299,
                "accurate_long_balls": 0.2299,
                "total_opp_half_passes": 9.095,
                "accurate_opp_half_passes": 7.9103,
                "crosses_total": 0.9198,
                "crosses_accurate": 0.4599,
                "touches": 14.8812,
                "possession_lost": 2.2811,
                "dispossessed": 0.0,
                "duels_lost": 0.5137,
                "aerial_lost": 0.1954,
                "total_contest": 0.5482,
                "won_contest": 0.2299,
                "ball_recovery": 0.5888,
                "challenges_lost": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.2705,
                "assists": 0.5411,
                "assist_rate": 0.5411,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.5411,
                "big_chances_missed": 0.3499,
                "xgot": 0.366,
                "offsides": 0.0,
                "ball_carries": 7.9114,
                "total_progression": 34.7113,
                "progressive_carries": 2.4944,
                "shots_off_target": 0.8886
              },
              "params": {
                "market_value_eur": 82000000,
                "quality_factor": 0.8837,
                "boost_factor": 1.0142,
                "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.0108)",
              "stats": {
                "expected_goals": 0.1187,
                "goals": 0.1091,
                "goal_rate": 0.1091,
                "shots_on_target": 0.4988,
                "total_shots": 1.3828,
                "expected_assists": 0.0775,
                "key_pass": 0.7831,
                "rating": 7.034,
                "minutes": 20.73,
                "total_pass": 11.3691,
                "accurate_pass": 10.1843,
                "duels_won": 0.5005,
                "total_long_balls": 0.2299,
                "accurate_long_balls": 0.2299,
                "total_opp_half_passes": 9.095,
                "accurate_opp_half_passes": 7.9103,
                "crosses_total": 0.9111,
                "crosses_accurate": 0.4599,
                "touches": 14.8812,
                "possession_lost": 2.2811,
                "dispossessed": 0.0,
                "duels_lost": 0.5137,
                "aerial_lost": 0.1954,
                "total_contest": 0.5482,
                "won_contest": 0.2299,
                "ball_recovery": 0.5888,
                "challenges_lost": 0.0,
                "fouls": 0.0012,
                "fouls_drawn": 0.2713,
                "assists": 0.539,
                "assist_rate": 0.539,
                "interceptions": 0.0,
                "tackles_won": 0.0012,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.5411,
                "big_chances_missed": 0.3499,
                "xgot": 0.366,
                "offsides": 0.0025,
                "ball_carries": 7.9114,
                "total_progression": 34.7113,
                "progressive_carries": 2.4944,
                "shots_off_target": 0.8886
              },
              "params": {
                "blend_weight": 0.0108,
                "history_matches": 35,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.2303,
                "prior_reliability": 0.1333,
                "competition": "La Liga",
                "squad": "Barcelona"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 0.9198,
                  "after": 0.9111
                },
                {
                  "stat": "totalShots",
                  "before": 1.3892,
                  "after": 1.3828
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 20.7 to 26.5 expected minutes (appearance prob 0.50)",
              "stats": {
                "expected_goals": 0.1516,
                "goals": 0.1394,
                "goal_rate": 0.1394,
                "shots_on_target": 0.6372,
                "total_shots": 1.7723,
                "expected_assists": 0.099,
                "key_pass": 1.0003,
                "rating": 7.034,
                "minutes": 26.48,
                "total_pass": 14.5226,
                "accurate_pass": 13.0092,
                "duels_won": 0.6393,
                "total_long_balls": 0.2937,
                "accurate_long_balls": 0.2937,
                "total_opp_half_passes": 11.6177,
                "accurate_opp_half_passes": 10.1044,
                "crosses_total": 1.1638,
                "crosses_accurate": 0.5875,
                "touches": 19.0089,
                "possession_lost": 2.9138,
                "dispossessed": 0.0,
                "duels_lost": 0.6562,
                "aerial_lost": 0.1954,
                "total_contest": 0.7003,
                "won_contest": 0.2937,
                "ball_recovery": 0.7521,
                "challenges_lost": 0.0,
                "fouls": 0.0015,
                "fouls_drawn": 0.3466,
                "assists": 0.6885,
                "assist_rate": 0.6885,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.6912,
                "big_chances_missed": 0.447,
                "xgot": 0.4675,
                "offsides": 0.0025,
                "ball_carries": 10.1058,
                "total_progression": 44.3394,
                "progressive_carries": 3.1863,
                "shots_off_target": 1.1351,
                "bench_appearance_probability": 0.498,
                "bench_expected_minutes": 26.48
              },
              "params": {
                "expected_minutes": 26.48,
                "projection_minutes": 20.73,
                "minutes_scale": 1.2774,
                "appearance_probability": 0.498
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1516,
                "goals": 0.1394,
                "goal_rate": 0.1394,
                "shots_on_target": 0.6372,
                "total_shots": 1.7723,
                "expected_assists": 0.099,
                "key_pass": 1.0003,
                "rating": 7.034,
                "minutes": 26.48,
                "total_pass": 14.5226,
                "accurate_pass": 13.0092,
                "duels_won": 0.6393,
                "total_long_balls": 0.2937,
                "accurate_long_balls": 0.2937,
                "total_opp_half_passes": 11.6177,
                "accurate_opp_half_passes": 10.1044,
                "crosses_total": 1.1638,
                "crosses_accurate": 0.5875,
                "touches": 19.0089,
                "possession_lost": 2.9138,
                "dispossessed": 0.0,
                "duels_lost": 0.6562,
                "aerial_lost": 0.1954,
                "total_contest": 0.7003,
                "won_contest": 0.2937,
                "ball_recovery": 0.7521,
                "challenges_lost": 0.0,
                "fouls": 0.0015,
                "fouls_drawn": 0.3466,
                "assists": 0.6885,
                "assist_rate": 0.6885,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.6912,
                "big_chances_missed": 0.447,
                "xgot": 0.4675,
                "offsides": 0.0025,
                "ball_carries": 10.1058,
                "total_progression": 44.3394,
                "progressive_carries": 3.1863,
                "shots_off_target": 1.1351,
                "bench_appearance_probability": 0.498,
                "bench_expected_minutes": 26.48
              },
              "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.1516,
                "goal_rate": 0.1394,
                "goals": 0,
                "shots_on_target": 0.6372,
                "total_shots": 1.7723,
                "expected_assists": 0.099,
                "key_pass": 1.0003,
                "rating": 7.034,
                "minutes": 26.48,
                "total_pass": 14.5226,
                "accurate_pass": 13.0092,
                "duels_won": 0.6393,
                "total_long_balls": 0.2937,
                "accurate_long_balls": 0.2937,
                "total_opp_half_passes": 11.6177,
                "accurate_opp_half_passes": 10.1044,
                "crosses_total": 1.1638,
                "crosses_accurate": 0.5875,
                "touches": 19.0089,
                "possession_lost": 2.9138,
                "dispossessed": 0.0,
                "duels_lost": 0.6562,
                "aerial_lost": 0.1954,
                "total_contest": 0.7003,
                "won_contest": 0.2937,
                "ball_recovery": 0.7521,
                "challenges_lost": 0.0,
                "fouls": 0.0015,
                "fouls_drawn": 0.3466,
                "assist_rate": 0.6885,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.6912,
                "big_chances_missed": 0.447,
                "xgot": 0.4675,
                "offsides": 0.0025,
                "ball_carries": 10.1058,
                "total_progression": 44.3394,
                "progressive_carries": 3.1863,
                "shots_off_target": 1.1351,
                "bench_appearance_probability": 0.498,
                "bench_expected_minutes": 26.48,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.765,
                "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.498,
                "projected_substitutes": 2,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 7 by projected rating, fifa_overall 82.0)",
              "stats": {
                "expected_goals": 0.1516,
                "goal_rate": 0.1394,
                "goals": 0,
                "shots_on_target": 0.6372,
                "total_shots": 1.7723,
                "expected_assists": 0.099,
                "key_pass": 1.0003,
                "rating": 7.034,
                "minutes": 26.48,
                "total_pass": 14.5226,
                "accurate_pass": 13.0092,
                "duels_won": 0.6393,
                "total_long_balls": 0.2937,
                "accurate_long_balls": 0.2937,
                "total_opp_half_passes": 11.6177,
                "accurate_opp_half_passes": 10.1044,
                "crosses_total": 1.1638,
                "crosses_accurate": 0.5875,
                "touches": 19.0089,
                "possession_lost": 2.9138,
                "dispossessed": 0.0,
                "duels_lost": 0.6562,
                "aerial_lost": 0.1954,
                "total_contest": 0.7003,
                "won_contest": 0.2937,
                "ball_recovery": 0.7521,
                "challenges_lost": 0.0,
                "fouls": 0.0015,
                "fouls_drawn": 0.3466,
                "assist_rate": 0.6885,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.6912,
                "big_chances_missed": 0.447,
                "xgot": 0.4675,
                "offsides": 0.0025,
                "ball_carries": 10.1058,
                "total_progression": 44.3394,
                "progressive_carries": 3.1863,
                "shots_off_target": 1.1351,
                "bench_appearance_probability": 0.498,
                "bench_expected_minutes": 26.48,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.765,
                "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": 7,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 395,
                "fifa_rank": 413.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 82.0
              }
            }
          ]
        },
        "Gabriel Jesus": {
          "player_id": 794839,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 9,
          "height": 175,
          "market_value": 17600000,
          "stats": {
            "expected_goals": 0.1662,
            "goal_rate": 0.1958,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0337,
            "key_pass": 1,
            "rating": 6.6269,
            "minutes": 26,
            "total_pass": 9,
            "accurate_pass": 7,
            "duels_won": 2,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 6,
            "accurate_opp_half_passes": 5,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 15,
            "possession_lost": 4.7363,
            "dispossessed": 0.7616,
            "duels_lost": 4,
            "aerial_lost": 1,
            "total_contest": 1,
            "won_contest": 1,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.1671,
            "offsides": 0,
            "ball_carries": 4,
            "total_progression": 5,
            "progressive_carries": 0,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.589,
            "bench_expected_minutes": 25.96,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.765,
            "projected_substitution_game_state_adjustment": -1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.1448,
            "projected_assists": 0,
            "assist_probability": 0.0328,
            "finishing_factor": 1.0182,
            "creation_factor": 0.8,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "match_id": 16421080,
              "match_date": "2026-10-25",
              "home_team": "FC Barcelona",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 12,
                "rating": 6.3,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "total_pass": 3,
                "accurate_pass": 2,
                "tackles": 0,
                "tackles_won": 0,
                "interceptions": 0,
                "clearances": 0,
                "aerial_won": 0,
                "duels_won": 0,
                "ball_recovery": 1,
                "saves": 0
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421068,
              "match_date": "2026-10-17",
              "home_team": "Real Betis",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 79,
                "rating": 6.8,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.2509,
                "expected_assists": 0.0129,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 2,
                "total_pass": 21,
                "accurate_pass": 18,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 1,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421060,
              "match_date": "2026-10-10",
              "home_team": "FC Barcelona",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Getafe",
              "stats": {
                "minutes": 82,
                "rating": 7.9,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2435,
                "expected_assists": 0.0491,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 31,
                "accurate_pass": 26,
                "key_pass": 2,
                "tackles": 3,
                "tackles_won": 3,
                "duels_won": 6,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416349,
              "match_date": "2026-09-19",
              "home_team": "Sevilla",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 10,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0006,
                "total_shots": 0,
                "total_pass": 1,
                "accurate_pass": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416346,
              "match_date": "2026-09-16",
              "home_team": "FC Barcelona",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 21,
                "rating": 7.4,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1758,
                "expected_assists": 0.0021,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 6,
                "accurate_pass": 6,
                "tackles": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416325,
              "match_date": "2026-09-06",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Valencia",
              "stats": {
                "minutes": 9,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.123,
                "expected_assists": 0.222,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 14,
                "accurate_pass": 11,
                "key_pass": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14023963,
              "match_date": "2026-05-24",
              "home_team": "Crystal Palace",
              "away_team": "Arsenal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Arsenal",
              "opponent": "Crystal Palace",
              "stats": {
                "minutes": 75,
                "rating": 7.3,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.8793,
                "expected_assists": 0.0267,
                "total_shots": 4,
                "shots_on_target": 2,
                "shots_off_target": 2,
                "total_pass": 15,
                "accurate_pass": 13,
                "key_pass": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 2,
                "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": 14023931,
              "match_date": "2026-05-02",
              "home_team": "Arsenal",
              "away_team": "Fulham",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Arsenal",
              "opponent": "Fulham",
              "stats": {
                "minutes": 26,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "total_pass": 2,
                "accurate_pass": 1,
                "interceptions": 1,
                "aerial_won": 2,
                "duels_won": 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": 14025021,
              "match_date": "2026-04-11",
              "home_team": "Arsenal",
              "away_team": "Bournemouth",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Arsenal",
              "opponent": "Bournemouth",
              "stats": {
                "minutes": 14,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0829,
                "expected_assists": 0.0445,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 8,
                "accurate_pass": 7,
                "key_pass": 1,
                "aerial_won": 1,
                "duels_won": 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": 14025018,
              "match_date": "2026-02-18",
              "home_team": "Wolverhampton",
              "away_team": "Arsenal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Arsenal",
              "opponent": "Wolverhampton",
              "stats": {
                "minutes": 25,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0058,
                "total_shots": 0,
                "total_pass": 10,
                "accurate_pass": 9,
                "interceptions": 1,
                "aerial_won": 2,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "Premier League",
              "league_id": "17",
              "league_slug": "premier-league",
              "league_country": "England",
              "season_id": "76986",
              "season_name": "Premier League 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 2126,
            "combined_rank_score": 803.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 745.0,
            "sofascore_rating": 6.6667,
            "sofascore_appearances": 6.0,
            "fifa_rank": 862.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 18,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6269,
            "source_file": "data/player_rankings.csv",
            "player_name": "Gabriel Jesus",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Edvinas Girdvainis",
                  "ranking": 2121
                },
                {
                  "player_name": "Son Seung-Min",
                  "ranking": 2122
                },
                {
                  "player_name": "Diogo Dalot",
                  "ranking": 2123
                },
                {
                  "player_name": "Ainsley Maitland-Niles",
                  "ranking": 2124
                },
                {
                  "player_name": "Crysencio Summerville",
                  "ranking": 2125
                }
              ],
              "lower": [
                {
                  "player_name": "Sepp van den Berg",
                  "ranking": 2127
                },
                {
                  "player_name": "Chan-hyung Lee",
                  "ranking": 2128
                },
                {
                  "player_name": "Sarvar Abduhamidov",
                  "ranking": 2129
                },
                {
                  "player_name": "Oleksiy Shchebetun",
                  "ranking": 2130
                },
                {
                  "player_name": "Nurzhakhon Muzaffarov",
                  "ranking": 2131
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 20,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 20,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 25.963015995530526,
            "bench_appearance_prob": 0.5892279997968422,
            "market_value_adjustment": 1.0061,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (20 historical appearances) to 26.0 expected mins (appearance prob 0.59)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.1272,
                "goals": 0.1301,
                "goal_rate": 0.1301,
                "shots_on_target": 0.3298,
                "total_shots": 0.8956,
                "expected_assists": 0.0233,
                "key_pass": 0.3485,
                "rating": 6.6269,
                "minutes": 17.36,
                "total_pass": 5.6644,
                "accurate_pass": 4.488,
                "duels_won": 1.2025,
                "total_long_balls": 0.1333,
                "accurate_long_balls": 0.1009,
                "total_opp_half_passes": 4.0738,
                "accurate_opp_half_passes": 3.137,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 10.0996,
                "possession_lost": 3.1477,
                "dispossessed": 0.757,
                "duels_lost": 2.3323,
                "aerial_lost": 0.6524,
                "total_contest": 0.9161,
                "won_contest": 0.4798,
                "ball_recovery": 0.6539,
                "challenges_lost": 0.1812,
                "fouls": 0.3053,
                "fouls_drawn": 0.0199,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.1801,
                "tackles_won": 0.0,
                "tackles": 0.2295,
                "clearances": 0.0492,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1552,
                "xgot": 0.1279,
                "offsides": 0.1716,
                "ball_carries": 2.6013,
                "total_progression": 3.014,
                "progressive_carries": 0.24,
                "shots_off_target": 0.5658
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-31T10:30:56.271646+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 610,
                    "rows": 17075
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-25",
                    "opponent": "Real Madrid",
                    "minutes": 12.0,
                    "is_starting": false,
                    "weight": 0.156,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-10-17",
                    "opponent": "Real Betis",
                    "minutes": 79.0,
                    "is_starting": true,
                    "weight": 0.1326,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-10-10",
                    "opponent": "Getafe",
                    "minutes": 82.0,
                    "is_starting": true,
                    "weight": 0.1127,
                    "rating": 7.9
                  },
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Sevilla",
                    "minutes": 10.0,
                    "is_starting": false,
                    "weight": 0.0958,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Real Racing Club",
                    "minutes": 21.0,
                    "is_starting": false,
                    "weight": 0.0815,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Valencia",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 0.0692,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-24",
                    "opponent": "Crystal Palace",
                    "minutes": 75.0,
                    "is_starting": true,
                    "weight": 0.0589,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Fulham",
                    "minutes": 26.0,
                    "is_starting": false,
                    "weight": 0.05,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-04-11",
                    "opponent": "Bournemouth",
                    "minutes": 14.0,
                    "is_starting": false,
                    "weight": 0.0425,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-02-18",
                    "opponent": "Wolverhampton",
                    "minutes": 25.0,
                    "is_starting": false,
                    "weight": 0.0361,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "accurateOppositionHalfPasses": 7.2479,
                  "expectedGoals": 0.3064,
                  "totalOppositionHalfPasses": 8.8324,
                  "accuratePass": 9.3209,
                  "totalShots": 1.374
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.12720134854316711,
                    "model_output": 0.1272,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.282
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0898
                      },
                      {
                        "name": "goals",
                        "importance": 0.0323
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0316
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0236
                      }
                    ],
                    "decomposition": {
                      "base": 0.1945,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.094
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0158
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0108
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0057
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0043
                        }
                      ],
                      "others": 0.0015,
                      "total": 0.1272,
                      "log_link": true,
                      "margin_base": -1.637486,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.660346
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.146292
                        },
                        {
                          "name": "goals",
                          "margin": 0.088704
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.045718
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.035149
                        }
                      ],
                      "others_margin": 0.011421
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.13013938069343567,
                    "model_output": 0.1301,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.144
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0742
                      },
                      {
                        "name": "goals",
                        "importance": 0.053
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0321
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0311
                      }
                    ],
                    "decomposition": {
                      "base": 0.199,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1006
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0167
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0074
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0058
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": 0.0059
                        }
                      ],
                      "others": 0.0107,
                      "total": 0.1301,
                      "log_link": true,
                      "margin_base": -1.614663,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.704783
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.156567
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": -0.066601
                        },
                        {
                          "name": "goals",
                          "margin": 0.05232
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": 0.051054
                        }
                      ],
                      "others_margin": 0.086957
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.32976028323173523,
                    "model_output": 0.3298,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2115
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.066
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0499
                      },
                      {
                        "name": "goals",
                        "importance": 0.0473
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0333
                      }
                    ],
                    "decomposition": {
                      "base": 0.5305,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2401
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0197
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0158
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0154
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0133
                        }
                      ],
                      "others": 0.0146,
                      "total": 0.3298,
                      "log_link": true,
                      "margin_base": -0.633985,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.602752
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.070444
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.056804
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": 0.052427
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.043181
                        }
                      ],
                      "others_margin": 0.04538
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.8955361843109131,
                    "model_output": 0.8955,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2934
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0662
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.05
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0272
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.027
                      }
                    ],
                    "decomposition": {
                      "base": 1.3805,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.5722
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0552
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0501
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0444
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0393
                        }
                      ],
                      "others": 0.0086,
                      "total": 0.8955,
                      "log_link": false,
                      "margin_base": 1.38048,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.572189
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.05519
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.050107
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": 0.044362
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.039281
                        }
                      ],
                      "others_margin": 0.008686
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.023348424583673477,
                    "model_output": 0.0233,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1135
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0826
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0722
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0587
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0552
                      }
                    ],
                    "decomposition": {
                      "base": 0.0647,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0229
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0046
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0035
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0023
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0016
                        }
                      ],
                      "others": -0.0065,
                      "total": 0.0233,
                      "log_link": true,
                      "margin_base": -2.738275,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.437149
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.116641
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.099348
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.070552
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.050773
                        }
                      ],
                      "others_margin": -0.244488
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.34854453802108765,
                    "model_output": 0.3485,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1545
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.1071
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0923
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0893
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0298
                      }
                    ],
                    "decomposition": {
                      "base": 0.6939,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2661
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0231
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0182
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0157
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0144
                        }
                      ],
                      "others": -0.0367,
                      "total": 0.3485,
                      "log_link": true,
                      "margin_base": -0.365451,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.483685
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.055564
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.046043
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.041569
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.03805
                        }
                      ],
                      "others_margin": -0.099727
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.626884937286377,
                    "model_output": 6.6269,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0529
                      },
                      {
                        "name": "rating",
                        "importance": 0.0463
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.044
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0417
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0371
                      }
                    ],
                    "decomposition": {
                      "base": 6.7735,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0707
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0129
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": -0.0108
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0102
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0098
                        }
                      ],
                      "others": -0.0322,
                      "total": 6.6269,
                      "log_link": false,
                      "margin_base": 6.773504,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.070692
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.012897
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": -0.0108
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.010178
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.009773
                        }
                      ],
                      "others_margin": -0.03228
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 20,
                  "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.0061, quality 0.607)",
              "stats": {
                "expected_goals": 0.128,
                "goals": 0.1309,
                "goal_rate": 0.1309,
                "shots_on_target": 0.3318,
                "total_shots": 0.9011,
                "expected_assists": 0.0235,
                "key_pass": 0.3507,
                "rating": 6.6269,
                "minutes": 17.36,
                "total_pass": 5.699,
                "accurate_pass": 4.5154,
                "duels_won": 1.2098,
                "total_long_balls": 0.1341,
                "accurate_long_balls": 0.1015,
                "total_opp_half_passes": 4.0987,
                "accurate_opp_half_passes": 3.1561,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 10.1612,
                "possession_lost": 3.1669,
                "dispossessed": 0.7616,
                "duels_lost": 2.3465,
                "aerial_lost": 0.6564,
                "total_contest": 0.9217,
                "won_contest": 0.4827,
                "ball_recovery": 0.6579,
                "challenges_lost": 0.1823,
                "fouls": 0.3072,
                "fouls_drawn": 0.02,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.1812,
                "tackles_won": 0.0,
                "tackles": 0.2309,
                "clearances": 0.0495,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1561,
                "xgot": 0.1287,
                "offsides": 0.1726,
                "ball_carries": 2.6172,
                "total_progression": 3.0324,
                "progressive_carries": 0.2415,
                "shots_off_target": 0.5693
              },
              "params": {
                "market_value_eur": 17600000,
                "quality_factor": 0.6068,
                "boost_factor": 1.0061,
                "reference_quality": 0.505,
                "history_matches": 20,
                "history_shrink": 0.2,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 17.4 to 26.0 expected minutes (appearance prob 0.59)",
              "stats": {
                "expected_goals": 0.1914,
                "goals": 0.1958,
                "goal_rate": 0.1958,
                "shots_on_target": 0.4962,
                "total_shots": 1.3477,
                "expected_assists": 0.0351,
                "key_pass": 0.5245,
                "rating": 6.6269,
                "minutes": 25.96,
                "total_pass": 8.5232,
                "accurate_pass": 6.7531,
                "duels_won": 1.8093,
                "total_long_balls": 0.2006,
                "accurate_long_balls": 0.1518,
                "total_opp_half_passes": 6.1299,
                "accurate_opp_half_passes": 4.7202,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 15.1967,
                "possession_lost": 4.7363,
                "dispossessed": 0.7616,
                "duels_lost": 3.5093,
                "aerial_lost": 0.6564,
                "total_contest": 1.3785,
                "won_contest": 0.7219,
                "ball_recovery": 0.9839,
                "challenges_lost": 0.1823,
                "fouls": 0.4594,
                "fouls_drawn": 0.0299,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.271,
                "tackles_won": 0.0,
                "tackles": 0.3453,
                "clearances": 0.074,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2335,
                "xgot": 0.1925,
                "offsides": 0.1726,
                "ball_carries": 3.9142,
                "total_progression": 4.5352,
                "progressive_carries": 0.3612,
                "shots_off_target": 0.8514,
                "bench_appearance_probability": 0.589,
                "bench_expected_minutes": 25.96
              },
              "params": {
                "expected_minutes": 25.96,
                "projection_minutes": 17.36,
                "minutes_scale": 1.4956,
                "appearance_probability": 0.589
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1914,
                "goals": 0.1958,
                "goal_rate": 0.1958,
                "shots_on_target": 0.4962,
                "total_shots": 1.3477,
                "expected_assists": 0.0351,
                "key_pass": 0.5245,
                "rating": 6.6269,
                "minutes": 25.96,
                "total_pass": 8.5232,
                "accurate_pass": 6.7531,
                "duels_won": 1.8093,
                "total_long_balls": 0.2006,
                "accurate_long_balls": 0.1518,
                "total_opp_half_passes": 6.1299,
                "accurate_opp_half_passes": 4.7202,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 15.1967,
                "possession_lost": 4.7363,
                "dispossessed": 0.7616,
                "duels_lost": 3.5093,
                "aerial_lost": 0.6564,
                "total_contest": 1.3785,
                "won_contest": 0.7219,
                "ball_recovery": 0.9839,
                "challenges_lost": 0.1823,
                "fouls": 0.4594,
                "fouls_drawn": 0.0299,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.271,
                "tackles_won": 0.0,
                "tackles": 0.3453,
                "clearances": 0.074,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2335,
                "xgot": 0.1925,
                "offsides": 0.1726,
                "ball_carries": 3.9142,
                "total_progression": 4.5352,
                "progressive_carries": 0.3612,
                "shots_off_target": 0.8514,
                "bench_appearance_probability": 0.589,
                "bench_expected_minutes": 25.96
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 3 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.1914,
                "goal_rate": 0.1958,
                "goals": 0,
                "shots_on_target": 0.4962,
                "total_shots": 1.3477,
                "expected_assists": 0.0351,
                "key_pass": 0.5245,
                "rating": 6.6269,
                "minutes": 25.96,
                "total_pass": 8.5232,
                "accurate_pass": 6.7531,
                "duels_won": 1.8093,
                "total_long_balls": 0.2006,
                "accurate_long_balls": 0.1518,
                "total_opp_half_passes": 6.1299,
                "accurate_opp_half_passes": 4.7202,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 15.1967,
                "possession_lost": 4.7363,
                "dispossessed": 0.7616,
                "duels_lost": 3.5093,
                "aerial_lost": 0.6564,
                "total_contest": 1.3785,
                "won_contest": 0.7219,
                "ball_recovery": 0.9839,
                "challenges_lost": 0.1823,
                "fouls": 0.4594,
                "fouls_drawn": 0.0299,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.271,
                "tackles_won": 0.0,
                "tackles": 0.3453,
                "clearances": 0.074,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2335,
                "xgot": 0.1925,
                "offsides": 0.1726,
                "ball_carries": 3.9142,
                "total_progression": 4.5352,
                "progressive_carries": 0.3612,
                "shots_off_target": 0.8514,
                "bench_appearance_probability": 0.589,
                "bench_expected_minutes": 25.96,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.765,
                "projected_substitution_game_state_adjustment": -1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 3
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 3.86 (squad xG sum 2.6208, xG scale 1.4740, xA scale 1.6297, team xA 2.51 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.1662,
                "goal_rate": 0.1958,
                "goals": 0,
                "shots_on_target": 0.4962,
                "total_shots": 1.3477,
                "expected_assists": 0.0337,
                "key_pass": 0.5245,
                "rating": 6.6269,
                "minutes": 25.96,
                "total_pass": 8.5232,
                "accurate_pass": 6.7531,
                "duels_won": 1.8093,
                "total_long_balls": 0.2006,
                "accurate_long_balls": 0.1518,
                "total_opp_half_passes": 6.1299,
                "accurate_opp_half_passes": 4.7202,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 15.1967,
                "possession_lost": 4.7363,
                "dispossessed": 0.7616,
                "duels_lost": 3.5093,
                "aerial_lost": 0.6564,
                "total_contest": 1.3785,
                "won_contest": 0.7219,
                "ball_recovery": 0.9839,
                "challenges_lost": 0.1823,
                "fouls": 0.4594,
                "fouls_drawn": 0.0299,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.271,
                "tackles_won": 0.0,
                "tackles": 0.3453,
                "clearances": 0.074,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2335,
                "xgot": 0.1671,
                "offsides": 0.1726,
                "ball_carries": 3.9142,
                "total_progression": 4.5352,
                "progressive_carries": 0.3612,
                "shots_off_target": 0.8514,
                "bench_appearance_probability": 0.589,
                "bench_expected_minutes": 25.96,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.765,
                "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.0182,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 3.863,
                "squad_xg_sum": 2.6208,
                "squad_xa_sum": 1.5408,
                "team_expected_assists": 2.511,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.474,
                "xa_scale": 1.6297,
                "opponent_lambda": 1.288,
                "scoreline_reset": true,
                "appearance_weight": 0.589
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1914,
                  "after": 0.1662
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 18 by projected rating, fifa_overall 79.0)",
              "stats": {
                "expected_goals": 0.1662,
                "goal_rate": 0.1958,
                "goals": 0,
                "shots_on_target": 0.4962,
                "total_shots": 1.3477,
                "expected_assists": 0.0337,
                "key_pass": 0.5245,
                "rating": 6.6269,
                "minutes": 25.96,
                "total_pass": 8.5232,
                "accurate_pass": 6.7531,
                "duels_won": 1.8093,
                "total_long_balls": 0.2006,
                "accurate_long_balls": 0.1518,
                "total_opp_half_passes": 6.1299,
                "accurate_opp_half_passes": 4.7202,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 15.1967,
                "possession_lost": 4.7363,
                "dispossessed": 0.7616,
                "duels_lost": 3.5093,
                "aerial_lost": 0.6564,
                "total_contest": 1.3785,
                "won_contest": 0.7219,
                "ball_recovery": 0.9839,
                "challenges_lost": 0.1823,
                "fouls": 0.4594,
                "fouls_drawn": 0.0299,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.271,
                "tackles_won": 0.0,
                "tackles": 0.3453,
                "clearances": 0.074,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2335,
                "xgot": 0.1671,
                "offsides": 0.1726,
                "ball_carries": 3.9142,
                "total_progression": 4.5352,
                "progressive_carries": 0.3612,
                "shots_off_target": 0.8514,
                "bench_appearance_probability": 0.589,
                "bench_expected_minutes": 25.96,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.765,
                "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.0182,
                "creation_factor": 0.8,
                "fifa_overall": 79.0
              },
              "params": {
                "match_squad_rank": 18,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 2126,
                "fifa_rank": 862.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 79.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 3 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.1662,
                "goal_rate": 0.1958,
                "goals": 0,
                "shots_on_target": 0.4962,
                "total_shots": 1.3477,
                "expected_assists": 0.0337,
                "key_pass": 0.5245,
                "rating": 6.6269,
                "minutes": 25.96,
                "total_pass": 8.5232,
                "accurate_pass": 6.7531,
                "duels_won": 1.8093,
                "total_long_balls": 0.2006,
                "accurate_long_balls": 0.1518,
                "total_opp_half_passes": 6.1299,
                "accurate_opp_half_passes": 4.7202,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 15.1967,
                "possession_lost": 4.7363,
                "dispossessed": 0.7616,
                "duels_lost": 3.5093,
                "aerial_lost": 0.6564,
                "total_contest": 1.3785,
                "won_contest": 0.7219,
                "ball_recovery": 0.9839,
                "challenges_lost": 0.1823,
                "fouls": 0.4594,
                "fouls_drawn": 0.0299,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.271,
                "tackles_won": 0.0,
                "tackles": 0.3453,
                "clearances": 0.074,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2335,
                "xgot": 0.1671,
                "offsides": 0.1726,
                "ball_carries": 3.9142,
                "total_progression": 4.5352,
                "progressive_carries": 0.3612,
                "shots_off_target": 0.8514,
                "bench_appearance_probability": 0.589,
                "bench_expected_minutes": 25.96,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.765,
                "projected_substitution_game_state_adjustment": -1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.1448,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0182,
                "creation_factor": 0.8,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 3,
                "goals_allocated": 0,
                "goal_probability": 0.1448,
                "goal_rate": 0.1958,
                "scorer_weight": 0.1692,
                "squad_weight_total": 4.4245,
                "weight_share": 0.0382,
                "finishing_factor": 1.0182,
                "appearance_weight": 0.589,
                "weight_rank": 6,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Raphinha",
                    "weight": 1.5149,
                    "already": 0,
                    "effective_weight": 1.5149,
                    "runner_up": "Lamine Yamal",
                    "runner_up_effective_weight": 1.1818
                  },
                  {
                    "n": 2,
                    "player": "Lamine Yamal",
                    "weight": 1.1818,
                    "already": 0,
                    "effective_weight": 1.1818,
                    "runner_up": "Raphinha",
                    "runner_up_effective_weight": 0.6446
                  },
                  {
                    "n": 3,
                    "player": "Raphinha",
                    "weight": 1.5149,
                    "already": 1,
                    "effective_weight": 0.6446,
                    "runner_up": "Lamine Yamal",
                    "runner_up_effective_weight": 0.5029
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 2 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "expected_goals": 0.1662,
                "goal_rate": 0.1958,
                "goals": 0,
                "shots_on_target": 0.4962,
                "total_shots": 1.3477,
                "expected_assists": 0.0337,
                "key_pass": 0.5245,
                "rating": 6.6269,
                "minutes": 25.96,
                "total_pass": 8.5232,
                "accurate_pass": 6.7531,
                "duels_won": 1.8093,
                "total_long_balls": 0.2006,
                "accurate_long_balls": 0.1518,
                "total_opp_half_passes": 6.1299,
                "accurate_opp_half_passes": 4.7202,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 15.1967,
                "possession_lost": 4.7363,
                "dispossessed": 0.7616,
                "duels_lost": 3.5093,
                "aerial_lost": 0.6564,
                "total_contest": 1.3785,
                "won_contest": 0.7219,
                "ball_recovery": 0.9839,
                "challenges_lost": 0.1823,
                "fouls": 0.4594,
                "fouls_drawn": 0.0299,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.271,
                "tackles_won": 0.0,
                "tackles": 0.3453,
                "clearances": 0.074,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2335,
                "xgot": 0.1671,
                "offsides": 0.1726,
                "ball_carries": 3.9142,
                "total_progression": 4.5352,
                "progressive_carries": 0.3612,
                "shots_off_target": 0.8514,
                "bench_appearance_probability": 0.589,
                "bench_expected_minutes": 25.96,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.765,
                "projected_substitution_game_state_adjustment": -1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.1448,
                "projected_assists": 0,
                "assist_probability": 0.0328,
                "finishing_factor": 1.0182,
                "creation_factor": 0.8,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 2,
                "assists_allocated": 0,
                "assist_probability": 0.0328,
                "assist_rate": 0.0,
                "provider_weight": 0.027,
                "squad_weight_total": 2.7263,
                "weight_share": 0.0099,
                "creation_factor": 0.8,
                "appearance_weight": 0.589,
                "weight_rank": 12,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Lamine Yamal",
                    "weight": 0.5086,
                    "already": 0,
                    "effective_weight": 0.5086,
                    "runner_up": "Pedri",
                    "runner_up_effective_weight": 0.3563
                  },
                  {
                    "n": 2,
                    "player": "Pedri",
                    "weight": 0.3563,
                    "already": 0,
                    "effective_weight": 0.3563,
                    "runner_up": "Fermín López",
                    "runner_up_effective_weight": 0.3049
                  }
                ]
              }
            }
          ]
        }
      },
      "substitutes": {
        "Dani Olmo": {
          "player_id": 789071,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 20,
          "height": 182,
          "market_value": 58000000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0934,
            "assist_rate": 0.1284,
            "assists": 0,
            "expected_goals": 0.0862,
            "goal_rate": 0.2013,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 2,
            "rating": 7.1378,
            "minutes": 25,
            "total_pass": 20,
            "accurate_pass": 19,
            "duels_won": 2,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "total_own_half_passes": 6,
            "accurate_own_half_passes": 5,
            "total_opp_half_passes": 15,
            "accurate_opp_half_passes": 13,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 27,
            "possession_lost": 2.8336,
            "dispossessed": 0.3977,
            "duels_lost": 1,
            "aerial_won": 0,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 1,
            "total_contest": 1,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.1611,
            "ball_carries": 9,
            "total_progression": 21,
            "progressive_carries": 0,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.597,
            "bench_expected_minutes": 25.47,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.765,
            "projected_substitution_game_state_adjustment": -1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0803,
            "projected_assists": 0,
            "assist_probability": 0.0865,
            "finishing_factor": 1.25,
            "creation_factor": 1.2219,
            "fifa_overall": 84.0
          },
          "latest_10_games": [
            {
              "match_id": 16421068,
              "match_date": "2026-10-17",
              "home_team": "Real Betis",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 28,
                "rating": 8.2,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1,
                "expected_assists": 0.0445,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 19,
                "accurate_pass": 18,
                "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": 16421060,
              "match_date": "2026-10-10",
              "home_team": "FC Barcelona",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Getafe",
              "stats": {
                "minutes": 61,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2181,
                "expected_assists": 0.0986,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 33,
                "accurate_pass": 28,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416349,
              "match_date": "2026-09-19",
              "home_team": "Sevilla",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 14,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0865,
                "expected_assists": 0.0233,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 19,
                "accurate_pass": 19,
                "key_pass": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416346,
              "match_date": "2026-09-16",
              "home_team": "FC Barcelona",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 90,
                "rating": 8.8,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.261,
                "expected_assists": 0.6775,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 60,
                "accurate_pass": 60,
                "key_pass": 6,
                "tackles": 1,
                "interceptions": 1,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416329,
              "match_date": "2026-09-13",
              "home_team": "Levante UD",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 24,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0348,
                "total_shots": 0,
                "total_pass": 25,
                "accurate_pass": 25,
                "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": 16416325,
              "match_date": "2026-09-06",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Valencia",
              "stats": {
                "minutes": 15,
                "rating": 7.9,
                "assist_rate": 2.0,
                "assists": 2,
                "expected_goals": 0.1952,
                "expected_assists": 0.4391,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 16,
                "accurate_pass": 15,
                "key_pass": 2,
                "tackles": 1,
                "interceptions": 1,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416295,
              "match_date": "2026-08-31",
              "home_team": "FC Barcelona",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 64,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0755,
                "expected_assists": 0.5023,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 37,
                "accurate_pass": 30,
                "key_pass": 2,
                "tackles": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421059,
              "match_date": "2026-08-27",
              "home_team": "FC Barcelona",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 27,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0193,
                "expected_assists": 0.2054,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 20,
                "accurate_pass": 19,
                "key_pass": 1,
                "tackles": 1,
                "clearances": 2,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416311,
              "match_date": "2026-08-23",
              "home_team": "Elche",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Elche",
              "stats": {
                "minutes": 25,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1185,
                "expected_assists": 0.0063,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 15,
                "accurate_pass": 15,
                "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": 14083739,
              "match_date": "2026-05-23",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Valencia",
              "stats": {
                "minutes": 62,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0245,
                "expected_assists": 0.2054,
                "total_shots": 1,
                "total_pass": 36,
                "accurate_pass": 29,
                "key_pass": 1,
                "interceptions": 1,
                "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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 426,
            "combined_rank_score": 261.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 292.0,
            "sofascore_rating": 7.05,
            "sofascore_appearances": 2.0,
            "fifa_rank": 230.0,
            "fifa_overall": 84.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 5,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 7.1378,
            "source_file": "data/player_rankings.csv",
            "player_name": "Dani Olmo",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Ismoilbek Usmonxo'jayev",
                  "ranking": 421
                },
                {
                  "player_name": "Seok-joo Yoon",
                  "ranking": 422
                },
                {
                  "player_name": "Harry Wilson",
                  "ranking": 423
                },
                {
                  "player_name": "Christos Tzolis",
                  "ranking": 424
                },
                {
                  "player_name": "Nordi Mukiele",
                  "ranking": 425
                }
              ],
              "lower": [
                {
                  "player_name": "Piotr Zieliński",
                  "ranking": 427
                },
                {
                  "player_name": "Anvar Gofurov",
                  "ranking": 428
                },
                {
                  "player_name": "Ibrokhimkhalil Yuldoshev",
                  "ranking": 429
                },
                {
                  "player_name": "Iliman Ndiaye",
                  "ranking": 430
                },
                {
                  "player_name": "Lisandro Martínez",
                  "ranking": 431
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.763,
          "history_matches": 42,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 42,
            "data_confidence": 0.763,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 25.47,
            "bench_appearance_prob": 0.597,
            "market_value_adjustment": 1.0109,
            "fbref_prior_metrics": {
              "squad": "Barcelona",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 1.0,
              "sub_appearances": 2.0,
              "minutes_per_sub": 27.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.0867
            },
            "rationale": "Bench projection scaled from XGBoost M_service (42 historical appearances) to 25.5 expected mins (appearance prob 0.60); FBref playing time empirical prior: 2.0 sub appearances, 27.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1.0066,
                "expected_assists": 0.085,
                "assists": 0.1144,
                "assist_rate": 0.1144,
                "expected_goals": 0.0868,
                "goals": 0.1793,
                "goal_rate": 0.1793,
                "shots_on_target": 0.4989,
                "total_shots": 1.0552,
                "rating": 7.1378,
                "minutes": 22.8,
                "total_pass": 17.9859,
                "accurate_pass": 16.768,
                "duels_won": 1.8224,
                "total_long_balls": 0.9896,
                "accurate_long_balls": 0.853,
                "total_own_half_passes": 4.988,
                "accurate_own_half_passes": 4.823,
                "total_opp_half_passes": 12.9979,
                "accurate_opp_half_passes": 11.9451,
                "crosses_total": 0.2794,
                "crosses_accurate": 0.0858,
                "touches": 23.7636,
                "possession_lost": 2.5092,
                "dispossessed": 0.3934,
                "duels_lost": 0.9196,
                "aerial_won": 0.2585,
                "aerial_lost": 0.1187,
                "interceptions": 0.1656,
                "tackles_won": 0.1023,
                "tackles": 0.289,
                "clearances": 0.6145,
                "total_contest": 0.5456,
                "won_contest": 0.3217,
                "challenges_lost": 0.1666,
                "fouls": 0.0169,
                "fouls_drawn": 0.9533,
                "blocks": 0.0,
                "big_chances_created": 0.3925,
                "big_chances_missed": 0.0,
                "xgot": 0.1621,
                "ball_carries": 7.7386,
                "total_progression": 18.9185,
                "progressive_carries": 0.389,
                "shots_off_target": 0.5563
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-31T10:30:21.314387+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 902,
                    "rows": 24945
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-17",
                    "opponent": "Real Betis",
                    "minutes": 28.0,
                    "is_starting": false,
                    "weight": 0.1502,
                    "rating": 8.2
                  },
                  {
                    "match_date": "2026-10-10",
                    "opponent": "Getafe",
                    "minutes": 61.0,
                    "is_starting": true,
                    "weight": 0.1276,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Sevilla",
                    "minutes": 14.0,
                    "is_starting": false,
                    "weight": 0.1085,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Real Racing Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0922,
                    "rating": 8.8
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Levante UD",
                    "minutes": 24.0,
                    "is_starting": false,
                    "weight": 0.0784,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Valencia",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.0666,
                    "rating": 7.9
                  },
                  {
                    "match_date": "2026-08-31",
                    "opponent": "Rayo Vallecano",
                    "minutes": 64.0,
                    "is_starting": true,
                    "weight": 0.0566,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-27",
                    "opponent": "Athletic Club",
                    "minutes": 27.0,
                    "is_starting": false,
                    "weight": 0.0481,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Elche",
                    "minutes": 25.0,
                    "is_starting": false,
                    "weight": 0.0409,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Valencia",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.5
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalShots": 1.6153,
                  "expectedGoals": 0.1304,
                  "creative_index": 0.7643,
                  "expectedAssists": 0.1859,
                  "keyPass": 1.6319
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.0066109895706177,
                    "model_output": 1.0066,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1583
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1351
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0716
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0542
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.028
                      }
                    ],
                    "decomposition": {
                      "base": 0.8899,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4279
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0848
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0635
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0334
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0285
                        }
                      ],
                      "others": 0.3344,
                      "total": 1.0066,
                      "log_link": true,
                      "margin_base": -0.11669,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.655609
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.16852
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.109856
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.053346
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.043254
                        }
                      ],
                      "others_margin": 0.403913
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.08497294038534164,
                    "model_output": 0.085,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1213
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1076
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0864
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0618
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0476
                      }
                    ],
                    "decomposition": {
                      "base": 0.085,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0395
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0099
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0048
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0047
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0044
                        }
                      ],
                      "others": 0.0253,
                      "total": 0.085,
                      "log_link": true,
                      "margin_base": -2.465163,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.625403
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.19665
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.090274
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.088418
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.077432
                        }
                      ],
                      "others_margin": 0.352918
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.1143517717719078,
                    "model_output": 0.1144,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0508
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0447
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0336
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0324
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0322
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.019
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0128
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0121
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0095
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0079
                        }
                      ],
                      "others": 0.0218,
                      "total": 0.1144,
                      "log_link": true,
                      "margin_base": -2.463734,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.25269
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.176874
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.142377
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.099213
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.082405
                        }
                      ],
                      "others_margin": 0.21189
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.08675651997327805,
                    "model_output": 0.0868,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1242
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0778
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0743
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0437
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0241
                      }
                    ],
                    "decomposition": {
                      "base": 0.0911,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0384
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0113
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.011
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0063
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0043
                        }
                      ],
                      "others": 0.0012,
                      "total": 0.0868,
                      "log_link": true,
                      "margin_base": -2.395469,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.546406
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.194212
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.158492
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.080812
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.051691
                        }
                      ],
                      "others_margin": 0.012019
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.1793178915977478,
                    "model_output": 0.1793,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0846
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0655
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0399
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0358
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0268
                      }
                    ],
                    "decomposition": {
                      "base": 0.0947,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0296
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0193
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0172
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0168
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0139
                        }
                      ],
                      "others": 0.047,
                      "total": 0.1793,
                      "log_link": true,
                      "margin_base": -2.357331,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.374647
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.259486
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.185596
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.152646
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": 0.111076
                        }
                      ],
                      "others_margin": 0.304579
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.49887341260910034,
                    "model_output": 0.4989,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1146
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0928
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0753
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0297
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.3177,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1062
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.061
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0452
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0282
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0239
                        }
                      ],
                      "others": 0.1291,
                      "total": 0.4989,
                      "log_link": true,
                      "margin_base": -1.146731,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.406878
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.253275
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.153472
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.085125
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.066937
                        }
                      ],
                      "others_margin": 0.299398
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.0551856756210327,
                    "model_output": 1.0552,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1488
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1213
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0474
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0446
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0276
                      }
                    ],
                    "decomposition": {
                      "base": 0.9817,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.5297
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.3913
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0623
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0451
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": 0.0417
                        }
                      ],
                      "others": 0.0628,
                      "total": 1.0552,
                      "log_link": false,
                      "margin_base": 0.98173,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.529708
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.391341
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.06232
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.045099
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": 0.041707
                        }
                      ],
                      "others_margin": 0.062697
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.137820243835449,
                    "model_output": 7.1378,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.102
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0743
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0503
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0382
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 6.856,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": 0.1245
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0889
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0681
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0253
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0251
                        }
                      ],
                      "others": 0.1277,
                      "total": 7.1378,
                      "log_link": false,
                      "margin_base": 6.856008,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": 0.124541
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.088923
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.068073
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.025325
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.025136
                        }
                      ],
                      "others_margin": 0.127659
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 42,
                  "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.0109, quality 0.848)",
              "stats": {
                "key_pass": 1.0176,
                "expected_assists": 0.0859,
                "assists": 0.1156,
                "assist_rate": 0.1156,
                "expected_goals": 0.0877,
                "goals": 0.1813,
                "goal_rate": 0.1813,
                "shots_on_target": 0.5043,
                "total_shots": 1.0667,
                "rating": 7.1378,
                "minutes": 22.8,
                "total_pass": 18.1819,
                "accurate_pass": 16.9508,
                "duels_won": 1.8423,
                "total_long_balls": 1.0004,
                "accurate_long_balls": 0.8623,
                "total_own_half_passes": 5.0424,
                "accurate_own_half_passes": 4.8756,
                "total_opp_half_passes": 13.1396,
                "accurate_opp_half_passes": 12.0753,
                "crosses_total": 0.2824,
                "crosses_accurate": 0.0867,
                "touches": 24.0226,
                "possession_lost": 2.5366,
                "dispossessed": 0.3977,
                "duels_lost": 0.9296,
                "aerial_won": 0.2613,
                "aerial_lost": 0.12,
                "interceptions": 0.1674,
                "tackles_won": 0.1034,
                "tackles": 0.2922,
                "clearances": 0.6212,
                "total_contest": 0.5515,
                "won_contest": 0.3252,
                "challenges_lost": 0.1684,
                "fouls": 0.0171,
                "fouls_drawn": 0.9637,
                "blocks": 0.0,
                "big_chances_created": 0.3968,
                "big_chances_missed": 0.0,
                "xgot": 0.1639,
                "ball_carries": 7.823,
                "total_progression": 19.1247,
                "progressive_carries": 0.3932,
                "shots_off_target": 0.5624
              },
              "params": {
                "market_value_eur": 58000000,
                "quality_factor": 0.8478,
                "boost_factor": 1.0109,
                "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.0060)",
              "stats": {
                "key_pass": 1.0176,
                "expected_assists": 0.0859,
                "assists": 0.1149,
                "assist_rate": 0.1149,
                "expected_goals": 0.0877,
                "goals": 0.1802,
                "goal_rate": 0.1802,
                "shots_on_target": 0.5024,
                "total_shots": 1.065,
                "rating": 7.1378,
                "minutes": 22.8,
                "total_pass": 18.1819,
                "accurate_pass": 16.9508,
                "duels_won": 1.8423,
                "total_long_balls": 1.0004,
                "accurate_long_balls": 0.8623,
                "total_own_half_passes": 5.0424,
                "accurate_own_half_passes": 4.8756,
                "total_opp_half_passes": 13.1396,
                "accurate_opp_half_passes": 12.0753,
                "crosses_total": 0.2842,
                "crosses_accurate": 0.0867,
                "touches": 24.0226,
                "possession_lost": 2.5366,
                "dispossessed": 0.3977,
                "duels_lost": 0.9296,
                "aerial_won": 0.2613,
                "aerial_lost": 0.12,
                "interceptions": 0.1664,
                "tackles_won": 0.1028,
                "tackles": 0.2922,
                "clearances": 0.6212,
                "total_contest": 0.5515,
                "won_contest": 0.3252,
                "challenges_lost": 0.1684,
                "fouls": 0.017,
                "fouls_drawn": 0.9603,
                "blocks": 0.0,
                "big_chances_created": 0.3968,
                "big_chances_missed": 0.0,
                "xgot": 0.1639,
                "ball_carries": 7.823,
                "total_progression": 19.1247,
                "progressive_carries": 0.3932,
                "shots_off_target": 0.5624
              },
              "params": {
                "blend_weight": 0.006,
                "history_matches": 42,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.2533,
                "prior_reliability": 0.0867,
                "competition": "La Liga",
                "squad": "Barcelona"
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 22.8 to 25.5 expected minutes (appearance prob 0.60)",
              "stats": {
                "key_pass": 1.1368,
                "expected_assists": 0.096,
                "assists": 0.1284,
                "assist_rate": 0.1284,
                "expected_goals": 0.098,
                "goals": 0.2013,
                "goal_rate": 0.2013,
                "shots_on_target": 0.5612,
                "total_shots": 1.1897,
                "rating": 7.1378,
                "minutes": 25.47,
                "total_pass": 20.3111,
                "accurate_pass": 18.9358,
                "duels_won": 2.058,
                "total_long_balls": 1.1176,
                "accurate_long_balls": 0.9633,
                "total_own_half_passes": 5.6329,
                "accurate_own_half_passes": 5.4466,
                "total_opp_half_passes": 14.6783,
                "accurate_opp_half_passes": 13.4894,
                "crosses_total": 0.3175,
                "crosses_accurate": 0.0969,
                "touches": 26.8358,
                "possession_lost": 2.8336,
                "dispossessed": 0.3977,
                "duels_lost": 1.0385,
                "aerial_won": 0.2919,
                "aerial_lost": 0.12,
                "interceptions": 0.1859,
                "tackles_won": 0.1148,
                "tackles": 0.3264,
                "clearances": 0.6939,
                "total_contest": 0.6161,
                "won_contest": 0.3633,
                "challenges_lost": 0.1684,
                "fouls": 0.019,
                "fouls_drawn": 1.0728,
                "blocks": 0.0,
                "big_chances_created": 0.4433,
                "big_chances_missed": 0.0,
                "xgot": 0.1831,
                "ball_carries": 8.7391,
                "total_progression": 21.3643,
                "progressive_carries": 0.4392,
                "shots_off_target": 0.6283,
                "bench_appearance_probability": 0.597,
                "bench_expected_minutes": 25.47
              },
              "params": {
                "expected_minutes": 25.47,
                "projection_minutes": 22.8,
                "minutes_scale": 1.1171,
                "appearance_probability": 0.597
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1.1368,
                "expected_assists": 0.096,
                "assists": 0.1284,
                "assist_rate": 0.1284,
                "expected_goals": 0.098,
                "goals": 0.2013,
                "goal_rate": 0.2013,
                "shots_on_target": 0.5612,
                "total_shots": 1.1897,
                "rating": 7.1378,
                "minutes": 25.47,
                "total_pass": 20.3111,
                "accurate_pass": 18.9358,
                "duels_won": 2.058,
                "total_long_balls": 1.1176,
                "accurate_long_balls": 0.9633,
                "total_own_half_passes": 5.6329,
                "accurate_own_half_passes": 5.4466,
                "total_opp_half_passes": 14.6783,
                "accurate_opp_half_passes": 13.4894,
                "crosses_total": 0.3175,
                "crosses_accurate": 0.0969,
                "touches": 26.8358,
                "possession_lost": 2.8336,
                "dispossessed": 0.3977,
                "duels_lost": 1.0385,
                "aerial_won": 0.2919,
                "aerial_lost": 0.12,
                "interceptions": 0.1859,
                "tackles_won": 0.1148,
                "tackles": 0.3264,
                "clearances": 0.6939,
                "total_contest": 0.6161,
                "won_contest": 0.3633,
                "challenges_lost": 0.1684,
                "fouls": 0.019,
                "fouls_drawn": 1.0728,
                "blocks": 0.0,
                "big_chances_created": 0.4433,
                "big_chances_missed": 0.0,
                "xgot": 0.1831,
                "ball_carries": 8.7391,
                "total_progression": 21.3643,
                "progressive_carries": 0.4392,
                "shots_off_target": 0.6283,
                "bench_appearance_probability": 0.597,
                "bench_expected_minutes": 25.47
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 3 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 1.1368,
                "expected_assists": 0.096,
                "assist_rate": 0.1284,
                "assists": 0,
                "expected_goals": 0.098,
                "goal_rate": 0.2013,
                "goals": 0,
                "shots_on_target": 0.5612,
                "total_shots": 1.1897,
                "rating": 7.1378,
                "minutes": 25.47,
                "total_pass": 20.3111,
                "accurate_pass": 18.9358,
                "duels_won": 2.058,
                "total_long_balls": 1.1176,
                "accurate_long_balls": 0.9633,
                "total_own_half_passes": 5.6329,
                "accurate_own_half_passes": 5.4466,
                "total_opp_half_passes": 14.6783,
                "accurate_opp_half_passes": 13.4894,
                "crosses_total": 0.3175,
                "crosses_accurate": 0.0969,
                "touches": 26.8358,
                "possession_lost": 2.8336,
                "dispossessed": 0.3977,
                "duels_lost": 1.0385,
                "aerial_won": 0.2919,
                "aerial_lost": 0.12,
                "interceptions": 0.1859,
                "tackles_won": 0.1148,
                "tackles": 0.3264,
                "clearances": 0.6939,
                "total_contest": 0.6161,
                "won_contest": 0.3633,
                "challenges_lost": 0.1684,
                "fouls": 0.019,
                "fouls_drawn": 1.0728,
                "blocks": 0.0,
                "big_chances_created": 0.4433,
                "big_chances_missed": 0.0,
                "xgot": 0.1831,
                "ball_carries": 8.7391,
                "total_progression": 21.3643,
                "progressive_carries": 0.4392,
                "shots_off_target": 0.6283,
                "bench_appearance_probability": 0.597,
                "bench_expected_minutes": 25.47,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.765,
                "projected_substitution_game_state_adjustment": -1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 3
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 3.86 (squad xG sum 2.6208, xG scale 1.4740, xA scale 1.6297, team xA 2.51 = 0.65 x lambda)",
              "stats": {
                "key_pass": 1.1368,
                "expected_assists": 0.0934,
                "assist_rate": 0.1284,
                "assists": 0,
                "expected_goals": 0.0862,
                "goal_rate": 0.2013,
                "goals": 0,
                "shots_on_target": 0.5612,
                "total_shots": 1.1897,
                "rating": 7.1378,
                "minutes": 25.47,
                "total_pass": 20.3111,
                "accurate_pass": 18.9358,
                "duels_won": 2.058,
                "total_long_balls": 1.1176,
                "accurate_long_balls": 0.9633,
                "total_own_half_passes": 5.6329,
                "accurate_own_half_passes": 5.4466,
                "total_opp_half_passes": 14.6783,
                "accurate_opp_half_passes": 13.4894,
                "crosses_total": 0.3175,
                "crosses_accurate": 0.0969,
                "touches": 26.8358,
                "possession_lost": 2.8336,
                "dispossessed": 0.3977,
                "duels_lost": 1.0385,
                "aerial_won": 0.2919,
                "aerial_lost": 0.12,
                "interceptions": 0.1859,
                "tackles_won": 0.1148,
                "tackles": 0.3264,
                "clearances": 0.6939,
                "total_contest": 0.6161,
                "won_contest": 0.3633,
                "challenges_lost": 0.1684,
                "fouls": 0.019,
                "fouls_drawn": 1.0728,
                "blocks": 0.0,
                "big_chances_created": 0.4433,
                "big_chances_missed": 0.0,
                "xgot": 0.1611,
                "ball_carries": 8.7391,
                "total_progression": 21.3643,
                "progressive_carries": 0.4392,
                "shots_off_target": 0.6283,
                "bench_appearance_probability": 0.597,
                "bench_expected_minutes": 25.47,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.765,
                "projected_substitution_game_state_adjustment": -1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 1.2219
              },
              "params": {
                "team_lambda": 3.863,
                "squad_xg_sum": 2.6208,
                "squad_xa_sum": 1.5408,
                "team_expected_assists": 2.511,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.474,
                "xa_scale": 1.6297,
                "opponent_lambda": 1.288,
                "scoreline_reset": true,
                "appearance_weight": 0.597
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.098,
                  "after": 0.0862
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 5 by projected rating, fifa_overall 84.0)",
              "stats": {
                "key_pass": 1.1368,
                "expected_assists": 0.0934,
                "assist_rate": 0.1284,
                "assists": 0,
                "expected_goals": 0.0862,
                "goal_rate": 0.2013,
                "goals": 0,
                "shots_on_target": 0.5612,
                "total_shots": 1.1897,
                "rating": 7.1378,
                "minutes": 25.47,
                "total_pass": 20.3111,
                "accurate_pass": 18.9358,
                "duels_won": 2.058,
                "total_long_balls": 1.1176,
                "accurate_long_balls": 0.9633,
                "total_own_half_passes": 5.6329,
                "accurate_own_half_passes": 5.4466,
                "total_opp_half_passes": 14.6783,
                "accurate_opp_half_passes": 13.4894,
                "crosses_total": 0.3175,
                "crosses_accurate": 0.0969,
                "touches": 26.8358,
                "possession_lost": 2.8336,
                "dispossessed": 0.3977,
                "duels_lost": 1.0385,
                "aerial_won": 0.2919,
                "aerial_lost": 0.12,
                "interceptions": 0.1859,
                "tackles_won": 0.1148,
                "tackles": 0.3264,
                "clearances": 0.6939,
                "total_contest": 0.6161,
                "won_contest": 0.3633,
                "challenges_lost": 0.1684,
                "fouls": 0.019,
                "fouls_drawn": 1.0728,
                "blocks": 0.0,
                "big_chances_created": 0.4433,
                "big_chances_missed": 0.0,
                "xgot": 0.1611,
                "ball_carries": 8.7391,
                "total_progression": 21.3643,
                "progressive_carries": 0.4392,
                "shots_off_target": 0.6283,
                "bench_appearance_probability": 0.597,
                "bench_expected_minutes": 25.47,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.765,
                "projected_substitution_game_state_adjustment": -1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 1.2219,
                "fifa_overall": 84.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": 426,
                "fifa_rank": 230.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 84.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 3 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 1.1368,
                "expected_assists": 0.0934,
                "assist_rate": 0.1284,
                "assists": 0,
                "expected_goals": 0.0862,
                "goal_rate": 0.2013,
                "goals": 0,
                "shots_on_target": 0.5612,
                "total_shots": 1.1897,
                "rating": 7.1378,
                "minutes": 25.47,
                "total_pass": 20.3111,
                "accurate_pass": 18.9358,
                "duels_won": 2.058,
                "total_long_balls": 1.1176,
                "accurate_long_balls": 0.9633,
                "total_own_half_passes": 5.6329,
                "accurate_own_half_passes": 5.4466,
                "total_opp_half_passes": 14.6783,
                "accurate_opp_half_passes": 13.4894,
                "crosses_total": 0.3175,
                "crosses_accurate": 0.0969,
                "touches": 26.8358,
                "possession_lost": 2.8336,
                "dispossessed": 0.3977,
                "duels_lost": 1.0385,
                "aerial_won": 0.2919,
                "aerial_lost": 0.12,
                "interceptions": 0.1859,
                "tackles_won": 0.1148,
                "tackles": 0.3264,
                "clearances": 0.6939,
                "total_contest": 0.6161,
                "won_contest": 0.3633,
                "challenges_lost": 0.1684,
                "fouls": 0.019,
                "fouls_drawn": 1.0728,
                "blocks": 0.0,
                "big_chances_created": 0.4433,
                "big_chances_missed": 0.0,
                "xgot": 0.1611,
                "ball_carries": 8.7391,
                "total_progression": 21.3643,
                "progressive_carries": 0.4392,
                "shots_off_target": 0.6283,
                "bench_appearance_probability": 0.597,
                "bench_expected_minutes": 25.47,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.765,
                "projected_substitution_game_state_adjustment": -1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0803,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 1.2219,
                "fifa_overall": 84.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 3,
                "goals_allocated": 0,
                "goal_probability": 0.0803,
                "goal_rate": 0.2013,
                "scorer_weight": 0.1077,
                "squad_weight_total": 4.4245,
                "weight_share": 0.0244,
                "finishing_factor": 1.25,
                "appearance_weight": 0.597,
                "weight_rank": 10,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Raphinha",
                    "weight": 1.5149,
                    "already": 0,
                    "effective_weight": 1.5149,
                    "runner_up": "Lamine Yamal",
                    "runner_up_effective_weight": 1.1818
                  },
                  {
                    "n": 2,
                    "player": "Lamine Yamal",
                    "weight": 1.1818,
                    "already": 0,
                    "effective_weight": 1.1818,
                    "runner_up": "Raphinha",
                    "runner_up_effective_weight": 0.6446
                  },
                  {
                    "n": 3,
                    "player": "Raphinha",
                    "weight": 1.5149,
                    "already": 1,
                    "effective_weight": 0.6446,
                    "runner_up": "Lamine Yamal",
                    "runner_up_effective_weight": 0.5029
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 2 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "key_pass": 1.1368,
                "expected_assists": 0.0934,
                "assist_rate": 0.1284,
                "assists": 0,
                "expected_goals": 0.0862,
                "goal_rate": 0.2013,
                "goals": 0,
                "shots_on_target": 0.5612,
                "total_shots": 1.1897,
                "rating": 7.1378,
                "minutes": 25.47,
                "total_pass": 20.3111,
                "accurate_pass": 18.9358,
                "duels_won": 2.058,
                "total_long_balls": 1.1176,
                "accurate_long_balls": 0.9633,
                "total_own_half_passes": 5.6329,
                "accurate_own_half_passes": 5.4466,
                "total_opp_half_passes": 14.6783,
                "accurate_opp_half_passes": 13.4894,
                "crosses_total": 0.3175,
                "crosses_accurate": 0.0969,
                "touches": 26.8358,
                "possession_lost": 2.8336,
                "dispossessed": 0.3977,
                "duels_lost": 1.0385,
                "aerial_won": 0.2919,
                "aerial_lost": 0.12,
                "interceptions": 0.1859,
                "tackles_won": 0.1148,
                "tackles": 0.3264,
                "clearances": 0.6939,
                "total_contest": 0.6161,
                "won_contest": 0.3633,
                "challenges_lost": 0.1684,
                "fouls": 0.019,
                "fouls_drawn": 1.0728,
                "blocks": 0.0,
                "big_chances_created": 0.4433,
                "big_chances_missed": 0.0,
                "xgot": 0.1611,
                "ball_carries": 8.7391,
                "total_progression": 21.3643,
                "progressive_carries": 0.4392,
                "shots_off_target": 0.6283,
                "bench_appearance_probability": 0.597,
                "bench_expected_minutes": 25.47,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.765,
                "projected_substitution_game_state_adjustment": -1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0803,
                "projected_assists": 0,
                "assist_probability": 0.0865,
                "finishing_factor": 1.25,
                "creation_factor": 1.2219,
                "fifa_overall": 84.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 2,
                "assists_allocated": 0,
                "assist_probability": 0.0865,
                "assist_rate": 0.1284,
                "provider_weight": 0.1141,
                "squad_weight_total": 2.7263,
                "weight_share": 0.0419,
                "creation_factor": 1.2219,
                "appearance_weight": 0.597,
                "weight_rank": 11,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Lamine Yamal",
                    "weight": 0.5086,
                    "already": 0,
                    "effective_weight": 0.5086,
                    "runner_up": "Pedri",
                    "runner_up_effective_weight": 0.3563
                  },
                  {
                    "n": 2,
                    "player": "Pedri",
                    "weight": 0.3563,
                    "already": 0,
                    "effective_weight": 0.3563,
                    "runner_up": "Fermín López",
                    "runner_up_effective_weight": 0.3049
                  }
                ]
              }
            }
          ]
        },
        "Gabriel Jesus": {
          "player_id": 794839,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 9,
          "height": 175,
          "market_value": 17600000,
          "stats": {
            "expected_goals": 0.1662,
            "goal_rate": 0.1958,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0337,
            "key_pass": 1,
            "rating": 6.6269,
            "minutes": 26,
            "total_pass": 9,
            "accurate_pass": 7,
            "duels_won": 2,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 6,
            "accurate_opp_half_passes": 5,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 15,
            "possession_lost": 4.7363,
            "dispossessed": 0.7616,
            "duels_lost": 4,
            "aerial_lost": 1,
            "total_contest": 1,
            "won_contest": 1,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.1671,
            "offsides": 0,
            "ball_carries": 4,
            "total_progression": 5,
            "progressive_carries": 0,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.589,
            "bench_expected_minutes": 25.96,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.765,
            "projected_substitution_game_state_adjustment": -1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.1448,
            "projected_assists": 0,
            "assist_probability": 0.0328,
            "finishing_factor": 1.0182,
            "creation_factor": 0.8,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "match_id": 16421080,
              "match_date": "2026-10-25",
              "home_team": "FC Barcelona",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 12,
                "rating": 6.3,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "total_pass": 3,
                "accurate_pass": 2,
                "tackles": 0,
                "tackles_won": 0,
                "interceptions": 0,
                "clearances": 0,
                "aerial_won": 0,
                "duels_won": 0,
                "ball_recovery": 1,
                "saves": 0
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421068,
              "match_date": "2026-10-17",
              "home_team": "Real Betis",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 79,
                "rating": 6.8,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.2509,
                "expected_assists": 0.0129,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 2,
                "total_pass": 21,
                "accurate_pass": 18,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 1,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421060,
              "match_date": "2026-10-10",
              "home_team": "FC Barcelona",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "FC Barcelona",
              "opponent": "Getafe",
              "stats": {
                "minutes": 82,
                "rating": 7.9,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2435,
                "expected_assists": 0.0491,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 31,
                "accurate_pass": 26,
                "key_pass": 2,
                "tackles": 3,
                "tackles_won": 3,
                "duels_won": 6,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416349,
              "match_date": "2026-09-19",
              "home_team": "Sevilla",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 10,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0006,
                "total_shots": 0,
                "total_pass": 1,
                "accurate_pass": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416346,
              "match_date": "2026-09-16",
              "home_team": "FC Barcelona",
              "away_team": "Real Racing Club",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 21,
                "rating": 7.4,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1758,
                "expected_assists": 0.0021,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 6,
                "accurate_pass": 6,
                "tackles": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416325,
              "match_date": "2026-09-06",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "FC Barcelona",
              "opponent": "Valencia",
              "stats": {
                "minutes": 9,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.123,
                "expected_assists": 0.222,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 14,
                "accurate_pass": 11,
                "key_pass": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14023963,
              "match_date": "2026-05-24",
              "home_team": "Crystal Palace",
              "away_team": "Arsenal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Arsenal",
              "opponent": "Crystal Palace",
              "stats": {
                "minutes": 75,
                "rating": 7.3,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.8793,
                "expected_assists": 0.0267,
                "total_shots": 4,
                "shots_on_target": 2,
                "shots_off_target": 2,
                "total_pass": 15,
                "accurate_pass": 13,
                "key_pass": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 2,
                "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": 14023931,
              "match_date": "2026-05-02",
              "home_team": "Arsenal",
              "away_team": "Fulham",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Arsenal",
              "opponent": "Fulham",
              "stats": {
                "minutes": 26,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "total_pass": 2,
                "accurate_pass": 1,
                "interceptions": 1,
                "aerial_won": 2,
                "duels_won": 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": 14025021,
              "match_date": "2026-04-11",
              "home_team": "Arsenal",
              "away_team": "Bournemouth",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Arsenal",
              "opponent": "Bournemouth",
              "stats": {
                "minutes": 14,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0829,
                "expected_assists": 0.0445,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 8,
                "accurate_pass": 7,
                "key_pass": 1,
                "aerial_won": 1,
                "duels_won": 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": 14025018,
              "match_date": "2026-02-18",
              "home_team": "Wolverhampton",
              "away_team": "Arsenal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Arsenal",
              "opponent": "Wolverhampton",
              "stats": {
                "minutes": 25,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0058,
                "total_shots": 0,
                "total_pass": 10,
                "accurate_pass": 9,
                "interceptions": 1,
                "aerial_won": 2,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "Premier League",
              "league_id": "17",
              "league_slug": "premier-league",
              "league_country": "England",
              "season_id": "76986",
              "season_name": "Premier League 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 2126,
            "combined_rank_score": 803.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 745.0,
            "sofascore_rating": 6.6667,
            "sofascore_appearances": 6.0,
            "fifa_rank": 862.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 18,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6269,
            "source_file": "data/player_rankings.csv",
            "player_name": "Gabriel Jesus",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Edvinas Girdvainis",
                  "ranking": 2121
                },
                {
                  "player_name": "Son Seung-Min",
                  "ranking": 2122
                },
                {
                  "player_name": "Diogo Dalot",
                  "ranking": 2123
                },
                {
                  "player_name": "Ainsley Maitland-Niles",
                  "ranking": 2124
                },
                {
                  "player_name": "Crysencio Summerville",
                  "ranking": 2125
                }
              ],
              "lower": [
                {
                  "player_name": "Sepp van den Berg",
                  "ranking": 2127
                },
                {
                  "player_name": "Chan-hyung Lee",
                  "ranking": 2128
                },
                {
                  "player_name": "Sarvar Abduhamidov",
                  "ranking": 2129
                },
                {
                  "player_name": "Oleksiy Shchebetun",
                  "ranking": 2130
                },
                {
                  "player_name": "Nurzhakhon Muzaffarov",
                  "ranking": 2131
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 20,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 20,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 25.963015995530526,
            "bench_appearance_prob": 0.5892279997968422,
            "market_value_adjustment": 1.0061,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (20 historical appearances) to 26.0 expected mins (appearance prob 0.59)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.1272,
                "goals": 0.1301,
                "goal_rate": 0.1301,
                "shots_on_target": 0.3298,
                "total_shots": 0.8956,
                "expected_assists": 0.0233,
                "key_pass": 0.3485,
                "rating": 6.6269,
                "minutes": 17.36,
                "total_pass": 5.6644,
                "accurate_pass": 4.488,
                "duels_won": 1.2025,
                "total_long_balls": 0.1333,
                "accurate_long_balls": 0.1009,
                "total_opp_half_passes": 4.0738,
                "accurate_opp_half_passes": 3.137,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 10.0996,
                "possession_lost": 3.1477,
                "dispossessed": 0.757,
                "duels_lost": 2.3323,
                "aerial_lost": 0.6524,
                "total_contest": 0.9161,
                "won_contest": 0.4798,
                "ball_recovery": 0.6539,
                "challenges_lost": 0.1812,
                "fouls": 0.3053,
                "fouls_drawn": 0.0199,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.1801,
                "tackles_won": 0.0,
                "tackles": 0.2295,
                "clearances": 0.0492,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1552,
                "xgot": 0.1279,
                "offsides": 0.1716,
                "ball_carries": 2.6013,
                "total_progression": 3.014,
                "progressive_carries": 0.24,
                "shots_off_target": 0.5658
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-31T10:30:56.271646+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 610,
                    "rows": 17075
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-25",
                    "opponent": "Real Madrid",
                    "minutes": 12.0,
                    "is_starting": false,
                    "weight": 0.156,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-10-17",
                    "opponent": "Real Betis",
                    "minutes": 79.0,
                    "is_starting": true,
                    "weight": 0.1326,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-10-10",
                    "opponent": "Getafe",
                    "minutes": 82.0,
                    "is_starting": true,
                    "weight": 0.1127,
                    "rating": 7.9
                  },
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Sevilla",
                    "minutes": 10.0,
                    "is_starting": false,
                    "weight": 0.0958,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Real Racing Club",
                    "minutes": 21.0,
                    "is_starting": false,
                    "weight": 0.0815,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Valencia",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 0.0692,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-24",
                    "opponent": "Crystal Palace",
                    "minutes": 75.0,
                    "is_starting": true,
                    "weight": 0.0589,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Fulham",
                    "minutes": 26.0,
                    "is_starting": false,
                    "weight": 0.05,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-04-11",
                    "opponent": "Bournemouth",
                    "minutes": 14.0,
                    "is_starting": false,
                    "weight": 0.0425,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-02-18",
                    "opponent": "Wolverhampton",
                    "minutes": 25.0,
                    "is_starting": false,
                    "weight": 0.0361,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "accurateOppositionHalfPasses": 7.2479,
                  "expectedGoals": 0.3064,
                  "totalOppositionHalfPasses": 8.8324,
                  "accuratePass": 9.3209,
                  "totalShots": 1.374
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.12720134854316711,
                    "model_output": 0.1272,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.282
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0898
                      },
                      {
                        "name": "goals",
                        "importance": 0.0323
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0316
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0236
                      }
                    ],
                    "decomposition": {
                      "base": 0.1945,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.094
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0158
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0108
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0057
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0043
                        }
                      ],
                      "others": 0.0015,
                      "total": 0.1272,
                      "log_link": true,
                      "margin_base": -1.637486,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.660346
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.146292
                        },
                        {
                          "name": "goals",
                          "margin": 0.088704
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.045718
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.035149
                        }
                      ],
                      "others_margin": 0.011421
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.13013938069343567,
                    "model_output": 0.1301,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.144
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0742
                      },
                      {
                        "name": "goals",
                        "importance": 0.053
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0321
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0311
                      }
                    ],
                    "decomposition": {
                      "base": 0.199,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1006
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0167
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0074
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0058
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": 0.0059
                        }
                      ],
                      "others": 0.0107,
                      "total": 0.1301,
                      "log_link": true,
                      "margin_base": -1.614663,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.704783
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.156567
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": -0.066601
                        },
                        {
                          "name": "goals",
                          "margin": 0.05232
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": 0.051054
                        }
                      ],
                      "others_margin": 0.086957
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.32976028323173523,
                    "model_output": 0.3298,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2115
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.066
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0499
                      },
                      {
                        "name": "goals",
                        "importance": 0.0473
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0333
                      }
                    ],
                    "decomposition": {
                      "base": 0.5305,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2401
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0197
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0158
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0154
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0133
                        }
                      ],
                      "others": 0.0146,
                      "total": 0.3298,
                      "log_link": true,
                      "margin_base": -0.633985,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.602752
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.070444
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.056804
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": 0.052427
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.043181
                        }
                      ],
                      "others_margin": 0.04538
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.8955361843109131,
                    "model_output": 0.8955,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2934
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0662
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.05
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0272
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.027
                      }
                    ],
                    "decomposition": {
                      "base": 1.3805,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.5722
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0552
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0501
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0444
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0393
                        }
                      ],
                      "others": 0.0086,
                      "total": 0.8955,
                      "log_link": false,
                      "margin_base": 1.38048,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.572189
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.05519
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.050107
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": 0.044362
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.039281
                        }
                      ],
                      "others_margin": 0.008686
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.023348424583673477,
                    "model_output": 0.0233,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1135
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0826
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0722
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0587
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0552
                      }
                    ],
                    "decomposition": {
                      "base": 0.0647,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0229
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0046
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0035
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0023
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0016
                        }
                      ],
                      "others": -0.0065,
                      "total": 0.0233,
                      "log_link": true,
                      "margin_base": -2.738275,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.437149
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.116641
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.099348
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.070552
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.050773
                        }
                      ],
                      "others_margin": -0.244488
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.34854453802108765,
                    "model_output": 0.3485,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1545
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.1071
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0923
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0893
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0298
                      }
                    ],
                    "decomposition": {
                      "base": 0.6939,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2661
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0231
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0182
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0157
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0144
                        }
                      ],
                      "others": -0.0367,
                      "total": 0.3485,
                      "log_link": true,
                      "margin_base": -0.365451,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.483685
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.055564
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.046043
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.041569
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.03805
                        }
                      ],
                      "others_margin": -0.099727
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.626884937286377,
                    "model_output": 6.6269,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0529
                      },
                      {
                        "name": "rating",
                        "importance": 0.0463
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.044
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0417
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0371
                      }
                    ],
                    "decomposition": {
                      "base": 6.7735,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0707
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0129
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": -0.0108
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0102
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0098
                        }
                      ],
                      "others": -0.0322,
                      "total": 6.6269,
                      "log_link": false,
                      "margin_base": 6.773504,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.070692
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.012897
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": -0.0108
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.010178
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.009773
                        }
                      ],
                      "others_margin": -0.03228
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 20,
                  "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.0061, quality 0.607)",
              "stats": {
                "expected_goals": 0.128,
                "goals": 0.1309,
                "goal_rate": 0.1309,
                "shots_on_target": 0.3318,
                "total_shots": 0.9011,
                "expected_assists": 0.0235,
                "key_pass": 0.3507,
                "rating": 6.6269,
                "minutes": 17.36,
                "total_pass": 5.699,
                "accurate_pass": 4.5154,
                "duels_won": 1.2098,
                "total_long_balls": 0.1341,
                "accurate_long_balls": 0.1015,
                "total_opp_half_passes": 4.0987,
                "accurate_opp_half_passes": 3.1561,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 10.1612,
                "possession_lost": 3.1669,
                "dispossessed": 0.7616,
                "duels_lost": 2.3465,
                "aerial_lost": 0.6564,
                "total_contest": 0.9217,
                "won_contest": 0.4827,
                "ball_recovery": 0.6579,
                "challenges_lost": 0.1823,
                "fouls": 0.3072,
                "fouls_drawn": 0.02,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.1812,
                "tackles_won": 0.0,
                "tackles": 0.2309,
                "clearances": 0.0495,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1561,
                "xgot": 0.1287,
                "offsides": 0.1726,
                "ball_carries": 2.6172,
                "total_progression": 3.0324,
                "progressive_carries": 0.2415,
                "shots_off_target": 0.5693
              },
              "params": {
                "market_value_eur": 17600000,
                "quality_factor": 0.6068,
                "boost_factor": 1.0061,
                "reference_quality": 0.505,
                "history_matches": 20,
                "history_shrink": 0.2,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 17.4 to 26.0 expected minutes (appearance prob 0.59)",
              "stats": {
                "expected_goals": 0.1914,
                "goals": 0.1958,
                "goal_rate": 0.1958,
                "shots_on_target": 0.4962,
                "total_shots": 1.3477,
                "expected_assists": 0.0351,
                "key_pass": 0.5245,
                "rating": 6.6269,
                "minutes": 25.96,
                "total_pass": 8.5232,
                "accurate_pass": 6.7531,
                "duels_won": 1.8093,
                "total_long_balls": 0.2006,
                "accurate_long_balls": 0.1518,
                "total_opp_half_passes": 6.1299,
                "accurate_opp_half_passes": 4.7202,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 15.1967,
                "possession_lost": 4.7363,
                "dispossessed": 0.7616,
                "duels_lost": 3.5093,
                "aerial_lost": 0.6564,
                "total_contest": 1.3785,
                "won_contest": 0.7219,
                "ball_recovery": 0.9839,
                "challenges_lost": 0.1823,
                "fouls": 0.4594,
                "fouls_drawn": 0.0299,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.271,
                "tackles_won": 0.0,
                "tackles": 0.3453,
                "clearances": 0.074,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2335,
                "xgot": 0.1925,
                "offsides": 0.1726,
                "ball_carries": 3.9142,
                "total_progression": 4.5352,
                "progressive_carries": 0.3612,
                "shots_off_target": 0.8514,
                "bench_appearance_probability": 0.589,
                "bench_expected_minutes": 25.96
              },
              "params": {
                "expected_minutes": 25.96,
                "projection_minutes": 17.36,
                "minutes_scale": 1.4956,
                "appearance_probability": 0.589
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1914,
                "goals": 0.1958,
                "goal_rate": 0.1958,
                "shots_on_target": 0.4962,
                "total_shots": 1.3477,
                "expected_assists": 0.0351,
                "key_pass": 0.5245,
                "rating": 6.6269,
                "minutes": 25.96,
                "total_pass": 8.5232,
                "accurate_pass": 6.7531,
                "duels_won": 1.8093,
                "total_long_balls": 0.2006,
                "accurate_long_balls": 0.1518,
                "total_opp_half_passes": 6.1299,
                "accurate_opp_half_passes": 4.7202,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 15.1967,
                "possession_lost": 4.7363,
                "dispossessed": 0.7616,
                "duels_lost": 3.5093,
                "aerial_lost": 0.6564,
                "total_contest": 1.3785,
                "won_contest": 0.7219,
                "ball_recovery": 0.9839,
                "challenges_lost": 0.1823,
                "fouls": 0.4594,
                "fouls_drawn": 0.0299,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.271,
                "tackles_won": 0.0,
                "tackles": 0.3453,
                "clearances": 0.074,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2335,
                "xgot": 0.1925,
                "offsides": 0.1726,
                "ball_carries": 3.9142,
                "total_progression": 4.5352,
                "progressive_carries": 0.3612,
                "shots_off_target": 0.8514,
                "bench_appearance_probability": 0.589,
                "bench_expected_minutes": 25.96
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 3 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.1914,
                "goal_rate": 0.1958,
                "goals": 0,
                "shots_on_target": 0.4962,
                "total_shots": 1.3477,
                "expected_assists": 0.0351,
                "key_pass": 0.5245,
                "rating": 6.6269,
                "minutes": 25.96,
                "total_pass": 8.5232,
                "accurate_pass": 6.7531,
                "duels_won": 1.8093,
                "total_long_balls": 0.2006,
                "accurate_long_balls": 0.1518,
                "total_opp_half_passes": 6.1299,
                "accurate_opp_half_passes": 4.7202,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 15.1967,
                "possession_lost": 4.7363,
                "dispossessed": 0.7616,
                "duels_lost": 3.5093,
                "aerial_lost": 0.6564,
                "total_contest": 1.3785,
                "won_contest": 0.7219,
                "ball_recovery": 0.9839,
                "challenges_lost": 0.1823,
                "fouls": 0.4594,
                "fouls_drawn": 0.0299,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.271,
                "tackles_won": 0.0,
                "tackles": 0.3453,
                "clearances": 0.074,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2335,
                "xgot": 0.1925,
                "offsides": 0.1726,
                "ball_carries": 3.9142,
                "total_progression": 4.5352,
                "progressive_carries": 0.3612,
                "shots_off_target": 0.8514,
                "bench_appearance_probability": 0.589,
                "bench_expected_minutes": 25.96,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.765,
                "projected_substitution_game_state_adjustment": -1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 3
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 3.86 (squad xG sum 2.6208, xG scale 1.4740, xA scale 1.6297, team xA 2.51 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.1662,
                "goal_rate": 0.1958,
                "goals": 0,
                "shots_on_target": 0.4962,
                "total_shots": 1.3477,
                "expected_assists": 0.0337,
                "key_pass": 0.5245,
                "rating": 6.6269,
                "minutes": 25.96,
                "total_pass": 8.5232,
                "accurate_pass": 6.7531,
                "duels_won": 1.8093,
                "total_long_balls": 0.2006,
                "accurate_long_balls": 0.1518,
                "total_opp_half_passes": 6.1299,
                "accurate_opp_half_passes": 4.7202,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 15.1967,
                "possession_lost": 4.7363,
                "dispossessed": 0.7616,
                "duels_lost": 3.5093,
                "aerial_lost": 0.6564,
                "total_contest": 1.3785,
                "won_contest": 0.7219,
                "ball_recovery": 0.9839,
                "challenges_lost": 0.1823,
                "fouls": 0.4594,
                "fouls_drawn": 0.0299,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.271,
                "tackles_won": 0.0,
                "tackles": 0.3453,
                "clearances": 0.074,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2335,
                "xgot": 0.1671,
                "offsides": 0.1726,
                "ball_carries": 3.9142,
                "total_progression": 4.5352,
                "progressive_carries": 0.3612,
                "shots_off_target": 0.8514,
                "bench_appearance_probability": 0.589,
                "bench_expected_minutes": 25.96,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.765,
                "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.0182,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 3.863,
                "squad_xg_sum": 2.6208,
                "squad_xa_sum": 1.5408,
                "team_expected_assists": 2.511,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.474,
                "xa_scale": 1.6297,
                "opponent_lambda": 1.288,
                "scoreline_reset": true,
                "appearance_weight": 0.589
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1914,
                  "after": 0.1662
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 18 by projected rating, fifa_overall 79.0)",
              "stats": {
                "expected_goals": 0.1662,
                "goal_rate": 0.1958,
                "goals": 0,
                "shots_on_target": 0.4962,
                "total_shots": 1.3477,
                "expected_assists": 0.0337,
                "key_pass": 0.5245,
                "rating": 6.6269,
                "minutes": 25.96,
                "total_pass": 8.5232,
                "accurate_pass": 6.7531,
                "duels_won": 1.8093,
                "total_long_balls": 0.2006,
                "accurate_long_balls": 0.1518,
                "total_opp_half_passes": 6.1299,
                "accurate_opp_half_passes": 4.7202,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 15.1967,
                "possession_lost": 4.7363,
                "dispossessed": 0.7616,
                "duels_lost": 3.5093,
                "aerial_lost": 0.6564,
                "total_contest": 1.3785,
                "won_contest": 0.7219,
                "ball_recovery": 0.9839,
                "challenges_lost": 0.1823,
                "fouls": 0.4594,
                "fouls_drawn": 0.0299,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.271,
                "tackles_won": 0.0,
                "tackles": 0.3453,
                "clearances": 0.074,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2335,
                "xgot": 0.1671,
                "offsides": 0.1726,
                "ball_carries": 3.9142,
                "total_progression": 4.5352,
                "progressive_carries": 0.3612,
                "shots_off_target": 0.8514,
                "bench_appearance_probability": 0.589,
                "bench_expected_minutes": 25.96,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.765,
                "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.0182,
                "creation_factor": 0.8,
                "fifa_overall": 79.0
              },
              "params": {
                "match_squad_rank": 18,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 2126,
                "fifa_rank": 862.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 79.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 3 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.1662,
                "goal_rate": 0.1958,
                "goals": 0,
                "shots_on_target": 0.4962,
                "total_shots": 1.3477,
                "expected_assists": 0.0337,
                "key_pass": 0.5245,
                "rating": 6.6269,
                "minutes": 25.96,
                "total_pass": 8.5232,
                "accurate_pass": 6.7531,
                "duels_won": 1.8093,
                "total_long_balls": 0.2006,
                "accurate_long_balls": 0.1518,
                "total_opp_half_passes": 6.1299,
                "accurate_opp_half_passes": 4.7202,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 15.1967,
                "possession_lost": 4.7363,
                "dispossessed": 0.7616,
                "duels_lost": 3.5093,
                "aerial_lost": 0.6564,
                "total_contest": 1.3785,
                "won_contest": 0.7219,
                "ball_recovery": 0.9839,
                "challenges_lost": 0.1823,
                "fouls": 0.4594,
                "fouls_drawn": 0.0299,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.271,
                "tackles_won": 0.0,
                "tackles": 0.3453,
                "clearances": 0.074,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2335,
                "xgot": 0.1671,
                "offsides": 0.1726,
                "ball_carries": 3.9142,
                "total_progression": 4.5352,
                "progressive_carries": 0.3612,
                "shots_off_target": 0.8514,
                "bench_appearance_probability": 0.589,
                "bench_expected_minutes": 25.96,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.765,
                "projected_substitution_game_state_adjustment": -1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.1448,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0182,
                "creation_factor": 0.8,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 3,
                "goals_allocated": 0,
                "goal_probability": 0.1448,
                "goal_rate": 0.1958,
                "scorer_weight": 0.1692,
                "squad_weight_total": 4.4245,
                "weight_share": 0.0382,
                "finishing_factor": 1.0182,
                "appearance_weight": 0.589,
                "weight_rank": 6,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Raphinha",
                    "weight": 1.5149,
                    "already": 0,
                    "effective_weight": 1.5149,
                    "runner_up": "Lamine Yamal",
                    "runner_up_effective_weight": 1.1818
                  },
                  {
                    "n": 2,
                    "player": "Lamine Yamal",
                    "weight": 1.1818,
                    "already": 0,
                    "effective_weight": 1.1818,
                    "runner_up": "Raphinha",
                    "runner_up_effective_weight": 0.6446
                  },
                  {
                    "n": 3,
                    "player": "Raphinha",
                    "weight": 1.5149,
                    "already": 1,
                    "effective_weight": 0.6446,
                    "runner_up": "Lamine Yamal",
                    "runner_up_effective_weight": 0.5029
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 2 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "expected_goals": 0.1662,
                "goal_rate": 0.1958,
                "goals": 0,
                "shots_on_target": 0.4962,
                "total_shots": 1.3477,
                "expected_assists": 0.0337,
                "key_pass": 0.5245,
                "rating": 6.6269,
                "minutes": 25.96,
                "total_pass": 8.5232,
                "accurate_pass": 6.7531,
                "duels_won": 1.8093,
                "total_long_balls": 0.2006,
                "accurate_long_balls": 0.1518,
                "total_opp_half_passes": 6.1299,
                "accurate_opp_half_passes": 4.7202,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 15.1967,
                "possession_lost": 4.7363,
                "dispossessed": 0.7616,
                "duels_lost": 3.5093,
                "aerial_lost": 0.6564,
                "total_contest": 1.3785,
                "won_contest": 0.7219,
                "ball_recovery": 0.9839,
                "challenges_lost": 0.1823,
                "fouls": 0.4594,
                "fouls_drawn": 0.0299,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.271,
                "tackles_won": 0.0,
                "tackles": 0.3453,
                "clearances": 0.074,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2335,
                "xgot": 0.1671,
                "offsides": 0.1726,
                "ball_carries": 3.9142,
                "total_progression": 4.5352,
                "progressive_carries": 0.3612,
                "shots_off_target": 0.8514,
                "bench_appearance_probability": 0.589,
                "bench_expected_minutes": 25.96,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.765,
                "projected_substitution_game_state_adjustment": -1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.1448,
                "projected_assists": 0,
                "assist_probability": 0.0328,
                "finishing_factor": 1.0182,
                "creation_factor": 0.8,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 2,
                "assists_allocated": 0,
                "assist_probability": 0.0328,
                "assist_rate": 0.0,
                "provider_weight": 0.027,
                "squad_weight_total": 2.7263,
                "weight_share": 0.0099,
                "creation_factor": 0.8,
                "appearance_weight": 0.589,
                "weight_rank": 12,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Lamine Yamal",
                    "weight": 0.5086,
                    "already": 0,
                    "effective_weight": 0.5086,
                    "runner_up": "Pedri",
                    "runner_up_effective_weight": 0.3563
                  },
                  {
                    "n": 2,
                    "player": "Pedri",
                    "weight": 0.3563,
                    "already": 0,
                    "effective_weight": 0.3563,
                    "runner_up": "Fermín López",
                    "runner_up_effective_weight": 0.3049
                  }
                ]
              }
            }
          ]
        }
      },
      "team_totals": {
        "projected_goals": 3,
        "expected_goals": 3.86,
        "expected_assists": 2.51,
        "total_shots": 26,
        "shots_on_target": 8,
        "total_passes": 656,
        "interceptions": 5,
        "tackles": 13,
        "avg_rating": 7.21,
        "possession_estimated_pct": 53.1,
        "pressing_actions_per_90": 7.9
      }
    },
    "Alavés": {
      "formation": "4-4-2",
      "players": {
        "Antonio Sivera": {
          "player_id": 369004,
          "position": "G",
          "position_depth": "G",
          "is_starter": true,
          "shirt_number": 1,
          "height": 184,
          "market_value": 5600000,
          "stats": {
            "saves": 3,
            "goals_prevented": -0.0254,
            "rating": 6.9661,
            "minutes": 90,
            "total_pass": 27,
            "accurate_pass": 16,
            "total_long_balls": 19,
            "accurate_long_balls": 9,
            "touches": 37,
            "clearances": 1,
            "ball_recovery": 9,
            "high_claims": 1,
            "punches": 0.7995,
            "aerial_won": 0,
            "sweeper_actions": 1,
            "sweeper_accurate": 1,
            "saves_inside_box": 1,
            "possession_lost": 10.5584,
            "duels_won": 0,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 10,
            "accurate_own_half_passes": 8,
            "gk_engine_opponent_lambda": 4.4418,
            "shots_faced": 36.7,
            "expected_saves": 8.98,
            "high_pressure_saves": 3.09,
            "opponent_faced": "Raphinha, Lamine Yamal",
            "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": 85.0
          },
          "latest_10_games": [
            {
              "match_id": 16421077,
              "match_date": "2026-10-23",
              "home_team": "Deportivo Alavés",
              "away_team": "Málaga CF",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.001,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "total_pass": 21,
                "accurate_pass": 20,
                "tackles": 0,
                "tackles_won": 0,
                "interceptions": 0,
                "clearances": 1,
                "aerial_won": 0,
                "duels_won": 0,
                "ball_recovery": 6,
                "saves": 2,
                "goals_prevented": -0.3293
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421069,
              "match_date": "2026-10-18",
              "home_team": "Celta Vigo",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0063,
                "total_shots": 0,
                "total_pass": 28,
                "accurate_pass": 18,
                "ball_recovery": 7,
                "saves": 1,
                "goals_prevented": -0.3989
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421056,
              "match_date": "2026-10-10",
              "home_team": "Deportivo Alavés",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0014,
                "total_shots": 0,
                "total_pass": 28,
                "accurate_pass": 13,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 2,
                "ball_recovery": 14,
                "saves": 5,
                "goals_prevented": -0.8983
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416337,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 8.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0028,
                "total_shots": 0,
                "total_pass": 27,
                "accurate_pass": 13,
                "ball_recovery": 15,
                "saves": 6,
                "goals_prevented": 0.9777
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416334,
              "match_date": "2026-09-15",
              "home_team": "Deportivo Alavés",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0019,
                "total_shots": 0,
                "total_pass": 25,
                "accurate_pass": 17,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "duels_won": 1,
                "ball_recovery": 9,
                "saves": 2,
                "goals_prevented": -0.1845
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416328,
              "match_date": "2026-09-12",
              "home_team": "Real Racing Club",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0103,
                "total_shots": 0,
                "total_pass": 26,
                "accurate_pass": 15,
                "clearances": 1,
                "ball_recovery": 6,
                "saves": 2,
                "goals_prevented": 0.1349
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416318,
              "match_date": "2026-09-06",
              "home_team": "Deportivo Alavés",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 7.6,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.0104,
                "total_shots": 0,
                "total_pass": 29,
                "accurate_pass": 19,
                "key_pass": 1,
                "clearances": 1,
                "ball_recovery": 4,
                "saves": 3,
                "goals_prevented": -0.1219
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416290,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 8.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0044,
                "total_shots": 0,
                "total_pass": 25,
                "accurate_pass": 15,
                "clearances": 1,
                "ball_recovery": 9,
                "saves": 6,
                "goals_prevented": 0.663
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416292,
              "match_date": "2026-08-20",
              "home_team": "Rayo Vallecano",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0018,
                "total_shots": 0,
                "total_pass": 24,
                "accurate_pass": 13,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 6,
                "saves": 2,
                "goals_prevented": 0.0097
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421047,
              "match_date": "2026-08-15",
              "home_team": "Deportivo Alavés",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0005,
                "total_shots": 0,
                "total_pass": 21,
                "accurate_pass": 15,
                "clearances": 2,
                "ball_recovery": 14,
                "saves": 2,
                "goals_prevented": 0.0882
              },
              "has_player_stats": true,
              "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": 194,
            "combined_rank_score": 156.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 157.0,
            "sofascore_rating": 7.3,
            "sofascore_appearances": 3.0,
            "fifa_rank": 156.0,
            "fifa_overall": 85.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 1,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9661,
            "source_file": "data/player_rankings.csv",
            "player_name": "Antonio Sivera",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Renzo Malanca",
                  "ranking": 189
                },
                {
                  "player_name": "Andy Robertson",
                  "ranking": 190
                },
                {
                  "player_name": "Nicolás de la Cruz",
                  "ranking": 191
                },
                {
                  "player_name": "Osmar Barba",
                  "ranking": 192
                },
                {
                  "player_name": "Yarden Shua",
                  "ranking": 193
                }
              ],
              "lower": [
                {
                  "player_name": "Igor Lichnovsky",
                  "ranking": 195
                },
                {
                  "player_name": "Luis Rojas",
                  "ranking": 196
                },
                {
                  "player_name": "Armandas Kučys",
                  "ranking": 197
                },
                {
                  "player_name": "Javier Hernández",
                  "ranking": 198
                },
                {
                  "player_name": "Daler Tukhsanov",
                  "ranking": 199
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.78,
          "history_matches": 48,
          "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": 48,
            "data_confidence": 0.78,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.999,
            "fbref_prior_metrics": {
              "squad": "Alavés",
              "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 48 historical appearances across 3 target models; FBref 2026-2027 prior blended (La Liga, Alavés, 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.8785,
                "goals_prevented": -0.0255,
                "rating": 6.9661,
                "minutes": 90.0,
                "total_pass": 26.5849,
                "accurate_pass": 16.2035,
                "total_long_balls": 19.0917,
                "accurate_long_balls": 8.7792,
                "touches": 36.7899,
                "clearances": 1.3183,
                "ball_recovery": 8.9214,
                "high_claims": 0.8764,
                "punches": 0.8003,
                "aerial_won": 0.3506,
                "sweeper_actions": 0.8563,
                "sweeper_accurate": 0.8563,
                "saves_inside_box": 1.4205,
                "possession_lost": 10.569,
                "duels_won": 0.4364,
                "duels_lost": 0.0292,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0005,
                "fouls_drawn": 0.0049,
                "total_own_half_passes": 9.5681,
                "accurate_own_half_passes": 8.4024
              },
              "trace": {
                "model": {
                  "position_service": "G",
                  "schema_version": 5,
                  "trained_at": "2026-10-31T10:28:35.350989+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 201,
                    "rows": 7385
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-23",
                    "opponent": "Málaga CF",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1501,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-10-18",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1276,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-10-10",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1084,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0922,
                    "rating": 8.6
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0783,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Real Racing Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0666,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0566,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0481,
                    "rating": 8.1
                  },
                  {
                    "match_date": "2026-08-20",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.9
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "accurateKeeperSweeper": 0.8563,
                  "goalkeeperValueNormalized": -0.0322,
                  "goodHighClaim": 0.8764,
                  "save_contribution": 2.7621,
                  "possessionLostCtrl": 10.569,
                  "sweeper_actions_p90": 0.6575
                },
                "per_target": [
                  {
                    "target": "saves",
                    "predicted": 2.8785295486450195,
                    "model_output": 2.8785,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "save_contribution",
                        "importance": 0.0422
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0362
                      },
                      {
                        "name": "goodHighClaim",
                        "importance": 0.0359
                      },
                      {
                        "name": "defensiveValueNormalized",
                        "importance": 0.0358
                      },
                      {
                        "name": "pass_accuracy",
                        "importance": 0.0358
                      }
                    ],
                    "decomposition": {
                      "base": 2.9271,
                      "items": [
                        {
                          "name": "savedShotsFromInsideTheBox",
                          "contribution": -0.0235
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0234
                        },
                        {
                          "name": "sweeper_actions_p90",
                          "contribution": -0.0148
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0125
                        },
                        {
                          "name": "commanding_index",
                          "contribution": -0.0115
                        }
                      ],
                      "others": -0.0097,
                      "total": 2.8785,
                      "log_link": true,
                      "margin_base": 1.074005,
                      "item_margins": [
                        {
                          "name": "savedShotsFromInsideTheBox",
                          "margin": -0.00806
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.008023
                        },
                        {
                          "name": "sweeper_actions_p90",
                          "margin": -0.005066
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.004287
                        },
                        {
                          "name": "commanding_index",
                          "margin": -0.003981
                        }
                      ],
                      "others_margin": -0.003353
                    }
                  },
                  {
                    "target": "goalsPrevented",
                    "predicted": -0.025458408519625664,
                    "model_output": -0.0255,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "goalkeeperValueNormalized",
                        "importance": 0.0432
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.04
                      },
                      {
                        "name": "goodHighClaim",
                        "importance": 0.0388
                      },
                      {
                        "name": "punches",
                        "importance": 0.0371
                      },
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.0358
                      }
                    ],
                    "decomposition": {
                      "base": -0.0235,
                      "items": [
                        {
                          "name": "goalkeeperValueNormalized",
                          "contribution": 0.0556
                        },
                        {
                          "name": "sweeper_actions_p90",
                          "contribution": -0.0187
                        },
                        {
                          "name": "accurateKeeperSweeper",
                          "contribution": -0.0137
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0103
                        },
                        {
                          "name": "inside_box_save_rate",
                          "contribution": -0.0082
                        }
                      ],
                      "others": -0.0067,
                      "total": -0.0255,
                      "log_link": false,
                      "margin_base": -0.023525,
                      "item_margins": [
                        {
                          "name": "goalkeeperValueNormalized",
                          "margin": 0.055604
                        },
                        {
                          "name": "sweeper_actions_p90",
                          "margin": -0.01874
                        },
                        {
                          "name": "accurateKeeperSweeper",
                          "margin": -0.013724
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.010295
                        },
                        {
                          "name": "inside_box_save_rate",
                          "margin": -0.008228
                        }
                      ],
                      "others_margin": -0.006551
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.966128349304199,
                    "model_output": 6.9661,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "accurateKeeperSweeper",
                        "importance": 0.0401
                      },
                      {
                        "name": "accurateOwnHalfPasses",
                        "importance": 0.0389
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0374
                      },
                      {
                        "name": "touches",
                        "importance": 0.0351
                      },
                      {
                        "name": "rating",
                        "importance": 0.0339
                      }
                    ],
                    "decomposition": {
                      "base": 6.9898,
                      "items": [
                        {
                          "name": "goalkeeperValueNormalized",
                          "contribution": 0.0285
                        },
                        {
                          "name": "totalOwnHalfPasses",
                          "contribution": -0.0135
                        },
                        {
                          "name": "accurateLongBalls",
                          "contribution": 0.0132
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": 0.0129
                        },
                        {
                          "name": "totalKeeperSweeper",
                          "contribution": 0.0127
                        }
                      ],
                      "others": -0.0775,
                      "total": 6.9661,
                      "log_link": false,
                      "margin_base": 6.989751,
                      "item_margins": [
                        {
                          "name": "goalkeeperValueNormalized",
                          "margin": 0.028544
                        },
                        {
                          "name": "totalOwnHalfPasses",
                          "margin": -0.013543
                        },
                        {
                          "name": "accurateLongBalls",
                          "margin": 0.013178
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": 0.012905
                        },
                        {
                          "name": "totalKeeperSweeper",
                          "margin": 0.012735
                        }
                      ],
                      "others_margin": -0.07744
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 48,
                  "role_matches": 48,
                  "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.9990, quality 0.470)",
              "stats": {
                "saves": 2.8757,
                "goals_prevented": -0.0254,
                "rating": 6.9661,
                "minutes": 90.0,
                "total_pass": 26.5583,
                "accurate_pass": 16.1873,
                "total_long_balls": 19.0726,
                "accurate_long_balls": 8.7704,
                "touches": 36.7531,
                "clearances": 1.317,
                "ball_recovery": 8.9125,
                "high_claims": 0.8755,
                "punches": 0.7995,
                "aerial_won": 0.3502,
                "sweeper_actions": 0.8554,
                "sweeper_accurate": 0.8554,
                "saves_inside_box": 1.4191,
                "possession_lost": 10.5584,
                "duels_won": 0.436,
                "duels_lost": 0.0292,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0005,
                "fouls_drawn": 0.0049,
                "total_own_half_passes": 9.5585,
                "accurate_own_half_passes": 8.394
              },
              "params": {
                "market_value_eur": 5600000,
                "quality_factor": 0.4695,
                "boost_factor": 0.999,
                "reference_quality": 0.505,
                "history_matches": 48,
                "history_shrink": 0.0943,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0123)",
              "stats": {
                "saves": 2.8813,
                "goals_prevented": -0.0254,
                "rating": 6.9661,
                "minutes": 90.0,
                "total_pass": 26.5583,
                "accurate_pass": 16.1873,
                "total_long_balls": 19.0726,
                "accurate_long_balls": 8.7704,
                "touches": 36.7531,
                "clearances": 1.317,
                "ball_recovery": 8.9125,
                "high_claims": 0.8755,
                "punches": 0.7995,
                "aerial_won": 0.3502,
                "sweeper_actions": 0.8554,
                "sweeper_accurate": 0.8554,
                "saves_inside_box": 1.4191,
                "possession_lost": 10.5584,
                "duels_won": 0.436,
                "duels_lost": 0.0292,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0005,
                "fouls_drawn": 0.0048,
                "total_own_half_passes": 9.5585,
                "accurate_own_half_passes": 8.394
              },
              "params": {
                "blend_weight": 0.0123,
                "history_matches": 48,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 1.0,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Alavés"
              },
              "changes": [
                {
                  "stat": "saves",
                  "before": 2.8757,
                  "after": 2.8813
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 2.8813,
                "goals_prevented": -0.0254,
                "rating": 6.9661,
                "minutes": 90.0,
                "total_pass": 26.5583,
                "accurate_pass": 16.1873,
                "total_long_balls": 19.0726,
                "accurate_long_balls": 8.7704,
                "touches": 36.7531,
                "clearances": 1.317,
                "ball_recovery": 8.9125,
                "high_claims": 0.8755,
                "punches": 0.7995,
                "aerial_won": 0.3502,
                "sweeper_actions": 0.8554,
                "sweeper_accurate": 0.8554,
                "saves_inside_box": 1.4191,
                "possession_lost": 10.5584,
                "duels_won": 0.436,
                "duels_lost": 0.0292,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0005,
                "fouls_drawn": 0.0048,
                "total_own_half_passes": 9.5585,
                "accurate_own_half_passes": 8.394
              },
              "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.8813,
                "goals_prevented": -0.0254,
                "rating": 6.9661,
                "minutes": 90.0,
                "total_pass": 26.5583,
                "accurate_pass": 16.1873,
                "total_long_balls": 19.0726,
                "accurate_long_balls": 8.7704,
                "touches": 36.7531,
                "clearances": 1.317,
                "ball_recovery": 8.9125,
                "high_claims": 0.8755,
                "punches": 0.7995,
                "aerial_won": 0.3502,
                "sweeper_actions": 0.8554,
                "sweeper_accurate": 0.8554,
                "saves_inside_box": 1.4191,
                "possession_lost": 10.5584,
                "duels_won": 0.436,
                "duels_lost": 0.0292,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0005,
                "fouls_drawn": 0.0048,
                "total_own_half_passes": 9.5585,
                "accurate_own_half_passes": 8.394,
                "gk_engine_opponent_lambda": 4.4418,
                "shots_faced": 42.2,
                "expected_saves": 10.33,
                "high_pressure_saves": 3.55,
                "opponent_faced": "Raphinha, Lamine Yamal",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Raphinha, Lamine Yamal",
                  "matchup_zone": "Goalkeeper shot-stopping context",
                  "opponent_lambda": 4.4418
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "saves": 2.8813,
                "goals_prevented": -0.0254,
                "rating": 6.9661,
                "minutes": 90.0,
                "total_pass": 26.5583,
                "accurate_pass": 16.1873,
                "total_long_balls": 19.0726,
                "accurate_long_balls": 8.7704,
                "touches": 36.7531,
                "clearances": 1.317,
                "ball_recovery": 8.9125,
                "high_claims": 0.8755,
                "punches": 0.7995,
                "aerial_won": 0.3502,
                "sweeper_actions": 0.8554,
                "sweeper_accurate": 0.8554,
                "saves_inside_box": 1.4191,
                "possession_lost": 10.5584,
                "duels_won": 0.436,
                "duels_lost": 0.0292,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0005,
                "fouls_drawn": 0.0048,
                "total_own_half_passes": 9.5585,
                "accurate_own_half_passes": 8.394,
                "gk_engine_opponent_lambda": 4.4418,
                "shots_faced": 42.2,
                "expected_saves": 10.33,
                "high_pressure_saves": 3.55,
                "opponent_faced": "Raphinha, Lamine Yamal",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.29 (squad xG sum 1.0060, xG scale 1.2803, xA scale 1.2803, team xA 0.96 = 0.74 x lambda)",
              "stats": {
                "saves": 2.8813,
                "goals_prevented": -0.0254,
                "rating": 6.9661,
                "minutes": 90.0,
                "total_pass": 26.5583,
                "accurate_pass": 16.1873,
                "total_long_balls": 19.0726,
                "accurate_long_balls": 8.7704,
                "touches": 36.7531,
                "clearances": 1.317,
                "ball_recovery": 8.9125,
                "high_claims": 0.8755,
                "punches": 0.7995,
                "aerial_won": 0.3502,
                "sweeper_actions": 0.8554,
                "sweeper_accurate": 0.8554,
                "saves_inside_box": 1.4191,
                "possession_lost": 10.5584,
                "duels_won": 0.436,
                "duels_lost": 0.0292,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0005,
                "fouls_drawn": 0.0048,
                "total_own_half_passes": 9.5585,
                "accurate_own_half_passes": 8.394,
                "gk_engine_opponent_lambda": 4.4418,
                "shots_faced": 36.7,
                "expected_saves": 8.98,
                "high_pressure_saves": 3.09,
                "opponent_faced": "Raphinha, Lamine Yamal",
                "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.288,
                "squad_xg_sum": 1.006,
                "squad_xa_sum": 0.7484,
                "team_expected_assists": 0.9582,
                "team_xa_to_xg_ratio": 0.7439,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2803,
                "xa_scale": 1.2803,
                "opponent_lambda": 3.863,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "shots_faced",
                  "before": 42.2,
                  "after": 36.7
                },
                {
                  "stat": "expected_saves",
                  "before": 10.33,
                  "after": 8.98
                },
                {
                  "stat": "high_pressure_saves",
                  "before": 3.55,
                  "after": 3.09
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 1 by projected rating, fifa_overall 85.0)",
              "stats": {
                "saves": 2.8813,
                "goals_prevented": -0.0254,
                "rating": 6.9661,
                "minutes": 90.0,
                "total_pass": 26.5583,
                "accurate_pass": 16.1873,
                "total_long_balls": 19.0726,
                "accurate_long_balls": 8.7704,
                "touches": 36.7531,
                "clearances": 1.317,
                "ball_recovery": 8.9125,
                "high_claims": 0.8755,
                "punches": 0.7995,
                "aerial_won": 0.3502,
                "sweeper_actions": 0.8554,
                "sweeper_accurate": 0.8554,
                "saves_inside_box": 1.4191,
                "possession_lost": 10.5584,
                "duels_won": 0.436,
                "duels_lost": 0.0292,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0005,
                "fouls_drawn": 0.0048,
                "total_own_half_passes": 9.5585,
                "accurate_own_half_passes": 8.394,
                "gk_engine_opponent_lambda": 4.4418,
                "shots_faced": 36.7,
                "expected_saves": 8.98,
                "high_pressure_saves": 3.09,
                "opponent_faced": "Raphinha, Lamine Yamal",
                "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": 85.0
              },
              "params": {
                "match_squad_rank": 1,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 194,
                "fifa_rank": 156.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 85.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "saves": 2.8813,
                "goals_prevented": -0.0254,
                "rating": 6.9661,
                "minutes": 90.0,
                "total_pass": 26.5583,
                "accurate_pass": 16.1873,
                "total_long_balls": 19.0726,
                "accurate_long_balls": 8.7704,
                "touches": 36.7531,
                "clearances": 1.317,
                "ball_recovery": 8.9125,
                "high_claims": 0.8755,
                "punches": 0.7995,
                "aerial_won": 0.3502,
                "sweeper_actions": 0.8554,
                "sweeper_accurate": 0.8554,
                "saves_inside_box": 1.4191,
                "possession_lost": 10.5584,
                "duels_won": 0.436,
                "duels_lost": 0.0292,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0005,
                "fouls_drawn": 0.0048,
                "total_own_half_passes": 9.5585,
                "accurate_own_half_passes": 8.394,
                "gk_engine_opponent_lambda": 4.4418,
                "shots_faced": 36.7,
                "expected_saves": 8.98,
                "high_pressure_saves": 3.09,
                "opponent_faced": "Raphinha, Lamine Yamal",
                "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": 85.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.0,
                "squad_weight_total": 1.3792,
                "weight_share": 0.0,
                "finishing_factor": 1.0,
                "appearance_weight": 1.0,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Toni Martínez",
                    "weight": 0.3036,
                    "already": 0,
                    "effective_weight": 0.3036,
                    "runner_up": "Lucas Boyé",
                    "runner_up_effective_weight": 0.2934
                  }
                ]
              }
            },
            {
              "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.8813,
                "goals_prevented": -0.0254,
                "rating": 6.9661,
                "minutes": 90.0,
                "total_pass": 26.5583,
                "accurate_pass": 16.1873,
                "total_long_balls": 19.0726,
                "accurate_long_balls": 8.7704,
                "touches": 36.7531,
                "clearances": 1.317,
                "ball_recovery": 8.9125,
                "high_claims": 0.8755,
                "punches": 0.7995,
                "aerial_won": 0.3502,
                "sweeper_actions": 0.8554,
                "sweeper_accurate": 0.8554,
                "saves_inside_box": 1.4191,
                "possession_lost": 10.5584,
                "duels_won": 0.436,
                "duels_lost": 0.0292,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0005,
                "fouls_drawn": 0.0048,
                "total_own_half_passes": 9.5585,
                "accurate_own_half_passes": 8.394,
                "gk_engine_opponent_lambda": 4.4418,
                "shots_faced": 36.7,
                "expected_saves": 8.98,
                "high_pressure_saves": 3.09,
                "opponent_faced": "Raphinha, Lamine Yamal",
                "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": 85.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0,
                "provider_weight": 0.0,
                "squad_weight_total": 0.8425,
                "weight_share": 0.0,
                "creation_factor": 1.0,
                "appearance_weight": 1.0,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ángel Pérez",
                    "weight": 0.1853,
                    "already": 0,
                    "effective_weight": 0.1853,
                    "runner_up": "Hugo Novoa",
                    "runner_up_effective_weight": 0.1136,
                    "blocked_own_goal": [
                      "Toni Martínez"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Hugo Novoa": {
          "player_id": 1001967,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 12,
          "height": 182,
          "market_value": 725000,
          "stats": {
            "interceptions": 1,
            "tackles": 3,
            "tackles_won": 2,
            "clearances": 2,
            "aerial_won": 1,
            "total_shots": 1,
            "rating": 6.7914,
            "minutes": 90,
            "total_pass": 16,
            "accurate_pass": 14,
            "duels_won": 5,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "total_own_half_passes": 6,
            "accurate_own_half_passes": 6,
            "total_opp_half_passes": 10,
            "accurate_opp_half_passes": 8,
            "crosses_total": 5,
            "crosses_accurate": 2,
            "touches": 35,
            "possession_lost": 8.8695,
            "dispossessed": 0.9855,
            "duels_lost": 3,
            "aerial_lost": 0,
            "total_contest": 2,
            "won_contest": 1,
            "ball_recovery": 2,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 1,
            "blocks": 0,
            "goal_rate": 0.4528,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0478,
            "expected_assists": 0.142,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.4704,
            "ball_carries": 10,
            "total_progression": 70,
            "progressive_carries": 4,
            "key_pass": 2,
            "shots_off_target": 0,
            "tackles_in_zone": 1.9,
            "tackles_won_in_zone": 1.4,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 0.9,
            "defensive_success_rate": 0.371,
            "opponent_faced": "Karim Adeyemi",
            "pressing_zone": "Right Wing vs Left Back — Flank Battle",
            "matchup_zone": "Right Wing vs Left Back — Flank Battle",
            "antagonist_source": "defensive_duel",
            "projected_goals": 0,
            "goal_probability": 0.0467,
            "projected_assists": 0,
            "assist_probability": 0.1324,
            "finishing_factor": 1.25,
            "creation_factor": 0.8,
            "fifa_overall": 64.0
          },
          "latest_10_games": [
            {
              "match_id": 16421077,
              "match_date": "2026-10-23",
              "home_team": "Deportivo Alavés",
              "away_team": "Málaga CF",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 45,
                "rating": 7.3,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0241,
                "expected_assists": 0.0976,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "total_pass": 23,
                "accurate_pass": 22,
                "key_pass": 2,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 0,
                "duels_won": 5,
                "ball_recovery": 2,
                "saves": 0
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421069,
              "match_date": "2026-10-18",
              "home_team": "Celta Vigo",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 28,
                "rating": 8.2,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0539,
                "expected_assists": 0.1301,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 9,
                "accurate_pass": 5,
                "key_pass": 1,
                "tackles": 1,
                "aerial_won": 2,
                "duels_won": 5,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 8056,
            "combined_rank_score": 6595.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": 0.0,
            "fifa_rank": 12946.0,
            "fifa_overall": 64.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 10,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7914,
            "source_file": "data/player_rankings.csv",
            "player_name": "Hugo Novoa",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Ştefan Bodişteanu",
                  "ranking": 8051
                },
                {
                  "player_name": "Shunsuke Mito",
                  "ranking": 8052
                },
                {
                  "player_name": "Salvi Esquivel",
                  "ranking": 8053
                },
                {
                  "player_name": "Yang Min Hyeok",
                  "ranking": 8054
                },
                {
                  "player_name": "Hákon Valdimarsson",
                  "ranking": 8055
                }
              ],
              "lower": [
                {
                  "player_name": "Enis Destan",
                  "ranking": 8057
                },
                {
                  "player_name": "Horacio Calcaterra",
                  "ranking": 8058
                },
                {
                  "player_name": "Henry Hore",
                  "ranking": 8059
                },
                {
                  "player_name": "Moussa Baradji",
                  "ranking": 8060
                },
                {
                  "player_name": "Yū Hirakawa",
                  "ranking": 8061
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.375,
          "history_matches": 2,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "totalTackle",
              "totalShots",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 2,
            "data_confidence": 0.375,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9855,
            "fbref_prior_metrics": {
              "squad": "Alavés",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 0.0,
              "starts": 0.0,
              "prior_reliability": 0.0
            },
            "rationale": "XGBoost regressor (D_service) evaluated 2 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Alavés, 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.8366,
                "tackles": 3.0173,
                "tackles_won": 1.8866,
                "clearances": 1.7748,
                "aerial_won": 0.7251,
                "total_shots": 0.8092,
                "rating": 6.7914,
                "minutes": 90.0,
                "total_pass": 16.5676,
                "accurate_pass": 14.1892,
                "duels_won": 5.0,
                "total_long_balls": 1.0811,
                "accurate_long_balls": 1.0811,
                "total_own_half_passes": 6.3243,
                "accurate_own_half_passes": 6.3243,
                "total_opp_half_passes": 10.2432,
                "accurate_opp_half_passes": 7.8648,
                "crosses_total": 4.6216,
                "crosses_accurate": 1.5405,
                "touches": 35.7568,
                "possession_lost": 9.0,
                "dispossessed": 1.0,
                "duels_lost": 2.5405,
                "aerial_lost": 0.0,
                "total_contest": 2.0811,
                "won_contest": 1.0,
                "ball_recovery": 2.0,
                "challenges_lost": 0.4595,
                "fouls": 0.0,
                "fouls_drawn": 1.0,
                "blocks": 0.0,
                "goals": 0.4595,
                "goal_rate": 0.4595,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0378,
                "expected_assists": 0.1125,
                "shots_on_target": 0.4595,
                "big_chances_created": 0.0,
                "xgot": 0.3728,
                "ball_carries": 10.3243,
                "total_progression": 70.7357,
                "progressive_carries": 4.0,
                "key_pass": 1.5405,
                "shots_off_target": 0.3497
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-31T10:29:25.210665+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 626,
                    "rows": 22004
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-23",
                    "opponent": "Málaga CF",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.5405,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-10-18",
                    "opponent": "Celta Vigo",
                    "minutes": 28.0,
                    "is_starting": false,
                    "weight": 0.4595,
                    "rating": 8.2
                  }
                ],
                "feature_row": {
                  "history_matches": 2.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 0.5405,
                  "aerialWon": 0.9189,
                  "totalClearance_p90": 1.0811,
                  "totalTackle": 2.0811,
                  "totalPass": 16.5676
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.8366218209266663,
                    "model_output": 0.8366,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2977
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0446
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0318
                      },
                      {
                        "name": "touches",
                        "importance": 0.0281
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0208
                      }
                    ],
                    "decomposition": {
                      "base": 0.8678,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.106
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0687
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0505
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0419
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0249
                        }
                      ],
                      "others": -0.001,
                      "total": 0.8366,
                      "log_link": true,
                      "margin_base": -0.141777,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.115202
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.073133
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.057354
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.050298
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.030142
                        }
                      ],
                      "others_margin": -0.001166
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 3.0173025131225586,
                    "model_output": 3.0173,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2493
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0731
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0475
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0414
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.0245
                      }
                    ],
                    "decomposition": {
                      "base": 1.3878,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1982
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.2231
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.2465
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.1413
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.1435
                        }
                      ],
                      "others": 0.6769,
                      "total": 3.0173,
                      "log_link": true,
                      "margin_base": 0.327722,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.133525
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": 0.13161
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.127727
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.066465
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.063271
                        }
                      ],
                      "others_margin": 0.254042
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 1.8865846395492554,
                    "model_output": 1.8866,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1966
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0678
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0471
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0406
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0252
                      }
                    ],
                    "decomposition": {
                      "base": 0.8471,
                      "items": [
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.1465
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.1581
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1683
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.1038
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0784
                        }
                      ],
                      "others": 0.3844,
                      "total": 1.8866,
                      "log_link": true,
                      "margin_base": -0.165887,
                      "item_margins": [
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.159487
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": 0.147677
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.136355
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.075718
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.053599
                        }
                      ],
                      "others_margin": 0.227821
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 1.7748032808303833,
                    "model_output": 1.7748,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2929
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1447
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.1031
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0342
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0223
                      }
                    ],
                    "decomposition": {
                      "base": 3.4227,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": -0.8263
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.3023
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2968
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.2561
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.227
                        }
                      ],
                      "others": -0.333,
                      "total": 1.7748,
                      "log_link": true,
                      "margin_base": 1.230438,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": -0.276295
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.12379
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.121656
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.104092
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.102264
                        }
                      ],
                      "others_margin": -0.171964
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.7251492142677307,
                    "model_output": 0.7251,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1591
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1548
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0782
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0406
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 1.3743,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": -0.2689
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.1607
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.1172
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1086
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0775
                        }
                      ],
                      "others": -0.1335,
                      "total": 0.7251,
                      "log_link": true,
                      "margin_base": 0.31798,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": -0.21774
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.15711
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.132499
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.1233
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.086384
                        }
                      ],
                      "others_margin": -0.168926
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.8092032074928284,
                    "model_output": 0.8092,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1011
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0687
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0377
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0308
                      },
                      {
                        "name": "rating",
                        "importance": 0.0275
                      }
                    ],
                    "decomposition": {
                      "base": 0.4801,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.1222
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0614
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0598
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0511
                        },
                        {
                          "name": "history_matches",
                          "contribution": -0.0421
                        }
                      ],
                      "others": 0.0767,
                      "total": 0.8092,
                      "log_link": false,
                      "margin_base": 0.48008,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.122242
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.061432
                        },
                        {
                          "name": "rating",
                          "margin": 0.059828
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.051113
                        },
                        {
                          "name": "history_matches",
                          "margin": -0.042105
                        }
                      ],
                      "others_margin": 0.076613
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.791357040405273,
                    "model_output": 6.7914,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0922
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0582
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0462
                      },
                      {
                        "name": "rating",
                        "importance": 0.0313
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0279
                      }
                    ],
                    "decomposition": {
                      "base": 6.7972,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": 0.0469
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0454
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0332
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0189
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0165
                        }
                      ],
                      "others": -0.0051,
                      "total": 6.7914,
                      "log_link": false,
                      "margin_base": 6.797222,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": 0.046884
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.045373
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.033224
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.018895
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.016503
                        }
                      ],
                      "others_margin": -0.005203
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "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": {
                "interceptions": 0.8245,
                "tackles": 2.9736,
                "tackles_won": 1.8592,
                "clearances": 1.7491,
                "aerial_won": 0.7146,
                "total_shots": 0.7975,
                "rating": 6.7914,
                "minutes": 90.0,
                "total_pass": 16.3274,
                "accurate_pass": 13.9835,
                "duels_won": 4.9275,
                "total_long_balls": 1.0654,
                "accurate_long_balls": 1.0654,
                "total_own_half_passes": 6.2326,
                "accurate_own_half_passes": 6.2326,
                "total_opp_half_passes": 10.0947,
                "accurate_opp_half_passes": 7.7508,
                "crosses_total": 4.5546,
                "crosses_accurate": 1.5182,
                "touches": 35.2383,
                "possession_lost": 8.8695,
                "dispossessed": 0.9855,
                "duels_lost": 2.5037,
                "aerial_lost": 0.0,
                "total_contest": 2.0509,
                "won_contest": 0.9855,
                "ball_recovery": 1.971,
                "challenges_lost": 0.4528,
                "fouls": 0.0,
                "fouls_drawn": 0.9855,
                "blocks": 0.0,
                "goals": 0.4528,
                "goal_rate": 0.4528,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0373,
                "expected_assists": 0.1109,
                "shots_on_target": 0.4528,
                "big_chances_created": 0.0,
                "xgot": 0.3674,
                "ball_carries": 10.1746,
                "total_progression": 69.71,
                "progressive_carries": 3.942,
                "key_pass": 1.5182,
                "shots_off_target": 0.3446
              },
              "params": {
                "market_value_eur": 725000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9855,
                "reference_quality": 0.505,
                "history_matches": 2,
                "history_shrink": 0.7143,
                "market_value_known": true
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.8245,
                "tackles": 2.9736,
                "tackles_won": 1.8592,
                "clearances": 1.7491,
                "aerial_won": 0.7146,
                "total_shots": 0.7975,
                "rating": 6.7914,
                "minutes": 90.0,
                "total_pass": 16.3274,
                "accurate_pass": 13.9835,
                "duels_won": 4.9275,
                "total_long_balls": 1.0654,
                "accurate_long_balls": 1.0654,
                "total_own_half_passes": 6.2326,
                "accurate_own_half_passes": 6.2326,
                "total_opp_half_passes": 10.0947,
                "accurate_opp_half_passes": 7.7508,
                "crosses_total": 4.5546,
                "crosses_accurate": 1.5182,
                "touches": 35.2383,
                "possession_lost": 8.8695,
                "dispossessed": 0.9855,
                "duels_lost": 2.5037,
                "aerial_lost": 0.0,
                "total_contest": 2.0509,
                "won_contest": 0.9855,
                "ball_recovery": 1.971,
                "challenges_lost": 0.4528,
                "fouls": 0.0,
                "fouls_drawn": 0.9855,
                "blocks": 0.0,
                "goals": 0.4528,
                "goal_rate": 0.4528,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0373,
                "expected_assists": 0.1109,
                "shots_on_target": 0.4528,
                "big_chances_created": 0.0,
                "xgot": 0.3674,
                "ball_carries": 10.1746,
                "total_progression": 69.71,
                "progressive_carries": 3.942,
                "key_pass": 1.5182,
                "shots_off_target": 0.3446
              },
              "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.8245,
                "tackles": 2.9736,
                "tackles_won": 1.8592,
                "clearances": 1.7491,
                "aerial_won": 0.7146,
                "total_shots": 0.7975,
                "rating": 6.7914,
                "minutes": 90.0,
                "total_pass": 16.3274,
                "accurate_pass": 13.9835,
                "duels_won": 4.9275,
                "total_long_balls": 1.0654,
                "accurate_long_balls": 1.0654,
                "total_own_half_passes": 6.2326,
                "accurate_own_half_passes": 6.2326,
                "total_opp_half_passes": 10.0947,
                "accurate_opp_half_passes": 7.7508,
                "crosses_total": 4.5546,
                "crosses_accurate": 1.5182,
                "touches": 35.2383,
                "possession_lost": 8.8695,
                "dispossessed": 0.9855,
                "duels_lost": 2.5037,
                "aerial_lost": 0.0,
                "total_contest": 2.0509,
                "won_contest": 0.9855,
                "ball_recovery": 1.971,
                "challenges_lost": 0.4528,
                "fouls": 0.0,
                "fouls_drawn": 0.9855,
                "blocks": 0.0,
                "goals": 0.4528,
                "goal_rate": 0.4528,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0373,
                "expected_assists": 0.1109,
                "shots_on_target": 0.4528,
                "big_chances_created": 0.0,
                "xgot": 0.3674,
                "ball_carries": 10.1746,
                "total_progression": 69.71,
                "progressive_carries": 3.942,
                "key_pass": 1.5182,
                "shots_off_target": 0.3446,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.4,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.9,
                "defensive_success_rate": 0.371,
                "opponent_faced": "Karim Adeyemi",
                "pressing_zone": "Right Wing vs Left Back — Flank Battle",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "antagonist_source": "defensive_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Karim Adeyemi",
                  "matchup_zone": "Right Wing vs Left Back — Flank Battle"
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "interceptions": 0.8245,
                "tackles": 2.9736,
                "tackles_won": 1.8592,
                "clearances": 1.7491,
                "aerial_won": 0.7146,
                "total_shots": 0.7975,
                "rating": 6.7914,
                "minutes": 90.0,
                "total_pass": 16.3274,
                "accurate_pass": 13.9835,
                "duels_won": 4.9275,
                "total_long_balls": 1.0654,
                "accurate_long_balls": 1.0654,
                "total_own_half_passes": 6.2326,
                "accurate_own_half_passes": 6.2326,
                "total_opp_half_passes": 10.0947,
                "accurate_opp_half_passes": 7.7508,
                "crosses_total": 4.5546,
                "crosses_accurate": 1.5182,
                "touches": 35.2383,
                "possession_lost": 8.8695,
                "dispossessed": 0.9855,
                "duels_lost": 2.5037,
                "aerial_lost": 0.0,
                "total_contest": 2.0509,
                "won_contest": 0.9855,
                "ball_recovery": 1.971,
                "challenges_lost": 0.4528,
                "fouls": 0.0,
                "fouls_drawn": 0.9855,
                "blocks": 0.0,
                "goal_rate": 0.4528,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0373,
                "expected_assists": 0.1109,
                "shots_on_target": 0.4528,
                "big_chances_created": 0.0,
                "xgot": 0.3674,
                "ball_carries": 10.1746,
                "total_progression": 69.71,
                "progressive_carries": 3.942,
                "key_pass": 1.5182,
                "shots_off_target": 0.3446,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.4,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.9,
                "defensive_success_rate": 0.371,
                "opponent_faced": "Karim Adeyemi",
                "pressing_zone": "Right Wing vs Left Back — Flank Battle",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.29 (squad xG sum 1.0060, xG scale 1.2803, xA scale 1.2803, team xA 0.96 = 0.74 x lambda)",
              "stats": {
                "interceptions": 0.8245,
                "tackles": 2.9736,
                "tackles_won": 1.8592,
                "clearances": 1.7491,
                "aerial_won": 0.7146,
                "total_shots": 0.7975,
                "rating": 6.7914,
                "minutes": 90.0,
                "total_pass": 16.3274,
                "accurate_pass": 13.9835,
                "duels_won": 4.9275,
                "total_long_balls": 1.0654,
                "accurate_long_balls": 1.0654,
                "total_own_half_passes": 6.2326,
                "accurate_own_half_passes": 6.2326,
                "total_opp_half_passes": 10.0947,
                "accurate_opp_half_passes": 7.7508,
                "crosses_total": 4.5546,
                "crosses_accurate": 1.5182,
                "touches": 35.2383,
                "possession_lost": 8.8695,
                "dispossessed": 0.9855,
                "duels_lost": 2.5037,
                "aerial_lost": 0.0,
                "total_contest": 2.0509,
                "won_contest": 0.9855,
                "ball_recovery": 1.971,
                "challenges_lost": 0.4528,
                "fouls": 0.0,
                "fouls_drawn": 0.9855,
                "blocks": 0.0,
                "goal_rate": 0.4528,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0478,
                "expected_assists": 0.142,
                "shots_on_target": 0.4528,
                "big_chances_created": 0.0,
                "xgot": 0.4704,
                "ball_carries": 10.1746,
                "total_progression": 69.71,
                "progressive_carries": 3.942,
                "key_pass": 1.5182,
                "shots_off_target": 0.3446,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.4,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.9,
                "defensive_success_rate": 0.371,
                "opponent_faced": "Karim Adeyemi",
                "pressing_zone": "Right Wing vs Left Back — Flank Battle",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.288,
                "squad_xg_sum": 1.006,
                "squad_xa_sum": 0.7484,
                "team_expected_assists": 0.9582,
                "team_xa_to_xg_ratio": 0.7439,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2803,
                "xa_scale": 1.2803,
                "opponent_lambda": 3.863,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0373,
                  "after": 0.0478
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1109,
                  "after": 0.142
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 10 by projected rating, fifa_overall 64.0)",
              "stats": {
                "interceptions": 0.8245,
                "tackles": 2.9736,
                "tackles_won": 1.8592,
                "clearances": 1.7491,
                "aerial_won": 0.7146,
                "total_shots": 0.7975,
                "rating": 6.7914,
                "minutes": 90.0,
                "total_pass": 16.3274,
                "accurate_pass": 13.9835,
                "duels_won": 4.9275,
                "total_long_balls": 1.0654,
                "accurate_long_balls": 1.0654,
                "total_own_half_passes": 6.2326,
                "accurate_own_half_passes": 6.2326,
                "total_opp_half_passes": 10.0947,
                "accurate_opp_half_passes": 7.7508,
                "crosses_total": 4.5546,
                "crosses_accurate": 1.5182,
                "touches": 35.2383,
                "possession_lost": 8.8695,
                "dispossessed": 0.9855,
                "duels_lost": 2.5037,
                "aerial_lost": 0.0,
                "total_contest": 2.0509,
                "won_contest": 0.9855,
                "ball_recovery": 1.971,
                "challenges_lost": 0.4528,
                "fouls": 0.0,
                "fouls_drawn": 0.9855,
                "blocks": 0.0,
                "goal_rate": 0.4528,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0478,
                "expected_assists": 0.142,
                "shots_on_target": 0.4528,
                "big_chances_created": 0.0,
                "xgot": 0.4704,
                "ball_carries": 10.1746,
                "total_progression": 69.71,
                "progressive_carries": 3.942,
                "key_pass": 1.5182,
                "shots_off_target": 0.3446,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.4,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.9,
                "defensive_success_rate": 0.371,
                "opponent_faced": "Karim Adeyemi",
                "pressing_zone": "Right Wing vs Left Back — Flank Battle",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 0.8,
                "fifa_overall": 64.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": 8056,
                "fifa_rank": 12946.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 64.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "interceptions": 0.8245,
                "tackles": 2.9736,
                "tackles_won": 1.8592,
                "clearances": 1.7491,
                "aerial_won": 0.7146,
                "total_shots": 0.7975,
                "rating": 6.7914,
                "minutes": 90.0,
                "total_pass": 16.3274,
                "accurate_pass": 13.9835,
                "duels_won": 4.9275,
                "total_long_balls": 1.0654,
                "accurate_long_balls": 1.0654,
                "total_own_half_passes": 6.2326,
                "accurate_own_half_passes": 6.2326,
                "total_opp_half_passes": 10.0947,
                "accurate_opp_half_passes": 7.7508,
                "crosses_total": 4.5546,
                "crosses_accurate": 1.5182,
                "touches": 35.2383,
                "possession_lost": 8.8695,
                "dispossessed": 0.9855,
                "duels_lost": 2.5037,
                "aerial_lost": 0.0,
                "total_contest": 2.0509,
                "won_contest": 0.9855,
                "ball_recovery": 1.971,
                "challenges_lost": 0.4528,
                "fouls": 0.0,
                "fouls_drawn": 0.9855,
                "blocks": 0.0,
                "goal_rate": 0.4528,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0478,
                "expected_assists": 0.142,
                "shots_on_target": 0.4528,
                "big_chances_created": 0.0,
                "xgot": 0.4704,
                "ball_carries": 10.1746,
                "total_progression": 69.71,
                "progressive_carries": 3.942,
                "key_pass": 1.5182,
                "shots_off_target": 0.3446,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.4,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.9,
                "defensive_success_rate": 0.371,
                "opponent_faced": "Karim Adeyemi",
                "pressing_zone": "Right Wing vs Left Back — Flank Battle",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0467,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 0.8,
                "fifa_overall": 64.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0467,
                "goal_rate": 0.4528,
                "scorer_weight": 0.0598,
                "squad_weight_total": 1.3792,
                "weight_share": 0.0433,
                "finishing_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 9,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Toni Martínez",
                    "weight": 0.3036,
                    "already": 0,
                    "effective_weight": 0.3036,
                    "runner_up": "Lucas Boyé",
                    "runner_up_effective_weight": 0.2934
                  }
                ]
              }
            },
            {
              "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.8245,
                "tackles": 2.9736,
                "tackles_won": 1.8592,
                "clearances": 1.7491,
                "aerial_won": 0.7146,
                "total_shots": 0.7975,
                "rating": 6.7914,
                "minutes": 90.0,
                "total_pass": 16.3274,
                "accurate_pass": 13.9835,
                "duels_won": 4.9275,
                "total_long_balls": 1.0654,
                "accurate_long_balls": 1.0654,
                "total_own_half_passes": 6.2326,
                "accurate_own_half_passes": 6.2326,
                "total_opp_half_passes": 10.0947,
                "accurate_opp_half_passes": 7.7508,
                "crosses_total": 4.5546,
                "crosses_accurate": 1.5182,
                "touches": 35.2383,
                "possession_lost": 8.8695,
                "dispossessed": 0.9855,
                "duels_lost": 2.5037,
                "aerial_lost": 0.0,
                "total_contest": 2.0509,
                "won_contest": 0.9855,
                "ball_recovery": 1.971,
                "challenges_lost": 0.4528,
                "fouls": 0.0,
                "fouls_drawn": 0.9855,
                "blocks": 0.0,
                "goal_rate": 0.4528,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0478,
                "expected_assists": 0.142,
                "shots_on_target": 0.4528,
                "big_chances_created": 0.0,
                "xgot": 0.4704,
                "ball_carries": 10.1746,
                "total_progression": 69.71,
                "progressive_carries": 3.942,
                "key_pass": 1.5182,
                "shots_off_target": 0.3446,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.4,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.9,
                "defensive_success_rate": 0.371,
                "opponent_faced": "Karim Adeyemi",
                "pressing_zone": "Right Wing vs Left Back — Flank Battle",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0467,
                "projected_assists": 0,
                "assist_probability": 0.1324,
                "finishing_factor": 1.25,
                "creation_factor": 0.8,
                "fifa_overall": 64.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1324,
                "assist_rate": 0.0,
                "provider_weight": 0.1136,
                "squad_weight_total": 0.8425,
                "weight_share": 0.1348,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 2,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ángel Pérez",
                    "weight": 0.1853,
                    "already": 0,
                    "effective_weight": 0.1853,
                    "runner_up": "Hugo Novoa",
                    "runner_up_effective_weight": 0.1136,
                    "blocked_own_goal": [
                      "Toni Martínez"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Nahuel Tenaglia": {
          "player_id": 896073,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 14,
          "height": 182,
          "market_value": 3200000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 1,
            "clearances": 3,
            "aerial_won": 1,
            "total_shots": 1,
            "rating": 6.8072,
            "minutes": 87,
            "total_pass": 34,
            "accurate_pass": 29,
            "duels_won": 6,
            "total_long_balls": 4,
            "accurate_long_balls": 2,
            "total_own_half_passes": 18,
            "accurate_own_half_passes": 16,
            "total_opp_half_passes": 17,
            "accurate_opp_half_passes": 13,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 56,
            "possession_lost": 10.3209,
            "dispossessed": 0.6332,
            "duels_lost": 5,
            "aerial_lost": 2,
            "total_contest": 1,
            "won_contest": 0,
            "ball_recovery": 4,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 2,
            "blocks": 0,
            "goal_rate": 0.0587,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.074,
            "expected_assists": 0.0448,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0534,
            "ball_carries": 15,
            "total_progression": 72,
            "progressive_carries": 2,
            "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.605,
            "opponent_faced": "Lamine Yamal",
            "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.0713,
            "projected_assists": 0,
            "assist_probability": 0.0438,
            "finishing_factor": 1.0083,
            "creation_factor": 0.8,
            "fifa_overall": 77.0
          },
          "latest_10_games": [
            {
              "match_id": 16421077,
              "match_date": "2026-10-23",
              "home_team": "Deportivo Alavés",
              "away_team": "Málaga CF",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1391,
                "expected_assists": 0.0201,
                "total_shots": 3,
                "shots_on_target": 0,
                "shots_off_target": 2,
                "total_pass": 48,
                "accurate_pass": 43,
                "tackles": 4,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 6,
                "aerial_won": 3,
                "duels_won": 11,
                "ball_recovery": 4,
                "saves": 0
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421069,
              "match_date": "2026-10-18",
              "home_team": "Celta Vigo",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0886,
                "expected_assists": 0.0586,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 44,
                "accurate_pass": 36,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 2,
                "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": 16421056,
              "match_date": "2026-10-10",
              "home_team": "Deportivo Alavés",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0028,
                "total_shots": 0,
                "total_pass": 40,
                "accurate_pass": 32,
                "tackles": 6,
                "tackles_won": 5,
                "interceptions": 3,
                "clearances": 1,
                "duels_won": 8,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416337,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0039,
                "total_shots": 0,
                "total_pass": 22,
                "accurate_pass": 17,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 3,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416334,
              "match_date": "2026-09-15",
              "home_team": "Deportivo Alavés",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0166,
                "total_shots": 0,
                "total_pass": 27,
                "accurate_pass": 19,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416328,
              "match_date": "2026-09-12",
              "home_team": "Real Racing Club",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 45,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.2619,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 12,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 4,
                "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": 16416318,
              "match_date": "2026-09-06",
              "home_team": "Deportivo Alavés",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0533,
                "expected_assists": 0.0113,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 39,
                "accurate_pass": 35,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 5,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416290,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0021,
                "total_shots": 0,
                "total_pass": 11,
                "accurate_pass": 8,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 3,
                "clearances": 5,
                "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": 16416292,
              "match_date": "2026-08-20",
              "home_team": "Rayo Vallecano",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0147,
                "expected_assists": 0.0129,
                "total_shots": 1,
                "total_pass": 29,
                "accurate_pass": 21,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 7,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421047,
              "match_date": "2026-08-15",
              "home_team": "Deportivo Alavés",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 8.6,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3096,
                "expected_assists": 0.0325,
                "total_shots": 3,
                "shots_on_target": 1,
                "total_pass": 61,
                "accurate_pass": 52,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 6,
                "aerial_won": 2,
                "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"
            }
          ],
          "ranking": {
            "global_player_rank": 2146,
            "combined_rank_score": 809.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 62.0,
            "sofascore_rating": 7.65,
            "sofascore_appearances": 2.0,
            "fifa_rank": 1557.0,
            "fifa_overall": 77.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 7,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8072,
            "source_file": "data/player_rankings.csv",
            "player_name": "Nahuel Tenaglia",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Kaito Taniguchi",
                  "ranking": 2141
                },
                {
                  "player_name": "Seok-jun Hong",
                  "ranking": 2142
                },
                {
                  "player_name": "Álvaro Valles",
                  "ranking": 2143
                },
                {
                  "player_name": "Lazar Samardžić",
                  "ranking": 2144
                },
                {
                  "player_name": "Giovanny Avalos",
                  "ranking": 2145
                }
              ],
              "lower": [
                {
                  "player_name": "Breel Embolo",
                  "ranking": 2147
                },
                {
                  "player_name": "Sergi Cardona",
                  "ranking": 2148
                },
                {
                  "player_name": "Kim Geon-oh",
                  "ranking": 2149
                },
                {
                  "player_name": "Ben Chilwell",
                  "ranking": 2150
                },
                {
                  "player_name": "Nicholas Duarte",
                  "ranking": 2151
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.78,
          "history_matches": 46,
          "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": 46,
            "data_confidence": 0.78,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9981,
            "fbref_prior_metrics": {
              "squad": "Alavés",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 270.0,
              "goals_per90": 0.3333333333333333,
              "assists_per90": 0.0,
              "shots_per90": 1.33,
              "shots_on_target_pct": 25.0,
              "prior_reliability": 0.2
            },
            "rationale": "XGBoost regressor (D_service) evaluated 46 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Alavés, rel: 0.20, gls/90: 0.3333333333333333, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1.0786,
                "tackles": 2.1003,
                "tackles_won": 1.2911,
                "clearances": 3.3149,
                "aerial_won": 1.2318,
                "total_shots": 0.8354,
                "rating": 6.8072,
                "minutes": 87.12,
                "total_pass": 34.5065,
                "accurate_pass": 28.7511,
                "duels_won": 5.7374,
                "total_long_balls": 4.125,
                "accurate_long_balls": 1.629,
                "total_own_half_passes": 17.8137,
                "accurate_own_half_passes": 16.1013,
                "total_opp_half_passes": 16.6928,
                "accurate_opp_half_passes": 12.6498,
                "crosses_total": 1.5035,
                "crosses_accurate": 0.2071,
                "touches": 56.3523,
                "possession_lost": 10.3405,
                "dispossessed": 0.6344,
                "duels_lost": 4.7342,
                "aerial_lost": 1.6795,
                "total_contest": 1.108,
                "won_contest": 0.2665,
                "ball_recovery": 3.946,
                "challenges_lost": 0.6091,
                "fouls": 0.9948,
                "fouls_drawn": 1.7112,
                "blocks": 0.4503,
                "goals": 0.0554,
                "goal_rate": 0.0554,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0579,
                "expected_assists": 0.0351,
                "shots_on_target": 0.307,
                "big_chances_created": 0.0767,
                "xgot": 0.0418,
                "ball_carries": 14.6805,
                "total_progression": 71.9075,
                "progressive_carries": 1.6082,
                "key_pass": 0.1868,
                "shots_off_target": 0.5284
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-31T10:29:25.210665+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 626,
                    "rows": 22004
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-23",
                    "opponent": "Málaga CF",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1501,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-10-18",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1276,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-10-10",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1084,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0922,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0783,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Real Racing Club",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.0666,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0566,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0481,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-20",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 8.6
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 3.8182,
                  "aerialWon": 1.2001,
                  "totalClearance_p90": 4.0849,
                  "totalTackle": 2.6518,
                  "totalPass": 34.5065
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 1.0785835981369019,
                    "model_output": 1.0786,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2977
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0446
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0318
                      },
                      {
                        "name": "touches",
                        "importance": 0.0281
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0208
                      }
                    ],
                    "decomposition": {
                      "base": 0.8678,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1053
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0723
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.0209
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0172
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0166
                        }
                      ],
                      "others": 0.0535,
                      "total": 1.0786,
                      "log_link": true,
                      "margin_base": -0.141777,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.114568
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.07171
                        },
                        {
                          "name": "wonTackle",
                          "margin": -0.020224
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.016634
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.016032
                        }
                      ],
                      "others_margin": 0.05077
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 2.100309133529663,
                    "model_output": 2.1003,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2493
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0731
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0475
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0414
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.0245
                      }
                    ],
                    "decomposition": {
                      "base": 1.3878,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.195
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.1388
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.1133
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.1159
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.0401
                        }
                      ],
                      "others": 0.1094,
                      "total": 2.1003,
                      "log_link": true,
                      "margin_base": 0.327722,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.131468
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.084059
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.063752
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.061271
                        },
                        {
                          "name": "duelLost",
                          "margin": 0.020365
                        }
                      ],
                      "others_margin": 0.053448
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 1.29110848903656,
                    "model_output": 1.2911,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1966
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0678
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0471
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0406
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0252
                      }
                    ],
                    "decomposition": {
                      "base": 0.8471,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1198
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0884
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0842
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0637
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.0257
                        }
                      ],
                      "others": 0.0622,
                      "total": 1.2911,
                      "log_link": true,
                      "margin_base": -0.165887,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.132287
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.087448
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.076793
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.054375
                        },
                        {
                          "name": "duelLost",
                          "margin": 0.021167
                        }
                      ],
                      "others_margin": 0.049318
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 3.314945697784424,
                    "model_output": 3.3149,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2929
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1447
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.1031
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0342
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0223
                      }
                    ],
                    "decomposition": {
                      "base": 3.4227,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4282
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.3109
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.2018
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.137
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0933
                        }
                      ],
                      "others": -0.1966,
                      "total": 3.3149,
                      "log_link": true,
                      "margin_base": 1.230438,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.117868
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.084188
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.055444
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.037303
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.026233
                        }
                      ],
                      "others_margin": -0.057585
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.2317767143249512,
                    "model_output": 1.2318,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1591
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1548
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0782
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0406
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 1.3743,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": -0.1549
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1434
                        },
                        {
                          "name": "aerialLost",
                          "contribution": 0.0639
                        },
                        {
                          "name": "dispossessed",
                          "contribution": -0.0579
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.0418
                        }
                      ],
                      "others": -0.0952,
                      "total": 1.2318,
                      "log_link": true,
                      "margin_base": 0.31798,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": -0.119545
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.111159
                        },
                        {
                          "name": "aerialLost",
                          "margin": 0.045841
                        },
                        {
                          "name": "dispossessed",
                          "margin": -0.041451
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": -0.030976
                        }
                      ],
                      "others_margin": -0.07455
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.8353739380836487,
                    "model_output": 0.8354,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1011
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0687
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0377
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0308
                      },
                      {
                        "name": "rating",
                        "importance": 0.0275
                      }
                    ],
                    "decomposition": {
                      "base": 0.4801,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.1833
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0605
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0199
                        },
                        {
                          "name": "history_matches",
                          "contribution": 0.0177
                        },
                        {
                          "name": "duelWon",
                          "contribution": 0.0174
                        }
                      ],
                      "others": 0.0565,
                      "total": 0.8354,
                      "log_link": false,
                      "margin_base": 0.48008,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.183267
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.060453
                        },
                        {
                          "name": "rating",
                          "margin": 0.019937
                        },
                        {
                          "name": "history_matches",
                          "margin": 0.017723
                        },
                        {
                          "name": "duelWon",
                          "margin": 0.017449
                        }
                      ],
                      "others_margin": 0.056464
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.80718994140625,
                    "model_output": 6.8072,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0922
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0582
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0462
                      },
                      {
                        "name": "rating",
                        "importance": 0.0313
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0279
                      }
                    ],
                    "decomposition": {
                      "base": 6.7972,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0265
                        },
                        {
                          "name": "duelWon",
                          "contribution": 0.0145
                        },
                        {
                          "name": "touches",
                          "contribution": 0.013
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0124
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0118
                        }
                      ],
                      "others": -0.0446,
                      "total": 6.8072,
                      "log_link": false,
                      "margin_base": 6.797222,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.026541
                        },
                        {
                          "name": "duelWon",
                          "margin": 0.014544
                        },
                        {
                          "name": "touches",
                          "margin": 0.013031
                        },
                        {
                          "name": "rating",
                          "margin": 0.012392
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.011803
                        }
                      ],
                      "others_margin": -0.044738
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 46,
                  "role_matches": 46,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9981, quality 0.440)",
              "stats": {
                "interceptions": 1.0765,
                "tackles": 2.0963,
                "tackles_won": 1.2887,
                "clearances": 3.3086,
                "aerial_won": 1.2294,
                "total_shots": 0.8338,
                "rating": 6.8072,
                "minutes": 87.12,
                "total_pass": 34.4409,
                "accurate_pass": 28.6965,
                "duels_won": 5.7265,
                "total_long_balls": 4.1172,
                "accurate_long_balls": 1.6259,
                "total_own_half_passes": 17.7799,
                "accurate_own_half_passes": 16.0707,
                "total_opp_half_passes": 16.6611,
                "accurate_opp_half_passes": 12.6258,
                "crosses_total": 1.5006,
                "crosses_accurate": 0.2067,
                "touches": 56.2452,
                "possession_lost": 10.3209,
                "dispossessed": 0.6332,
                "duels_lost": 4.7252,
                "aerial_lost": 1.6763,
                "total_contest": 1.1059,
                "won_contest": 0.266,
                "ball_recovery": 3.9385,
                "challenges_lost": 0.6079,
                "fouls": 0.9929,
                "fouls_drawn": 1.7079,
                "blocks": 0.4494,
                "goals": 0.0553,
                "goal_rate": 0.0553,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0578,
                "expected_assists": 0.035,
                "shots_on_target": 0.3064,
                "big_chances_created": 0.0766,
                "xgot": 0.0417,
                "ball_carries": 14.6526,
                "total_progression": 71.7709,
                "progressive_carries": 1.6051,
                "key_pass": 0.1864,
                "shots_off_target": 0.5274
              },
              "params": {
                "market_value_eur": 3200000,
                "quality_factor": 0.4399,
                "boost_factor": 0.9981,
                "reference_quality": 0.505,
                "history_matches": 46,
                "history_shrink": 0.098,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0127)",
              "stats": {
                "interceptions": 1.0833,
                "tackles": 2.0963,
                "tackles_won": 1.2887,
                "clearances": 3.3086,
                "aerial_won": 1.2294,
                "total_shots": 0.8396,
                "rating": 6.8072,
                "minutes": 87.12,
                "total_pass": 34.4409,
                "accurate_pass": 28.6965,
                "duels_won": 5.7265,
                "total_long_balls": 4.1172,
                "accurate_long_balls": 1.6259,
                "total_own_half_passes": 17.7799,
                "accurate_own_half_passes": 16.0707,
                "total_opp_half_passes": 16.6611,
                "accurate_opp_half_passes": 12.6258,
                "crosses_total": 1.4897,
                "crosses_accurate": 0.2067,
                "touches": 56.2452,
                "possession_lost": 10.3209,
                "dispossessed": 0.6332,
                "duels_lost": 4.7252,
                "aerial_lost": 1.6763,
                "total_contest": 1.1059,
                "won_contest": 0.266,
                "ball_recovery": 3.9385,
                "challenges_lost": 0.6079,
                "fouls": 0.9967,
                "fouls_drawn": 1.6985,
                "blocks": 0.4494,
                "goals": 0.0587,
                "goal_rate": 0.0587,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0578,
                "expected_assists": 0.035,
                "shots_on_target": 0.3066,
                "big_chances_created": 0.0766,
                "xgot": 0.0417,
                "ball_carries": 14.6526,
                "total_progression": 71.7709,
                "progressive_carries": 1.6051,
                "key_pass": 0.1864,
                "shots_off_target": 0.5274
              },
              "params": {
                "blend_weight": 0.0127,
                "history_matches": 46,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.968,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Alavés"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 1.5006,
                  "after": 1.4897
                },
                {
                  "stat": "wasFouled",
                  "before": 1.7079,
                  "after": 1.6985
                },
                {
                  "stat": "interceptionWon",
                  "before": 1.0765,
                  "after": 1.0833
                },
                {
                  "stat": "totalShots",
                  "before": 0.8338,
                  "after": 0.8396
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1.0833,
                "tackles": 2.0963,
                "tackles_won": 1.2887,
                "clearances": 3.3086,
                "aerial_won": 1.2294,
                "total_shots": 0.8396,
                "rating": 6.8072,
                "minutes": 87.12,
                "total_pass": 34.4409,
                "accurate_pass": 28.6965,
                "duels_won": 5.7265,
                "total_long_balls": 4.1172,
                "accurate_long_balls": 1.6259,
                "total_own_half_passes": 17.7799,
                "accurate_own_half_passes": 16.0707,
                "total_opp_half_passes": 16.6611,
                "accurate_opp_half_passes": 12.6258,
                "crosses_total": 1.4897,
                "crosses_accurate": 0.2067,
                "touches": 56.2452,
                "possession_lost": 10.3209,
                "dispossessed": 0.6332,
                "duels_lost": 4.7252,
                "aerial_lost": 1.6763,
                "total_contest": 1.1059,
                "won_contest": 0.266,
                "ball_recovery": 3.9385,
                "challenges_lost": 0.6079,
                "fouls": 0.9967,
                "fouls_drawn": 1.6985,
                "blocks": 0.4494,
                "goals": 0.0587,
                "goal_rate": 0.0587,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0578,
                "expected_assists": 0.035,
                "shots_on_target": 0.3066,
                "big_chances_created": 0.0766,
                "xgot": 0.0417,
                "ball_carries": 14.6526,
                "total_progression": 71.7709,
                "progressive_carries": 1.6051,
                "key_pass": 0.1864,
                "shots_off_target": 0.5274
              },
              "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.0833,
                "tackles": 2.0963,
                "tackles_won": 1.2887,
                "clearances": 3.3086,
                "aerial_won": 1.2294,
                "total_shots": 0.8396,
                "rating": 6.8072,
                "minutes": 87.12,
                "total_pass": 34.4409,
                "accurate_pass": 28.6965,
                "duels_won": 5.7265,
                "total_long_balls": 4.1172,
                "accurate_long_balls": 1.6259,
                "total_own_half_passes": 17.7799,
                "accurate_own_half_passes": 16.0707,
                "total_opp_half_passes": 16.6611,
                "accurate_opp_half_passes": 12.6258,
                "crosses_total": 1.4897,
                "crosses_accurate": 0.2067,
                "touches": 56.2452,
                "possession_lost": 10.3209,
                "dispossessed": 0.6332,
                "duels_lost": 4.7252,
                "aerial_lost": 1.6763,
                "total_contest": 1.1059,
                "won_contest": 0.266,
                "ball_recovery": 3.9385,
                "challenges_lost": 0.6079,
                "fouls": 0.9967,
                "fouls_drawn": 1.6985,
                "blocks": 0.4494,
                "goals": 0.0587,
                "goal_rate": 0.0587,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0578,
                "expected_assists": 0.035,
                "shots_on_target": 0.3066,
                "big_chances_created": 0.0766,
                "xgot": 0.0417,
                "ball_carries": 14.6526,
                "total_progression": 71.7709,
                "progressive_carries": 1.6051,
                "key_pass": 0.1864,
                "shots_off_target": 0.5274,
                "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.605,
                "opponent_faced": "Lamine Yamal",
                "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": "Lamine Yamal",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle"
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "interceptions": 1.0833,
                "tackles": 2.0963,
                "tackles_won": 1.2887,
                "clearances": 3.3086,
                "aerial_won": 1.2294,
                "total_shots": 0.8396,
                "rating": 6.8072,
                "minutes": 87.12,
                "total_pass": 34.4409,
                "accurate_pass": 28.6965,
                "duels_won": 5.7265,
                "total_long_balls": 4.1172,
                "accurate_long_balls": 1.6259,
                "total_own_half_passes": 17.7799,
                "accurate_own_half_passes": 16.0707,
                "total_opp_half_passes": 16.6611,
                "accurate_opp_half_passes": 12.6258,
                "crosses_total": 1.4897,
                "crosses_accurate": 0.2067,
                "touches": 56.2452,
                "possession_lost": 10.3209,
                "dispossessed": 0.6332,
                "duels_lost": 4.7252,
                "aerial_lost": 1.6763,
                "total_contest": 1.1059,
                "won_contest": 0.266,
                "ball_recovery": 3.9385,
                "challenges_lost": 0.6079,
                "fouls": 0.9967,
                "fouls_drawn": 1.6985,
                "blocks": 0.4494,
                "goal_rate": 0.0587,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0578,
                "expected_assists": 0.035,
                "shots_on_target": 0.3066,
                "big_chances_created": 0.0766,
                "xgot": 0.0417,
                "ball_carries": 14.6526,
                "total_progression": 71.7709,
                "progressive_carries": 1.6051,
                "key_pass": 0.1864,
                "shots_off_target": 0.5274,
                "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.605,
                "opponent_faced": "Lamine Yamal",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.29 (squad xG sum 1.0060, xG scale 1.2803, xA scale 1.2803, team xA 0.96 = 0.74 x lambda)",
              "stats": {
                "interceptions": 1.0833,
                "tackles": 2.0963,
                "tackles_won": 1.2887,
                "clearances": 3.3086,
                "aerial_won": 1.2294,
                "total_shots": 0.8396,
                "rating": 6.8072,
                "minutes": 87.12,
                "total_pass": 34.4409,
                "accurate_pass": 28.6965,
                "duels_won": 5.7265,
                "total_long_balls": 4.1172,
                "accurate_long_balls": 1.6259,
                "total_own_half_passes": 17.7799,
                "accurate_own_half_passes": 16.0707,
                "total_opp_half_passes": 16.6611,
                "accurate_opp_half_passes": 12.6258,
                "crosses_total": 1.4897,
                "crosses_accurate": 0.2067,
                "touches": 56.2452,
                "possession_lost": 10.3209,
                "dispossessed": 0.6332,
                "duels_lost": 4.7252,
                "aerial_lost": 1.6763,
                "total_contest": 1.1059,
                "won_contest": 0.266,
                "ball_recovery": 3.9385,
                "challenges_lost": 0.6079,
                "fouls": 0.9967,
                "fouls_drawn": 1.6985,
                "blocks": 0.4494,
                "goal_rate": 0.0587,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.074,
                "expected_assists": 0.0448,
                "shots_on_target": 0.3066,
                "big_chances_created": 0.0766,
                "xgot": 0.0534,
                "ball_carries": 14.6526,
                "total_progression": 71.7709,
                "progressive_carries": 1.6051,
                "key_pass": 0.1864,
                "shots_off_target": 0.5274,
                "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.605,
                "opponent_faced": "Lamine Yamal",
                "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.0083,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.288,
                "squad_xg_sum": 1.006,
                "squad_xa_sum": 0.7484,
                "team_expected_assists": 0.9582,
                "team_xa_to_xg_ratio": 0.7439,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2803,
                "xa_scale": 1.2803,
                "opponent_lambda": 3.863,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0578,
                  "after": 0.074
                },
                {
                  "stat": "expected_assists",
                  "before": 0.035,
                  "after": 0.0448
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 7 by projected rating, fifa_overall 77.0)",
              "stats": {
                "interceptions": 1.0833,
                "tackles": 2.0963,
                "tackles_won": 1.2887,
                "clearances": 3.3086,
                "aerial_won": 1.2294,
                "total_shots": 0.8396,
                "rating": 6.8072,
                "minutes": 87.12,
                "total_pass": 34.4409,
                "accurate_pass": 28.6965,
                "duels_won": 5.7265,
                "total_long_balls": 4.1172,
                "accurate_long_balls": 1.6259,
                "total_own_half_passes": 17.7799,
                "accurate_own_half_passes": 16.0707,
                "total_opp_half_passes": 16.6611,
                "accurate_opp_half_passes": 12.6258,
                "crosses_total": 1.4897,
                "crosses_accurate": 0.2067,
                "touches": 56.2452,
                "possession_lost": 10.3209,
                "dispossessed": 0.6332,
                "duels_lost": 4.7252,
                "aerial_lost": 1.6763,
                "total_contest": 1.1059,
                "won_contest": 0.266,
                "ball_recovery": 3.9385,
                "challenges_lost": 0.6079,
                "fouls": 0.9967,
                "fouls_drawn": 1.6985,
                "blocks": 0.4494,
                "goal_rate": 0.0587,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.074,
                "expected_assists": 0.0448,
                "shots_on_target": 0.3066,
                "big_chances_created": 0.0766,
                "xgot": 0.0534,
                "ball_carries": 14.6526,
                "total_progression": 71.7709,
                "progressive_carries": 1.6051,
                "key_pass": 0.1864,
                "shots_off_target": 0.5274,
                "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.605,
                "opponent_faced": "Lamine Yamal",
                "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.0083,
                "creation_factor": 0.8,
                "fifa_overall": 77.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": 2146,
                "fifa_rank": 1557.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": 1.0833,
                "tackles": 2.0963,
                "tackles_won": 1.2887,
                "clearances": 3.3086,
                "aerial_won": 1.2294,
                "total_shots": 0.8396,
                "rating": 6.8072,
                "minutes": 87.12,
                "total_pass": 34.4409,
                "accurate_pass": 28.6965,
                "duels_won": 5.7265,
                "total_long_balls": 4.1172,
                "accurate_long_balls": 1.6259,
                "total_own_half_passes": 17.7799,
                "accurate_own_half_passes": 16.0707,
                "total_opp_half_passes": 16.6611,
                "accurate_opp_half_passes": 12.6258,
                "crosses_total": 1.4897,
                "crosses_accurate": 0.2067,
                "touches": 56.2452,
                "possession_lost": 10.3209,
                "dispossessed": 0.6332,
                "duels_lost": 4.7252,
                "aerial_lost": 1.6763,
                "total_contest": 1.1059,
                "won_contest": 0.266,
                "ball_recovery": 3.9385,
                "challenges_lost": 0.6079,
                "fouls": 0.9967,
                "fouls_drawn": 1.6985,
                "blocks": 0.4494,
                "goal_rate": 0.0587,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.074,
                "expected_assists": 0.0448,
                "shots_on_target": 0.3066,
                "big_chances_created": 0.0766,
                "xgot": 0.0534,
                "ball_carries": 14.6526,
                "total_progression": 71.7709,
                "progressive_carries": 1.6051,
                "key_pass": 0.1864,
                "shots_off_target": 0.5274,
                "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.605,
                "opponent_faced": "Lamine Yamal",
                "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.0713,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0083,
                "creation_factor": 0.8,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0713,
                "goal_rate": 0.0587,
                "scorer_weight": 0.0746,
                "squad_weight_total": 1.3792,
                "weight_share": 0.0541,
                "finishing_factor": 1.0083,
                "appearance_weight": 1.0,
                "weight_rank": 5,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Toni Martínez",
                    "weight": 0.3036,
                    "already": 0,
                    "effective_weight": 0.3036,
                    "runner_up": "Lucas Boyé",
                    "runner_up_effective_weight": 0.2934
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "interceptions": 1.0833,
                "tackles": 2.0963,
                "tackles_won": 1.2887,
                "clearances": 3.3086,
                "aerial_won": 1.2294,
                "total_shots": 0.8396,
                "rating": 6.8072,
                "minutes": 87.12,
                "total_pass": 34.4409,
                "accurate_pass": 28.6965,
                "duels_won": 5.7265,
                "total_long_balls": 4.1172,
                "accurate_long_balls": 1.6259,
                "total_own_half_passes": 17.7799,
                "accurate_own_half_passes": 16.0707,
                "total_opp_half_passes": 16.6611,
                "accurate_opp_half_passes": 12.6258,
                "crosses_total": 1.4897,
                "crosses_accurate": 0.2067,
                "touches": 56.2452,
                "possession_lost": 10.3209,
                "dispossessed": 0.6332,
                "duels_lost": 4.7252,
                "aerial_lost": 1.6763,
                "total_contest": 1.1059,
                "won_contest": 0.266,
                "ball_recovery": 3.9385,
                "challenges_lost": 0.6079,
                "fouls": 0.9967,
                "fouls_drawn": 1.6985,
                "blocks": 0.4494,
                "goal_rate": 0.0587,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.074,
                "expected_assists": 0.0448,
                "shots_on_target": 0.3066,
                "big_chances_created": 0.0766,
                "xgot": 0.0534,
                "ball_carries": 14.6526,
                "total_progression": 71.7709,
                "progressive_carries": 1.6051,
                "key_pass": 0.1864,
                "shots_off_target": 0.5274,
                "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.605,
                "opponent_faced": "Lamine Yamal",
                "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.0713,
                "projected_assists": 0,
                "assist_probability": 0.0438,
                "finishing_factor": 1.0083,
                "creation_factor": 0.8,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0438,
                "assist_rate": 0.0,
                "provider_weight": 0.0358,
                "squad_weight_total": 0.8425,
                "weight_share": 0.0425,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 8,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ángel Pérez",
                    "weight": 0.1853,
                    "already": 0,
                    "effective_weight": 0.1853,
                    "runner_up": "Hugo Novoa",
                    "runner_up_effective_weight": 0.1136,
                    "blocked_own_goal": [
                      "Toni Martínez"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Ville Koski": {
          "player_id": 999178,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 16,
          "height": 185,
          "market_value": 4300000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 6,
            "aerial_won": 2,
            "total_shots": 1,
            "rating": 6.7893,
            "minutes": 90,
            "total_pass": 40,
            "accurate_pass": 35,
            "duels_won": 2,
            "total_long_balls": 4,
            "accurate_long_balls": 2,
            "total_own_half_passes": 27,
            "accurate_own_half_passes": 26,
            "total_opp_half_passes": 13,
            "accurate_opp_half_passes": 9,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 53,
            "possession_lost": 5.9988,
            "dispossessed": 0.0,
            "duels_lost": 2,
            "aerial_lost": 1,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 3,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 0,
            "blocks": 1,
            "goal_rate": 0.1008,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.1207,
            "expected_assists": 0.0164,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.1011,
            "ball_carries": 15,
            "total_progression": 42,
            "progressive_carries": 1,
            "key_pass": 0,
            "shots_off_target": 0,
            "tackles_in_zone": 1.0,
            "tackles_won_in_zone": 0.8,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.605,
            "opponent_faced": "Lamine Yamal",
            "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.1137,
            "projected_assists": 0,
            "assist_probability": 0.0163,
            "finishing_factor": 1.045,
            "creation_factor": 0.8,
            "fifa_overall": 68.0
          },
          "latest_10_games": [
            {
              "match_id": 16421077,
              "match_date": "2026-10-23",
              "home_team": "Deportivo Alavés",
              "away_team": "Málaga CF",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0493,
                "expected_assists": 0.0104,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 1,
                "total_pass": 74,
                "accurate_pass": 65,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 4,
                "aerial_won": 0,
                "duels_won": 1,
                "ball_recovery": 4,
                "saves": 0
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421069,
              "match_date": "2026-10-18",
              "home_team": "Celta Vigo",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0045,
                "total_shots": 0,
                "total_pass": 52,
                "accurate_pass": 46,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421056,
              "match_date": "2026-10-10",
              "home_team": "Deportivo Alavés",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 19,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0014,
                "total_shots": 0,
                "total_pass": 10,
                "accurate_pass": 9,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "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": 16416337,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 7.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0011,
                "total_shots": 0,
                "total_pass": 23,
                "accurate_pass": 19,
                "tackles": 1,
                "interceptions": 2,
                "clearances": 7,
                "aerial_won": 2,
                "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": 16416334,
              "match_date": "2026-09-15",
              "home_team": "Deportivo Alavés",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1336,
                "expected_assists": 0.008,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 42,
                "accurate_pass": 37,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 6,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416328,
              "match_date": "2026-09-12",
              "home_team": "Real Racing Club",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.7752,
                "expected_assists": 0.0052,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 30,
                "accurate_pass": 25,
                "clearances": 8,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416318,
              "match_date": "2026-09-06",
              "home_team": "Deportivo Alavés",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 5.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.001,
                "total_shots": 0,
                "total_pass": 38,
                "accurate_pass": 34,
                "interceptions": 2,
                "clearances": 6,
                "aerial_won": 2,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416290,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0002,
                "total_shots": 0,
                "total_pass": 7,
                "accurate_pass": 5,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 12,
                "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": 16416292,
              "match_date": "2026-08-20",
              "home_team": "Rayo Vallecano",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 80,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0038,
                "total_shots": 0,
                "total_pass": 26,
                "accurate_pass": 23,
                "tackles": 1,
                "interceptions": 2,
                "clearances": 5,
                "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": 16421047,
              "match_date": "2026-08-15",
              "home_team": "Deportivo Alavés",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0026,
                "total_shots": 0,
                "total_pass": 54,
                "accurate_pass": 49,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 6009,
            "combined_rank_score": 4273.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 409.0,
            "sofascore_rating": 6.9333,
            "sofascore_appearances": 3.0,
            "fifa_rank": 8138.0,
            "fifa_overall": 68.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 11,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7893,
            "source_file": "data/player_rankings.csv",
            "player_name": "Ville Koski",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Carracedo",
                  "ranking": 6004
                },
                {
                  "player_name": "Andrés Fernández",
                  "ranking": 6005
                },
                {
                  "player_name": "Nick D'Agostino",
                  "ranking": 6006
                },
                {
                  "player_name": "Jesé",
                  "ranking": 6007
                },
                {
                  "player_name": "Alberto Jiménez",
                  "ranking": 6008
                }
              ],
              "lower": [
                {
                  "player_name": "Vallejo",
                  "ranking": 6010
                },
                {
                  "player_name": "Mauro Pittón",
                  "ranking": 6011
                },
                {
                  "player_name": "Iñigo Córdoba",
                  "ranking": 6012
                },
                {
                  "player_name": "Rubén Alcaraz",
                  "ranking": 6013
                },
                {
                  "player_name": "Nolaskoain",
                  "ranking": 6014
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.779,
          "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.779,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9961,
            "fbref_prior_metrics": {
              "squad": "Alavés",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 259.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.1933
            },
            "rationale": "XGBoost regressor (D_service) evaluated 15 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Alavés, 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.2103,
                "tackles": 1.2021,
                "tackles_won": 0.6852,
                "clearances": 5.8219,
                "aerial_won": 1.6317,
                "total_shots": 0.5426,
                "rating": 6.7893,
                "minutes": 89.52,
                "total_pass": 40.6185,
                "accurate_pass": 35.4229,
                "duels_won": 2.3704,
                "total_long_balls": 4.1534,
                "accurate_long_balls": 2.2513,
                "total_own_half_passes": 27.1219,
                "accurate_own_half_passes": 26.1771,
                "total_opp_half_passes": 13.4966,
                "accurate_opp_half_passes": 9.2458,
                "crosses_total": 0.1749,
                "crosses_accurate": 0.0,
                "touches": 52.8968,
                "possession_lost": 6.0223,
                "dispossessed": 0.0,
                "duels_lost": 2.3906,
                "aerial_lost": 1.3329,
                "total_contest": 0.0477,
                "won_contest": 0.0477,
                "ball_recovery": 2.5695,
                "challenges_lost": 0.0776,
                "fouls": 1.0577,
                "fouls_drawn": 0.256,
                "blocks": 0.7174,
                "goals": 0.1045,
                "goal_rate": 0.1045,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0947,
                "expected_assists": 0.0129,
                "shots_on_target": 0.2392,
                "big_chances_created": 0.0,
                "xgot": 0.0793,
                "ball_carries": 15.1517,
                "total_progression": 41.8454,
                "progressive_carries": 0.546,
                "key_pass": 0.0405,
                "shots_off_target": 0.3034
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-31T10:29:25.210665+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 626,
                    "rows": 22004
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-23",
                    "opponent": "Málaga CF",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1644,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-10-18",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1397,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-10-10",
                    "opponent": "Atlético Madrid",
                    "minutes": 19.0,
                    "is_starting": false,
                    "weight": 0.1187,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1009,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0858,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Real Racing Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0729,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.062,
                    "rating": 5.6
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0527,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-08-20",
                    "opponent": "Rayo Vallecano",
                    "minutes": 80.0,
                    "is_starting": true,
                    "weight": 0.0448,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0381,
                    "rating": 6.9
                  }
                ],
                "feature_row": {
                  "history_matches": 15.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 5.1783,
                  "aerialWon": 0.9209,
                  "totalClearance_p90": 8.885,
                  "totalTackle": 0.9901,
                  "totalPass": 36.5677
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 1.210264801979065,
                    "model_output": 1.2103,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2977
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0446
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0318
                      },
                      {
                        "name": "touches",
                        "importance": 0.0281
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0208
                      }
                    ],
                    "decomposition": {
                      "base": 0.8678,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1132
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0911
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0544
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0218
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0214
                        }
                      ],
                      "others": 0.0406,
                      "total": 1.2103,
                      "log_link": true,
                      "margin_base": -0.141777,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.122638
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.08876
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.04953
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.019194
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.018462
                        }
                      ],
                      "others_margin": 0.034032
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.202073097229004,
                    "model_output": 1.2021,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2493
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0731
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0475
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0414
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.0245
                      }
                    ],
                    "decomposition": {
                      "base": 1.3878,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1866
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0893
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0737
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0694
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0479
                        }
                      ],
                      "others": -0.2308,
                      "total": 1.2021,
                      "log_link": true,
                      "margin_base": 0.327722,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.126164
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.058362
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.050922
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.047969
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.032856
                        }
                      ],
                      "others_margin": -0.175667
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.6852275729179382,
                    "model_output": 0.6852,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1966
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0678
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0471
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0406
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0252
                      }
                    ],
                    "decomposition": {
                      "base": 0.8471,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.113
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0666
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0445
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0355
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0354
                        }
                      ],
                      "others": -0.1639,
                      "total": 0.6852,
                      "log_link": true,
                      "margin_base": -0.165887,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.125201
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.071904
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.051074
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.040992
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.040838
                        }
                      ],
                      "others_margin": -0.214495
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 5.82185173034668,
                    "model_output": 5.8219,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2929
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1447
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.1031
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0342
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0223
                      }
                    ],
                    "decomposition": {
                      "base": 3.4227,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": 0.6541
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.5469
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.4276
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.4414
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.1608
                        }
                      ],
                      "others": 0.1684,
                      "total": 5.8219,
                      "log_link": true,
                      "margin_base": 1.230438,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": 0.174876
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.125881
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.088454
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.083765
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.028854
                        }
                      ],
                      "others_margin": 0.02935
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.6317332983016968,
                    "model_output": 1.6317,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1591
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1548
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0782
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0406
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 1.3743,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": -0.2035
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1693
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.1429
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.1111
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.1103
                        }
                      ],
                      "others": -0.0727,
                      "total": 1.6317,
                      "log_link": true,
                      "margin_base": 0.31798,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": -0.160222
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.135056
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.101308
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.072258
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.066876
                        }
                      ],
                      "others_margin": -0.043612
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5426280498504639,
                    "model_output": 0.5426,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1011
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0687
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0377
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0308
                      },
                      {
                        "name": "rating",
                        "importance": 0.0275
                      }
                    ],
                    "decomposition": {
                      "base": 0.4801,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0614
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0318
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0206
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0153
                        },
                        {
                          "name": "totalProgression",
                          "contribution": 0.0129
                        }
                      ],
                      "others": -0.0489,
                      "total": 0.5426,
                      "log_link": false,
                      "margin_base": 0.48008,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.061358
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.031832
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.020564
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.015316
                        },
                        {
                          "name": "totalProgression",
                          "margin": 0.012938
                        }
                      ],
                      "others_margin": -0.048829
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.789299964904785,
                    "model_output": 6.7893,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0922
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0582
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0462
                      },
                      {
                        "name": "rating",
                        "importance": 0.0313
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0279
                      }
                    ],
                    "decomposition": {
                      "base": 6.7972,
                      "items": [
                        {
                          "name": "totalPass",
                          "contribution": -0.013
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0115
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0093
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0071
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.007
                        }
                      ],
                      "others": 0.026,
                      "total": 6.7893,
                      "log_link": false,
                      "margin_base": 6.797222,
                      "item_margins": [
                        {
                          "name": "totalPass",
                          "margin": -0.01297
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.011545
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.009266
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.007055
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.006986
                        }
                      ],
                      "others_margin": 0.025928
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 15,
                  "role_matches": 12,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9961, quality 0.454)",
              "stats": {
                "interceptions": 1.2055,
                "tackles": 1.1974,
                "tackles_won": 0.6826,
                "clearances": 5.7991,
                "aerial_won": 1.6254,
                "total_shots": 0.5405,
                "rating": 6.7893,
                "minutes": 89.52,
                "total_pass": 40.4601,
                "accurate_pass": 35.2848,
                "duels_won": 2.3612,
                "total_long_balls": 4.1372,
                "accurate_long_balls": 2.2425,
                "total_own_half_passes": 27.0161,
                "accurate_own_half_passes": 26.075,
                "total_opp_half_passes": 13.444,
                "accurate_opp_half_passes": 9.2097,
                "crosses_total": 0.1742,
                "crosses_accurate": 0.0,
                "touches": 52.6905,
                "possession_lost": 5.9988,
                "dispossessed": 0.0,
                "duels_lost": 2.3813,
                "aerial_lost": 1.3277,
                "total_contest": 0.0475,
                "won_contest": 0.0475,
                "ball_recovery": 2.5595,
                "challenges_lost": 0.0773,
                "fouls": 1.0536,
                "fouls_drawn": 0.255,
                "blocks": 0.7146,
                "goals": 0.1041,
                "goal_rate": 0.1041,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0943,
                "expected_assists": 0.0128,
                "shots_on_target": 0.2383,
                "big_chances_created": 0.0,
                "xgot": 0.079,
                "ball_carries": 15.0926,
                "total_progression": 41.6822,
                "progressive_carries": 0.5439,
                "key_pass": 0.0403,
                "shots_off_target": 0.3022
              },
              "params": {
                "market_value_eur": 4300000,
                "quality_factor": 0.4535,
                "boost_factor": 0.9961,
                "reference_quality": 0.505,
                "history_matches": 15,
                "history_shrink": 0.25,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0314)",
              "stats": {
                "interceptions": 1.2,
                "tackles": 1.1974,
                "tackles_won": 0.6719,
                "clearances": 5.7991,
                "aerial_won": 1.6254,
                "total_shots": 0.5235,
                "rating": 6.7893,
                "minutes": 89.52,
                "total_pass": 40.4601,
                "accurate_pass": 35.2848,
                "duels_won": 2.3612,
                "total_long_balls": 4.1372,
                "accurate_long_balls": 2.2425,
                "total_own_half_passes": 27.0161,
                "accurate_own_half_passes": 26.075,
                "total_opp_half_passes": 13.444,
                "accurate_opp_half_passes": 9.2097,
                "crosses_total": 0.1687,
                "crosses_accurate": 0.0,
                "touches": 52.6905,
                "possession_lost": 5.9988,
                "dispossessed": 0.0,
                "duels_lost": 2.3813,
                "aerial_lost": 1.3277,
                "total_contest": 0.0475,
                "won_contest": 0.0475,
                "ball_recovery": 2.5595,
                "challenges_lost": 0.0773,
                "fouls": 1.0205,
                "fouls_drawn": 0.247,
                "blocks": 0.7146,
                "goals": 0.1008,
                "goal_rate": 0.1008,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0943,
                "expected_assists": 0.0128,
                "shots_on_target": 0.2308,
                "big_chances_created": 0.0,
                "xgot": 0.079,
                "ball_carries": 15.0926,
                "total_progression": 41.6822,
                "progressive_carries": 0.5439,
                "key_pass": 0.0403,
                "shots_off_target": 0.3022
              },
              "params": {
                "blend_weight": 0.0314,
                "history_matches": 15,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9947,
                "prior_reliability": 0.1933,
                "competition": "La Liga",
                "squad": "Alavés"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 1.0536,
                  "after": 1.0205
                },
                {
                  "stat": "totalShots",
                  "before": 0.5405,
                  "after": 0.5235
                },
                {
                  "stat": "wonTackle",
                  "before": 0.6826,
                  "after": 0.6719
                },
                {
                  "stat": "wasFouled",
                  "before": 0.255,
                  "after": 0.247
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.2383,
                  "after": 0.2308
                },
                {
                  "stat": "interceptionWon",
                  "before": 1.2055,
                  "after": 1.2
                },
                {
                  "stat": "totalCross",
                  "before": 0.1742,
                  "after": 0.1687
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1.2,
                "tackles": 1.1974,
                "tackles_won": 0.6719,
                "clearances": 5.7991,
                "aerial_won": 1.6254,
                "total_shots": 0.533,
                "rating": 6.7893,
                "minutes": 89.52,
                "total_pass": 40.4601,
                "accurate_pass": 35.2848,
                "duels_won": 2.3612,
                "total_long_balls": 4.1372,
                "accurate_long_balls": 2.2425,
                "total_own_half_passes": 27.0161,
                "accurate_own_half_passes": 26.075,
                "total_opp_half_passes": 13.444,
                "accurate_opp_half_passes": 9.2097,
                "crosses_total": 0.1687,
                "crosses_accurate": 0.0,
                "touches": 52.6905,
                "possession_lost": 5.9988,
                "dispossessed": 0.0,
                "duels_lost": 2.3813,
                "aerial_lost": 1.3277,
                "total_contest": 0.0475,
                "won_contest": 0.0475,
                "ball_recovery": 2.5595,
                "challenges_lost": 0.0773,
                "fouls": 1.0205,
                "fouls_drawn": 0.247,
                "blocks": 0.7146,
                "goals": 0.1008,
                "goal_rate": 0.1008,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0943,
                "expected_assists": 0.0128,
                "shots_on_target": 0.2308,
                "big_chances_created": 0.0,
                "xgot": 0.079,
                "ball_carries": 15.0926,
                "total_progression": 41.6822,
                "progressive_carries": 0.5439,
                "key_pass": 0.0403,
                "shots_off_target": 0.3022
              },
              "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.2,
                "tackles": 1.1974,
                "tackles_won": 0.6719,
                "clearances": 5.7991,
                "aerial_won": 1.6254,
                "total_shots": 0.533,
                "rating": 6.7893,
                "minutes": 89.52,
                "total_pass": 40.4601,
                "accurate_pass": 35.2848,
                "duels_won": 2.3612,
                "total_long_balls": 4.1372,
                "accurate_long_balls": 2.2425,
                "total_own_half_passes": 27.0161,
                "accurate_own_half_passes": 26.075,
                "total_opp_half_passes": 13.444,
                "accurate_opp_half_passes": 9.2097,
                "crosses_total": 0.1687,
                "crosses_accurate": 0.0,
                "touches": 52.6905,
                "possession_lost": 5.9988,
                "dispossessed": 0.0,
                "duels_lost": 2.3813,
                "aerial_lost": 1.3277,
                "total_contest": 0.0475,
                "won_contest": 0.0475,
                "ball_recovery": 2.5595,
                "challenges_lost": 0.0773,
                "fouls": 1.0205,
                "fouls_drawn": 0.247,
                "blocks": 0.7146,
                "goals": 0.1008,
                "goal_rate": 0.1008,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0943,
                "expected_assists": 0.0128,
                "shots_on_target": 0.2308,
                "big_chances_created": 0.0,
                "xgot": 0.079,
                "ball_carries": 15.0926,
                "total_progression": 41.6822,
                "progressive_carries": 0.5439,
                "key_pass": 0.0403,
                "shots_off_target": 0.3022,
                "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.605,
                "opponent_faced": "Lamine Yamal",
                "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": "Lamine Yamal",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle"
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "interceptions": 1.2,
                "tackles": 1.1974,
                "tackles_won": 0.6719,
                "clearances": 5.7991,
                "aerial_won": 1.6254,
                "total_shots": 0.533,
                "rating": 6.7893,
                "minutes": 89.52,
                "total_pass": 40.4601,
                "accurate_pass": 35.2848,
                "duels_won": 2.3612,
                "total_long_balls": 4.1372,
                "accurate_long_balls": 2.2425,
                "total_own_half_passes": 27.0161,
                "accurate_own_half_passes": 26.075,
                "total_opp_half_passes": 13.444,
                "accurate_opp_half_passes": 9.2097,
                "crosses_total": 0.1687,
                "crosses_accurate": 0.0,
                "touches": 52.6905,
                "possession_lost": 5.9988,
                "dispossessed": 0.0,
                "duels_lost": 2.3813,
                "aerial_lost": 1.3277,
                "total_contest": 0.0475,
                "won_contest": 0.0475,
                "ball_recovery": 2.5595,
                "challenges_lost": 0.0773,
                "fouls": 1.0205,
                "fouls_drawn": 0.247,
                "blocks": 0.7146,
                "goal_rate": 0.1008,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0943,
                "expected_assists": 0.0128,
                "shots_on_target": 0.2308,
                "big_chances_created": 0.0,
                "xgot": 0.079,
                "ball_carries": 15.0926,
                "total_progression": 41.6822,
                "progressive_carries": 0.5439,
                "key_pass": 0.0403,
                "shots_off_target": 0.3022,
                "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.605,
                "opponent_faced": "Lamine Yamal",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.29 (squad xG sum 1.0060, xG scale 1.2803, xA scale 1.2803, team xA 0.96 = 0.74 x lambda)",
              "stats": {
                "interceptions": 1.2,
                "tackles": 1.1974,
                "tackles_won": 0.6719,
                "clearances": 5.7991,
                "aerial_won": 1.6254,
                "total_shots": 0.533,
                "rating": 6.7893,
                "minutes": 89.52,
                "total_pass": 40.4601,
                "accurate_pass": 35.2848,
                "duels_won": 2.3612,
                "total_long_balls": 4.1372,
                "accurate_long_balls": 2.2425,
                "total_own_half_passes": 27.0161,
                "accurate_own_half_passes": 26.075,
                "total_opp_half_passes": 13.444,
                "accurate_opp_half_passes": 9.2097,
                "crosses_total": 0.1687,
                "crosses_accurate": 0.0,
                "touches": 52.6905,
                "possession_lost": 5.9988,
                "dispossessed": 0.0,
                "duels_lost": 2.3813,
                "aerial_lost": 1.3277,
                "total_contest": 0.0475,
                "won_contest": 0.0475,
                "ball_recovery": 2.5595,
                "challenges_lost": 0.0773,
                "fouls": 1.0205,
                "fouls_drawn": 0.247,
                "blocks": 0.7146,
                "goal_rate": 0.1008,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1207,
                "expected_assists": 0.0164,
                "shots_on_target": 0.2308,
                "big_chances_created": 0.0,
                "xgot": 0.1011,
                "ball_carries": 15.0926,
                "total_progression": 41.6822,
                "progressive_carries": 0.5439,
                "key_pass": 0.0403,
                "shots_off_target": 0.3022,
                "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.605,
                "opponent_faced": "Lamine Yamal",
                "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.045,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.288,
                "squad_xg_sum": 1.006,
                "squad_xa_sum": 0.7484,
                "team_expected_assists": 0.9582,
                "team_xa_to_xg_ratio": 0.7439,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2803,
                "xa_scale": 1.2803,
                "opponent_lambda": 3.863,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0943,
                  "after": 0.1207
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 11 by projected rating, fifa_overall 68.0)",
              "stats": {
                "interceptions": 1.2,
                "tackles": 1.1974,
                "tackles_won": 0.6719,
                "clearances": 5.7991,
                "aerial_won": 1.6254,
                "total_shots": 0.533,
                "rating": 6.7893,
                "minutes": 89.52,
                "total_pass": 40.4601,
                "accurate_pass": 35.2848,
                "duels_won": 2.3612,
                "total_long_balls": 4.1372,
                "accurate_long_balls": 2.2425,
                "total_own_half_passes": 27.0161,
                "accurate_own_half_passes": 26.075,
                "total_opp_half_passes": 13.444,
                "accurate_opp_half_passes": 9.2097,
                "crosses_total": 0.1687,
                "crosses_accurate": 0.0,
                "touches": 52.6905,
                "possession_lost": 5.9988,
                "dispossessed": 0.0,
                "duels_lost": 2.3813,
                "aerial_lost": 1.3277,
                "total_contest": 0.0475,
                "won_contest": 0.0475,
                "ball_recovery": 2.5595,
                "challenges_lost": 0.0773,
                "fouls": 1.0205,
                "fouls_drawn": 0.247,
                "blocks": 0.7146,
                "goal_rate": 0.1008,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1207,
                "expected_assists": 0.0164,
                "shots_on_target": 0.2308,
                "big_chances_created": 0.0,
                "xgot": 0.1011,
                "ball_carries": 15.0926,
                "total_progression": 41.6822,
                "progressive_carries": 0.5439,
                "key_pass": 0.0403,
                "shots_off_target": 0.3022,
                "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.605,
                "opponent_faced": "Lamine Yamal",
                "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.045,
                "creation_factor": 0.8,
                "fifa_overall": 68.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": 6009,
                "fifa_rank": 8138.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 68.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "interceptions": 1.2,
                "tackles": 1.1974,
                "tackles_won": 0.6719,
                "clearances": 5.7991,
                "aerial_won": 1.6254,
                "total_shots": 0.533,
                "rating": 6.7893,
                "minutes": 89.52,
                "total_pass": 40.4601,
                "accurate_pass": 35.2848,
                "duels_won": 2.3612,
                "total_long_balls": 4.1372,
                "accurate_long_balls": 2.2425,
                "total_own_half_passes": 27.0161,
                "accurate_own_half_passes": 26.075,
                "total_opp_half_passes": 13.444,
                "accurate_opp_half_passes": 9.2097,
                "crosses_total": 0.1687,
                "crosses_accurate": 0.0,
                "touches": 52.6905,
                "possession_lost": 5.9988,
                "dispossessed": 0.0,
                "duels_lost": 2.3813,
                "aerial_lost": 1.3277,
                "total_contest": 0.0475,
                "won_contest": 0.0475,
                "ball_recovery": 2.5595,
                "challenges_lost": 0.0773,
                "fouls": 1.0205,
                "fouls_drawn": 0.247,
                "blocks": 0.7146,
                "goal_rate": 0.1008,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1207,
                "expected_assists": 0.0164,
                "shots_on_target": 0.2308,
                "big_chances_created": 0.0,
                "xgot": 0.1011,
                "ball_carries": 15.0926,
                "total_progression": 41.6822,
                "progressive_carries": 0.5439,
                "key_pass": 0.0403,
                "shots_off_target": 0.3022,
                "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.605,
                "opponent_faced": "Lamine Yamal",
                "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.1137,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.045,
                "creation_factor": 0.8,
                "fifa_overall": 68.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.1137,
                "goal_rate": 0.1008,
                "scorer_weight": 0.1261,
                "squad_weight_total": 1.3792,
                "weight_share": 0.0915,
                "finishing_factor": 1.045,
                "appearance_weight": 1.0,
                "weight_rank": 4,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Toni Martínez",
                    "weight": 0.3036,
                    "already": 0,
                    "effective_weight": 0.3036,
                    "runner_up": "Lucas Boyé",
                    "runner_up_effective_weight": 0.2934
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "interceptions": 1.2,
                "tackles": 1.1974,
                "tackles_won": 0.6719,
                "clearances": 5.7991,
                "aerial_won": 1.6254,
                "total_shots": 0.533,
                "rating": 6.7893,
                "minutes": 89.52,
                "total_pass": 40.4601,
                "accurate_pass": 35.2848,
                "duels_won": 2.3612,
                "total_long_balls": 4.1372,
                "accurate_long_balls": 2.2425,
                "total_own_half_passes": 27.0161,
                "accurate_own_half_passes": 26.075,
                "total_opp_half_passes": 13.444,
                "accurate_opp_half_passes": 9.2097,
                "crosses_total": 0.1687,
                "crosses_accurate": 0.0,
                "touches": 52.6905,
                "possession_lost": 5.9988,
                "dispossessed": 0.0,
                "duels_lost": 2.3813,
                "aerial_lost": 1.3277,
                "total_contest": 0.0475,
                "won_contest": 0.0475,
                "ball_recovery": 2.5595,
                "challenges_lost": 0.0773,
                "fouls": 1.0205,
                "fouls_drawn": 0.247,
                "blocks": 0.7146,
                "goal_rate": 0.1008,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1207,
                "expected_assists": 0.0164,
                "shots_on_target": 0.2308,
                "big_chances_created": 0.0,
                "xgot": 0.1011,
                "ball_carries": 15.0926,
                "total_progression": 41.6822,
                "progressive_carries": 0.5439,
                "key_pass": 0.0403,
                "shots_off_target": 0.3022,
                "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.605,
                "opponent_faced": "Lamine Yamal",
                "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.1137,
                "projected_assists": 0,
                "assist_probability": 0.0163,
                "finishing_factor": 1.045,
                "creation_factor": 0.8,
                "fifa_overall": 68.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0163,
                "assist_rate": 0.0,
                "provider_weight": 0.0131,
                "squad_weight_total": 0.8425,
                "weight_share": 0.0156,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 13,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ángel Pérez",
                    "weight": 0.1853,
                    "already": 0,
                    "effective_weight": 0.1853,
                    "runner_up": "Hugo Novoa",
                    "runner_up_effective_weight": 0.1136,
                    "blocked_own_goal": [
                      "Toni Martínez"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Jonny Otto": {
          "player_id": 235648,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 17,
          "height": 175,
          "market_value": 2100000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 1,
            "clearances": 3,
            "aerial_won": 1,
            "total_shots": 0,
            "rating": 6.7361,
            "minutes": 84,
            "total_pass": 43,
            "accurate_pass": 37,
            "duels_won": 3,
            "total_long_balls": 4,
            "accurate_long_balls": 2,
            "total_own_half_passes": 25,
            "accurate_own_half_passes": 22,
            "total_opp_half_passes": 18,
            "accurate_opp_half_passes": 15,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 58,
            "possession_lost": 8.313,
            "dispossessed": 0.3498,
            "duels_lost": 3,
            "aerial_lost": 1,
            "total_contest": 1,
            "won_contest": 1,
            "ball_recovery": 4,
            "challenges_lost": 1,
            "fouls": 0,
            "fouls_drawn": 1,
            "blocks": 1,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0184,
            "expected_assists": 0.0339,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0246,
            "ball_carries": 17,
            "total_progression": 88,
            "progressive_carries": 2,
            "key_pass": 0,
            "shots_off_target": 0,
            "tackles_in_zone": 1.9,
            "tackles_won_in_zone": 1.3,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 1.1,
            "defensive_success_rate": 0.326,
            "opponent_faced": "Raphinha",
            "pressing_zone": "Left Wing vs Right Back — Flank Battle",
            "matchup_zone": "Left Wing vs Right Back — Flank Battle",
            "antagonist_source": "defensive_duel",
            "projected_goals": 0,
            "goal_probability": 0.0182,
            "projected_assists": 0,
            "assist_probability": 0.0333,
            "finishing_factor": 0.8,
            "creation_factor": 0.8,
            "fifa_overall": 84.0
          },
          "latest_10_games": [
            {
              "match_id": 16421069,
              "match_date": "2026-10-18",
              "home_team": "Celta Vigo",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 62,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0127,
                "expected_assists": 0.0123,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 44,
                "accurate_pass": 39,
                "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": 16421056,
              "match_date": "2026-10-10",
              "home_team": "Deportivo Alavés",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0151,
                "total_shots": 0,
                "total_pass": 48,
                "accurate_pass": 42,
                "tackles": 1,
                "interceptions": 2,
                "clearances": 1,
                "duels_won": 2,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416337,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0021,
                "total_shots": 0,
                "total_pass": 42,
                "accurate_pass": 34,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 6,
                "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": 16416328,
              "match_date": "2026-09-12",
              "home_team": "Real Racing Club",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0828,
                "expected_assists": 0.0919,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 47,
                "accurate_pass": 41,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 3,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 8,
                "ball_recovery": 10
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416318,
              "match_date": "2026-09-06",
              "home_team": "Deportivo Alavés",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 80,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0049,
                "total_shots": 0,
                "total_pass": 38,
                "accurate_pass": 33,
                "tackles": 3,
                "tackles_won": 3,
                "clearances": 4,
                "aerial_won": 2,
                "duels_won": 5,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416290,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 7.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0141,
                "expected_assists": 0.0012,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 22,
                "accurate_pass": 19,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 9,
                "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": 16416292,
              "match_date": "2026-08-20",
              "home_team": "Rayo Vallecano",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 70,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0135,
                "total_shots": 0,
                "total_pass": 28,
                "accurate_pass": 23,
                "key_pass": 1,
                "tackles": 1,
                "interceptions": 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": 16421047,
              "match_date": "2026-08-15",
              "home_team": "Deportivo Alavés",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0108,
                "total_shots": 0,
                "total_pass": 33,
                "accurate_pass": 30,
                "tackles": 2,
                "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": 14083578,
              "match_date": "2026-05-09",
              "home_team": "Elche",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0025,
                "total_shots": 0,
                "total_pass": 28,
                "accurate_pass": 25,
                "interceptions": 1,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083364,
              "match_date": "2026-05-02",
              "home_team": "Deportivo Alavés",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0173,
                "total_shots": 0,
                "total_pass": 57,
                "accurate_pass": 49,
                "tackles": 4,
                "tackles_won": 2,
                "interceptions": 2,
                "duels_won": 6,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 275,
            "combined_rank_score": 212.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 199.0,
            "sofascore_rating": 7.2,
            "sofascore_appearances": 3.0,
            "fifa_rank": 225.0,
            "fifa_overall": 84.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 13,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7361,
            "source_file": "data/player_rankings.csv",
            "player_name": "Jonny Otto",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Seong-min Hwang",
                  "ranking": 270
                },
                {
                  "player_name": "Anzur Ismoilov",
                  "ranking": 271
                },
                {
                  "player_name": "Juan Cruz Gonzalez",
                  "ranking": 272
                },
                {
                  "player_name": "Matheus Bidu",
                  "ranking": 273
                },
                {
                  "player_name": "Alibek Davronov",
                  "ranking": 274
                }
              ],
              "lower": [
                {
                  "player_name": "Mauricio Isla",
                  "ranking": 276
                },
                {
                  "player_name": "Park Byeong Gyu",
                  "ranking": 277
                },
                {
                  "player_name": "Svetoslav Vutsov",
                  "ranking": 278
                },
                {
                  "player_name": "Negueba",
                  "ranking": 279
                },
                {
                  "player_name": "Léo Ortiz",
                  "ranking": 280
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 42,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "totalTackle",
              "totalShots",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 42,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9978,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (D_service) evaluated 42 historical appearances across 7 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 0.9711,
                "tackles": 1.7613,
                "tackles_won": 1.1569,
                "clearances": 2.7301,
                "aerial_won": 0.8195,
                "total_shots": 0.4797,
                "rating": 6.7361,
                "minutes": 83.95,
                "total_pass": 42.8503,
                "accurate_pass": 37.1449,
                "duels_won": 3.2953,
                "total_long_balls": 3.822,
                "accurate_long_balls": 2.2798,
                "total_own_half_passes": 24.5661,
                "accurate_own_half_passes": 22.425,
                "total_opp_half_passes": 18.2842,
                "accurate_opp_half_passes": 14.7199,
                "crosses_total": 0.3552,
                "crosses_accurate": 0.1938,
                "touches": 58.0585,
                "possession_lost": 8.3313,
                "dispossessed": 0.3506,
                "duels_lost": 3.0516,
                "aerial_lost": 0.9754,
                "total_contest": 0.9078,
                "won_contest": 0.5436,
                "ball_recovery": 3.902,
                "challenges_lost": 0.8867,
                "fouls": 0.4831,
                "fouls_drawn": 0.6122,
                "blocks": 0.6037,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0144,
                "expected_assists": 0.0266,
                "shots_on_target": 0.1195,
                "big_chances_created": 0.0055,
                "xgot": 0.0192,
                "ball_carries": 17.4141,
                "total_progression": 88.0388,
                "progressive_carries": 1.5171,
                "key_pass": 0.2625,
                "shots_off_target": 0.3602
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-31T10:29:25.210665+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 626,
                    "rows": 22004
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-18",
                    "opponent": "Celta Vigo",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.1502,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-10-10",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1276,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1085,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Real Racing Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0922,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Osasuna",
                    "minutes": 80.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0666,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-08-20",
                    "opponent": "Rayo Vallecano",
                    "minutes": 70.0,
                    "is_starting": true,
                    "weight": 0.0566,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0481,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-05-09",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.0
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 2.5744,
                  "aerialWon": 0.4774,
                  "totalClearance_p90": 2.7029,
                  "totalTackle": 1.6621,
                  "totalPass": 42.8503
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.9711389541625977,
                    "model_output": 0.9711,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2977
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0446
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0318
                      },
                      {
                        "name": "touches",
                        "importance": 0.0281
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0208
                      }
                    ],
                    "decomposition": {
                      "base": 0.8678,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1153
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0242
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0191
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": -0.0145
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0139
                        }
                      ],
                      "others": 0.0215,
                      "total": 0.9711,
                      "log_link": true,
                      "margin_base": -0.141777,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.124759
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.024906
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.019684
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": -0.014965
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.01458
                        }
                      ],
                      "others_margin": 0.022499
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.7613074779510498,
                    "model_output": 1.7613,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2493
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0731
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0475
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0414
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.0245
                      }
                    ],
                    "decomposition": {
                      "base": 1.3878,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1704
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0879
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0623
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0391
                        },
                        {
                          "name": "dispossessed",
                          "contribution": 0.03
                        }
                      ],
                      "others": -0.0162,
                      "total": 1.7613,
                      "log_link": true,
                      "margin_base": 0.327722,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.11579
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.054899
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.037148
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.022644
                        },
                        {
                          "name": "dispossessed",
                          "margin": 0.017036
                        }
                      ],
                      "others_margin": -0.009182
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 1.1569300889968872,
                    "model_output": 1.1569,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1966
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0678
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0471
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0406
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0252
                      }
                    ],
                    "decomposition": {
                      "base": 0.8471,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1165
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0579
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0277
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0281
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0266
                        }
                      ],
                      "others": 0.1062,
                      "total": 1.1569,
                      "log_link": true,
                      "margin_base": -0.165887,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.128902
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.05832
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.026785
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.026394
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": -0.025015
                        }
                      ],
                      "others_margin": 0.096271
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.7301228046417236,
                    "model_output": 2.7301,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2929
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1447
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.1031
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0342
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0223
                      }
                    ],
                    "decomposition": {
                      "base": 3.4227,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": -0.4216
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4146
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.3147
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.1488
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.1248
                        }
                      ],
                      "others": -0.0973,
                      "total": 2.7301,
                      "log_link": true,
                      "margin_base": 1.230438,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": -0.131445
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.129414
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.096645
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.049177
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.043179
                        }
                      ],
                      "others_margin": -0.035058
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.8194833397865295,
                    "model_output": 0.8195,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1591
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1548
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0782
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0406
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 1.3743,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": -0.4625
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1145
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.093
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0587
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.0353
                        }
                      ],
                      "others": -0.0198,
                      "total": 0.8195,
                      "log_link": true,
                      "margin_base": 0.31798,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": -0.410276
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.118308
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.094984
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.064995
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": -0.041149
                        }
                      ],
                      "others_margin": -0.023965
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.4797222316265106,
                    "model_output": 0.4797,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1011
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0687
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0377
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0308
                      },
                      {
                        "name": "rating",
                        "importance": 0.0275
                      }
                    ],
                    "decomposition": {
                      "base": 0.4801,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0586
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0195
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0134
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0114
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0095
                        }
                      ],
                      "others": -0.032,
                      "total": 0.4797,
                      "log_link": false,
                      "margin_base": 0.48008,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.058619
                        },
                        {
                          "name": "rating",
                          "margin": -0.019452
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.013444
                        },
                        {
                          "name": "totalProgression",
                          "margin": -0.011369
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.009468
                        }
                      ],
                      "others_margin": -0.032132
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.736114501953125,
                    "model_output": 6.7361,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0922
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0582
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0462
                      },
                      {
                        "name": "rating",
                        "importance": 0.0313
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0279
                      }
                    ],
                    "decomposition": {
                      "base": 6.7972,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": -0.0197
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0146
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.011
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0109
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0089
                        }
                      ],
                      "others": 0.004,
                      "total": 6.7361,
                      "log_link": false,
                      "margin_base": 6.797222,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": -0.019679
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.014586
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.011029
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.010867
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.008935
                        }
                      ],
                      "others_margin": 0.00399
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 42,
                  "role_matches": 42,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9978, quality 0.437)",
              "stats": {
                "interceptions": 0.969,
                "tackles": 1.7574,
                "tackles_won": 1.1544,
                "clearances": 2.7241,
                "aerial_won": 0.8177,
                "total_shots": 0.4787,
                "rating": 6.7361,
                "minutes": 83.95,
                "total_pass": 42.756,
                "accurate_pass": 37.0632,
                "duels_won": 3.2881,
                "total_long_balls": 3.8136,
                "accurate_long_balls": 2.2748,
                "total_own_half_passes": 24.5121,
                "accurate_own_half_passes": 22.3757,
                "total_opp_half_passes": 18.244,
                "accurate_opp_half_passes": 14.6875,
                "crosses_total": 0.3544,
                "crosses_accurate": 0.1934,
                "touches": 57.9308,
                "possession_lost": 8.313,
                "dispossessed": 0.3498,
                "duels_lost": 3.0449,
                "aerial_lost": 0.9733,
                "total_contest": 0.9058,
                "won_contest": 0.5424,
                "ball_recovery": 3.8934,
                "challenges_lost": 0.8847,
                "fouls": 0.482,
                "fouls_drawn": 0.6109,
                "blocks": 0.6024,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0144,
                "expected_assists": 0.0265,
                "shots_on_target": 0.1192,
                "big_chances_created": 0.0055,
                "xgot": 0.0192,
                "ball_carries": 17.3758,
                "total_progression": 87.8451,
                "progressive_carries": 1.5138,
                "key_pass": 0.2619,
                "shots_off_target": 0.3594
              },
              "params": {
                "market_value_eur": 2100000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9978,
                "reference_quality": 0.505,
                "history_matches": 42,
                "history_shrink": 0.1064,
                "market_value_known": true
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.969,
                "tackles": 1.7574,
                "tackles_won": 1.1544,
                "clearances": 2.7241,
                "aerial_won": 0.8177,
                "total_shots": 0.4787,
                "rating": 6.7361,
                "minutes": 83.95,
                "total_pass": 42.756,
                "accurate_pass": 37.0632,
                "duels_won": 3.2881,
                "total_long_balls": 3.8136,
                "accurate_long_balls": 2.2748,
                "total_own_half_passes": 24.5121,
                "accurate_own_half_passes": 22.3757,
                "total_opp_half_passes": 18.244,
                "accurate_opp_half_passes": 14.6875,
                "crosses_total": 0.3544,
                "crosses_accurate": 0.1934,
                "touches": 57.9308,
                "possession_lost": 8.313,
                "dispossessed": 0.3498,
                "duels_lost": 3.0449,
                "aerial_lost": 0.9733,
                "total_contest": 0.9058,
                "won_contest": 0.5424,
                "ball_recovery": 3.8934,
                "challenges_lost": 0.8847,
                "fouls": 0.482,
                "fouls_drawn": 0.6109,
                "blocks": 0.6024,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0144,
                "expected_assists": 0.0265,
                "shots_on_target": 0.1192,
                "big_chances_created": 0.0055,
                "xgot": 0.0192,
                "ball_carries": 17.3758,
                "total_progression": 87.8451,
                "progressive_carries": 1.5138,
                "key_pass": 0.2619,
                "shots_off_target": 0.3594
              },
              "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.969,
                "tackles": 1.7574,
                "tackles_won": 1.1544,
                "clearances": 2.7241,
                "aerial_won": 0.8177,
                "total_shots": 0.4787,
                "rating": 6.7361,
                "minutes": 83.95,
                "total_pass": 42.756,
                "accurate_pass": 37.0632,
                "duels_won": 3.2881,
                "total_long_balls": 3.8136,
                "accurate_long_balls": 2.2748,
                "total_own_half_passes": 24.5121,
                "accurate_own_half_passes": 22.3757,
                "total_opp_half_passes": 18.244,
                "accurate_opp_half_passes": 14.6875,
                "crosses_total": 0.3544,
                "crosses_accurate": 0.1934,
                "touches": 57.9308,
                "possession_lost": 8.313,
                "dispossessed": 0.3498,
                "duels_lost": 3.0449,
                "aerial_lost": 0.9733,
                "total_contest": 0.9058,
                "won_contest": 0.5424,
                "ball_recovery": 3.8934,
                "challenges_lost": 0.8847,
                "fouls": 0.482,
                "fouls_drawn": 0.6109,
                "blocks": 0.6024,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0144,
                "expected_assists": 0.0265,
                "shots_on_target": 0.1192,
                "big_chances_created": 0.0055,
                "xgot": 0.0192,
                "ball_carries": 17.3758,
                "total_progression": 87.8451,
                "progressive_carries": 1.5138,
                "key_pass": 0.2619,
                "shots_off_target": 0.3594,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.3,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.326,
                "opponent_faced": "Raphinha",
                "pressing_zone": "Left Wing vs Right Back — Flank Battle",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "antagonist_source": "defensive_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Raphinha",
                  "matchup_zone": "Left Wing vs Right Back — Flank Battle"
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "interceptions": 0.969,
                "tackles": 1.7574,
                "tackles_won": 1.1544,
                "clearances": 2.7241,
                "aerial_won": 0.8177,
                "total_shots": 0.4787,
                "rating": 6.7361,
                "minutes": 83.95,
                "total_pass": 42.756,
                "accurate_pass": 37.0632,
                "duels_won": 3.2881,
                "total_long_balls": 3.8136,
                "accurate_long_balls": 2.2748,
                "total_own_half_passes": 24.5121,
                "accurate_own_half_passes": 22.3757,
                "total_opp_half_passes": 18.244,
                "accurate_opp_half_passes": 14.6875,
                "crosses_total": 0.3544,
                "crosses_accurate": 0.1934,
                "touches": 57.9308,
                "possession_lost": 8.313,
                "dispossessed": 0.3498,
                "duels_lost": 3.0449,
                "aerial_lost": 0.9733,
                "total_contest": 0.9058,
                "won_contest": 0.5424,
                "ball_recovery": 3.8934,
                "challenges_lost": 0.8847,
                "fouls": 0.482,
                "fouls_drawn": 0.6109,
                "blocks": 0.6024,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0144,
                "expected_assists": 0.0265,
                "shots_on_target": 0.1192,
                "big_chances_created": 0.0055,
                "xgot": 0.0192,
                "ball_carries": 17.3758,
                "total_progression": 87.8451,
                "progressive_carries": 1.5138,
                "key_pass": 0.2619,
                "shots_off_target": 0.3594,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.3,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.326,
                "opponent_faced": "Raphinha",
                "pressing_zone": "Left Wing vs Right Back — Flank Battle",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.29 (squad xG sum 1.0060, xG scale 1.2803, xA scale 1.2803, team xA 0.96 = 0.74 x lambda)",
              "stats": {
                "interceptions": 0.969,
                "tackles": 1.7574,
                "tackles_won": 1.1544,
                "clearances": 2.7241,
                "aerial_won": 0.8177,
                "total_shots": 0.4787,
                "rating": 6.7361,
                "minutes": 83.95,
                "total_pass": 42.756,
                "accurate_pass": 37.0632,
                "duels_won": 3.2881,
                "total_long_balls": 3.8136,
                "accurate_long_balls": 2.2748,
                "total_own_half_passes": 24.5121,
                "accurate_own_half_passes": 22.3757,
                "total_opp_half_passes": 18.244,
                "accurate_opp_half_passes": 14.6875,
                "crosses_total": 0.3544,
                "crosses_accurate": 0.1934,
                "touches": 57.9308,
                "possession_lost": 8.313,
                "dispossessed": 0.3498,
                "duels_lost": 3.0449,
                "aerial_lost": 0.9733,
                "total_contest": 0.9058,
                "won_contest": 0.5424,
                "ball_recovery": 3.8934,
                "challenges_lost": 0.8847,
                "fouls": 0.482,
                "fouls_drawn": 0.6109,
                "blocks": 0.6024,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0184,
                "expected_assists": 0.0339,
                "shots_on_target": 0.1192,
                "big_chances_created": 0.0055,
                "xgot": 0.0246,
                "ball_carries": 17.3758,
                "total_progression": 87.8451,
                "progressive_carries": 1.5138,
                "key_pass": 0.2619,
                "shots_off_target": 0.3594,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.3,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.326,
                "opponent_faced": "Raphinha",
                "pressing_zone": "Left Wing vs Right Back — Flank Battle",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.288,
                "squad_xg_sum": 1.006,
                "squad_xa_sum": 0.7484,
                "team_expected_assists": 0.9582,
                "team_xa_to_xg_ratio": 0.7439,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2803,
                "xa_scale": 1.2803,
                "opponent_lambda": 3.863,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.0265,
                  "after": 0.0339
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 13 by projected rating, fifa_overall 84.0)",
              "stats": {
                "interceptions": 0.969,
                "tackles": 1.7574,
                "tackles_won": 1.1544,
                "clearances": 2.7241,
                "aerial_won": 0.8177,
                "total_shots": 0.4787,
                "rating": 6.7361,
                "minutes": 83.95,
                "total_pass": 42.756,
                "accurate_pass": 37.0632,
                "duels_won": 3.2881,
                "total_long_balls": 3.8136,
                "accurate_long_balls": 2.2748,
                "total_own_half_passes": 24.5121,
                "accurate_own_half_passes": 22.3757,
                "total_opp_half_passes": 18.244,
                "accurate_opp_half_passes": 14.6875,
                "crosses_total": 0.3544,
                "crosses_accurate": 0.1934,
                "touches": 57.9308,
                "possession_lost": 8.313,
                "dispossessed": 0.3498,
                "duels_lost": 3.0449,
                "aerial_lost": 0.9733,
                "total_contest": 0.9058,
                "won_contest": 0.5424,
                "ball_recovery": 3.8934,
                "challenges_lost": 0.8847,
                "fouls": 0.482,
                "fouls_drawn": 0.6109,
                "blocks": 0.6024,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0184,
                "expected_assists": 0.0339,
                "shots_on_target": 0.1192,
                "big_chances_created": 0.0055,
                "xgot": 0.0246,
                "ball_carries": 17.3758,
                "total_progression": 87.8451,
                "progressive_carries": 1.5138,
                "key_pass": 0.2619,
                "shots_off_target": 0.3594,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.3,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.326,
                "opponent_faced": "Raphinha",
                "pressing_zone": "Left Wing vs Right Back — Flank Battle",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 84.0
              },
              "params": {
                "match_squad_rank": 13,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 275,
                "fifa_rank": 225.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 84.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "interceptions": 0.969,
                "tackles": 1.7574,
                "tackles_won": 1.1544,
                "clearances": 2.7241,
                "aerial_won": 0.8177,
                "total_shots": 0.4787,
                "rating": 6.7361,
                "minutes": 83.95,
                "total_pass": 42.756,
                "accurate_pass": 37.0632,
                "duels_won": 3.2881,
                "total_long_balls": 3.8136,
                "accurate_long_balls": 2.2748,
                "total_own_half_passes": 24.5121,
                "accurate_own_half_passes": 22.3757,
                "total_opp_half_passes": 18.244,
                "accurate_opp_half_passes": 14.6875,
                "crosses_total": 0.3544,
                "crosses_accurate": 0.1934,
                "touches": 57.9308,
                "possession_lost": 8.313,
                "dispossessed": 0.3498,
                "duels_lost": 3.0449,
                "aerial_lost": 0.9733,
                "total_contest": 0.9058,
                "won_contest": 0.5424,
                "ball_recovery": 3.8934,
                "challenges_lost": 0.8847,
                "fouls": 0.482,
                "fouls_drawn": 0.6109,
                "blocks": 0.6024,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0184,
                "expected_assists": 0.0339,
                "shots_on_target": 0.1192,
                "big_chances_created": 0.0055,
                "xgot": 0.0246,
                "ball_carries": 17.3758,
                "total_progression": 87.8451,
                "progressive_carries": 1.5138,
                "key_pass": 0.2619,
                "shots_off_target": 0.3594,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.3,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.326,
                "opponent_faced": "Raphinha",
                "pressing_zone": "Left Wing vs Right Back — Flank Battle",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0182,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 84.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0182,
                "goal_rate": 0.0,
                "scorer_weight": 0.0147,
                "squad_weight_total": 1.3792,
                "weight_share": 0.0107,
                "finishing_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 14,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Toni Martínez",
                    "weight": 0.3036,
                    "already": 0,
                    "effective_weight": 0.3036,
                    "runner_up": "Lucas Boyé",
                    "runner_up_effective_weight": 0.2934
                  }
                ]
              }
            },
            {
              "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.969,
                "tackles": 1.7574,
                "tackles_won": 1.1544,
                "clearances": 2.7241,
                "aerial_won": 0.8177,
                "total_shots": 0.4787,
                "rating": 6.7361,
                "minutes": 83.95,
                "total_pass": 42.756,
                "accurate_pass": 37.0632,
                "duels_won": 3.2881,
                "total_long_balls": 3.8136,
                "accurate_long_balls": 2.2748,
                "total_own_half_passes": 24.5121,
                "accurate_own_half_passes": 22.3757,
                "total_opp_half_passes": 18.244,
                "accurate_opp_half_passes": 14.6875,
                "crosses_total": 0.3544,
                "crosses_accurate": 0.1934,
                "touches": 57.9308,
                "possession_lost": 8.313,
                "dispossessed": 0.3498,
                "duels_lost": 3.0449,
                "aerial_lost": 0.9733,
                "total_contest": 0.9058,
                "won_contest": 0.5424,
                "ball_recovery": 3.8934,
                "challenges_lost": 0.8847,
                "fouls": 0.482,
                "fouls_drawn": 0.6109,
                "blocks": 0.6024,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0184,
                "expected_assists": 0.0339,
                "shots_on_target": 0.1192,
                "big_chances_created": 0.0055,
                "xgot": 0.0246,
                "ball_carries": 17.3758,
                "total_progression": 87.8451,
                "progressive_carries": 1.5138,
                "key_pass": 0.2619,
                "shots_off_target": 0.3594,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.3,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.326,
                "opponent_faced": "Raphinha",
                "pressing_zone": "Left Wing vs Right Back — Flank Battle",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0182,
                "projected_assists": 0,
                "assist_probability": 0.0333,
                "finishing_factor": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 84.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0333,
                "assist_rate": 0.0,
                "provider_weight": 0.0271,
                "squad_weight_total": 0.8425,
                "weight_share": 0.0322,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 11,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ángel Pérez",
                    "weight": 0.1853,
                    "already": 0,
                    "effective_weight": 0.1853,
                    "runner_up": "Hugo Novoa",
                    "runner_up_effective_weight": 0.1136,
                    "blocked_own_goal": [
                      "Toni Martínez"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Ángel Pérez": {
          "player_id": 1513222,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 7,
          "height": 183,
          "market_value": 4600000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.2102,
            "assist_rate": 0.1388,
            "assists": 1,
            "expected_goals": 0.1241,
            "goal_rate": 0.1179,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.8646,
            "minutes": 82,
            "total_pass": 22,
            "accurate_pass": 17,
            "duels_won": 4,
            "total_long_balls": 3,
            "accurate_long_balls": 1,
            "total_own_half_passes": 7,
            "accurate_own_half_passes": 6,
            "total_opp_half_passes": 15,
            "accurate_opp_half_passes": 11,
            "crosses_total": 4,
            "crosses_accurate": 1,
            "touches": 43,
            "possession_lost": 12.9954,
            "dispossessed": 0.4662,
            "duels_lost": 4,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 1,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 1,
            "total_contest": 4,
            "won_contest": 2,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 1,
            "big_chances_missed": 0,
            "xgot": 0.101,
            "ball_carries": 12,
            "total_progression": 66,
            "progressive_carries": 3,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.6624,
            "dribbles_attempted": 3,
            "dribbles_successful": 0.5,
            "crosses_attempted": 2.1,
            "duel_win_rate": 0.19,
            "pressing_faced": "ULTRA_HIGH",
            "matchup_zone": "Left Mid vs Right Back — Wide Channel",
            "numerical_situation": "1v1",
            "opponent_defenders": "Joan García",
            "opponent_faced": "Joan García",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.1167,
            "projected_assists": 1,
            "assist_probability": 0.1896,
            "finishing_factor": 1.143,
            "creation_factor": 0.8814,
            "fifa_overall": 72.0
          },
          "latest_10_games": [
            {
              "match_id": 16421077,
              "match_date": "2026-10-23",
              "home_team": "Deportivo Alavés",
              "away_team": "Málaga CF",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1083,
                "expected_assists": 0.6845,
                "total_shots": 2,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "total_pass": 23,
                "accurate_pass": 20,
                "key_pass": 3,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 0,
                "clearances": 1,
                "aerial_won": 0,
                "duels_won": 5,
                "ball_recovery": 4,
                "saves": 0
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421056,
              "match_date": "2026-10-10",
              "home_team": "Deportivo Alavés",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 61,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1258,
                "expected_assists": 0.0104,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 2,
                "total_pass": 17,
                "accurate_pass": 14,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 2,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416337,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 15,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1035,
                "total_shots": 0,
                "total_pass": 2,
                "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": 16416334,
              "match_date": "2026-09-15",
              "home_team": "Deportivo Alavés",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Valencia",
              "stats": {
                "minutes": 85,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0565,
                "expected_assists": 0.1624,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 15,
                "accurate_pass": 13,
                "key_pass": 2,
                "interceptions": 1,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416328,
              "match_date": "2026-09-12",
              "home_team": "Real Racing Club",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 86,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.4533,
                "expected_assists": 0.196,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 32,
                "accurate_pass": 20,
                "key_pass": 2,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 1,
                "duels_won": 4,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416318,
              "match_date": "2026-09-06",
              "home_team": "Deportivo Alavés",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 8.5,
                "assist_rate": 2.0,
                "assists": 2,
                "expected_goals": 0.1634,
                "expected_assists": 0.4685,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 30,
                "accurate_pass": 24,
                "key_pass": 3,
                "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": 16416290,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 71,
                "rating": 7.5,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.1179,
                "expected_assists": 0.3338,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 7,
                "accurate_pass": 5,
                "key_pass": 1,
                "tackles": 1,
                "interceptions": 2,
                "clearances": 2,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416292,
              "match_date": "2026-08-20",
              "home_team": "Rayo Vallecano",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 80,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0598,
                "expected_assists": 0.3395,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 17,
                "accurate_pass": 12,
                "key_pass": 2,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421047,
              "match_date": "2026-08-15",
              "home_team": "Deportivo Alavés",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Getafe",
              "stats": {
                "minutes": 65,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0715,
                "expected_assists": 0.0587,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 11,
                "accurate_pass": 9,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 2,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083706,
              "match_date": "2026-05-23",
              "home_team": "Deportivo Alavés",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0211,
                "expected_assists": 0.1541,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 31,
                "accurate_pass": 27,
                "key_pass": 2,
                "interceptions": 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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 4209,
            "combined_rank_score": 2239.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 236.0,
            "sofascore_rating": 7.1333,
            "sofascore_appearances": 3.0,
            "fifa_rank": 4243.0,
            "fifa_overall": 72.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 3,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8646,
            "source_file": "data/player_rankings.csv",
            "player_name": "Ángel Pérez",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Toti",
                  "ranking": 4204
                },
                {
                  "player_name": "Tristan Crama",
                  "ranking": 4205
                },
                {
                  "player_name": "Léo Scienza",
                  "ranking": 4206
                },
                {
                  "player_name": "Iván Villar",
                  "ranking": 4207
                },
                {
                  "player_name": "Arthur Avom Ebong",
                  "ranking": 4208
                }
              ],
              "lower": [
                {
                  "player_name": "Salomón Rondón",
                  "ranking": 4210
                },
                {
                  "player_name": "Adrián Niño",
                  "ranking": 4211
                },
                {
                  "player_name": "Anthony Lopes",
                  "ranking": 4212
                },
                {
                  "player_name": "Thorgan Hazard",
                  "ranking": 4213
                },
                {
                  "player_name": "Kenny Lala",
                  "ranking": 4214
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.774,
          "history_matches": 25,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 25,
            "data_confidence": 0.774,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9976,
            "fbref_prior_metrics": {
              "squad": "Alavés",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 213.0,
              "goals_per90": 0.0,
              "assists_per90": 0.4166666666666667,
              "shots_per90": 1.69,
              "shots_on_target_pct": 25.0,
              "prior_reliability": 0.16
            },
            "rationale": "XGBoost regressor (M_service) evaluated 25 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Alavés, rel: 0.16, gls/90: 0.0, ast/90: 0.4166666666666667)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1.3243,
                "expected_assists": 0.1646,
                "assists": 0.1348,
                "assist_rate": 0.1348,
                "expected_goals": 0.1467,
                "goals": 0.1815,
                "goal_rate": 0.1815,
                "shots_on_target": 0.5539,
                "total_shots": 1.6191,
                "rating": 6.8646,
                "minutes": 82.19,
                "total_pass": 22.1342,
                "accurate_pass": 17.1739,
                "duels_won": 3.7362,
                "total_long_balls": 2.5443,
                "accurate_long_balls": 1.2234,
                "total_own_half_passes": 6.735,
                "accurate_own_half_passes": 5.8611,
                "total_opp_half_passes": 15.3991,
                "accurate_opp_half_passes": 11.3128,
                "crosses_total": 4.3985,
                "crosses_accurate": 1.4138,
                "touches": 43.5276,
                "possession_lost": 13.0267,
                "dispossessed": 0.4673,
                "duels_lost": 4.4222,
                "aerial_won": 0.2224,
                "aerial_lost": 0.1049,
                "interceptions": 0.713,
                "tackles_won": 0.8334,
                "tackles": 1.0791,
                "clearances": 0.8585,
                "total_contest": 3.7558,
                "won_contest": 1.5175,
                "challenges_lost": 0.5142,
                "fouls": 1.1046,
                "fouls_drawn": 0.9171,
                "blocks": 0.2694,
                "big_chances_created": 0.5154,
                "big_chances_missed": 0.1204,
                "xgot": 0.1194,
                "ball_carries": 11.8626,
                "total_progression": 65.9737,
                "progressive_carries": 2.7693,
                "shots_off_target": 1.0652
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-31T10:30:21.314387+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 902,
                    "rows": 24945
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-23",
                    "opponent": "Málaga CF",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1526,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-10-10",
                    "opponent": "Atlético Madrid",
                    "minutes": 61.0,
                    "is_starting": true,
                    "weight": 0.1297,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Athletic Club",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.1103,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Valencia",
                    "minutes": 85.0,
                    "is_starting": true,
                    "weight": 0.0937,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Real Racing Club",
                    "minutes": 86.0,
                    "is_starting": true,
                    "weight": 0.0797,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0677,
                    "rating": 8.5
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Villarreal",
                    "minutes": 71.0,
                    "is_starting": true,
                    "weight": 0.0576,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-08-20",
                    "opponent": "Rayo Vallecano",
                    "minutes": 80.0,
                    "is_starting": true,
                    "weight": 0.0489,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Getafe",
                    "minutes": 65.0,
                    "is_starting": true,
                    "weight": 0.0416,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0354,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalShots": 1.5311,
                  "expectedGoals": 0.1103,
                  "creative_index": 0.7581,
                  "expectedAssists": 0.2476,
                  "keyPass": 1.524
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.324346899986267,
                    "model_output": 1.3243,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1583
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1351
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0716
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0542
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.028
                      }
                    ],
                    "decomposition": {
                      "base": 0.8899,
                      "items": [
                        {
                          "name": "creative_index",
                          "contribution": 0.1226
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1281
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.1016
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0973
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0713
                        }
                      ],
                      "others": 0.0561,
                      "total": 1.3243,
                      "log_link": true,
                      "margin_base": -0.11669,
                      "item_margins": [
                        {
                          "name": "creative_index",
                          "margin": 0.129073
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.119093
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.085348
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.075453
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.054722
                        }
                      ],
                      "others_margin": 0.043365
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.16463708877563477,
                    "model_output": 0.1646,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1213
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1076
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0864
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0618
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0476
                      }
                    ],
                    "decomposition": {
                      "base": 0.085,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0136
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0141
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0125
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0066
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0059
                        }
                      ],
                      "others": 0.0269,
                      "total": 0.1646,
                      "log_link": true,
                      "margin_base": -2.465163,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": 0.148214
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.134067
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.104772
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.05136
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.043855
                        }
                      ],
                      "others_margin": 0.178882
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.1347874104976654,
                    "model_output": 0.1348,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0508
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0447
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0336
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0324
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0322
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "creative_index",
                          "contribution": 0.0104
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0082
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0081
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0076
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0057
                        }
                      ],
                      "others": 0.0097,
                      "total": 0.1348,
                      "log_link": true,
                      "margin_base": -2.463734,
                      "item_margins": [
                        {
                          "name": "creative_index",
                          "margin": 0.114845
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.082301
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.075329
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.066141
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.04631
                        }
                      ],
                      "others_margin": 0.074752
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.14665137231349945,
                    "model_output": 0.1467,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1242
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0778
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0743
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0437
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0241
                      }
                    ],
                    "decomposition": {
                      "base": 0.0911,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0181
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0122
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.01
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0094
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0052
                        }
                      ],
                      "others": 0.0007,
                      "total": 0.1467,
                      "log_link": true,
                      "margin_base": -2.395469,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": 0.18124
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.105479
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.079459
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.069009
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.036317
                        }
                      ],
                      "others_margin": 0.004267
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.18151608109474182,
                    "model_output": 0.1815,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0846
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0655
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0399
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0358
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0268
                      }
                    ],
                    "decomposition": {
                      "base": 0.0947,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0339
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0137
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0088
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0092
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0075
                        }
                      ],
                      "others": 0.0137,
                      "total": 0.1815,
                      "log_link": true,
                      "margin_base": -2.357331,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.305804
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.101406
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.060187
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": 0.05882
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.04602
                        }
                      ],
                      "others_margin": 0.078683
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.5539273023605347,
                    "model_output": 0.5539,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1146
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0928
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0753
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0297
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.3177,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0763
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0491
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0299
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.028
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0254
                        }
                      ],
                      "others": 0.0275,
                      "total": 0.5539,
                      "log_link": true,
                      "margin_base": -1.146731,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.215147
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.117419
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.065348
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.057556
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.049414
                        }
                      ],
                      "others_margin": 0.051125
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.6191229820251465,
                    "model_output": 1.6191,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1488
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1213
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0474
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0446
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0276
                      }
                    ],
                    "decomposition": {
                      "base": 0.9817,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.2948
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1586
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0936
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0593
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0445
                        }
                      ],
                      "others": -0.0134,
                      "total": 1.6191,
                      "log_link": false,
                      "margin_base": 0.98173,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.294824
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.158629
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.093587
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.059336
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.044548
                        }
                      ],
                      "others_margin": -0.013531
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.864575386047363,
                    "model_output": 6.8646,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.102
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0743
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0503
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0382
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 6.856,
                      "items": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0434
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0228
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0161
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.015
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0135
                        }
                      ],
                      "others": 0.0168,
                      "total": 6.8646,
                      "log_link": false,
                      "margin_base": 6.856008,
                      "item_margins": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.043367
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.022819
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.016118
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.015018
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.013482
                        }
                      ],
                      "others_margin": 0.016734
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 25,
                  "role_matches": 22,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9976, quality 0.457)",
              "stats": {
                "key_pass": 1.3212,
                "expected_assists": 0.1642,
                "assists": 0.1345,
                "assist_rate": 0.1345,
                "expected_goals": 0.1463,
                "goals": 0.1811,
                "goal_rate": 0.1811,
                "shots_on_target": 0.5526,
                "total_shots": 1.6152,
                "rating": 6.8646,
                "minutes": 82.19,
                "total_pass": 22.0811,
                "accurate_pass": 17.1327,
                "duels_won": 3.7272,
                "total_long_balls": 2.5382,
                "accurate_long_balls": 1.2205,
                "total_own_half_passes": 6.7188,
                "accurate_own_half_passes": 5.847,
                "total_opp_half_passes": 15.3621,
                "accurate_opp_half_passes": 11.2856,
                "crosses_total": 4.3879,
                "crosses_accurate": 1.4104,
                "touches": 43.4231,
                "possession_lost": 12.9954,
                "dispossessed": 0.4662,
                "duels_lost": 4.4116,
                "aerial_won": 0.2219,
                "aerial_lost": 0.1046,
                "interceptions": 0.7113,
                "tackles_won": 0.8314,
                "tackles": 1.0765,
                "clearances": 0.8564,
                "total_contest": 3.7468,
                "won_contest": 1.5139,
                "challenges_lost": 0.513,
                "fouls": 1.1019,
                "fouls_drawn": 0.9149,
                "blocks": 0.2688,
                "big_chances_created": 0.5142,
                "big_chances_missed": 0.1201,
                "xgot": 0.1191,
                "ball_carries": 11.8341,
                "total_progression": 65.8154,
                "progressive_carries": 2.7627,
                "shots_off_target": 1.0626
              },
              "params": {
                "market_value_eur": 4600000,
                "quality_factor": 0.4572,
                "boost_factor": 0.9976,
                "reference_quality": 0.505,
                "history_matches": 25,
                "history_shrink": 0.1667,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0173)",
              "stats": {
                "key_pass": 1.3212,
                "expected_assists": 0.1642,
                "assists": 0.1388,
                "assist_rate": 0.1388,
                "expected_goals": 0.1463,
                "goals": 0.178,
                "goal_rate": 0.178,
                "shots_on_target": 0.5497,
                "total_shots": 1.614,
                "rating": 6.8646,
                "minutes": 82.19,
                "total_pass": 22.0811,
                "accurate_pass": 17.1327,
                "duels_won": 3.7272,
                "total_long_balls": 2.5382,
                "accurate_long_balls": 1.2205,
                "total_own_half_passes": 6.7188,
                "accurate_own_half_passes": 5.847,
                "total_opp_half_passes": 15.3621,
                "accurate_opp_half_passes": 11.2856,
                "crosses_total": 4.3646,
                "crosses_accurate": 1.4104,
                "touches": 43.4231,
                "possession_lost": 12.9954,
                "dispossessed": 0.4662,
                "duels_lost": 4.4116,
                "aerial_won": 0.2219,
                "aerial_lost": 0.1046,
                "interceptions": 0.7188,
                "tackles_won": 0.8236,
                "tackles": 1.0765,
                "clearances": 0.8564,
                "total_contest": 3.7468,
                "won_contest": 1.5139,
                "challenges_lost": 0.513,
                "fouls": 1.096,
                "fouls_drawn": 0.9056,
                "blocks": 0.2688,
                "big_chances_created": 0.5142,
                "big_chances_missed": 0.1201,
                "xgot": 0.1191,
                "ball_carries": 11.8341,
                "total_progression": 65.8154,
                "progressive_carries": 2.7627,
                "shots_off_target": 1.0626
              },
              "params": {
                "blend_weight": 0.0173,
                "history_matches": 25,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9132,
                "prior_reliability": 0.16,
                "competition": "La Liga",
                "squad": "Alavés"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 4.3879,
                  "after": 4.3646
                },
                {
                  "stat": "wasFouled",
                  "before": 0.9149,
                  "after": 0.9056
                },
                {
                  "stat": "wonTackle",
                  "before": 0.8314,
                  "after": 0.8236
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.7113,
                  "after": 0.7188
                },
                {
                  "stat": "fouls",
                  "before": 1.1019,
                  "after": 1.096
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1.3212,
                "expected_assists": 0.1642,
                "assists": 0.1388,
                "assist_rate": 0.1388,
                "expected_goals": 0.1463,
                "goals": 0.178,
                "goal_rate": 0.178,
                "shots_on_target": 0.5497,
                "total_shots": 1.614,
                "rating": 6.8646,
                "minutes": 82.19,
                "total_pass": 22.0811,
                "accurate_pass": 17.1327,
                "duels_won": 3.7272,
                "total_long_balls": 2.5382,
                "accurate_long_balls": 1.2205,
                "total_own_half_passes": 6.7188,
                "accurate_own_half_passes": 5.847,
                "total_opp_half_passes": 15.3621,
                "accurate_opp_half_passes": 11.2856,
                "crosses_total": 4.3646,
                "crosses_accurate": 1.4104,
                "touches": 43.4231,
                "possession_lost": 12.9954,
                "dispossessed": 0.4662,
                "duels_lost": 4.4116,
                "aerial_won": 0.2219,
                "aerial_lost": 0.1046,
                "interceptions": 0.7188,
                "tackles_won": 0.8236,
                "tackles": 1.0765,
                "clearances": 0.8564,
                "total_contest": 3.7468,
                "won_contest": 1.5139,
                "challenges_lost": 0.513,
                "fouls": 1.096,
                "fouls_drawn": 0.9056,
                "blocks": 0.2688,
                "big_chances_created": 0.5142,
                "big_chances_missed": 0.1201,
                "xgot": 0.1191,
                "ball_carries": 11.8341,
                "total_progression": 65.8154,
                "progressive_carries": 2.7627,
                "shots_off_target": 1.0626
              },
              "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.3212,
                "expected_assists": 0.1642,
                "assists": 0.1388,
                "assist_rate": 0.1388,
                "expected_goals": 0.0969,
                "goals": 0.1179,
                "goal_rate": 0.1179,
                "shots_on_target": 0.3641,
                "total_shots": 1.0691,
                "rating": 6.8646,
                "minutes": 82.19,
                "total_pass": 22.0811,
                "accurate_pass": 17.1327,
                "duels_won": 3.7272,
                "total_long_balls": 2.5382,
                "accurate_long_balls": 1.2205,
                "total_own_half_passes": 6.7188,
                "accurate_own_half_passes": 5.847,
                "total_opp_half_passes": 15.3621,
                "accurate_opp_half_passes": 11.2856,
                "crosses_total": 4.3646,
                "crosses_accurate": 1.4104,
                "touches": 43.4231,
                "possession_lost": 12.9954,
                "dispossessed": 0.4662,
                "duels_lost": 4.4116,
                "aerial_won": 1.1,
                "aerial_lost": 0.1046,
                "interceptions": 0.7188,
                "tackles_won": 0.8236,
                "tackles": 1.0765,
                "clearances": 0.8564,
                "total_contest": 3.7468,
                "won_contest": 1.5139,
                "challenges_lost": 0.513,
                "fouls": 1.096,
                "fouls_drawn": 0.9056,
                "blocks": 0.2688,
                "big_chances_created": 0.5142,
                "big_chances_missed": 0.0796,
                "xgot": 0.0789,
                "ball_carries": 11.8341,
                "total_progression": 65.8154,
                "progressive_carries": 2.7627,
                "shots_off_target": 0.7039,
                "duel_xg_multiplier": 0.6624,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 0.5,
                "crosses_attempted": 2.1,
                "duel_win_rate": 0.19,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Joan García",
                "opponent_faced": "Joan García",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Joan García",
                  "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                  "duel_win_rate": 0.19,
                  "pressing_faced": "ULTRA_HIGH",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 0.6624,
                  "skill_edge": -0.1896,
                  "height_edge": -0.04,
                  "attacker_skill": 0.4635,
                  "defender_skill": 0.885,
                  "attacker_role": "LM",
                  "attacker_mv_price_index": 0.9,
                  "defender_adjusted_parts": [
                    {
                      "player": "Joan García",
                      "market_value": 46000000,
                      "role": "GK",
                      "price_index": 0.55,
                      "adjusted_quality": 0.885
                    }
                  ],
                  "xg_override": 0.0969
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.2219,
                  "after": 1.1
                },
                {
                  "stat": "totalShots",
                  "before": 1.614,
                  "after": 1.0691
                },
                {
                  "stat": "shotOffTarget",
                  "before": 1.0626,
                  "after": 0.7039
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.5497,
                  "after": 0.3641
                },
                {
                  "stat": "goals",
                  "before": 0.178,
                  "after": 0.1179
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.1463,
                  "after": 0.0969
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 0.1201,
                  "after": 0.0796
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.1191,
                  "after": 0.0789
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 1.3212,
                "expected_assists": 0.1642,
                "assist_rate": 0.1388,
                "assists": 0,
                "expected_goals": 0.0969,
                "goal_rate": 0.1179,
                "goals": 0,
                "shots_on_target": 0.3641,
                "total_shots": 1.0691,
                "rating": 6.8646,
                "minutes": 82.19,
                "total_pass": 22.0811,
                "accurate_pass": 17.1327,
                "duels_won": 3.7272,
                "total_long_balls": 2.5382,
                "accurate_long_balls": 1.2205,
                "total_own_half_passes": 6.7188,
                "accurate_own_half_passes": 5.847,
                "total_opp_half_passes": 15.3621,
                "accurate_opp_half_passes": 11.2856,
                "crosses_total": 4.3646,
                "crosses_accurate": 1.4104,
                "touches": 43.4231,
                "possession_lost": 12.9954,
                "dispossessed": 0.4662,
                "duels_lost": 4.4116,
                "aerial_won": 1.1,
                "aerial_lost": 0.1046,
                "interceptions": 0.7188,
                "tackles_won": 0.8236,
                "tackles": 1.0765,
                "clearances": 0.8564,
                "total_contest": 3.7468,
                "won_contest": 1.5139,
                "challenges_lost": 0.513,
                "fouls": 1.096,
                "fouls_drawn": 0.9056,
                "blocks": 0.2688,
                "big_chances_created": 0.5142,
                "big_chances_missed": 0.0796,
                "xgot": 0.0789,
                "ball_carries": 11.8341,
                "total_progression": 65.8154,
                "progressive_carries": 2.7627,
                "shots_off_target": 0.7039,
                "duel_xg_multiplier": 0.6624,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 0.5,
                "crosses_attempted": 2.1,
                "duel_win_rate": 0.19,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Joan García",
                "opponent_faced": "Joan García",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.29 (squad xG sum 1.0060, xG scale 1.2803, xA scale 1.2803, team xA 0.96 = 0.74 x lambda)",
              "stats": {
                "key_pass": 1.3212,
                "expected_assists": 0.2102,
                "assist_rate": 0.1388,
                "assists": 0,
                "expected_goals": 0.1241,
                "goal_rate": 0.1179,
                "goals": 0,
                "shots_on_target": 0.3641,
                "total_shots": 1.0691,
                "rating": 6.8646,
                "minutes": 82.19,
                "total_pass": 22.0811,
                "accurate_pass": 17.1327,
                "duels_won": 3.7272,
                "total_long_balls": 2.5382,
                "accurate_long_balls": 1.2205,
                "total_own_half_passes": 6.7188,
                "accurate_own_half_passes": 5.847,
                "total_opp_half_passes": 15.3621,
                "accurate_opp_half_passes": 11.2856,
                "crosses_total": 4.3646,
                "crosses_accurate": 1.4104,
                "touches": 43.4231,
                "possession_lost": 12.9954,
                "dispossessed": 0.4662,
                "duels_lost": 4.4116,
                "aerial_won": 1.1,
                "aerial_lost": 0.1046,
                "interceptions": 0.7188,
                "tackles_won": 0.8236,
                "tackles": 1.0765,
                "clearances": 0.8564,
                "total_contest": 3.7468,
                "won_contest": 1.5139,
                "challenges_lost": 0.513,
                "fouls": 1.096,
                "fouls_drawn": 0.9056,
                "blocks": 0.2688,
                "big_chances_created": 0.5142,
                "big_chances_missed": 0.0796,
                "xgot": 0.101,
                "ball_carries": 11.8341,
                "total_progression": 65.8154,
                "progressive_carries": 2.7627,
                "shots_off_target": 0.7039,
                "duel_xg_multiplier": 0.6624,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 0.5,
                "crosses_attempted": 2.1,
                "duel_win_rate": 0.19,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Joan García",
                "opponent_faced": "Joan García",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.143,
                "creation_factor": 0.8814
              },
              "params": {
                "team_lambda": 1.288,
                "squad_xg_sum": 1.006,
                "squad_xa_sum": 0.7484,
                "team_expected_assists": 0.9582,
                "team_xa_to_xg_ratio": 0.7439,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2803,
                "xa_scale": 1.2803,
                "opponent_lambda": 3.863,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0969,
                  "after": 0.1241
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1642,
                  "after": 0.2102
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 3 by projected rating, fifa_overall 72.0)",
              "stats": {
                "key_pass": 1.3212,
                "expected_assists": 0.2102,
                "assist_rate": 0.1388,
                "assists": 0,
                "expected_goals": 0.1241,
                "goal_rate": 0.1179,
                "goals": 0,
                "shots_on_target": 0.3641,
                "total_shots": 1.0691,
                "rating": 6.8646,
                "minutes": 82.19,
                "total_pass": 22.0811,
                "accurate_pass": 17.1327,
                "duels_won": 3.7272,
                "total_long_balls": 2.5382,
                "accurate_long_balls": 1.2205,
                "total_own_half_passes": 6.7188,
                "accurate_own_half_passes": 5.847,
                "total_opp_half_passes": 15.3621,
                "accurate_opp_half_passes": 11.2856,
                "crosses_total": 4.3646,
                "crosses_accurate": 1.4104,
                "touches": 43.4231,
                "possession_lost": 12.9954,
                "dispossessed": 0.4662,
                "duels_lost": 4.4116,
                "aerial_won": 1.1,
                "aerial_lost": 0.1046,
                "interceptions": 0.7188,
                "tackles_won": 0.8236,
                "tackles": 1.0765,
                "clearances": 0.8564,
                "total_contest": 3.7468,
                "won_contest": 1.5139,
                "challenges_lost": 0.513,
                "fouls": 1.096,
                "fouls_drawn": 0.9056,
                "blocks": 0.2688,
                "big_chances_created": 0.5142,
                "big_chances_missed": 0.0796,
                "xgot": 0.101,
                "ball_carries": 11.8341,
                "total_progression": 65.8154,
                "progressive_carries": 2.7627,
                "shots_off_target": 0.7039,
                "duel_xg_multiplier": 0.6624,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 0.5,
                "crosses_attempted": 2.1,
                "duel_win_rate": 0.19,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Joan García",
                "opponent_faced": "Joan García",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.143,
                "creation_factor": 0.8814,
                "fifa_overall": 72.0
              },
              "params": {
                "match_squad_rank": 3,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 4209,
                "fifa_rank": 4243.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 72.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 1.3212,
                "expected_assists": 0.2102,
                "assist_rate": 0.1388,
                "assists": 0,
                "expected_goals": 0.1241,
                "goal_rate": 0.1179,
                "goals": 0,
                "shots_on_target": 0.3641,
                "total_shots": 1.0691,
                "rating": 6.8646,
                "minutes": 82.19,
                "total_pass": 22.0811,
                "accurate_pass": 17.1327,
                "duels_won": 3.7272,
                "total_long_balls": 2.5382,
                "accurate_long_balls": 1.2205,
                "total_own_half_passes": 6.7188,
                "accurate_own_half_passes": 5.847,
                "total_opp_half_passes": 15.3621,
                "accurate_opp_half_passes": 11.2856,
                "crosses_total": 4.3646,
                "crosses_accurate": 1.4104,
                "touches": 43.4231,
                "possession_lost": 12.9954,
                "dispossessed": 0.4662,
                "duels_lost": 4.4116,
                "aerial_won": 1.1,
                "aerial_lost": 0.1046,
                "interceptions": 0.7188,
                "tackles_won": 0.8236,
                "tackles": 1.0765,
                "clearances": 0.8564,
                "total_contest": 3.7468,
                "won_contest": 1.5139,
                "challenges_lost": 0.513,
                "fouls": 1.096,
                "fouls_drawn": 0.9056,
                "blocks": 0.2688,
                "big_chances_created": 0.5142,
                "big_chances_missed": 0.0796,
                "xgot": 0.101,
                "ball_carries": 11.8341,
                "total_progression": 65.8154,
                "progressive_carries": 2.7627,
                "shots_off_target": 0.7039,
                "duel_xg_multiplier": 0.6624,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 0.5,
                "crosses_attempted": 2.1,
                "duel_win_rate": 0.19,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Joan García",
                "opponent_faced": "Joan García",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1167,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.143,
                "creation_factor": 0.8814,
                "fifa_overall": 72.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.1167,
                "goal_rate": 0.1179,
                "scorer_weight": 0.1418,
                "squad_weight_total": 1.3792,
                "weight_share": 0.1028,
                "finishing_factor": 1.143,
                "appearance_weight": 1.0,
                "weight_rank": 3,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Toni Martínez",
                    "weight": 0.3036,
                    "already": 0,
                    "effective_weight": 0.3036,
                    "runner_up": "Lucas Boyé",
                    "runner_up_effective_weight": 0.2934
                  }
                ]
              }
            },
            {
              "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.3212,
                "expected_assists": 0.2102,
                "assist_rate": 0.1388,
                "assists": 1,
                "expected_goals": 0.1241,
                "goal_rate": 0.1179,
                "goals": 0,
                "shots_on_target": 0.3641,
                "total_shots": 1.0691,
                "rating": 6.8646,
                "minutes": 82.19,
                "total_pass": 22.0811,
                "accurate_pass": 17.1327,
                "duels_won": 3.7272,
                "total_long_balls": 2.5382,
                "accurate_long_balls": 1.2205,
                "total_own_half_passes": 6.7188,
                "accurate_own_half_passes": 5.847,
                "total_opp_half_passes": 15.3621,
                "accurate_opp_half_passes": 11.2856,
                "crosses_total": 4.3646,
                "crosses_accurate": 1.4104,
                "touches": 43.4231,
                "possession_lost": 12.9954,
                "dispossessed": 0.4662,
                "duels_lost": 4.4116,
                "aerial_won": 1.1,
                "aerial_lost": 0.1046,
                "interceptions": 0.7188,
                "tackles_won": 0.8236,
                "tackles": 1.0765,
                "clearances": 0.8564,
                "total_contest": 3.7468,
                "won_contest": 1.5139,
                "challenges_lost": 0.513,
                "fouls": 1.096,
                "fouls_drawn": 0.9056,
                "blocks": 0.2688,
                "big_chances_created": 0.5142,
                "big_chances_missed": 0.0796,
                "xgot": 0.101,
                "ball_carries": 11.8341,
                "total_progression": 65.8154,
                "progressive_carries": 2.7627,
                "shots_off_target": 0.7039,
                "duel_xg_multiplier": 0.6624,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 0.5,
                "crosses_attempted": 2.1,
                "duel_win_rate": 0.19,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Joan García",
                "opponent_faced": "Joan García",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1167,
                "projected_assists": 1,
                "assist_probability": 0.1896,
                "finishing_factor": 1.143,
                "creation_factor": 0.8814,
                "fifa_overall": 72.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 1,
                "assist_probability": 0.1896,
                "assist_rate": 0.1388,
                "provider_weight": 0.1853,
                "squad_weight_total": 0.8425,
                "weight_share": 0.2199,
                "creation_factor": 0.8814,
                "appearance_weight": 1.0,
                "weight_rank": 1,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ángel Pérez",
                    "weight": 0.1853,
                    "already": 0,
                    "effective_weight": 0.1853,
                    "runner_up": "Hugo Novoa",
                    "runner_up_effective_weight": 0.1136,
                    "blocked_own_goal": [
                      "Toni Martínez"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Pablo Ibáñez": {
          "player_id": 1084381,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 19,
          "height": 179,
          "market_value": 4099999,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0868,
            "assist_rate": 0.0734,
            "assists": 0,
            "expected_goals": 0.0654,
            "goal_rate": 0.063,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.8418,
            "minutes": 83,
            "total_pass": 31,
            "accurate_pass": 26,
            "duels_won": 7,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_own_half_passes": 12,
            "accurate_own_half_passes": 11,
            "total_opp_half_passes": 19,
            "accurate_opp_half_passes": 15,
            "crosses_total": 2,
            "crosses_accurate": 0,
            "touches": 50,
            "possession_lost": 10.4593,
            "dispossessed": 1.4385,
            "duels_lost": 5,
            "aerial_won": 1,
            "aerial_lost": 1,
            "interceptions": 1,
            "tackles_won": 1,
            "tackles": 3,
            "clearances": 1,
            "total_contest": 2,
            "won_contest": 1,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 2,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0735,
            "ball_carries": 17,
            "total_progression": 72,
            "progressive_carries": 2,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.6995,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.3,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.18,
            "pressing_faced": "ULTRA_HIGH",
            "matchup_zone": "CM vs CDM + CM",
            "numerical_situation": "1v2",
            "opponent_defenders": "Rodri, Pedri",
            "opponent_faced": "Rodri, Pedri",
            "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0633,
            "projected_assists": 0,
            "assist_probability": 0.0831,
            "finishing_factor": 1.1177,
            "creation_factor": 1.0475,
            "fifa_overall": 73.0
          },
          "latest_10_games": [
            {
              "match_id": 16421077,
              "match_date": "2026-10-23",
              "home_team": "Deportivo Alavés",
              "away_team": "Málaga CF",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0663,
                "expected_assists": 0.0203,
                "total_shots": 2,
                "shots_on_target": 0,
                "shots_off_target": 2,
                "total_pass": 40,
                "accurate_pass": 38,
                "tackles": 6,
                "tackles_won": 4,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 10,
                "ball_recovery": 6,
                "saves": 0
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421069,
              "match_date": "2026-10-18",
              "home_team": "Celta Vigo",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0644,
                "expected_assists": 0.177,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 40,
                "accurate_pass": 35,
                "key_pass": 2,
                "interceptions": 4,
                "aerial_won": 2,
                "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": 16421056,
              "match_date": "2026-10-10",
              "home_team": "Deportivo Alavés",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0104,
                "total_shots": 0,
                "total_pass": 21,
                "accurate_pass": 19,
                "tackles": 6,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 1,
                "duels_won": 9,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416337,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 85,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0079,
                "total_shots": 0,
                "total_pass": 27,
                "accurate_pass": 23,
                "key_pass": 1,
                "tackles": 1,
                "interceptions": 2,
                "clearances": 4,
                "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": 16416334,
              "match_date": "2026-09-15",
              "home_team": "Deportivo Alavés",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3934,
                "expected_assists": 0.0358,
                "total_shots": 3,
                "shots_off_target": 3,
                "total_pass": 34,
                "accurate_pass": 24,
                "key_pass": 1,
                "tackles": 5,
                "tackles_won": 3,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 8,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416328,
              "match_date": "2026-09-12",
              "home_team": "Real Racing Club",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 45,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0012,
                "total_shots": 0,
                "total_pass": 12,
                "accurate_pass": 7,
                "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": 16416318,
              "match_date": "2026-09-06",
              "home_team": "Deportivo Alavés",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 7.6,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2584,
                "expected_assists": 0.0132,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 40,
                "accurate_pass": 35,
                "tackles": 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": 16416290,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0312,
                "expected_assists": 0.0078,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 21,
                "accurate_pass": 17,
                "tackles": 1,
                "interceptions": 2,
                "clearances": 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": 16416292,
              "match_date": "2026-08-20",
              "home_team": "Rayo Vallecano",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 7.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.066,
                "expected_assists": 0.0519,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 40,
                "accurate_pass": 32,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 9,
                "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": 16421047,
              "match_date": "2026-08-15",
              "home_team": "Deportivo Alavés",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0061,
                "total_shots": 0,
                "total_pass": 30,
                "accurate_pass": 23,
                "interceptions": 2,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 3981,
            "combined_rank_score": 1953.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 391.0,
            "sofascore_rating": 6.95,
            "sofascore_appearances": 2.0,
            "fifa_rank": 3516.0,
            "fifa_overall": 73.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 4,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8418,
            "source_file": "data/player_rankings.csv",
            "player_name": "Pablo Ibáñez",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Patrick Sequeira",
                  "ranking": 3976
                },
                {
                  "player_name": "Javi Rueda",
                  "ranking": 3977
                },
                {
                  "player_name": "Freddie Potts",
                  "ranking": 3978
                },
                {
                  "player_name": "Chupe",
                  "ranking": 3979
                },
                {
                  "player_name": "Bigas",
                  "ranking": 3980
                }
              ],
              "lower": [
                {
                  "player_name": "Jonny",
                  "ranking": 3982
                },
                {
                  "player_name": "Mohamed Belloumi",
                  "ranking": 3983
                },
                {
                  "player_name": "Jack Hendry",
                  "ranking": 3984
                },
                {
                  "player_name": "Areso",
                  "ranking": 3985
                },
                {
                  "player_name": "Gorosabel",
                  "ranking": 3986
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.78,
          "history_matches": 47,
          "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": 47,
            "data_confidence": 0.78,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9984,
            "fbref_prior_metrics": {
              "squad": "Alavés",
              "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": 1.67,
              "shots_on_target_pct": 20.0,
              "prior_reliability": 0.2
            },
            "rationale": "XGBoost regressor (M_service) evaluated 47 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Alavés, rel: 0.20, 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.7787,
                "expected_assists": 0.0679,
                "assists": 0.0744,
                "assist_rate": 0.0744,
                "expected_goals": 0.0732,
                "goals": 0.0914,
                "goal_rate": 0.0914,
                "shots_on_target": 0.2864,
                "total_shots": 1.0793,
                "rating": 6.8418,
                "minutes": 82.73,
                "total_pass": 30.7984,
                "accurate_pass": 26.2609,
                "duels_won": 6.6895,
                "total_long_balls": 2.1928,
                "accurate_long_balls": 0.9004,
                "total_own_half_passes": 12.0997,
                "accurate_own_half_passes": 10.9252,
                "total_opp_half_passes": 18.6988,
                "accurate_opp_half_passes": 15.3358,
                "crosses_total": 1.8636,
                "crosses_accurate": 0.4656,
                "touches": 50.5168,
                "possession_lost": 10.4761,
                "dispossessed": 1.4408,
                "duels_lost": 5.4384,
                "aerial_won": 0.94,
                "aerial_lost": 0.8556,
                "interceptions": 1.4299,
                "tackles_won": 1.2628,
                "tackles": 2.5384,
                "clearances": 1.1617,
                "total_contest": 1.7713,
                "won_contest": 1.1295,
                "challenges_lost": 1.0056,
                "fouls": 1.4953,
                "fouls_drawn": 2.2094,
                "blocks": 0.3336,
                "big_chances_created": 0.0046,
                "big_chances_missed": 0.0968,
                "xgot": 0.0821,
                "ball_carries": 16.8122,
                "total_progression": 71.7574,
                "progressive_carries": 1.7905,
                "shots_off_target": 0.7929
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-31T10:30:21.314387+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 902,
                    "rows": 24945
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-23",
                    "opponent": "Málaga CF",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1501,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-10-18",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1276,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-10-10",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1084,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Athletic Club",
                    "minutes": 85.0,
                    "is_starting": true,
                    "weight": 0.0922,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0783,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Real Racing Club",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.0666,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0566,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0481,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-20",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.3
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalShots": 1.2469,
                  "expectedGoals": 0.0835,
                  "creative_index": 0.2231,
                  "expectedAssists": 0.038,
                  "keyPass": 0.5009
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.778668224811554,
                    "model_output": 0.7787,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1583
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1351
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0716
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0542
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.028
                      }
                    ],
                    "decomposition": {
                      "base": 0.8899,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1217
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0869
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0704
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0638
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0476
                        }
                      ],
                      "others": -0.0594,
                      "total": 0.7787,
                      "log_link": true,
                      "margin_base": -0.11669,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.128164
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.089774
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.079196
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.077665
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.058419
                        }
                      ],
                      "others_margin": -0.073428
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.06794986873865128,
                    "model_output": 0.0679,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1213
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1076
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0864
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0618
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0476
                      }
                    ],
                    "decomposition": {
                      "base": 0.085,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0182
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0095
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0088
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.0048
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0044
                        }
                      ],
                      "others": -0.008,
                      "total": 0.0679,
                      "log_link": true,
                      "margin_base": -2.465163,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": -0.241108
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.132418
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.108772
                        },
                        {
                          "name": "wonTackle",
                          "margin": -0.057943
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.056027
                        }
                      ],
                      "others_margin": -0.109932
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.07443854212760925,
                    "model_output": 0.0744,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0508
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0447
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0336
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0324
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0322
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "creative_index",
                          "contribution": -0.0076
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0069
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0056
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0053
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0049
                        }
                      ],
                      "others": -0.0152,
                      "total": 0.0744,
                      "log_link": true,
                      "margin_base": -2.463734,
                      "item_margins": [
                        {
                          "name": "creative_index",
                          "margin": -0.094078
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.085138
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.06446
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.060696
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.05643
                        }
                      ],
                      "others_margin": -0.185301
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.07316505163908005,
                    "model_output": 0.0732,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1242
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0778
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0743
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0437
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0241
                      }
                    ],
                    "decomposition": {
                      "base": 0.0911,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.012
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0119
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0076
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0066
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0037
                        }
                      ],
                      "others": -0.0133,
                      "total": 0.0732,
                      "log_link": true,
                      "margin_base": -2.395469,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.123452
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.122369
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.087426
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.075992
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.0419
                        }
                      ],
                      "others_margin": -0.167318
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.09137985110282898,
                    "model_output": 0.0914,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0846
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0655
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0399
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0358
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0268
                      }
                    ],
                    "decomposition": {
                      "base": 0.0947,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.017
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0165
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0097
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0067
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0039
                        }
                      ],
                      "others": -0.0029,
                      "total": 0.0914,
                      "log_link": true,
                      "margin_base": -2.357331,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.165306
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.159862
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.096582
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.066243
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.040952
                        }
                      ],
                      "others_margin": -0.030232
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.28640344738960266,
                    "model_output": 0.2864,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1146
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0928
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0753
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0297
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.3177,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0596
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0491
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.043
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0305
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": -0.0209
                        }
                      ],
                      "others": -0.0334,
                      "total": 0.2864,
                      "log_link": true,
                      "margin_base": -1.146731,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.171958
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.139342
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.123227
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.08586
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "margin": -0.063279
                        }
                      ],
                      "others_margin": -0.110326
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.0792651176452637,
                    "model_output": 1.0793,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1488
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1213
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0474
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0446
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0276
                      }
                    ],
                    "decomposition": {
                      "base": 0.9817,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.1866
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1391
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0545
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.044
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": -0.0239
                        }
                      ],
                      "others": -0.1057,
                      "total": 1.0793,
                      "log_link": false,
                      "margin_base": 0.98173,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.186585
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.139078
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.054492
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.044019
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "margin": -0.02388
                        }
                      ],
                      "others_margin": -0.105736
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.841841697692871,
                    "model_output": 6.8418,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.102
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0743
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0503
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0382
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 6.856,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0378
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0172
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0153
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0143
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0076
                        }
                      ],
                      "others": -0.0128,
                      "total": 6.8418,
                      "log_link": false,
                      "margin_base": 6.856008,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.037792
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.017194
                        },
                        {
                          "name": "rating",
                          "margin": -0.015308
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.014348
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.007592
                        }
                      ],
                      "others_margin": -0.012699
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 47,
                  "role_matches": 38,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9984, quality 0.451)",
              "stats": {
                "key_pass": 0.7774,
                "expected_assists": 0.0678,
                "assists": 0.0743,
                "assist_rate": 0.0743,
                "expected_goals": 0.073,
                "goals": 0.0912,
                "goal_rate": 0.0912,
                "shots_on_target": 0.2859,
                "total_shots": 1.0776,
                "rating": 6.8418,
                "minutes": 82.73,
                "total_pass": 30.7491,
                "accurate_pass": 26.2189,
                "duels_won": 6.6788,
                "total_long_balls": 2.1893,
                "accurate_long_balls": 0.899,
                "total_own_half_passes": 12.0803,
                "accurate_own_half_passes": 10.9077,
                "total_opp_half_passes": 18.6689,
                "accurate_opp_half_passes": 15.3113,
                "crosses_total": 1.8606,
                "crosses_accurate": 0.4649,
                "touches": 50.436,
                "possession_lost": 10.4593,
                "dispossessed": 1.4385,
                "duels_lost": 5.4297,
                "aerial_won": 0.9385,
                "aerial_lost": 0.8542,
                "interceptions": 1.4276,
                "tackles_won": 1.2608,
                "tackles": 2.5343,
                "clearances": 1.1598,
                "total_contest": 1.7685,
                "won_contest": 1.1277,
                "challenges_lost": 1.004,
                "fouls": 1.4929,
                "fouls_drawn": 2.2059,
                "blocks": 0.3331,
                "big_chances_created": 0.0046,
                "big_chances_missed": 0.0966,
                "xgot": 0.082,
                "ball_carries": 16.7853,
                "total_progression": 71.6426,
                "progressive_carries": 1.7876,
                "shots_off_target": 0.7916
              },
              "params": {
                "market_value_eur": 4099999,
                "quality_factor": 0.4511,
                "boost_factor": 0.9984,
                "reference_quality": 0.505,
                "history_matches": 47,
                "history_shrink": 0.0962,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0125)",
              "stats": {
                "key_pass": 0.7774,
                "expected_assists": 0.0678,
                "assists": 0.0734,
                "assist_rate": 0.0734,
                "expected_goals": 0.073,
                "goals": 0.0901,
                "goal_rate": 0.0901,
                "shots_on_target": 0.2861,
                "total_shots": 1.0833,
                "rating": 6.8418,
                "minutes": 82.73,
                "total_pass": 30.7491,
                "accurate_pass": 26.2189,
                "duels_won": 6.6788,
                "total_long_balls": 2.1893,
                "accurate_long_balls": 0.899,
                "total_own_half_passes": 12.0803,
                "accurate_own_half_passes": 10.9077,
                "total_opp_half_passes": 18.6689,
                "accurate_opp_half_passes": 15.3113,
                "crosses_total": 1.845,
                "crosses_accurate": 0.4649,
                "touches": 50.436,
                "possession_lost": 10.4593,
                "dispossessed": 1.4385,
                "duels_lost": 5.4297,
                "aerial_won": 0.9385,
                "aerial_lost": 0.8542,
                "interceptions": 1.4289,
                "tackles_won": 1.2527,
                "tackles": 2.5343,
                "clearances": 1.1598,
                "total_contest": 1.7685,
                "won_contest": 1.1277,
                "challenges_lost": 1.004,
                "fouls": 1.4896,
                "fouls_drawn": 2.1975,
                "blocks": 0.3331,
                "big_chances_created": 0.0046,
                "big_chances_missed": 0.0966,
                "xgot": 0.082,
                "ball_carries": 16.7853,
                "total_progression": 71.6426,
                "progressive_carries": 1.7876,
                "shots_off_target": 0.7916
              },
              "params": {
                "blend_weight": 0.0125,
                "history_matches": 47,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9192,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Alavés"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 1.8606,
                  "after": 1.845
                },
                {
                  "stat": "wasFouled",
                  "before": 2.2059,
                  "after": 2.1975
                },
                {
                  "stat": "wonTackle",
                  "before": 1.2608,
                  "after": 1.2527
                },
                {
                  "stat": "totalShots",
                  "before": 1.0776,
                  "after": 1.0833
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.7774,
                "expected_assists": 0.0678,
                "assists": 0.0734,
                "assist_rate": 0.0734,
                "expected_goals": 0.073,
                "goals": 0.0901,
                "goal_rate": 0.0901,
                "shots_on_target": 0.2861,
                "total_shots": 1.0833,
                "rating": 6.8418,
                "minutes": 82.73,
                "total_pass": 30.7491,
                "accurate_pass": 26.2189,
                "duels_won": 6.6788,
                "total_long_balls": 2.1893,
                "accurate_long_balls": 0.899,
                "total_own_half_passes": 12.0803,
                "accurate_own_half_passes": 10.9077,
                "total_opp_half_passes": 18.6689,
                "accurate_opp_half_passes": 15.3113,
                "crosses_total": 1.845,
                "crosses_accurate": 0.4649,
                "touches": 50.436,
                "possession_lost": 10.4593,
                "dispossessed": 1.4385,
                "duels_lost": 5.4297,
                "aerial_won": 0.9385,
                "aerial_lost": 0.8542,
                "interceptions": 1.4289,
                "tackles_won": 1.2527,
                "tackles": 2.5343,
                "clearances": 1.1598,
                "total_contest": 1.7685,
                "won_contest": 1.1277,
                "challenges_lost": 1.004,
                "fouls": 1.4896,
                "fouls_drawn": 2.1975,
                "blocks": 0.3331,
                "big_chances_created": 0.0046,
                "big_chances_missed": 0.0966,
                "xgot": 0.082,
                "ball_carries": 16.7853,
                "total_progression": 71.6426,
                "progressive_carries": 1.7876,
                "shots_off_target": 0.7916
              },
              "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.7774,
                "expected_assists": 0.0678,
                "assists": 0.0734,
                "assist_rate": 0.0734,
                "expected_goals": 0.0511,
                "goals": 0.063,
                "goal_rate": 0.063,
                "shots_on_target": 0.2001,
                "total_shots": 0.7578,
                "rating": 6.8418,
                "minutes": 82.73,
                "total_pass": 30.7491,
                "accurate_pass": 26.2189,
                "duels_won": 6.6788,
                "total_long_balls": 2.1893,
                "accurate_long_balls": 0.899,
                "total_own_half_passes": 12.0803,
                "accurate_own_half_passes": 10.9077,
                "total_opp_half_passes": 18.6689,
                "accurate_opp_half_passes": 15.3113,
                "crosses_total": 1.845,
                "crosses_accurate": 0.4649,
                "touches": 50.436,
                "possession_lost": 10.4593,
                "dispossessed": 1.4385,
                "duels_lost": 5.4297,
                "aerial_won": 1.0,
                "aerial_lost": 0.8542,
                "interceptions": 1.4289,
                "tackles_won": 1.2527,
                "tackles": 2.5343,
                "clearances": 1.1598,
                "total_contest": 1.7685,
                "won_contest": 1.1277,
                "challenges_lost": 1.004,
                "fouls": 1.4896,
                "fouls_drawn": 2.1975,
                "blocks": 0.3331,
                "big_chances_created": 0.0046,
                "big_chances_missed": 0.0676,
                "xgot": 0.0574,
                "ball_carries": 16.7853,
                "total_progression": 71.6426,
                "progressive_carries": 1.7876,
                "shots_off_target": 0.5537,
                "duel_xg_multiplier": 0.6995,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "CM vs CDM + CM",
                "numerical_situation": "1v2",
                "opponent_defenders": "Rodri, Pedri",
                "opponent_faced": "Rodri, Pedri",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Rodri, Pedri",
                  "matchup_zone": "CM vs CDM + CM",
                  "duel_win_rate": 0.18,
                  "pressing_faced": "ULTRA_HIGH",
                  "numerical_situation": "1v2",
                  "xg_multiplier": 0.6995,
                  "skill_edge": -0.1904,
                  "height_edge": -0.014,
                  "attacker_skill": 0.4567,
                  "defender_skill": 0.8799,
                  "attacker_role": "CM",
                  "attacker_mv_price_index": 0.9,
                  "defender_adjusted_parts": [
                    {
                      "player": "Rodri",
                      "market_value": 54000000,
                      "role": "CDM",
                      "price_index": 0.85,
                      "adjusted_quality": 0.8599
                    },
                    {
                      "player": "Pedri",
                      "market_value": 164000000,
                      "role": "CM",
                      "price_index": 0.9,
                      "adjusted_quality": 0.8999
                    }
                  ],
                  "xg_override": 0.0511
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.0833,
                  "after": 0.7578
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.7916,
                  "after": 0.5537
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.2861,
                  "after": 0.2001
                },
                {
                  "stat": "aerialWon",
                  "before": 0.9385,
                  "after": 1.0
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 0.0966,
                  "after": 0.0676
                },
                {
                  "stat": "goals",
                  "before": 0.0901,
                  "after": 0.063
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.082,
                  "after": 0.0574
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.073,
                  "after": 0.0511
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 0.7774,
                "expected_assists": 0.0678,
                "assist_rate": 0.0734,
                "assists": 0,
                "expected_goals": 0.0511,
                "goal_rate": 0.063,
                "goals": 0,
                "shots_on_target": 0.2001,
                "total_shots": 0.7578,
                "rating": 6.8418,
                "minutes": 82.73,
                "total_pass": 30.7491,
                "accurate_pass": 26.2189,
                "duels_won": 6.6788,
                "total_long_balls": 2.1893,
                "accurate_long_balls": 0.899,
                "total_own_half_passes": 12.0803,
                "accurate_own_half_passes": 10.9077,
                "total_opp_half_passes": 18.6689,
                "accurate_opp_half_passes": 15.3113,
                "crosses_total": 1.845,
                "crosses_accurate": 0.4649,
                "touches": 50.436,
                "possession_lost": 10.4593,
                "dispossessed": 1.4385,
                "duels_lost": 5.4297,
                "aerial_won": 1.0,
                "aerial_lost": 0.8542,
                "interceptions": 1.4289,
                "tackles_won": 1.2527,
                "tackles": 2.5343,
                "clearances": 1.1598,
                "total_contest": 1.7685,
                "won_contest": 1.1277,
                "challenges_lost": 1.004,
                "fouls": 1.4896,
                "fouls_drawn": 2.1975,
                "blocks": 0.3331,
                "big_chances_created": 0.0046,
                "big_chances_missed": 0.0676,
                "xgot": 0.0574,
                "ball_carries": 16.7853,
                "total_progression": 71.6426,
                "progressive_carries": 1.7876,
                "shots_off_target": 0.5537,
                "duel_xg_multiplier": 0.6995,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "CM vs CDM + CM",
                "numerical_situation": "1v2",
                "opponent_defenders": "Rodri, Pedri",
                "opponent_faced": "Rodri, Pedri",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.29 (squad xG sum 1.0060, xG scale 1.2803, xA scale 1.2803, team xA 0.96 = 0.74 x lambda)",
              "stats": {
                "key_pass": 0.7774,
                "expected_assists": 0.0868,
                "assist_rate": 0.0734,
                "assists": 0,
                "expected_goals": 0.0654,
                "goal_rate": 0.063,
                "goals": 0,
                "shots_on_target": 0.2001,
                "total_shots": 0.7578,
                "rating": 6.8418,
                "minutes": 82.73,
                "total_pass": 30.7491,
                "accurate_pass": 26.2189,
                "duels_won": 6.6788,
                "total_long_balls": 2.1893,
                "accurate_long_balls": 0.899,
                "total_own_half_passes": 12.0803,
                "accurate_own_half_passes": 10.9077,
                "total_opp_half_passes": 18.6689,
                "accurate_opp_half_passes": 15.3113,
                "crosses_total": 1.845,
                "crosses_accurate": 0.4649,
                "touches": 50.436,
                "possession_lost": 10.4593,
                "dispossessed": 1.4385,
                "duels_lost": 5.4297,
                "aerial_won": 1.0,
                "aerial_lost": 0.8542,
                "interceptions": 1.4289,
                "tackles_won": 1.2527,
                "tackles": 2.5343,
                "clearances": 1.1598,
                "total_contest": 1.7685,
                "won_contest": 1.1277,
                "challenges_lost": 1.004,
                "fouls": 1.4896,
                "fouls_drawn": 2.1975,
                "blocks": 0.3331,
                "big_chances_created": 0.0046,
                "big_chances_missed": 0.0676,
                "xgot": 0.0735,
                "ball_carries": 16.7853,
                "total_progression": 71.6426,
                "progressive_carries": 1.7876,
                "shots_off_target": 0.5537,
                "duel_xg_multiplier": 0.6995,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "CM vs CDM + CM",
                "numerical_situation": "1v2",
                "opponent_defenders": "Rodri, Pedri",
                "opponent_faced": "Rodri, Pedri",
                "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.1177,
                "creation_factor": 1.0475
              },
              "params": {
                "team_lambda": 1.288,
                "squad_xg_sum": 1.006,
                "squad_xa_sum": 0.7484,
                "team_expected_assists": 0.9582,
                "team_xa_to_xg_ratio": 0.7439,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2803,
                "xa_scale": 1.2803,
                "opponent_lambda": 3.863,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0511,
                  "after": 0.0654
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0678,
                  "after": 0.0868
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 4 by projected rating, fifa_overall 73.0)",
              "stats": {
                "key_pass": 0.7774,
                "expected_assists": 0.0868,
                "assist_rate": 0.0734,
                "assists": 0,
                "expected_goals": 0.0654,
                "goal_rate": 0.063,
                "goals": 0,
                "shots_on_target": 0.2001,
                "total_shots": 0.7578,
                "rating": 6.8418,
                "minutes": 82.73,
                "total_pass": 30.7491,
                "accurate_pass": 26.2189,
                "duels_won": 6.6788,
                "total_long_balls": 2.1893,
                "accurate_long_balls": 0.899,
                "total_own_half_passes": 12.0803,
                "accurate_own_half_passes": 10.9077,
                "total_opp_half_passes": 18.6689,
                "accurate_opp_half_passes": 15.3113,
                "crosses_total": 1.845,
                "crosses_accurate": 0.4649,
                "touches": 50.436,
                "possession_lost": 10.4593,
                "dispossessed": 1.4385,
                "duels_lost": 5.4297,
                "aerial_won": 1.0,
                "aerial_lost": 0.8542,
                "interceptions": 1.4289,
                "tackles_won": 1.2527,
                "tackles": 2.5343,
                "clearances": 1.1598,
                "total_contest": 1.7685,
                "won_contest": 1.1277,
                "challenges_lost": 1.004,
                "fouls": 1.4896,
                "fouls_drawn": 2.1975,
                "blocks": 0.3331,
                "big_chances_created": 0.0046,
                "big_chances_missed": 0.0676,
                "xgot": 0.0735,
                "ball_carries": 16.7853,
                "total_progression": 71.6426,
                "progressive_carries": 1.7876,
                "shots_off_target": 0.5537,
                "duel_xg_multiplier": 0.6995,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "CM vs CDM + CM",
                "numerical_situation": "1v2",
                "opponent_defenders": "Rodri, Pedri",
                "opponent_faced": "Rodri, Pedri",
                "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.1177,
                "creation_factor": 1.0475,
                "fifa_overall": 73.0
              },
              "params": {
                "match_squad_rank": 4,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3981,
                "fifa_rank": 3516.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 73.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.7774,
                "expected_assists": 0.0868,
                "assist_rate": 0.0734,
                "assists": 0,
                "expected_goals": 0.0654,
                "goal_rate": 0.063,
                "goals": 0,
                "shots_on_target": 0.2001,
                "total_shots": 0.7578,
                "rating": 6.8418,
                "minutes": 82.73,
                "total_pass": 30.7491,
                "accurate_pass": 26.2189,
                "duels_won": 6.6788,
                "total_long_balls": 2.1893,
                "accurate_long_balls": 0.899,
                "total_own_half_passes": 12.0803,
                "accurate_own_half_passes": 10.9077,
                "total_opp_half_passes": 18.6689,
                "accurate_opp_half_passes": 15.3113,
                "crosses_total": 1.845,
                "crosses_accurate": 0.4649,
                "touches": 50.436,
                "possession_lost": 10.4593,
                "dispossessed": 1.4385,
                "duels_lost": 5.4297,
                "aerial_won": 1.0,
                "aerial_lost": 0.8542,
                "interceptions": 1.4289,
                "tackles_won": 1.2527,
                "tackles": 2.5343,
                "clearances": 1.1598,
                "total_contest": 1.7685,
                "won_contest": 1.1277,
                "challenges_lost": 1.004,
                "fouls": 1.4896,
                "fouls_drawn": 2.1975,
                "blocks": 0.3331,
                "big_chances_created": 0.0046,
                "big_chances_missed": 0.0676,
                "xgot": 0.0735,
                "ball_carries": 16.7853,
                "total_progression": 71.6426,
                "progressive_carries": 1.7876,
                "shots_off_target": 0.5537,
                "duel_xg_multiplier": 0.6995,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "CM vs CDM + CM",
                "numerical_situation": "1v2",
                "opponent_defenders": "Rodri, Pedri",
                "opponent_faced": "Rodri, Pedri",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0633,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1177,
                "creation_factor": 1.0475,
                "fifa_overall": 73.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0633,
                "goal_rate": 0.063,
                "scorer_weight": 0.0731,
                "squad_weight_total": 1.3792,
                "weight_share": 0.053,
                "finishing_factor": 1.1177,
                "appearance_weight": 1.0,
                "weight_rank": 7,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Toni Martínez",
                    "weight": 0.3036,
                    "already": 0,
                    "effective_weight": 0.3036,
                    "runner_up": "Lucas Boyé",
                    "runner_up_effective_weight": 0.2934
                  }
                ]
              }
            },
            {
              "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.7774,
                "expected_assists": 0.0868,
                "assist_rate": 0.0734,
                "assists": 0,
                "expected_goals": 0.0654,
                "goal_rate": 0.063,
                "goals": 0,
                "shots_on_target": 0.2001,
                "total_shots": 0.7578,
                "rating": 6.8418,
                "minutes": 82.73,
                "total_pass": 30.7491,
                "accurate_pass": 26.2189,
                "duels_won": 6.6788,
                "total_long_balls": 2.1893,
                "accurate_long_balls": 0.899,
                "total_own_half_passes": 12.0803,
                "accurate_own_half_passes": 10.9077,
                "total_opp_half_passes": 18.6689,
                "accurate_opp_half_passes": 15.3113,
                "crosses_total": 1.845,
                "crosses_accurate": 0.4649,
                "touches": 50.436,
                "possession_lost": 10.4593,
                "dispossessed": 1.4385,
                "duels_lost": 5.4297,
                "aerial_won": 1.0,
                "aerial_lost": 0.8542,
                "interceptions": 1.4289,
                "tackles_won": 1.2527,
                "tackles": 2.5343,
                "clearances": 1.1598,
                "total_contest": 1.7685,
                "won_contest": 1.1277,
                "challenges_lost": 1.004,
                "fouls": 1.4896,
                "fouls_drawn": 2.1975,
                "blocks": 0.3331,
                "big_chances_created": 0.0046,
                "big_chances_missed": 0.0676,
                "xgot": 0.0735,
                "ball_carries": 16.7853,
                "total_progression": 71.6426,
                "progressive_carries": 1.7876,
                "shots_off_target": 0.5537,
                "duel_xg_multiplier": 0.6995,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "CM vs CDM + CM",
                "numerical_situation": "1v2",
                "opponent_defenders": "Rodri, Pedri",
                "opponent_faced": "Rodri, Pedri",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0633,
                "projected_assists": 0,
                "assist_probability": 0.0831,
                "finishing_factor": 1.1177,
                "creation_factor": 1.0475,
                "fifa_overall": 73.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0831,
                "assist_rate": 0.0734,
                "provider_weight": 0.0909,
                "squad_weight_total": 0.8425,
                "weight_share": 0.1079,
                "creation_factor": 1.0475,
                "appearance_weight": 1.0,
                "weight_rank": 3,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ángel Pérez",
                    "weight": 0.1853,
                    "already": 0,
                    "effective_weight": 0.1853,
                    "runner_up": "Hugo Novoa",
                    "runner_up_effective_weight": 0.1136,
                    "blocked_own_goal": [
                      "Toni Martínez"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Antonio Blanco": {
          "player_id": 855832,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 8,
          "height": 176,
          "market_value": 9700000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0834,
            "assist_rate": 0.0693,
            "assists": 0,
            "expected_goals": 0.0397,
            "goal_rate": 0.0366,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.9107,
            "minutes": 82,
            "total_pass": 45,
            "accurate_pass": 39,
            "duels_won": 4,
            "total_long_balls": 5,
            "accurate_long_balls": 4,
            "total_own_half_passes": 22,
            "accurate_own_half_passes": 20,
            "total_opp_half_passes": 23,
            "accurate_opp_half_passes": 19,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 57,
            "possession_lost": 8.3603,
            "dispossessed": 0.9047,
            "duels_lost": 4,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 1,
            "tackles_won": 1,
            "tackles": 2,
            "clearances": 1,
            "total_contest": 1,
            "won_contest": 1,
            "challenges_lost": 1,
            "fouls": 2,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0115,
            "ball_carries": 15,
            "total_progression": 21,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "duel_xg_multiplier": 0.7313,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.3,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.18,
            "pressing_faced": "ULTRA_HIGH",
            "matchup_zone": "CM vs CDM + CM",
            "numerical_situation": "1v2",
            "opponent_defenders": "Rodri, Pedri",
            "opponent_faced": "Rodri, Pedri",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0389,
            "projected_assists": 0,
            "assist_probability": 0.08,
            "finishing_factor": 1.0691,
            "creation_factor": 1.0365,
            "fifa_overall": 78.0
          },
          "latest_10_games": [
            {
              "match_id": 16421077,
              "match_date": "2026-10-23",
              "home_team": "Deportivo Alavés",
              "away_team": "Málaga CF",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 75,
                "rating": 6.9,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0194,
                "expected_assists": 0.0168,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "total_pass": 47,
                "accurate_pass": 41,
                "tackles": 2,
                "tackles_won": 0,
                "interceptions": 0,
                "clearances": 0,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 2,
                "saves": 0
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421069,
              "match_date": "2026-10-18",
              "home_team": "Celta Vigo",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 88,
                "rating": 7.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.4284,
                "total_shots": 0,
                "total_pass": 68,
                "accurate_pass": 62,
                "key_pass": 3,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 8
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421056,
              "match_date": "2026-10-10",
              "home_team": "Deportivo Alavés",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 64,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0103,
                "total_shots": 0,
                "total_pass": 39,
                "accurate_pass": 36,
                "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": 16416337,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 15,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0022,
                "total_shots": 0,
                "total_pass": 10,
                "accurate_pass": 7,
                "clearances": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416334,
              "match_date": "2026-09-15",
              "home_team": "Deportivo Alavés",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Valencia",
              "stats": {
                "minutes": 85,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0093,
                "total_shots": 0,
                "total_pass": 37,
                "accurate_pass": 31,
                "tackles": 3,
                "tackles_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": 16416328,
              "match_date": "2026-09-12",
              "home_team": "Real Racing Club",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 67,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0154,
                "expected_assists": 0.0078,
                "total_shots": 1,
                "total_pass": 32,
                "accurate_pass": 25,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 5,
                "clearances": 1,
                "duels_won": 3,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416318,
              "match_date": "2026-09-06",
              "home_team": "Deportivo Alavés",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0841,
                "expected_assists": 0.0948,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 58,
                "accurate_pass": 54,
                "tackles": 2,
                "tackles_won": 1,
                "duels_won": 3,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416290,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0305,
                "expected_assists": 0.089,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 26,
                "accurate_pass": 21,
                "key_pass": 1,
                "tackles": 5,
                "tackles_won": 2,
                "interceptions": 4,
                "clearances": 3,
                "duels_won": 5,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416292,
              "match_date": "2026-08-20",
              "home_team": "Rayo Vallecano",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0154,
                "total_shots": 0,
                "total_pass": 49,
                "accurate_pass": 41,
                "tackles": 3,
                "tackles_won": 1,
                "interceptions": 3,
                "clearances": 2,
                "duels_won": 4,
                "ball_recovery": 8
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421047,
              "match_date": "2026-08-15",
              "home_team": "Deportivo Alavés",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Getafe",
              "stats": {
                "minutes": 89,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0741,
                "expected_assists": 0.0159,
                "total_shots": 3,
                "shots_off_target": 3,
                "total_pass": 42,
                "accurate_pass": 39,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 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"
            }
          ],
          "ranking": {
            "global_player_rank": 2382,
            "combined_rank_score": 863.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 481.0,
            "sofascore_rating": 6.8722,
            "sofascore_appearances": 36.0,
            "fifa_rank": 1245.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 2,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9107,
            "source_file": "data/player_rankings.csv",
            "player_name": "Antonio Blanco",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Douglas Luiz",
                  "ranking": 2377
                },
                {
                  "player_name": "Bayron Oyarzo",
                  "ranking": 2378
                },
                {
                  "player_name": "Ignacio Mesías",
                  "ranking": 2379
                },
                {
                  "player_name": "Virgiliu Postolachi",
                  "ranking": 2380
                },
                {
                  "player_name": "Jung Se-jun",
                  "ranking": 2381
                }
              ],
              "lower": [
                {
                  "player_name": "Gorka Guruzeta",
                  "ranking": 2383
                },
                {
                  "player_name": "Alfon González",
                  "ranking": 2384
                },
                {
                  "player_name": "Rashid Abubakar",
                  "ranking": 2385
                },
                {
                  "player_name": "Fredrik André Bjørkan",
                  "ranking": 2386
                },
                {
                  "player_name": "Carlos Escobar",
                  "ranking": 2387
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.78,
          "history_matches": 46,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 46,
            "data_confidence": 0.78,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0004,
            "fbref_prior_metrics": {
              "squad": "Alavés",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 269.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 1.34,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.2
            },
            "rationale": "XGBoost regressor (M_service) evaluated 46 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Alavés, rel: 0.20, 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.7887,
                "expected_assists": 0.065,
                "assists": 0.0702,
                "assist_rate": 0.0702,
                "expected_goals": 0.0424,
                "goals": 0.0506,
                "goal_rate": 0.0506,
                "shots_on_target": 0.2045,
                "total_shots": 0.6984,
                "rating": 6.9107,
                "minutes": 82.13,
                "total_pass": 44.5607,
                "accurate_pass": 39.0052,
                "duels_won": 3.7751,
                "total_long_balls": 5.051,
                "accurate_long_balls": 3.715,
                "total_own_half_passes": 21.7451,
                "accurate_own_half_passes": 20.1963,
                "total_opp_half_passes": 22.8156,
                "accurate_opp_half_passes": 18.8088,
                "crosses_total": 0.9671,
                "crosses_accurate": 0.3872,
                "touches": 57.3403,
                "possession_lost": 8.357,
                "dispossessed": 0.9043,
                "duels_lost": 4.1721,
                "aerial_won": 0.4806,
                "aerial_lost": 0.4192,
                "interceptions": 1.1604,
                "tackles_won": 0.8836,
                "tackles": 2.0544,
                "clearances": 0.8545,
                "total_contest": 0.8639,
                "won_contest": 0.5514,
                "challenges_lost": 1.0471,
                "fouls": 1.4894,
                "fouls_drawn": 0.6926,
                "blocks": 0.1348,
                "big_chances_created": 0.2813,
                "big_chances_missed": 0.0,
                "xgot": 0.0123,
                "ball_carries": 14.5672,
                "total_progression": 21.383,
                "progressive_carries": 0.2173,
                "shots_off_target": 0.4939
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-31T10:30:21.314387+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 902,
                    "rows": 24945
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-23",
                    "opponent": "Málaga CF",
                    "minutes": 75.0,
                    "is_starting": true,
                    "weight": 0.1501,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-10-18",
                    "opponent": "Celta Vigo",
                    "minutes": 88.0,
                    "is_starting": true,
                    "weight": 0.1276,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-10-10",
                    "opponent": "Atlético Madrid",
                    "minutes": 64.0,
                    "is_starting": true,
                    "weight": 0.1084,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Athletic Club",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.0922,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Valencia",
                    "minutes": 85.0,
                    "is_starting": true,
                    "weight": 0.0783,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Real Racing Club",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.0666,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0566,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0481,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-20",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Getafe",
                    "minutes": 89.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.5
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.6991,
                  "expectedGoals": 0.0248,
                  "creative_index": 0.3015,
                  "expectedAssists": 0.0844,
                  "keyPass": 0.6271
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.788662314414978,
                    "model_output": 0.7887,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1583
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1351
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0716
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0542
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.028
                      }
                    ],
                    "decomposition": {
                      "base": 0.8899,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1337
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0733
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0625
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": -0.047
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0445
                        }
                      ],
                      "others": -0.0966,
                      "total": 0.7887,
                      "log_link": true,
                      "margin_base": -0.11669,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.139995
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.074275
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.067992
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": -0.05444
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.051535
                        }
                      ],
                      "others_margin": -0.11555
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.06503082066774368,
                    "model_output": 0.065,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1213
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1076
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0864
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0618
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0476
                      }
                    ],
                    "decomposition": {
                      "base": 0.085,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0141
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0113
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0083
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0054
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0041
                        }
                      ],
                      "others": -0.0158,
                      "total": 0.065,
                      "log_link": true,
                      "margin_base": -2.465163,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.153025
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.121637
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.098843
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.065241
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.049451
                        }
                      ],
                      "others_margin": -0.216065
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.07016576826572418,
                    "model_output": 0.0702,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0508
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0447
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0336
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0324
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0322
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0084
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0079
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": -0.0054
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": -0.0034
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0025
                        }
                      ],
                      "others": -0.0091,
                      "total": 0.0702,
                      "log_link": true,
                      "margin_base": -2.463734,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.093627
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.088534
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": -0.064595
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": -0.043524
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.03232
                        }
                      ],
                      "others_margin": -0.122454
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.04240576550364494,
                    "model_output": 0.0424,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1242
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0778
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0743
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0437
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0241
                      }
                    ],
                    "decomposition": {
                      "base": 0.0911,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0297
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0078
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0075
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0049
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0037
                        }
                      ],
                      "others": -0.0107,
                      "total": 0.0424,
                      "log_link": true,
                      "margin_base": -2.395469,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.393801
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.119131
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.11467
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.083359
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.067477
                        }
                      ],
                      "others_margin": -0.224826
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.050567954778671265,
                    "model_output": 0.0506,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0846
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0655
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0399
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0358
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0268
                      }
                    ],
                    "decomposition": {
                      "base": 0.0947,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0171
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0113
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0087
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.006
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0042
                        }
                      ],
                      "others": -0.0088,
                      "total": 0.0506,
                      "log_link": true,
                      "margin_base": -2.357331,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.199784
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.157818
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.140278
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.099926
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.067781
                        }
                      ],
                      "others_margin": -0.161372
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.20447178184986115,
                    "model_output": 0.2045,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1146
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0928
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0753
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0297
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.3177,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0489
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0361
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0303
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0287
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0056
                        }
                      ],
                      "others": -0.021,
                      "total": 0.2045,
                      "log_link": true,
                      "margin_base": -1.146731,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.167264
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.144176
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.13931
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.132514
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.024491
                        }
                      ],
                      "others_margin": -0.097867
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.6983655691146851,
                    "model_output": 0.6984,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1488
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1213
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0474
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0446
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0276
                      }
                    ],
                    "decomposition": {
                      "base": 0.9817,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1226
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1044
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0478
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0451
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0418
                        }
                      ],
                      "others": -0.1668,
                      "total": 0.6984,
                      "log_link": false,
                      "margin_base": 0.98173,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.122607
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.104429
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.047777
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.04514
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.041792
                        }
                      ],
                      "others_margin": -0.166833
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.910708427429199,
                    "model_output": 6.9107,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.102
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0743
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0503
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0382
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 6.856,
                      "items": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0629
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0355
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0187
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0157
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0122
                        }
                      ],
                      "others": -0.0215,
                      "total": 6.9107,
                      "log_link": false,
                      "margin_base": 6.856008,
                      "item_margins": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.062867
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.035471
                        },
                        {
                          "name": "rating",
                          "margin": -0.018721
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.015654
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.01219
                        }
                      ],
                      "others_margin": -0.021452
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 46,
                  "role_matches": 45,
                  "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.519)",
              "stats": {
                "key_pass": 0.789,
                "expected_assists": 0.0651,
                "assists": 0.0702,
                "assist_rate": 0.0702,
                "expected_goals": 0.0424,
                "goals": 0.0506,
                "goal_rate": 0.0506,
                "shots_on_target": 0.2046,
                "total_shots": 0.6987,
                "rating": 6.9107,
                "minutes": 82.13,
                "total_pass": 44.5785,
                "accurate_pass": 39.0208,
                "duels_won": 3.7766,
                "total_long_balls": 5.053,
                "accurate_long_balls": 3.7165,
                "total_own_half_passes": 21.7538,
                "accurate_own_half_passes": 20.2044,
                "total_opp_half_passes": 22.8247,
                "accurate_opp_half_passes": 18.8163,
                "crosses_total": 0.9675,
                "crosses_accurate": 0.3874,
                "touches": 57.3632,
                "possession_lost": 8.3603,
                "dispossessed": 0.9047,
                "duels_lost": 4.1738,
                "aerial_won": 0.4808,
                "aerial_lost": 0.4194,
                "interceptions": 1.1609,
                "tackles_won": 0.884,
                "tackles": 2.0552,
                "clearances": 0.8548,
                "total_contest": 0.8642,
                "won_contest": 0.5516,
                "challenges_lost": 1.0475,
                "fouls": 1.49,
                "fouls_drawn": 0.6929,
                "blocks": 0.1349,
                "big_chances_created": 0.2814,
                "big_chances_missed": 0.0,
                "xgot": 0.0123,
                "ball_carries": 14.573,
                "total_progression": 21.3916,
                "progressive_carries": 0.2174,
                "shots_off_target": 0.4941
              },
              "params": {
                "market_value_eur": 9700000,
                "quality_factor": 0.5189,
                "boost_factor": 1.0004,
                "reference_quality": 0.505,
                "history_matches": 46,
                "history_shrink": 0.098,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0127)",
              "stats": {
                "key_pass": 0.789,
                "expected_assists": 0.0651,
                "assists": 0.0693,
                "assist_rate": 0.0693,
                "expected_goals": 0.0424,
                "goals": 0.05,
                "goal_rate": 0.05,
                "shots_on_target": 0.202,
                "total_shots": 0.7054,
                "rating": 6.9107,
                "minutes": 82.13,
                "total_pass": 44.5785,
                "accurate_pass": 39.0208,
                "duels_won": 3.7766,
                "total_long_balls": 5.053,
                "accurate_long_balls": 3.7165,
                "total_own_half_passes": 21.7538,
                "accurate_own_half_passes": 20.2044,
                "total_opp_half_passes": 22.8247,
                "accurate_opp_half_passes": 18.8163,
                "crosses_total": 0.9746,
                "crosses_accurate": 0.3874,
                "touches": 57.3632,
                "possession_lost": 8.3603,
                "dispossessed": 0.9047,
                "duels_lost": 4.1738,
                "aerial_won": 0.4808,
                "aerial_lost": 0.4194,
                "interceptions": 1.1771,
                "tackles_won": 0.8882,
                "tackles": 2.0552,
                "clearances": 0.8548,
                "total_contest": 0.8642,
                "won_contest": 0.5516,
                "challenges_lost": 1.0475,
                "fouls": 1.5059,
                "fouls_drawn": 0.6918,
                "blocks": 0.1349,
                "big_chances_created": 0.2814,
                "big_chances_missed": 0.0,
                "xgot": 0.0123,
                "ball_carries": 14.573,
                "total_progression": 21.3916,
                "progressive_carries": 0.2174,
                "shots_off_target": 0.4941
              },
              "params": {
                "blend_weight": 0.0127,
                "history_matches": 46,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9126,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Alavés"
              },
              "changes": [
                {
                  "stat": "interceptionWon",
                  "before": 1.1609,
                  "after": 1.1771
                },
                {
                  "stat": "fouls",
                  "before": 1.49,
                  "after": 1.5059
                },
                {
                  "stat": "totalCross",
                  "before": 0.9675,
                  "after": 0.9746
                },
                {
                  "stat": "totalShots",
                  "before": 0.6987,
                  "after": 0.7054
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.789,
                "expected_assists": 0.0651,
                "assists": 0.0693,
                "assist_rate": 0.0693,
                "expected_goals": 0.0424,
                "goals": 0.05,
                "goal_rate": 0.05,
                "shots_on_target": 0.202,
                "total_shots": 0.7054,
                "rating": 6.9107,
                "minutes": 82.13,
                "total_pass": 44.5785,
                "accurate_pass": 39.0208,
                "duels_won": 3.7766,
                "total_long_balls": 5.053,
                "accurate_long_balls": 3.7165,
                "total_own_half_passes": 21.7538,
                "accurate_own_half_passes": 20.2044,
                "total_opp_half_passes": 22.8247,
                "accurate_opp_half_passes": 18.8163,
                "crosses_total": 0.9746,
                "crosses_accurate": 0.3874,
                "touches": 57.3632,
                "possession_lost": 8.3603,
                "dispossessed": 0.9047,
                "duels_lost": 4.1738,
                "aerial_won": 0.4808,
                "aerial_lost": 0.4194,
                "interceptions": 1.1771,
                "tackles_won": 0.8882,
                "tackles": 2.0552,
                "clearances": 0.8548,
                "total_contest": 0.8642,
                "won_contest": 0.5516,
                "challenges_lost": 1.0475,
                "fouls": 1.5059,
                "fouls_drawn": 0.6918,
                "blocks": 0.1349,
                "big_chances_created": 0.2814,
                "big_chances_missed": 0.0,
                "xgot": 0.0123,
                "ball_carries": 14.573,
                "total_progression": 21.3916,
                "progressive_carries": 0.2174,
                "shots_off_target": 0.4941
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "key_pass": 0.789,
                "expected_assists": 0.0651,
                "assists": 0.0693,
                "assist_rate": 0.0693,
                "expected_goals": 0.031,
                "goals": 0.0366,
                "goal_rate": 0.0366,
                "shots_on_target": 0.1477,
                "total_shots": 0.5159,
                "rating": 6.9107,
                "minutes": 82.13,
                "total_pass": 44.5785,
                "accurate_pass": 39.0208,
                "duels_won": 3.7766,
                "total_long_balls": 5.053,
                "accurate_long_balls": 3.7165,
                "total_own_half_passes": 21.7538,
                "accurate_own_half_passes": 20.2044,
                "total_opp_half_passes": 22.8247,
                "accurate_opp_half_passes": 18.8163,
                "crosses_total": 0.9746,
                "crosses_accurate": 0.3874,
                "touches": 57.3632,
                "possession_lost": 8.3603,
                "dispossessed": 0.9047,
                "duels_lost": 4.1738,
                "aerial_won": 0.9,
                "aerial_lost": 0.4194,
                "interceptions": 1.1771,
                "tackles_won": 0.8882,
                "tackles": 2.0552,
                "clearances": 0.8548,
                "total_contest": 0.8642,
                "won_contest": 0.5516,
                "challenges_lost": 1.0475,
                "fouls": 1.5059,
                "fouls_drawn": 0.6918,
                "blocks": 0.1349,
                "big_chances_created": 0.2814,
                "big_chances_missed": 0.0,
                "xgot": 0.009,
                "ball_carries": 14.573,
                "total_progression": 21.3916,
                "progressive_carries": 0.2174,
                "shots_off_target": 0.3613,
                "duel_xg_multiplier": 0.7313,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "CM vs CDM + CM",
                "numerical_situation": "1v2",
                "opponent_defenders": "Rodri, Pedri",
                "opponent_faced": "Rodri, Pedri",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Rodri, Pedri",
                  "matchup_zone": "CM vs CDM + CM",
                  "duel_win_rate": 0.18,
                  "pressing_faced": "ULTRA_HIGH",
                  "numerical_situation": "1v2",
                  "xg_multiplier": 0.7313,
                  "skill_edge": -0.1568,
                  "height_edge": -0.026,
                  "attacker_skill": 0.5316,
                  "defender_skill": 0.8799,
                  "attacker_role": "CM",
                  "attacker_mv_price_index": 0.9,
                  "defender_adjusted_parts": [
                    {
                      "player": "Rodri",
                      "market_value": 54000000,
                      "role": "CDM",
                      "price_index": 0.85,
                      "adjusted_quality": 0.8599
                    },
                    {
                      "player": "Pedri",
                      "market_value": 164000000,
                      "role": "CM",
                      "price_index": 0.9,
                      "adjusted_quality": 0.8999
                    }
                  ],
                  "xg_override": 0.031
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.4808,
                  "after": 0.9
                },
                {
                  "stat": "totalShots",
                  "before": 0.7054,
                  "after": 0.5159
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.4941,
                  "after": 0.3613
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.202,
                  "after": 0.1477
                },
                {
                  "stat": "goals",
                  "before": 0.05,
                  "after": 0.0366
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.0424,
                  "after": 0.031
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 0.789,
                "expected_assists": 0.0651,
                "assist_rate": 0.0693,
                "assists": 0,
                "expected_goals": 0.031,
                "goal_rate": 0.0366,
                "goals": 0,
                "shots_on_target": 0.1477,
                "total_shots": 0.5159,
                "rating": 6.9107,
                "minutes": 82.13,
                "total_pass": 44.5785,
                "accurate_pass": 39.0208,
                "duels_won": 3.7766,
                "total_long_balls": 5.053,
                "accurate_long_balls": 3.7165,
                "total_own_half_passes": 21.7538,
                "accurate_own_half_passes": 20.2044,
                "total_opp_half_passes": 22.8247,
                "accurate_opp_half_passes": 18.8163,
                "crosses_total": 0.9746,
                "crosses_accurate": 0.3874,
                "touches": 57.3632,
                "possession_lost": 8.3603,
                "dispossessed": 0.9047,
                "duels_lost": 4.1738,
                "aerial_won": 0.9,
                "aerial_lost": 0.4194,
                "interceptions": 1.1771,
                "tackles_won": 0.8882,
                "tackles": 2.0552,
                "clearances": 0.8548,
                "total_contest": 0.8642,
                "won_contest": 0.5516,
                "challenges_lost": 1.0475,
                "fouls": 1.5059,
                "fouls_drawn": 0.6918,
                "blocks": 0.1349,
                "big_chances_created": 0.2814,
                "big_chances_missed": 0.0,
                "xgot": 0.009,
                "ball_carries": 14.573,
                "total_progression": 21.3916,
                "progressive_carries": 0.2174,
                "shots_off_target": 0.3613,
                "duel_xg_multiplier": 0.7313,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "CM vs CDM + CM",
                "numerical_situation": "1v2",
                "opponent_defenders": "Rodri, Pedri",
                "opponent_faced": "Rodri, Pedri",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.29 (squad xG sum 1.0060, xG scale 1.2803, xA scale 1.2803, team xA 0.96 = 0.74 x lambda)",
              "stats": {
                "key_pass": 0.789,
                "expected_assists": 0.0834,
                "assist_rate": 0.0693,
                "assists": 0,
                "expected_goals": 0.0397,
                "goal_rate": 0.0366,
                "goals": 0,
                "shots_on_target": 0.1477,
                "total_shots": 0.5159,
                "rating": 6.9107,
                "minutes": 82.13,
                "total_pass": 44.5785,
                "accurate_pass": 39.0208,
                "duels_won": 3.7766,
                "total_long_balls": 5.053,
                "accurate_long_balls": 3.7165,
                "total_own_half_passes": 21.7538,
                "accurate_own_half_passes": 20.2044,
                "total_opp_half_passes": 22.8247,
                "accurate_opp_half_passes": 18.8163,
                "crosses_total": 0.9746,
                "crosses_accurate": 0.3874,
                "touches": 57.3632,
                "possession_lost": 8.3603,
                "dispossessed": 0.9047,
                "duels_lost": 4.1738,
                "aerial_won": 0.9,
                "aerial_lost": 0.4194,
                "interceptions": 1.1771,
                "tackles_won": 0.8882,
                "tackles": 2.0552,
                "clearances": 0.8548,
                "total_contest": 0.8642,
                "won_contest": 0.5516,
                "challenges_lost": 1.0475,
                "fouls": 1.5059,
                "fouls_drawn": 0.6918,
                "blocks": 0.1349,
                "big_chances_created": 0.2814,
                "big_chances_missed": 0.0,
                "xgot": 0.0115,
                "ball_carries": 14.573,
                "total_progression": 21.3916,
                "progressive_carries": 0.2174,
                "shots_off_target": 0.3613,
                "duel_xg_multiplier": 0.7313,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "CM vs CDM + CM",
                "numerical_situation": "1v2",
                "opponent_defenders": "Rodri, Pedri",
                "opponent_faced": "Rodri, Pedri",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0691,
                "creation_factor": 1.0365
              },
              "params": {
                "team_lambda": 1.288,
                "squad_xg_sum": 1.006,
                "squad_xa_sum": 0.7484,
                "team_expected_assists": 0.9582,
                "team_xa_to_xg_ratio": 0.7439,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2803,
                "xa_scale": 1.2803,
                "opponent_lambda": 3.863,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.031,
                  "after": 0.0397
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0651,
                  "after": 0.0834
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 2 by projected rating, fifa_overall 78.0)",
              "stats": {
                "key_pass": 0.789,
                "expected_assists": 0.0834,
                "assist_rate": 0.0693,
                "assists": 0,
                "expected_goals": 0.0397,
                "goal_rate": 0.0366,
                "goals": 0,
                "shots_on_target": 0.1477,
                "total_shots": 0.5159,
                "rating": 6.9107,
                "minutes": 82.13,
                "total_pass": 44.5785,
                "accurate_pass": 39.0208,
                "duels_won": 3.7766,
                "total_long_balls": 5.053,
                "accurate_long_balls": 3.7165,
                "total_own_half_passes": 21.7538,
                "accurate_own_half_passes": 20.2044,
                "total_opp_half_passes": 22.8247,
                "accurate_opp_half_passes": 18.8163,
                "crosses_total": 0.9746,
                "crosses_accurate": 0.3874,
                "touches": 57.3632,
                "possession_lost": 8.3603,
                "dispossessed": 0.9047,
                "duels_lost": 4.1738,
                "aerial_won": 0.9,
                "aerial_lost": 0.4194,
                "interceptions": 1.1771,
                "tackles_won": 0.8882,
                "tackles": 2.0552,
                "clearances": 0.8548,
                "total_contest": 0.8642,
                "won_contest": 0.5516,
                "challenges_lost": 1.0475,
                "fouls": 1.5059,
                "fouls_drawn": 0.6918,
                "blocks": 0.1349,
                "big_chances_created": 0.2814,
                "big_chances_missed": 0.0,
                "xgot": 0.0115,
                "ball_carries": 14.573,
                "total_progression": 21.3916,
                "progressive_carries": 0.2174,
                "shots_off_target": 0.3613,
                "duel_xg_multiplier": 0.7313,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "CM vs CDM + CM",
                "numerical_situation": "1v2",
                "opponent_defenders": "Rodri, Pedri",
                "opponent_faced": "Rodri, Pedri",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0691,
                "creation_factor": 1.0365,
                "fifa_overall": 78.0
              },
              "params": {
                "match_squad_rank": 2,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 2382,
                "fifa_rank": 1245.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.789,
                "expected_assists": 0.0834,
                "assist_rate": 0.0693,
                "assists": 0,
                "expected_goals": 0.0397,
                "goal_rate": 0.0366,
                "goals": 0,
                "shots_on_target": 0.1477,
                "total_shots": 0.5159,
                "rating": 6.9107,
                "minutes": 82.13,
                "total_pass": 44.5785,
                "accurate_pass": 39.0208,
                "duels_won": 3.7766,
                "total_long_balls": 5.053,
                "accurate_long_balls": 3.7165,
                "total_own_half_passes": 21.7538,
                "accurate_own_half_passes": 20.2044,
                "total_opp_half_passes": 22.8247,
                "accurate_opp_half_passes": 18.8163,
                "crosses_total": 0.9746,
                "crosses_accurate": 0.3874,
                "touches": 57.3632,
                "possession_lost": 8.3603,
                "dispossessed": 0.9047,
                "duels_lost": 4.1738,
                "aerial_won": 0.9,
                "aerial_lost": 0.4194,
                "interceptions": 1.1771,
                "tackles_won": 0.8882,
                "tackles": 2.0552,
                "clearances": 0.8548,
                "total_contest": 0.8642,
                "won_contest": 0.5516,
                "challenges_lost": 1.0475,
                "fouls": 1.5059,
                "fouls_drawn": 0.6918,
                "blocks": 0.1349,
                "big_chances_created": 0.2814,
                "big_chances_missed": 0.0,
                "xgot": 0.0115,
                "ball_carries": 14.573,
                "total_progression": 21.3916,
                "progressive_carries": 0.2174,
                "shots_off_target": 0.3613,
                "duel_xg_multiplier": 0.7313,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "CM vs CDM + CM",
                "numerical_situation": "1v2",
                "opponent_defenders": "Rodri, Pedri",
                "opponent_faced": "Rodri, Pedri",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0389,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0691,
                "creation_factor": 1.0365,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0389,
                "goal_rate": 0.0366,
                "scorer_weight": 0.0424,
                "squad_weight_total": 1.3792,
                "weight_share": 0.0308,
                "finishing_factor": 1.0691,
                "appearance_weight": 1.0,
                "weight_rank": 11,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Toni Martínez",
                    "weight": 0.3036,
                    "already": 0,
                    "effective_weight": 0.3036,
                    "runner_up": "Lucas Boyé",
                    "runner_up_effective_weight": 0.2934
                  }
                ]
              }
            },
            {
              "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.789,
                "expected_assists": 0.0834,
                "assist_rate": 0.0693,
                "assists": 0,
                "expected_goals": 0.0397,
                "goal_rate": 0.0366,
                "goals": 0,
                "shots_on_target": 0.1477,
                "total_shots": 0.5159,
                "rating": 6.9107,
                "minutes": 82.13,
                "total_pass": 44.5785,
                "accurate_pass": 39.0208,
                "duels_won": 3.7766,
                "total_long_balls": 5.053,
                "accurate_long_balls": 3.7165,
                "total_own_half_passes": 21.7538,
                "accurate_own_half_passes": 20.2044,
                "total_opp_half_passes": 22.8247,
                "accurate_opp_half_passes": 18.8163,
                "crosses_total": 0.9746,
                "crosses_accurate": 0.3874,
                "touches": 57.3632,
                "possession_lost": 8.3603,
                "dispossessed": 0.9047,
                "duels_lost": 4.1738,
                "aerial_won": 0.9,
                "aerial_lost": 0.4194,
                "interceptions": 1.1771,
                "tackles_won": 0.8882,
                "tackles": 2.0552,
                "clearances": 0.8548,
                "total_contest": 0.8642,
                "won_contest": 0.5516,
                "challenges_lost": 1.0475,
                "fouls": 1.5059,
                "fouls_drawn": 0.6918,
                "blocks": 0.1349,
                "big_chances_created": 0.2814,
                "big_chances_missed": 0.0,
                "xgot": 0.0115,
                "ball_carries": 14.573,
                "total_progression": 21.3916,
                "progressive_carries": 0.2174,
                "shots_off_target": 0.3613,
                "duel_xg_multiplier": 0.7313,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "CM vs CDM + CM",
                "numerical_situation": "1v2",
                "opponent_defenders": "Rodri, Pedri",
                "opponent_faced": "Rodri, Pedri",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0389,
                "projected_assists": 0,
                "assist_probability": 0.08,
                "finishing_factor": 1.0691,
                "creation_factor": 1.0365,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.08,
                "assist_rate": 0.0693,
                "provider_weight": 0.0864,
                "squad_weight_total": 0.8425,
                "weight_share": 0.1026,
                "creation_factor": 1.0365,
                "appearance_weight": 1.0,
                "weight_rank": 4,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ángel Pérez",
                    "weight": 0.1853,
                    "already": 0,
                    "effective_weight": 0.1853,
                    "runner_up": "Hugo Novoa",
                    "runner_up_effective_weight": 0.1136,
                    "blocked_own_goal": [
                      "Toni Martínez"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Abderrahman Rebbach": {
          "player_id": 1082968,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 21,
          "height": 176,
          "market_value": 2400000,
          "stats": {
            "expected_goals": 0.058,
            "goal_rate": 0.0444,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.1001,
            "key_pass": 1,
            "rating": 6.7585,
            "minutes": 77,
            "total_pass": 22,
            "accurate_pass": 17,
            "duels_won": 4,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_opp_half_passes": 12,
            "accurate_opp_half_passes": 8,
            "crosses_total": 4,
            "crosses_accurate": 0,
            "touches": 46,
            "possession_lost": 13.4372,
            "dispossessed": 0.4046,
            "duels_lost": 5,
            "aerial_lost": 1,
            "total_contest": 2,
            "won_contest": 1,
            "ball_recovery": 4,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "assist_rate": 0.0545,
            "assists": 0,
            "interceptions": 1,
            "tackles_won": 1,
            "tackles": 2,
            "clearances": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0282,
            "offsides": 0,
            "ball_carries": 14,
            "total_progression": 75,
            "progressive_carries": 3,
            "shots_off_target": 0,
            "duel_xg_multiplier": 0.6261,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.3,
            "aerial_won": 1,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.18,
            "pressing_faced": "ULTRA_HIGH",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Pau Cubarsí, Joan García",
            "opponent_faced": "Pau Cubarsí, Joan García",
            "antagonist_source": "attacking_duel",
            "projected_goals": 0,
            "goal_probability": 0.0564,
            "projected_assists": 0,
            "assist_probability": 0.0953,
            "finishing_factor": 0.9906,
            "creation_factor": 0.8151,
            "fifa_overall": 78.0
          },
          "latest_10_games": [
            {
              "match_id": 16421077,
              "match_date": "2026-10-23",
              "home_team": "Deportivo Alavés",
              "away_team": "Málaga CF",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 55,
                "rating": 6.2,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0011,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "total_pass": 14,
                "accurate_pass": 9,
                "tackles": 3,
                "tackles_won": 1,
                "interceptions": 0,
                "clearances": 0,
                "aerial_won": 0,
                "duels_won": 3,
                "ball_recovery": 7,
                "saves": 0
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421069,
              "match_date": "2026-10-18",
              "home_team": "Celta Vigo",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 88,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0447,
                "expected_assists": 0.1004,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 33,
                "accurate_pass": 24,
                "key_pass": 1,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421056,
              "match_date": "2026-10-10",
              "home_team": "Deportivo Alavés",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0164,
                "expected_assists": 0.0036,
                "total_shots": 1,
                "total_pass": 18,
                "accurate_pass": 16,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 1,
                "duels_won": 2,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416337,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 65,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.009,
                "total_shots": 0,
                "total_pass": 25,
                "accurate_pass": 19,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 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": 16416334,
              "match_date": "2026-09-15",
              "home_team": "Deportivo Alavés",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Valencia",
              "stats": {
                "minutes": 85,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0607,
                "expected_assists": 0.0566,
                "total_shots": 1,
                "total_pass": 27,
                "accurate_pass": 22,
                "interceptions": 1,
                "clearances": 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": 16416328,
              "match_date": "2026-09-12",
              "home_team": "Real Racing Club",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 90,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0643,
                "expected_assists": 0.0109,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 23,
                "accurate_pass": 22,
                "tackles": 5,
                "tackles_won": 3,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 10,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416318,
              "match_date": "2026-09-06",
              "home_team": "Deportivo Alavés",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 71,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0098,
                "total_shots": 0,
                "total_pass": 18,
                "accurate_pass": 15,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 4,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416290,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 71,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0062,
                "total_shots": 0,
                "total_pass": 24,
                "accurate_pass": 17,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416292,
              "match_date": "2026-08-20",
              "home_team": "Rayo Vallecano",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0189,
                "expected_assists": 0.0275,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 32,
                "accurate_pass": 27,
                "interceptions": 1,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421047,
              "match_date": "2026-08-15",
              "home_team": "Deportivo Alavés",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Getafe",
              "stats": {
                "minutes": 89,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.017,
                "expected_assists": 0.0004,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 16,
                "accurate_pass": 8,
                "tackles": 5,
                "tackles_won": 1,
                "interceptions": 2,
                "aerial_won": 2,
                "duels_won": 8,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 1659,
            "combined_rank_score": 944.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 673.0,
            "sofascore_rating": 6.7241,
            "sofascore_appearances": 30.0,
            "fifa_rank": 1216.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.7585,
            "source_file": "data/player_rankings.csv",
            "player_name": "Abderrahman Rebbach",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Khumoyun Sherbutaev",
                  "ranking": 1654
                },
                {
                  "player_name": "Kuvonchbek Khushvaktov",
                  "ranking": 1655
                },
                {
                  "player_name": "Florian Grillitsch",
                  "ranking": 1656
                },
                {
                  "player_name": "Zakaria Labyad",
                  "ranking": 1657
                },
                {
                  "player_name": "Rodrigo Odriozola",
                  "ranking": 1658
                }
              ],
              "lower": [
                {
                  "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
                },
                {
                  "player_name": "Carlos Soler",
                  "ranking": 1664
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 40,
          "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": 40,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9977,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (F_service) evaluated 40 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.0725,
                "goals": 0.0711,
                "goal_rate": 0.0711,
                "shots_on_target": 0.3273,
                "total_shots": 0.9697,
                "expected_assists": 0.0784,
                "key_pass": 0.731,
                "rating": 6.7585,
                "minutes": 77.49,
                "total_pass": 22.5084,
                "accurate_pass": 17.5094,
                "duels_won": 4.5054,
                "total_long_balls": 2.3356,
                "accurate_long_balls": 1.2244,
                "total_opp_half_passes": 11.7698,
                "accurate_opp_half_passes": 8.2819,
                "crosses_total": 3.6828,
                "crosses_accurate": 0.4612,
                "touches": 45.7854,
                "possession_lost": 13.4682,
                "dispossessed": 0.4055,
                "duels_lost": 4.7419,
                "aerial_lost": 0.8131,
                "total_contest": 2.2676,
                "won_contest": 0.8534,
                "ball_recovery": 4.0781,
                "challenges_lost": 0.9473,
                "fouls": 1.2668,
                "fouls_drawn": 1.1637,
                "assists": 0.0546,
                "assist_rate": 0.0546,
                "interceptions": 0.9163,
                "tackles_won": 1.03,
                "tackles": 1.912,
                "clearances": 0.996,
                "blocks": 0.0937,
                "big_chances_created": 0.0866,
                "big_chances_missed": 0.0036,
                "xgot": 0.0353,
                "offsides": 0.0566,
                "ball_carries": 13.5632,
                "total_progression": 75.1199,
                "progressive_carries": 2.5529,
                "shots_off_target": 0.6424
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-31T10:30:56.271646+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 610,
                    "rows": 17075
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-23",
                    "opponent": "Málaga CF",
                    "minutes": 55.0,
                    "is_starting": true,
                    "weight": 0.1502,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-10-18",
                    "opponent": "Celta Vigo",
                    "minutes": 88.0,
                    "is_starting": true,
                    "weight": 0.1277,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-10-10",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1085,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Athletic Club",
                    "minutes": 65.0,
                    "is_starting": true,
                    "weight": 0.0923,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Valencia",
                    "minutes": 85.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Real Racing Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Osasuna",
                    "minutes": 71.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Villarreal",
                    "minutes": 71.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-20",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Getafe",
                    "minutes": 89.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 7.0
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "accurateOppositionHalfPasses": 8.011,
                  "expectedGoals": 0.0296,
                  "totalOppositionHalfPasses": 11.3785,
                  "accuratePass": 17.052,
                  "totalShots": 0.6925
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.07248634845018387,
                    "model_output": 0.0725,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.282
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0898
                      },
                      {
                        "name": "goals",
                        "importance": 0.0323
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0316
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0236
                      }
                    ],
                    "decomposition": {
                      "base": 0.1945,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0532
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0491
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0317
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.0172
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0125
                        }
                      ],
                      "others": -0.0647,
                      "total": 0.0725,
                      "log_link": true,
                      "margin_base": -1.637486,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.24172
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.221182
                        },
                        {
                          "name": "goals",
                          "margin": -0.174001
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": -0.108606
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.087518
                        }
                      ],
                      "others_margin": -0.637284
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.0710616484284401,
                    "model_output": 0.0711,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.144
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0742
                      },
                      {
                        "name": "goals",
                        "importance": 0.053
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0321
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0311
                      }
                    ],
                    "decomposition": {
                      "base": 0.199,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0547
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0478
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0363
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.0273
                        },
                        {
                          "name": "goals",
                          "contribution": -0.019
                        }
                      ],
                      "others": -0.0522,
                      "total": 0.0711,
                      "log_link": true,
                      "margin_base": -1.614663,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.242953
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.208981
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.193771
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": -0.175598
                        },
                        {
                          "name": "goals",
                          "margin": -0.143402
                        }
                      ],
                      "others_margin": -0.550745
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.3272813856601715,
                    "model_output": 0.3273,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2115
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.066
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0499
                      },
                      {
                        "name": "goals",
                        "importance": 0.0473
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0333
                      }
                    ],
                    "decomposition": {
                      "base": 0.5305,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1446
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0732
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0565
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.0457
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.041
                        }
                      ],
                      "others": -0.1314,
                      "total": 0.3273,
                      "log_link": true,
                      "margin_base": -0.633985,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.240985
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.114752
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.098609
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": -0.087618
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.085552
                        }
                      ],
                      "others_margin": -0.337404
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.9696553349494934,
                    "model_output": 0.9697,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2934
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0662
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.05
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0272
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.027
                      }
                    ],
                    "decomposition": {
                      "base": 1.3805,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.3462
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.2105
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0721
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0698
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0611
                        }
                      ],
                      "others": -0.3435,
                      "total": 0.9697,
                      "log_link": false,
                      "margin_base": 1.38048,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.346229
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.210489
                        },
                        {
                          "name": "goals",
                          "margin": -0.072067
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.069826
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.061142
                        }
                      ],
                      "others_margin": -0.34353
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.07839459925889969,
                    "model_output": 0.0784,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1135
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0826
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0722
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0587
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0552
                      }
                    ],
                    "decomposition": {
                      "base": 0.0647,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0126
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0059
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0058
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0049
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0038
                        }
                      ],
                      "others": 0.0097,
                      "total": 0.0784,
                      "log_link": true,
                      "margin_base": -2.738275,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.178462
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.073776
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.072769
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.066063
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.053704
                        }
                      ],
                      "others_margin": 0.132572
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.7310228943824768,
                    "model_output": 0.731,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1545
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.1071
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0923
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0893
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0298
                      }
                    ],
                    "decomposition": {
                      "base": 0.6939,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1756
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0585
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0529
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0482
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0313
                        }
                      ],
                      "others": -0.044,
                      "total": 0.731,
                      "log_link": true,
                      "margin_base": -0.365451,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.225544
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.069641
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.067417
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.061701
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.03962
                        }
                      ],
                      "others_margin": -0.058425
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.7585015296936035,
                    "model_output": 6.7585,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0529
                      },
                      {
                        "name": "rating",
                        "importance": 0.0463
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.044
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0417
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0371
                      }
                    ],
                    "decomposition": {
                      "base": 6.7735,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.051
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0192
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0178
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.013
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0122
                        }
                      ],
                      "others": -0.0282,
                      "total": 6.7585,
                      "log_link": false,
                      "margin_base": 6.773504,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.051038
                        },
                        {
                          "name": "rating",
                          "margin": -0.019202
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.017753
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.013002
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.012235
                        }
                      ],
                      "others_margin": -0.028319
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 40,
                  "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.9977, quality 0.437)",
              "stats": {
                "expected_goals": 0.0723,
                "goals": 0.0709,
                "goal_rate": 0.0709,
                "shots_on_target": 0.3265,
                "total_shots": 0.9675,
                "expected_assists": 0.0782,
                "key_pass": 0.7293,
                "rating": 6.7585,
                "minutes": 77.49,
                "total_pass": 22.4566,
                "accurate_pass": 17.4691,
                "duels_won": 4.495,
                "total_long_balls": 2.3302,
                "accurate_long_balls": 1.2216,
                "total_opp_half_passes": 11.7427,
                "accurate_opp_half_passes": 8.2629,
                "crosses_total": 3.6743,
                "crosses_accurate": 0.4601,
                "touches": 45.6801,
                "possession_lost": 13.4372,
                "dispossessed": 0.4046,
                "duels_lost": 4.731,
                "aerial_lost": 0.8112,
                "total_contest": 2.2624,
                "won_contest": 0.8514,
                "ball_recovery": 4.0687,
                "challenges_lost": 0.9451,
                "fouls": 1.2639,
                "fouls_drawn": 1.161,
                "assists": 0.0545,
                "assist_rate": 0.0545,
                "interceptions": 0.9142,
                "tackles_won": 1.0276,
                "tackles": 1.9076,
                "clearances": 0.9937,
                "blocks": 0.0935,
                "big_chances_created": 0.0864,
                "big_chances_missed": 0.0036,
                "xgot": 0.0352,
                "offsides": 0.0565,
                "ball_carries": 13.532,
                "total_progression": 74.9471,
                "progressive_carries": 2.547,
                "shots_off_target": 0.6409
              },
              "params": {
                "market_value_eur": 2400000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9977,
                "reference_quality": 0.505,
                "history_matches": 40,
                "history_shrink": 0.1111,
                "market_value_known": true
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0723,
                "goals": 0.0709,
                "goal_rate": 0.0709,
                "shots_on_target": 0.3265,
                "total_shots": 0.9675,
                "expected_assists": 0.0782,
                "key_pass": 0.7293,
                "rating": 6.7585,
                "minutes": 77.49,
                "total_pass": 22.4566,
                "accurate_pass": 17.4691,
                "duels_won": 4.495,
                "total_long_balls": 2.3302,
                "accurate_long_balls": 1.2216,
                "total_opp_half_passes": 11.7427,
                "accurate_opp_half_passes": 8.2629,
                "crosses_total": 3.6743,
                "crosses_accurate": 0.4601,
                "touches": 45.6801,
                "possession_lost": 13.4372,
                "dispossessed": 0.4046,
                "duels_lost": 4.731,
                "aerial_lost": 0.8112,
                "total_contest": 2.2624,
                "won_contest": 0.8514,
                "ball_recovery": 4.0687,
                "challenges_lost": 0.9451,
                "fouls": 1.2639,
                "fouls_drawn": 1.161,
                "assists": 0.0545,
                "assist_rate": 0.0545,
                "interceptions": 0.9142,
                "tackles_won": 1.0276,
                "tackles": 1.9076,
                "clearances": 0.9937,
                "blocks": 0.0935,
                "big_chances_created": 0.0864,
                "big_chances_missed": 0.0036,
                "xgot": 0.0352,
                "offsides": 0.0565,
                "ball_carries": 13.532,
                "total_progression": 74.9471,
                "progressive_carries": 2.547,
                "shots_off_target": 0.6409
              },
              "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.0453,
                "goals": 0.0444,
                "goal_rate": 0.0444,
                "shots_on_target": 0.2044,
                "total_shots": 0.6058,
                "expected_assists": 0.0782,
                "key_pass": 0.7293,
                "rating": 6.7585,
                "minutes": 77.49,
                "total_pass": 22.4566,
                "accurate_pass": 17.4691,
                "duels_won": 4.495,
                "total_long_balls": 2.3302,
                "accurate_long_balls": 1.2216,
                "total_opp_half_passes": 11.7427,
                "accurate_opp_half_passes": 8.2629,
                "crosses_total": 3.6743,
                "crosses_accurate": 0.4601,
                "touches": 45.6801,
                "possession_lost": 13.4372,
                "dispossessed": 0.4046,
                "duels_lost": 4.731,
                "aerial_lost": 0.8112,
                "total_contest": 2.2624,
                "won_contest": 0.8514,
                "ball_recovery": 4.0687,
                "challenges_lost": 0.9451,
                "fouls": 1.2639,
                "fouls_drawn": 1.161,
                "assists": 0.0545,
                "assist_rate": 0.0545,
                "interceptions": 0.9142,
                "tackles_won": 1.0276,
                "tackles": 1.9076,
                "clearances": 0.9937,
                "blocks": 0.0935,
                "big_chances_created": 0.0864,
                "big_chances_missed": 0.0023,
                "xgot": 0.022,
                "offsides": 0.0565,
                "ball_carries": 13.532,
                "total_progression": 74.9471,
                "progressive_carries": 2.547,
                "shots_off_target": 0.4013,
                "duel_xg_multiplier": 0.6261,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Pau Cubarsí, Joan García",
                "opponent_faced": "Pau Cubarsí, Joan García",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Pau Cubarsí, Joan García",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.18,
                  "pressing_faced": "ULTRA_HIGH",
                  "numerical_situation": "1v2",
                  "xg_multiplier": 0.6261,
                  "skill_edge": -0.2043,
                  "height_edge": -0.05,
                  "attacker_skill": 0.4374,
                  "defender_skill": 0.8915,
                  "attacker_role": "ST",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Pau Cubarsí",
                      "market_value": 94000000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.8981
                    },
                    {
                      "player": "Joan García",
                      "market_value": 46000000,
                      "role": "GK",
                      "price_index": 0.55,
                      "adjusted_quality": 0.885
                    }
                  ],
                  "xg_override": 0.0453
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 0.9675,
                  "after": 0.6058
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.6409,
                  "after": 0.4013
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.3265,
                  "after": 0.2044
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.0723,
                  "after": 0.0453
                },
                {
                  "stat": "goals",
                  "before": 0.0709,
                  "after": 0.0444
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.0352,
                  "after": 0.022
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.0453,
                "goal_rate": 0.0444,
                "goals": 0,
                "shots_on_target": 0.2044,
                "total_shots": 0.6058,
                "expected_assists": 0.0782,
                "key_pass": 0.7293,
                "rating": 6.7585,
                "minutes": 77.49,
                "total_pass": 22.4566,
                "accurate_pass": 17.4691,
                "duels_won": 4.495,
                "total_long_balls": 2.3302,
                "accurate_long_balls": 1.2216,
                "total_opp_half_passes": 11.7427,
                "accurate_opp_half_passes": 8.2629,
                "crosses_total": 3.6743,
                "crosses_accurate": 0.4601,
                "touches": 45.6801,
                "possession_lost": 13.4372,
                "dispossessed": 0.4046,
                "duels_lost": 4.731,
                "aerial_lost": 0.8112,
                "total_contest": 2.2624,
                "won_contest": 0.8514,
                "ball_recovery": 4.0687,
                "challenges_lost": 0.9451,
                "fouls": 1.2639,
                "fouls_drawn": 1.161,
                "assist_rate": 0.0545,
                "assists": 0,
                "interceptions": 0.9142,
                "tackles_won": 1.0276,
                "tackles": 1.9076,
                "clearances": 0.9937,
                "blocks": 0.0935,
                "big_chances_created": 0.0864,
                "big_chances_missed": 0.0023,
                "xgot": 0.022,
                "offsides": 0.0565,
                "ball_carries": 13.532,
                "total_progression": 74.9471,
                "progressive_carries": 2.547,
                "shots_off_target": 0.4013,
                "duel_xg_multiplier": 0.6261,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Pau Cubarsí, Joan García",
                "opponent_faced": "Pau Cubarsí, Joan García",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.29 (squad xG sum 1.0060, xG scale 1.2803, xA scale 1.2803, team xA 0.96 = 0.74 x lambda)",
              "stats": {
                "expected_goals": 0.058,
                "goal_rate": 0.0444,
                "goals": 0,
                "shots_on_target": 0.2044,
                "total_shots": 0.6058,
                "expected_assists": 0.1001,
                "key_pass": 0.7293,
                "rating": 6.7585,
                "minutes": 77.49,
                "total_pass": 22.4566,
                "accurate_pass": 17.4691,
                "duels_won": 4.495,
                "total_long_balls": 2.3302,
                "accurate_long_balls": 1.2216,
                "total_opp_half_passes": 11.7427,
                "accurate_opp_half_passes": 8.2629,
                "crosses_total": 3.6743,
                "crosses_accurate": 0.4601,
                "touches": 45.6801,
                "possession_lost": 13.4372,
                "dispossessed": 0.4046,
                "duels_lost": 4.731,
                "aerial_lost": 0.8112,
                "total_contest": 2.2624,
                "won_contest": 0.8514,
                "ball_recovery": 4.0687,
                "challenges_lost": 0.9451,
                "fouls": 1.2639,
                "fouls_drawn": 1.161,
                "assist_rate": 0.0545,
                "assists": 0,
                "interceptions": 0.9142,
                "tackles_won": 1.0276,
                "tackles": 1.9076,
                "clearances": 0.9937,
                "blocks": 0.0935,
                "big_chances_created": 0.0864,
                "big_chances_missed": 0.0023,
                "xgot": 0.0282,
                "offsides": 0.0565,
                "ball_carries": 13.532,
                "total_progression": 74.9471,
                "progressive_carries": 2.547,
                "shots_off_target": 0.4013,
                "duel_xg_multiplier": 0.6261,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Pau Cubarsí, Joan García",
                "opponent_faced": "Pau Cubarsí, Joan García",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9906,
                "creation_factor": 0.8151
              },
              "params": {
                "team_lambda": 1.288,
                "squad_xg_sum": 1.006,
                "squad_xa_sum": 0.7484,
                "team_expected_assists": 0.9582,
                "team_xa_to_xg_ratio": 0.7439,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2803,
                "xa_scale": 1.2803,
                "opponent_lambda": 3.863,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0453,
                  "after": 0.058
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0782,
                  "after": 0.1001
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 12 by projected rating, fifa_overall 78.0)",
              "stats": {
                "expected_goals": 0.058,
                "goal_rate": 0.0444,
                "goals": 0,
                "shots_on_target": 0.2044,
                "total_shots": 0.6058,
                "expected_assists": 0.1001,
                "key_pass": 0.7293,
                "rating": 6.7585,
                "minutes": 77.49,
                "total_pass": 22.4566,
                "accurate_pass": 17.4691,
                "duels_won": 4.495,
                "total_long_balls": 2.3302,
                "accurate_long_balls": 1.2216,
                "total_opp_half_passes": 11.7427,
                "accurate_opp_half_passes": 8.2629,
                "crosses_total": 3.6743,
                "crosses_accurate": 0.4601,
                "touches": 45.6801,
                "possession_lost": 13.4372,
                "dispossessed": 0.4046,
                "duels_lost": 4.731,
                "aerial_lost": 0.8112,
                "total_contest": 2.2624,
                "won_contest": 0.8514,
                "ball_recovery": 4.0687,
                "challenges_lost": 0.9451,
                "fouls": 1.2639,
                "fouls_drawn": 1.161,
                "assist_rate": 0.0545,
                "assists": 0,
                "interceptions": 0.9142,
                "tackles_won": 1.0276,
                "tackles": 1.9076,
                "clearances": 0.9937,
                "blocks": 0.0935,
                "big_chances_created": 0.0864,
                "big_chances_missed": 0.0023,
                "xgot": 0.0282,
                "offsides": 0.0565,
                "ball_carries": 13.532,
                "total_progression": 74.9471,
                "progressive_carries": 2.547,
                "shots_off_target": 0.4013,
                "duel_xg_multiplier": 0.6261,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Pau Cubarsí, Joan García",
                "opponent_faced": "Pau Cubarsí, Joan García",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9906,
                "creation_factor": 0.8151,
                "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_filled",
                "ranking_status": "combined",
                "global_player_rank": 1659,
                "fifa_rank": 1216.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 78.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.058,
                "goal_rate": 0.0444,
                "goals": 0,
                "shots_on_target": 0.2044,
                "total_shots": 0.6058,
                "expected_assists": 0.1001,
                "key_pass": 0.7293,
                "rating": 6.7585,
                "minutes": 77.49,
                "total_pass": 22.4566,
                "accurate_pass": 17.4691,
                "duels_won": 4.495,
                "total_long_balls": 2.3302,
                "accurate_long_balls": 1.2216,
                "total_opp_half_passes": 11.7427,
                "accurate_opp_half_passes": 8.2629,
                "crosses_total": 3.6743,
                "crosses_accurate": 0.4601,
                "touches": 45.6801,
                "possession_lost": 13.4372,
                "dispossessed": 0.4046,
                "duels_lost": 4.731,
                "aerial_lost": 0.8112,
                "total_contest": 2.2624,
                "won_contest": 0.8514,
                "ball_recovery": 4.0687,
                "challenges_lost": 0.9451,
                "fouls": 1.2639,
                "fouls_drawn": 1.161,
                "assist_rate": 0.0545,
                "assists": 0,
                "interceptions": 0.9142,
                "tackles_won": 1.0276,
                "tackles": 1.9076,
                "clearances": 0.9937,
                "blocks": 0.0935,
                "big_chances_created": 0.0864,
                "big_chances_missed": 0.0023,
                "xgot": 0.0282,
                "offsides": 0.0565,
                "ball_carries": 13.532,
                "total_progression": 74.9471,
                "progressive_carries": 2.547,
                "shots_off_target": 0.4013,
                "duel_xg_multiplier": 0.6261,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Pau Cubarsí, Joan García",
                "opponent_faced": "Pau Cubarsí, Joan García",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0564,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9906,
                "creation_factor": 0.8151,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0564,
                "goal_rate": 0.0444,
                "scorer_weight": 0.0575,
                "squad_weight_total": 1.3792,
                "weight_share": 0.0417,
                "finishing_factor": 0.9906,
                "appearance_weight": 1.0,
                "weight_rank": 10,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Toni Martínez",
                    "weight": 0.3036,
                    "already": 0,
                    "effective_weight": 0.3036,
                    "runner_up": "Lucas Boyé",
                    "runner_up_effective_weight": 0.2934
                  }
                ]
              }
            },
            {
              "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.058,
                "goal_rate": 0.0444,
                "goals": 0,
                "shots_on_target": 0.2044,
                "total_shots": 0.6058,
                "expected_assists": 0.1001,
                "key_pass": 0.7293,
                "rating": 6.7585,
                "minutes": 77.49,
                "total_pass": 22.4566,
                "accurate_pass": 17.4691,
                "duels_won": 4.495,
                "total_long_balls": 2.3302,
                "accurate_long_balls": 1.2216,
                "total_opp_half_passes": 11.7427,
                "accurate_opp_half_passes": 8.2629,
                "crosses_total": 3.6743,
                "crosses_accurate": 0.4601,
                "touches": 45.6801,
                "possession_lost": 13.4372,
                "dispossessed": 0.4046,
                "duels_lost": 4.731,
                "aerial_lost": 0.8112,
                "total_contest": 2.2624,
                "won_contest": 0.8514,
                "ball_recovery": 4.0687,
                "challenges_lost": 0.9451,
                "fouls": 1.2639,
                "fouls_drawn": 1.161,
                "assist_rate": 0.0545,
                "assists": 0,
                "interceptions": 0.9142,
                "tackles_won": 1.0276,
                "tackles": 1.9076,
                "clearances": 0.9937,
                "blocks": 0.0935,
                "big_chances_created": 0.0864,
                "big_chances_missed": 0.0023,
                "xgot": 0.0282,
                "offsides": 0.0565,
                "ball_carries": 13.532,
                "total_progression": 74.9471,
                "progressive_carries": 2.547,
                "shots_off_target": 0.4013,
                "duel_xg_multiplier": 0.6261,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Pau Cubarsí, Joan García",
                "opponent_faced": "Pau Cubarsí, Joan García",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0564,
                "projected_assists": 0,
                "assist_probability": 0.0953,
                "finishing_factor": 0.9906,
                "creation_factor": 0.8151,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0953,
                "assist_rate": 0.0545,
                "provider_weight": 0.0816,
                "squad_weight_total": 0.8425,
                "weight_share": 0.0968,
                "creation_factor": 0.8151,
                "appearance_weight": 1.0,
                "weight_rank": 5,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ángel Pérez",
                    "weight": 0.1853,
                    "already": 0,
                    "effective_weight": 0.1853,
                    "runner_up": "Hugo Novoa",
                    "runner_up_effective_weight": 0.1136,
                    "blocked_own_goal": [
                      "Toni Martínez"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Lucas Boyé": {
          "player_id": 814385,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 15,
          "height": 183,
          "market_value": 5300000,
          "stats": {
            "expected_goals": 0.2672,
            "goal_rate": 0.2341,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 2,
            "expected_assists": 0.0895,
            "key_pass": 1,
            "rating": 6.8239,
            "minutes": 80,
            "total_pass": 16,
            "accurate_pass": 12,
            "duels_won": 6,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 13,
            "accurate_opp_half_passes": 9,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 36,
            "possession_lost": 13.1861,
            "dispossessed": 1.7551,
            "duels_lost": 10,
            "aerial_lost": 3,
            "total_contest": 3,
            "won_contest": 1,
            "ball_recovery": 3,
            "challenges_lost": 1,
            "fouls": 3,
            "fouls_drawn": 2,
            "assist_rate": 0.0059,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.3415,
            "offsides": 0,
            "ball_carries": 11,
            "total_progression": 18,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.6861,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.3,
            "aerial_won": 2,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.18,
            "pressing_faced": "ULTRA_HIGH",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Pau Cubarsí, Joan García",
            "opponent_faced": "Pau Cubarsí, Joan García",
            "antagonist_source": "attacking_duel",
            "projected_goals": 0,
            "goal_probability": 0.2345,
            "projected_assists": 0,
            "assist_probability": 0.0856,
            "finishing_factor": 1.0982,
            "creation_factor": 0.8,
            "fifa_overall": 77.0
          },
          "latest_10_games": [
            {
              "match_id": 16421077,
              "match_date": "2026-10-23",
              "home_team": "Deportivo Alavés",
              "away_team": "Málaga CF",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 90,
                "rating": 5.9,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1461,
                "expected_assists": 0.014,
                "total_shots": 2,
                "shots_on_target": 0,
                "shots_off_target": 2,
                "total_pass": 14,
                "accurate_pass": 8,
                "key_pass": 2,
                "tackles": 0,
                "tackles_won": 0,
                "interceptions": 0,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 3,
                "ball_recovery": 3,
                "saves": 0
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421069,
              "match_date": "2026-10-18",
              "home_team": "Celta Vigo",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3752,
                "expected_assists": 0.0867,
                "total_shots": 4,
                "shots_on_target": 3,
                "shots_off_target": 1,
                "total_pass": 31,
                "accurate_pass": 26,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 4,
                "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": 16421056,
              "match_date": "2026-10-10",
              "home_team": "Deportivo Alavés",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 64,
                "rating": 6.8,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.7884,
                "expected_assists": 0.0034,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 8,
                "accurate_pass": 5,
                "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": 16416337,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 75,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0054,
                "total_shots": 0,
                "total_pass": 15,
                "accurate_pass": 9,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "aerial_won": 2,
                "duels_won": 6,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416334,
              "match_date": "2026-09-15",
              "home_team": "Deportivo Alavés",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2017,
                "expected_assists": 0.0304,
                "total_shots": 4,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 17,
                "accurate_pass": 13,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416328,
              "match_date": "2026-09-12",
              "home_team": "Real Racing Club",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 90,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1505,
                "expected_assists": 0.032,
                "total_shots": 4,
                "shots_off_target": 2,
                "total_pass": 14,
                "accurate_pass": 10,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 4,
                "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": 16416318,
              "match_date": "2026-09-06",
              "home_team": "Deportivo Alavés",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 85,
                "rating": 10.0,
                "goal_rate": 3.0,
                "goals": 3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2454,
                "expected_assists": 0.0198,
                "total_shots": 3,
                "shots_on_target": 3,
                "total_pass": 24,
                "accurate_pass": 19,
                "tackles": 3,
                "tackles_won": 3,
                "aerial_won": 3,
                "duels_won": 13,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416290,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 82,
                "rating": 7.5,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.533,
                "expected_assists": 0.003,
                "total_shots": 3,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 11,
                "accurate_pass": 9,
                "tackles": 3,
                "tackles_won": 3,
                "clearances": 1,
                "aerial_won": 4,
                "duels_won": 8,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416292,
              "match_date": "2026-08-20",
              "home_team": "Rayo Vallecano",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 62,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1089,
                "expected_assists": 0.2737,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 12,
                "accurate_pass": 9,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083706,
              "match_date": "2026-05-23",
              "home_team": "Deportivo Alavés",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 84,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3873,
                "expected_assists": 0.0145,
                "total_shots": 4,
                "shots_on_target": 1,
                "total_pass": 21,
                "accurate_pass": 16,
                "key_pass": 3,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 1,
                "duels_won": 5,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 2629,
            "combined_rank_score": 921.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 292.0,
            "sofascore_rating": 7.05,
            "sofascore_appearances": 2.0,
            "fifa_rank": 1550.0,
            "fifa_overall": 77.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 5,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8239,
            "source_file": "data/player_rankings.csv",
            "player_name": "Lucas Boyé",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Augustine Chidi Kwem",
                  "ranking": 2624
                },
                {
                  "player_name": "Otabek Ahadov",
                  "ranking": 2625
                },
                {
                  "player_name": "Rodrigo Sandoval",
                  "ranking": 2626
                },
                {
                  "player_name": "Ruben Loftus-Cheek",
                  "ranking": 2627
                },
                {
                  "player_name": "Edu Expósito",
                  "ranking": 2628
                }
              ],
              "lower": [
                {
                  "player_name": "Duván Zapata",
                  "ranking": 2630
                },
                {
                  "player_name": "Tosin Adarabioyo",
                  "ranking": 2631
                },
                {
                  "player_name": "Selton Sanchez",
                  "ranking": 2632
                },
                {
                  "player_name": "Jung-Min Kim",
                  "ranking": 2633
                },
                {
                  "player_name": "Enzo Barrenechea",
                  "ranking": 2634
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.766,
          "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.766,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9986,
            "fbref_prior_metrics": {
              "squad": "Alavés",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 2.0,
              "minutes": 142.0,
              "goals_per90": 0.625,
              "assists_per90": 0.0,
              "shots_per90": 3.17,
              "shots_on_target_pct": 40.0,
              "prior_reliability": 0.1067
            },
            "rationale": "XGBoost regressor (F_service) evaluated 38 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Alavés, rel: 0.11, gls/90: 0.625, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.3047,
                "goals": 0.34,
                "goal_rate": 0.34,
                "shots_on_target": 0.7772,
                "total_shots": 2.1187,
                "expected_assists": 0.07,
                "key_pass": 0.8361,
                "rating": 6.8239,
                "minutes": 79.58,
                "total_pass": 16.346,
                "accurate_pass": 11.948,
                "duels_won": 5.7365,
                "total_long_balls": 0.6569,
                "accurate_long_balls": 0.4377,
                "total_opp_half_passes": 13.2294,
                "accurate_opp_half_passes": 9.3352,
                "crosses_total": 0.2832,
                "crosses_accurate": 0.0751,
                "touches": 36.2391,
                "possession_lost": 13.2046,
                "dispossessed": 1.7576,
                "duels_lost": 10.101,
                "aerial_lost": 2.5758,
                "total_contest": 2.7877,
                "won_contest": 0.7707,
                "ball_recovery": 3.1235,
                "challenges_lost": 1.1076,
                "fouls": 2.7896,
                "fouls_drawn": 1.5924,
                "assists": 0.0059,
                "assist_rate": 0.0059,
                "interceptions": 0.0394,
                "tackles_won": 0.9891,
                "tackles": 1.4762,
                "clearances": 0.9988,
                "blocks": 0.1391,
                "big_chances_created": 0.084,
                "big_chances_missed": 0.1869,
                "xgot": 0.3892,
                "offsides": 0.4837,
                "ball_carries": 11.0375,
                "total_progression": 17.7915,
                "progressive_carries": 1.2034,
                "shots_off_target": 1.3415
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-31T10:30:56.271646+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 610,
                    "rows": 17075
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-23",
                    "opponent": "Málaga CF",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1503,
                    "rating": 5.9
                  },
                  {
                    "match_date": "2026-10-18",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1278,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-10-10",
                    "opponent": "Atlético Madrid",
                    "minutes": 64.0,
                    "is_starting": true,
                    "weight": 0.1086,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Athletic Club",
                    "minutes": 75.0,
                    "is_starting": true,
                    "weight": 0.0923,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0785,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Real Racing Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Osasuna",
                    "minutes": 85.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 10.0
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Villarreal",
                    "minutes": 82.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-08-20",
                    "opponent": "Rayo Vallecano",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.041,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Rayo Vallecano",
                    "minutes": 84.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "accurateOppositionHalfPasses": 8.942,
                  "expectedGoals": 0.294,
                  "totalOppositionHalfPasses": 12.7123,
                  "accuratePass": 11.361,
                  "totalShots": 2.3337
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.3046613335609436,
                    "model_output": 0.3047,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.282
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0898
                      },
                      {
                        "name": "goals",
                        "importance": 0.0323
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0316
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0236
                      }
                    ],
                    "decomposition": {
                      "base": 0.1945,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0635
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0335
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0218
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0195
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0148
                        }
                      ],
                      "others": 0.0257,
                      "total": 0.3047,
                      "log_link": true,
                      "margin_base": -1.637486,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.282505
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.122252
                        },
                        {
                          "name": "goals",
                          "margin": 0.072274
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.064115
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.051655
                        }
                      ],
                      "others_margin": 0.08767
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.3399879038333893,
                    "model_output": 0.34,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.144
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0742
                      },
                      {
                        "name": "goals",
                        "importance": 0.053
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0321
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0311
                      }
                    ],
                    "decomposition": {
                      "base": 0.199,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0681
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0325
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0239
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0201
                        },
                        {
                          "name": "dispossessed",
                          "contribution": 0.0139
                        }
                      ],
                      "others": 0.0227,
                      "total": 0.34,
                      "log_link": true,
                      "margin_base": -1.614663,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.294293
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.114959
                        },
                        {
                          "name": "goals",
                          "margin": 0.076744
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.064093
                        },
                        {
                          "name": "dispossessed",
                          "margin": 0.04473
                        }
                      ],
                      "others_margin": 0.069186
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.7772053480148315,
                    "model_output": 0.7772,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2115
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.066
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0499
                      },
                      {
                        "name": "goals",
                        "importance": 0.0473
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0333
                      }
                    ],
                    "decomposition": {
                      "base": 0.5305,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1635
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0617
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0532
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0473
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0358
                        }
                      ],
                      "others": 0.0086,
                      "total": 0.7772,
                      "log_link": true,
                      "margin_base": -0.633985,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.268722
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.093106
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.08074
                        },
                        {
                          "name": "goals",
                          "margin": 0.066692
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.047694
                        }
                      ],
                      "others_margin": 0.011192
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 2.118699073791504,
                    "model_output": 2.1187,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2934
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0662
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.05
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0272
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.027
                      }
                    ],
                    "decomposition": {
                      "base": 1.3805,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4999
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.1631
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0707
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0539
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0414
                        }
                      ],
                      "others": 0.017,
                      "total": 2.1187,
                      "log_link": false,
                      "margin_base": 1.38048,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.499867
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.163125
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.070734
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.05391
                        },
                        {
                          "name": "goals",
                          "margin": 0.041374
                        }
                      ],
                      "others_margin": 0.01703
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.07001026719808578,
                    "model_output": 0.07,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1135
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0826
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0722
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0587
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0552
                      }
                    ],
                    "decomposition": {
                      "base": 0.0647,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0153
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0097
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0068
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0043
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.004
                        }
                      ],
                      "others": -0.0126,
                      "total": 0.07,
                      "log_link": true,
                      "margin_base": -2.738275,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.211727
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.11454
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.079048
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.052795
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.049872
                        }
                      ],
                      "others_margin": -0.165135
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.8360768556594849,
                    "model_output": 0.8361,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1545
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.1071
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0923
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0893
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0298
                      }
                    ],
                    "decomposition": {
                      "base": 0.6939,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1931
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.043
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0298
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0248
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.021
                        }
                      ],
                      "others": 0.0257,
                      "total": 0.8361,
                      "log_link": true,
                      "margin_base": -0.365451,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.245495
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.049647
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.035959
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.030917
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.026268
                        }
                      ],
                      "others_margin": 0.031178
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.823866844177246,
                    "model_output": 6.8239,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0529
                      },
                      {
                        "name": "rating",
                        "importance": 0.0463
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.044
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0417
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0371
                      }
                    ],
                    "decomposition": {
                      "base": 6.7735,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0605
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.022
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0177
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": -0.0103
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": 0.0094
                        }
                      ],
                      "others": -0.0135,
                      "total": 6.8239,
                      "log_link": false,
                      "margin_base": 6.773504,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.060517
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.022001
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.017721
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": -0.010309
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": 0.009392
                        }
                      ],
                      "others_margin": -0.013518
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 38,
                  "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.9986, quality 0.466)",
              "stats": {
                "expected_goals": 0.3042,
                "goals": 0.3395,
                "goal_rate": 0.3395,
                "shots_on_target": 0.7761,
                "total_shots": 2.1157,
                "expected_assists": 0.0699,
                "key_pass": 0.8349,
                "rating": 6.8239,
                "minutes": 79.58,
                "total_pass": 16.3231,
                "accurate_pass": 11.9313,
                "duels_won": 5.7285,
                "total_long_balls": 0.656,
                "accurate_long_balls": 0.4371,
                "total_opp_half_passes": 13.2109,
                "accurate_opp_half_passes": 9.3221,
                "crosses_total": 0.2828,
                "crosses_accurate": 0.075,
                "touches": 36.1884,
                "possession_lost": 13.1861,
                "dispossessed": 1.7551,
                "duels_lost": 10.0869,
                "aerial_lost": 2.5722,
                "total_contest": 2.7838,
                "won_contest": 0.7696,
                "ball_recovery": 3.1191,
                "challenges_lost": 1.106,
                "fouls": 2.7857,
                "fouls_drawn": 1.5902,
                "assists": 0.0059,
                "assist_rate": 0.0059,
                "interceptions": 0.0393,
                "tackles_won": 0.9877,
                "tackles": 1.4741,
                "clearances": 0.9974,
                "blocks": 0.1389,
                "big_chances_created": 0.0839,
                "big_chances_missed": 0.1866,
                "xgot": 0.3887,
                "offsides": 0.483,
                "ball_carries": 11.022,
                "total_progression": 17.7666,
                "progressive_carries": 1.2017,
                "shots_off_target": 1.3396
              },
              "params": {
                "market_value_eur": 5300000,
                "quality_factor": 0.4659,
                "boost_factor": 0.9986,
                "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.0081)",
              "stats": {
                "expected_goals": 0.3042,
                "goals": 0.3412,
                "goal_rate": 0.3412,
                "shots_on_target": 0.7789,
                "total_shots": 2.1212,
                "expected_assists": 0.0699,
                "key_pass": 0.8349,
                "rating": 6.8239,
                "minutes": 79.58,
                "total_pass": 16.3231,
                "accurate_pass": 11.9313,
                "duels_won": 5.7285,
                "total_long_balls": 0.656,
                "accurate_long_balls": 0.4371,
                "total_opp_half_passes": 13.2109,
                "accurate_opp_half_passes": 9.3221,
                "crosses_total": 0.2805,
                "crosses_accurate": 0.075,
                "touches": 36.1884,
                "possession_lost": 13.1861,
                "dispossessed": 1.7551,
                "duels_lost": 10.0869,
                "aerial_lost": 2.5722,
                "total_contest": 2.7838,
                "won_contest": 0.7696,
                "ball_recovery": 3.1191,
                "challenges_lost": 1.106,
                "fouls": 2.7855,
                "fouls_drawn": 1.5863,
                "assists": 0.0059,
                "assist_rate": 0.0059,
                "interceptions": 0.039,
                "tackles_won": 1.002,
                "tackles": 1.4741,
                "clearances": 0.9974,
                "blocks": 0.1389,
                "big_chances_created": 0.0839,
                "big_chances_missed": 0.1866,
                "xgot": 0.3887,
                "offsides": 0.4791,
                "ball_carries": 11.022,
                "total_progression": 17.7666,
                "progressive_carries": 1.2017,
                "shots_off_target": 1.3396
              },
              "params": {
                "blend_weight": 0.0081,
                "history_matches": 38,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.8842,
                "prior_reliability": 0.1067,
                "competition": "La Liga",
                "squad": "Alavés"
              },
              "changes": [
                {
                  "stat": "wonTackle",
                  "before": 0.9877,
                  "after": 1.002
                },
                {
                  "stat": "totalShots",
                  "before": 2.1157,
                  "after": 2.1212
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.3042,
                "goals": 0.3412,
                "goal_rate": 0.3412,
                "shots_on_target": 0.7789,
                "total_shots": 2.1212,
                "expected_assists": 0.0699,
                "key_pass": 0.8349,
                "rating": 6.8239,
                "minutes": 79.58,
                "total_pass": 16.3231,
                "accurate_pass": 11.9313,
                "duels_won": 5.7285,
                "total_long_balls": 0.656,
                "accurate_long_balls": 0.4371,
                "total_opp_half_passes": 13.2109,
                "accurate_opp_half_passes": 9.3221,
                "crosses_total": 0.2805,
                "crosses_accurate": 0.075,
                "touches": 36.1884,
                "possession_lost": 13.1861,
                "dispossessed": 1.7551,
                "duels_lost": 10.0869,
                "aerial_lost": 2.5722,
                "total_contest": 2.7838,
                "won_contest": 0.7696,
                "ball_recovery": 3.1191,
                "challenges_lost": 1.106,
                "fouls": 2.7855,
                "fouls_drawn": 1.5863,
                "assists": 0.0059,
                "assist_rate": 0.0059,
                "interceptions": 0.039,
                "tackles_won": 1.002,
                "tackles": 1.4741,
                "clearances": 0.9974,
                "blocks": 0.1389,
                "big_chances_created": 0.0839,
                "big_chances_missed": 0.1866,
                "xgot": 0.3887,
                "offsides": 0.4791,
                "ball_carries": 11.022,
                "total_progression": 17.7666,
                "progressive_carries": 1.2017,
                "shots_off_target": 1.3396
              },
              "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.2087,
                "goals": 0.2341,
                "goal_rate": 0.2341,
                "shots_on_target": 0.5344,
                "total_shots": 1.4554,
                "expected_assists": 0.0699,
                "key_pass": 0.8349,
                "rating": 6.8239,
                "minutes": 79.58,
                "total_pass": 16.3231,
                "accurate_pass": 11.9313,
                "duels_won": 5.7285,
                "total_long_balls": 0.656,
                "accurate_long_balls": 0.4371,
                "total_opp_half_passes": 13.2109,
                "accurate_opp_half_passes": 9.3221,
                "crosses_total": 0.2805,
                "crosses_accurate": 0.075,
                "touches": 36.1884,
                "possession_lost": 13.1861,
                "dispossessed": 1.7551,
                "duels_lost": 10.0869,
                "aerial_lost": 2.5722,
                "total_contest": 2.7838,
                "won_contest": 0.7696,
                "ball_recovery": 3.1191,
                "challenges_lost": 1.106,
                "fouls": 2.7855,
                "fouls_drawn": 1.5863,
                "assists": 0.0059,
                "assist_rate": 0.0059,
                "interceptions": 0.039,
                "tackles_won": 1.002,
                "tackles": 1.4741,
                "clearances": 0.9974,
                "blocks": 0.1389,
                "big_chances_created": 0.0839,
                "big_chances_missed": 0.128,
                "xgot": 0.2667,
                "offsides": 0.4791,
                "ball_carries": 11.022,
                "total_progression": 17.7666,
                "progressive_carries": 1.2017,
                "shots_off_target": 0.9191,
                "duel_xg_multiplier": 0.6861,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Pau Cubarsí, Joan García",
                "opponent_faced": "Pau Cubarsí, Joan García",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Pau Cubarsí, Joan García",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.18,
                  "pressing_faced": "ULTRA_HIGH",
                  "numerical_situation": "1v2",
                  "xg_multiplier": 0.6861,
                  "skill_edge": -0.1916,
                  "height_edge": -0.022,
                  "attacker_skill": 0.4659,
                  "defender_skill": 0.8915,
                  "attacker_role": "ST",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Pau Cubarsí",
                      "market_value": 94000000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.8981
                    },
                    {
                      "player": "Joan García",
                      "market_value": 46000000,
                      "role": "GK",
                      "price_index": 0.55,
                      "adjusted_quality": 0.885
                    }
                  ],
                  "xg_override": 0.2087
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 2.1212,
                  "after": 1.4554
                },
                {
                  "stat": "shotOffTarget",
                  "before": 1.3396,
                  "after": 0.9191
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.7789,
                  "after": 0.5344
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.3887,
                  "after": 0.2667
                },
                {
                  "stat": "goals",
                  "before": 0.3412,
                  "after": 0.2341
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.3042,
                  "after": 0.2087
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 0.1866,
                  "after": 0.128
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.2087,
                "goal_rate": 0.2341,
                "goals": 0,
                "shots_on_target": 0.5344,
                "total_shots": 1.4554,
                "expected_assists": 0.0699,
                "key_pass": 0.8349,
                "rating": 6.8239,
                "minutes": 79.58,
                "total_pass": 16.3231,
                "accurate_pass": 11.9313,
                "duels_won": 5.7285,
                "total_long_balls": 0.656,
                "accurate_long_balls": 0.4371,
                "total_opp_half_passes": 13.2109,
                "accurate_opp_half_passes": 9.3221,
                "crosses_total": 0.2805,
                "crosses_accurate": 0.075,
                "touches": 36.1884,
                "possession_lost": 13.1861,
                "dispossessed": 1.7551,
                "duels_lost": 10.0869,
                "aerial_lost": 2.5722,
                "total_contest": 2.7838,
                "won_contest": 0.7696,
                "ball_recovery": 3.1191,
                "challenges_lost": 1.106,
                "fouls": 2.7855,
                "fouls_drawn": 1.5863,
                "assist_rate": 0.0059,
                "assists": 0,
                "interceptions": 0.039,
                "tackles_won": 1.002,
                "tackles": 1.4741,
                "clearances": 0.9974,
                "blocks": 0.1389,
                "big_chances_created": 0.0839,
                "big_chances_missed": 0.128,
                "xgot": 0.2667,
                "offsides": 0.4791,
                "ball_carries": 11.022,
                "total_progression": 17.7666,
                "progressive_carries": 1.2017,
                "shots_off_target": 0.9191,
                "duel_xg_multiplier": 0.6861,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Pau Cubarsí, Joan García",
                "opponent_faced": "Pau Cubarsí, Joan García",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.29 (squad xG sum 1.0060, xG scale 1.2803, xA scale 1.2803, team xA 0.96 = 0.74 x lambda)",
              "stats": {
                "expected_goals": 0.2672,
                "goal_rate": 0.2341,
                "goals": 0,
                "shots_on_target": 0.5344,
                "total_shots": 1.4554,
                "expected_assists": 0.0895,
                "key_pass": 0.8349,
                "rating": 6.8239,
                "minutes": 79.58,
                "total_pass": 16.3231,
                "accurate_pass": 11.9313,
                "duels_won": 5.7285,
                "total_long_balls": 0.656,
                "accurate_long_balls": 0.4371,
                "total_opp_half_passes": 13.2109,
                "accurate_opp_half_passes": 9.3221,
                "crosses_total": 0.2805,
                "crosses_accurate": 0.075,
                "touches": 36.1884,
                "possession_lost": 13.1861,
                "dispossessed": 1.7551,
                "duels_lost": 10.0869,
                "aerial_lost": 2.5722,
                "total_contest": 2.7838,
                "won_contest": 0.7696,
                "ball_recovery": 3.1191,
                "challenges_lost": 1.106,
                "fouls": 2.7855,
                "fouls_drawn": 1.5863,
                "assist_rate": 0.0059,
                "assists": 0,
                "interceptions": 0.039,
                "tackles_won": 1.002,
                "tackles": 1.4741,
                "clearances": 0.9974,
                "blocks": 0.1389,
                "big_chances_created": 0.0839,
                "big_chances_missed": 0.128,
                "xgot": 0.3415,
                "offsides": 0.4791,
                "ball_carries": 11.022,
                "total_progression": 17.7666,
                "progressive_carries": 1.2017,
                "shots_off_target": 0.9191,
                "duel_xg_multiplier": 0.6861,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Pau Cubarsí, Joan García",
                "opponent_faced": "Pau Cubarsí, Joan García",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0982,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.288,
                "squad_xg_sum": 1.006,
                "squad_xa_sum": 0.7484,
                "team_expected_assists": 0.9582,
                "team_xa_to_xg_ratio": 0.7439,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2803,
                "xa_scale": 1.2803,
                "opponent_lambda": 3.863,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.2087,
                  "after": 0.2672
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0699,
                  "after": 0.0895
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 5 by projected rating, fifa_overall 77.0)",
              "stats": {
                "expected_goals": 0.2672,
                "goal_rate": 0.2341,
                "goals": 0,
                "shots_on_target": 0.5344,
                "total_shots": 1.4554,
                "expected_assists": 0.0895,
                "key_pass": 0.8349,
                "rating": 6.8239,
                "minutes": 79.58,
                "total_pass": 16.3231,
                "accurate_pass": 11.9313,
                "duels_won": 5.7285,
                "total_long_balls": 0.656,
                "accurate_long_balls": 0.4371,
                "total_opp_half_passes": 13.2109,
                "accurate_opp_half_passes": 9.3221,
                "crosses_total": 0.2805,
                "crosses_accurate": 0.075,
                "touches": 36.1884,
                "possession_lost": 13.1861,
                "dispossessed": 1.7551,
                "duels_lost": 10.0869,
                "aerial_lost": 2.5722,
                "total_contest": 2.7838,
                "won_contest": 0.7696,
                "ball_recovery": 3.1191,
                "challenges_lost": 1.106,
                "fouls": 2.7855,
                "fouls_drawn": 1.5863,
                "assist_rate": 0.0059,
                "assists": 0,
                "interceptions": 0.039,
                "tackles_won": 1.002,
                "tackles": 1.4741,
                "clearances": 0.9974,
                "blocks": 0.1389,
                "big_chances_created": 0.0839,
                "big_chances_missed": 0.128,
                "xgot": 0.3415,
                "offsides": 0.4791,
                "ball_carries": 11.022,
                "total_progression": 17.7666,
                "progressive_carries": 1.2017,
                "shots_off_target": 0.9191,
                "duel_xg_multiplier": 0.6861,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Pau Cubarsí, Joan García",
                "opponent_faced": "Pau Cubarsí, Joan García",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0982,
                "creation_factor": 0.8,
                "fifa_overall": 77.0
              },
              "params": {
                "match_squad_rank": 5,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 2629,
                "fifa_rank": 1550.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 77.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.2672,
                "goal_rate": 0.2341,
                "goals": 0,
                "shots_on_target": 0.5344,
                "total_shots": 1.4554,
                "expected_assists": 0.0895,
                "key_pass": 0.8349,
                "rating": 6.8239,
                "minutes": 79.58,
                "total_pass": 16.3231,
                "accurate_pass": 11.9313,
                "duels_won": 5.7285,
                "total_long_balls": 0.656,
                "accurate_long_balls": 0.4371,
                "total_opp_half_passes": 13.2109,
                "accurate_opp_half_passes": 9.3221,
                "crosses_total": 0.2805,
                "crosses_accurate": 0.075,
                "touches": 36.1884,
                "possession_lost": 13.1861,
                "dispossessed": 1.7551,
                "duels_lost": 10.0869,
                "aerial_lost": 2.5722,
                "total_contest": 2.7838,
                "won_contest": 0.7696,
                "ball_recovery": 3.1191,
                "challenges_lost": 1.106,
                "fouls": 2.7855,
                "fouls_drawn": 1.5863,
                "assist_rate": 0.0059,
                "assists": 0,
                "interceptions": 0.039,
                "tackles_won": 1.002,
                "tackles": 1.4741,
                "clearances": 0.9974,
                "blocks": 0.1389,
                "big_chances_created": 0.0839,
                "big_chances_missed": 0.128,
                "xgot": 0.3415,
                "offsides": 0.4791,
                "ball_carries": 11.022,
                "total_progression": 17.7666,
                "progressive_carries": 1.2017,
                "shots_off_target": 0.9191,
                "duel_xg_multiplier": 0.6861,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Pau Cubarsí, Joan García",
                "opponent_faced": "Pau Cubarsí, Joan García",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.2345,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0982,
                "creation_factor": 0.8,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.2345,
                "goal_rate": 0.2341,
                "scorer_weight": 0.2934,
                "squad_weight_total": 1.3792,
                "weight_share": 0.2128,
                "finishing_factor": 1.0982,
                "appearance_weight": 1.0,
                "weight_rank": 2,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Toni Martínez",
                    "weight": 0.3036,
                    "already": 0,
                    "effective_weight": 0.3036,
                    "runner_up": "Lucas Boyé",
                    "runner_up_effective_weight": 0.2934
                  }
                ]
              }
            },
            {
              "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.2672,
                "goal_rate": 0.2341,
                "goals": 0,
                "shots_on_target": 0.5344,
                "total_shots": 1.4554,
                "expected_assists": 0.0895,
                "key_pass": 0.8349,
                "rating": 6.8239,
                "minutes": 79.58,
                "total_pass": 16.3231,
                "accurate_pass": 11.9313,
                "duels_won": 5.7285,
                "total_long_balls": 0.656,
                "accurate_long_balls": 0.4371,
                "total_opp_half_passes": 13.2109,
                "accurate_opp_half_passes": 9.3221,
                "crosses_total": 0.2805,
                "crosses_accurate": 0.075,
                "touches": 36.1884,
                "possession_lost": 13.1861,
                "dispossessed": 1.7551,
                "duels_lost": 10.0869,
                "aerial_lost": 2.5722,
                "total_contest": 2.7838,
                "won_contest": 0.7696,
                "ball_recovery": 3.1191,
                "challenges_lost": 1.106,
                "fouls": 2.7855,
                "fouls_drawn": 1.5863,
                "assist_rate": 0.0059,
                "assists": 0,
                "interceptions": 0.039,
                "tackles_won": 1.002,
                "tackles": 1.4741,
                "clearances": 0.9974,
                "blocks": 0.1389,
                "big_chances_created": 0.0839,
                "big_chances_missed": 0.128,
                "xgot": 0.3415,
                "offsides": 0.4791,
                "ball_carries": 11.022,
                "total_progression": 17.7666,
                "progressive_carries": 1.2017,
                "shots_off_target": 0.9191,
                "duel_xg_multiplier": 0.6861,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Pau Cubarsí, Joan García",
                "opponent_faced": "Pau Cubarsí, Joan García",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.2345,
                "projected_assists": 0,
                "assist_probability": 0.0856,
                "finishing_factor": 1.0982,
                "creation_factor": 0.8,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0856,
                "assist_rate": 0.0059,
                "provider_weight": 0.0716,
                "squad_weight_total": 0.8425,
                "weight_share": 0.085,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 6,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ángel Pérez",
                    "weight": 0.1853,
                    "already": 0,
                    "effective_weight": 0.1853,
                    "runner_up": "Hugo Novoa",
                    "runner_up_effective_weight": 0.1136,
                    "blocked_own_goal": [
                      "Toni Martínez"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Toni Martínez": {
          "player_id": 831253,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 11,
          "height": 180,
          "market_value": 7300000,
          "stats": {
            "expected_goals": 0.2914,
            "goal_rate": 0.2392,
            "goals": 1,
            "shots_on_target": 1,
            "total_shots": 2,
            "expected_assists": 0.0428,
            "key_pass": 1,
            "rating": 6.7958,
            "minutes": 75,
            "total_pass": 14,
            "accurate_pass": 8,
            "duels_won": 6,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 11,
            "accurate_opp_half_passes": 6,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 25,
            "possession_lost": 9.7428,
            "dispossessed": 0.9923,
            "duels_lost": 6,
            "aerial_lost": 3,
            "total_contest": 1,
            "won_contest": 0,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 1,
            "assist_rate": 0.0177,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.2077,
            "offsides": 0,
            "ball_carries": 5,
            "total_progression": 9,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.6846,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.3,
            "aerial_won": 2,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.18,
            "pressing_faced": "ULTRA_HIGH",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Pau Cubarsí, Joan García",
            "opponent_faced": "Pau Cubarsí, Joan García",
            "antagonist_source": "attacking_duel",
            "projected_goals": 1,
            "goal_probability": 0.2528,
            "projected_assists": 0,
            "assist_probability": 0.0419,
            "finishing_factor": 1.0418,
            "creation_factor": 0.8118,
            "fifa_overall": 78.0
          },
          "latest_10_games": [
            {
              "match_id": 16421077,
              "match_date": "2026-10-23",
              "home_team": "Deportivo Alavés",
              "away_team": "Málaga CF",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 24,
                "rating": 6.6,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.4124,
                "expected_assists": 0.0029,
                "total_shots": 3,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 2,
                "accurate_pass": 2,
                "tackles": 0,
                "tackles_won": 0,
                "interceptions": 0,
                "clearances": 0,
                "aerial_won": 2,
                "duels_won": 2,
                "ball_recovery": 0,
                "saves": 0
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421069,
              "match_date": "2026-10-18",
              "home_team": "Celta Vigo",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 62,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0954,
                "expected_assists": 0.0053,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 13,
                "accurate_pass": 8,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 4,
                "duels_won": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421056,
              "match_date": "2026-10-10",
              "home_team": "Deportivo Alavés",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 64,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0119,
                "expected_assists": 0.004,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 7,
                "accurate_pass": 4,
                "key_pass": 1,
                "aerial_won": 5,
                "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": 16416337,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 25,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.001,
                "total_shots": 0,
                "total_pass": 7,
                "accurate_pass": 2,
                "clearances": 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": 16416334,
              "match_date": "2026-09-15",
              "home_team": "Deportivo Alavés",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Valencia",
              "stats": {
                "minutes": 67,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1819,
                "expected_assists": 0.0095,
                "total_shots": 3,
                "shots_off_target": 3,
                "total_pass": 11,
                "accurate_pass": 7,
                "tackles": 1,
                "tackles_won": 1,
                "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": 16416328,
              "match_date": "2026-09-12",
              "home_team": "Real Racing Club",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 23,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0527,
                "expected_assists": 0.1076,
                "total_shots": 1,
                "total_pass": 3,
                "accurate_pass": 1,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "aerial_won": 2,
                "duels_won": 5,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416290,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 54,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "total_pass": 5,
                "accurate_pass": 1,
                "aerial_won": 2,
                "duels_won": 4,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416292,
              "match_date": "2026-08-20",
              "home_team": "Rayo Vallecano",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.3729,
                "expected_assists": 0.0107,
                "total_shots": 4,
                "shots_off_target": 4,
                "total_pass": 12,
                "accurate_pass": 9,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 5,
                "duels_won": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421047,
              "match_date": "2026-08-15",
              "home_team": "Deportivo Alavés",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3202,
                "expected_assists": 0.012,
                "total_shots": 3,
                "shots_off_target": 3,
                "total_pass": 13,
                "accurate_pass": 9,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 3,
                "duels_won": 6,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083706,
              "match_date": "2026-05-23",
              "home_team": "Deportivo Alavés",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 7.8,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.5449,
                "expected_assists": 0.0071,
                "total_shots": 3,
                "shots_on_target": 2,
                "total_pass": 14,
                "accurate_pass": 7,
                "tackles": 1,
                "tackles_won": 1,
                "aerial_won": 4,
                "duels_won": 7,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 2078,
            "combined_rank_score": 790.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 345.0,
            "sofascore_rating": 6.9892,
            "sofascore_appearances": 37.0,
            "fifa_rank": 1236.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.7958,
            "source_file": "data/player_rankings.csv",
            "player_name": "Toni Martínez",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Luiz Júnior",
                  "ranking": 2073
                },
                {
                  "player_name": "Maximiliano Rodríguez",
                  "ranking": 2074
                },
                {
                  "player_name": "Abbos Gulomov",
                  "ranking": 2075
                },
                {
                  "player_name": "Chan-dong Lee",
                  "ranking": 2076
                },
                {
                  "player_name": "Leonardo Spinazzola",
                  "ranking": 2077
                }
              ],
              "lower": [
                {
                  "player_name": "Callum Hudson Odoi",
                  "ranking": 2079
                },
                {
                  "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
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.776,
          "history_matches": 46,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 46,
            "data_confidence": 0.776,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9996,
            "fbref_prior_metrics": {
              "squad": "Alavés",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 233.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 2.7,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.1733
            },
            "rationale": "XGBoost regressor (F_service) evaluated 46 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Alavés, rel: 0.17, 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.3326,
                "goals": 0.3534,
                "goal_rate": 0.3534,
                "shots_on_target": 0.8558,
                "total_shots": 2.4298,
                "expected_assists": 0.0334,
                "key_pass": 0.5874,
                "rating": 6.7958,
                "minutes": 74.73,
                "total_pass": 13.9092,
                "accurate_pass": 8.1553,
                "duels_won": 6.5015,
                "total_long_balls": 0.4753,
                "accurate_long_balls": 0.2724,
                "total_opp_half_passes": 10.9651,
                "accurate_opp_half_passes": 6.0002,
                "crosses_total": 0.1558,
                "crosses_accurate": 0.0485,
                "touches": 25.019,
                "possession_lost": 9.7467,
                "dispossessed": 0.9927,
                "duels_lost": 6.344,
                "aerial_lost": 3.2326,
                "total_contest": 0.8312,
                "won_contest": 0.093,
                "ball_recovery": 1.2525,
                "challenges_lost": 0.3881,
                "fouls": 1.0598,
                "fouls_drawn": 1.3567,
                "assists": 0.0179,
                "assist_rate": 0.0179,
                "interceptions": 0.005,
                "tackles_won": 0.569,
                "tackles": 0.6692,
                "clearances": 1.0124,
                "blocks": 0.1116,
                "big_chances_created": 0.2112,
                "big_chances_missed": 0.3178,
                "xgot": 0.237,
                "offsides": 0.3485,
                "ball_carries": 5.0802,
                "total_progression": 8.7314,
                "progressive_carries": 0.5523,
                "shots_off_target": 1.574
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-31T10:30:56.271646+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 610,
                    "rows": 17075
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-23",
                    "opponent": "Málaga CF",
                    "minutes": 24.0,
                    "is_starting": false,
                    "weight": 0.1501,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-10-18",
                    "opponent": "Celta Vigo",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.1276,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-10-10",
                    "opponent": "Atlético Madrid",
                    "minutes": 64.0,
                    "is_starting": true,
                    "weight": 0.1084,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Athletic Club",
                    "minutes": 25.0,
                    "is_starting": false,
                    "weight": 0.0922,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Valencia",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.0783,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Real Racing Club",
                    "minutes": 23.0,
                    "is_starting": false,
                    "weight": 0.0666,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Villarreal",
                    "minutes": 54.0,
                    "is_starting": true,
                    "weight": 0.0566,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-20",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0481,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 7.8
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "accurateOppositionHalfPasses": 4.5384,
                  "expectedGoals": 0.2783,
                  "totalOppositionHalfPasses": 8.4533,
                  "accuratePass": 6.0288,
                  "totalShots": 2.198
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.3326350450515747,
                    "model_output": 0.3326,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.282
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0898
                      },
                      {
                        "name": "goals",
                        "importance": 0.0323
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0316
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0236
                      }
                    ],
                    "decomposition": {
                      "base": 0.1945,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.055
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0279
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0107
                        },
                        {
                          "name": "goals",
                          "contribution": -0.01
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": 0.0082
                        }
                      ],
                      "others": 0.0463,
                      "total": 0.3326,
                      "log_link": true,
                      "margin_base": -1.637486,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.249007
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.105898
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.037818
                        },
                        {
                          "name": "goals",
                          "margin": -0.035466
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": 0.028954
                        }
                      ],
                      "others_margin": 0.150566
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.35340261459350586,
                    "model_output": 0.3534,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.144
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0742
                      },
                      {
                        "name": "goals",
                        "importance": 0.053
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0321
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0311
                      }
                    ],
                    "decomposition": {
                      "base": 0.199,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0633
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0379
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0203
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": 0.0175
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0155
                        }
                      ],
                      "others": 0.0405,
                      "total": 0.3534,
                      "log_link": true,
                      "margin_base": -1.614663,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.276152
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.134853
                        },
                        {
                          "name": "goals",
                          "margin": -0.070202
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": 0.060738
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.050911
                        }
                      ],
                      "others_margin": 0.122065
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.8558475375175476,
                    "model_output": 0.8558,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2115
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.066
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0499
                      },
                      {
                        "name": "goals",
                        "importance": 0.0473
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0333
                      }
                    ],
                    "decomposition": {
                      "base": 0.5305,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1518
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.044
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0416
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0347
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0333
                        }
                      ],
                      "others": 0.0893,
                      "total": 0.8558,
                      "log_link": true,
                      "margin_base": -0.633985,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.251613
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.062458
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.055657
                        },
                        {
                          "name": "goals",
                          "margin": -0.046243
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.044413
                        }
                      ],
                      "others_margin": 0.110424
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 2.429809093475342,
                    "model_output": 2.4298,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2934
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0662
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.05
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0272
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.027
                      }
                    ],
                    "decomposition": {
                      "base": 1.3805,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.5258
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.141
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0683
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0567
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0492
                        }
                      ],
                      "others": 0.2083,
                      "total": 2.4298,
                      "log_link": false,
                      "margin_base": 1.38048,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.525761
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.14104
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.06826
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.05666
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.049223
                        }
                      ],
                      "others_margin": 0.208386
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.03343593701720238,
                    "model_output": 0.0334,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1135
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0826
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0722
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0587
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0552
                      }
                    ],
                    "decomposition": {
                      "base": 0.0647,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0184
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0111
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0081
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0071
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0042
                        }
                      ],
                      "others": -0.0192,
                      "total": 0.0334,
                      "log_link": true,
                      "margin_base": -2.738275,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.250477
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.143876
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.119331
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.118081
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.077346
                        }
                      ],
                      "others_margin": -0.451694
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.587403416633606,
                    "model_output": 0.5874,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1545
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.1071
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0923
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0893
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0298
                      }
                    ],
                    "decomposition": {
                      "base": 0.6939,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1913
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0649
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0526
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0392
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0365
                        }
                      ],
                      "others": -0.1046,
                      "total": 0.5874,
                      "log_link": true,
                      "margin_base": -0.365451,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.243497
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.07614
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.066284
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.052425
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.051446
                        }
                      ],
                      "others_margin": -0.163793
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.795820236206055,
                    "model_output": 6.7958,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0529
                      },
                      {
                        "name": "rating",
                        "importance": 0.0463
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.044
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0417
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0371
                      }
                    ],
                    "decomposition": {
                      "base": 6.7735,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0536
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": -0.0154
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0152
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0147
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0119
                        }
                      ],
                      "others": -0.0283,
                      "total": 6.7958,
                      "log_link": false,
                      "margin_base": 6.773504,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.05359
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": -0.015356
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.015246
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.014703
                        },
                        {
                          "name": "rating",
                          "margin": 0.011885
                        }
                      ],
                      "others_margin": -0.028347
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 46,
                  "role_matches": 38,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9996, quality 0.490)",
              "stats": {
                "expected_goals": 0.3325,
                "goals": 0.3533,
                "goal_rate": 0.3533,
                "shots_on_target": 0.8555,
                "total_shots": 2.4289,
                "expected_assists": 0.0334,
                "key_pass": 0.5872,
                "rating": 6.7958,
                "minutes": 74.73,
                "total_pass": 13.9036,
                "accurate_pass": 8.152,
                "duels_won": 6.4989,
                "total_long_balls": 0.4751,
                "accurate_long_balls": 0.2723,
                "total_opp_half_passes": 10.9607,
                "accurate_opp_half_passes": 5.9978,
                "crosses_total": 0.1557,
                "crosses_accurate": 0.0485,
                "touches": 25.009,
                "possession_lost": 9.7428,
                "dispossessed": 0.9923,
                "duels_lost": 6.3415,
                "aerial_lost": 3.2313,
                "total_contest": 0.8309,
                "won_contest": 0.093,
                "ball_recovery": 1.252,
                "challenges_lost": 0.3879,
                "fouls": 1.0594,
                "fouls_drawn": 1.3562,
                "assists": 0.0179,
                "assist_rate": 0.0179,
                "interceptions": 0.005,
                "tackles_won": 0.5688,
                "tackles": 0.6689,
                "clearances": 1.012,
                "blocks": 0.1116,
                "big_chances_created": 0.2111,
                "big_chances_missed": 0.3177,
                "xgot": 0.2369,
                "offsides": 0.3484,
                "ball_carries": 5.0782,
                "total_progression": 8.7279,
                "progressive_carries": 0.5521,
                "shots_off_target": 1.5734
              },
              "params": {
                "market_value_eur": 7300000,
                "quality_factor": 0.4903,
                "boost_factor": 0.9996,
                "reference_quality": 0.505,
                "history_matches": 46,
                "history_shrink": 0.098,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0110)",
              "stats": {
                "expected_goals": 0.3325,
                "goals": 0.3494,
                "goal_rate": 0.3494,
                "shots_on_target": 0.8461,
                "total_shots": 2.4268,
                "expected_assists": 0.0334,
                "key_pass": 0.5872,
                "rating": 6.7958,
                "minutes": 74.73,
                "total_pass": 13.9036,
                "accurate_pass": 8.152,
                "duels_won": 6.4989,
                "total_long_balls": 0.4751,
                "accurate_long_balls": 0.2723,
                "total_opp_half_passes": 10.9607,
                "accurate_opp_half_passes": 5.9978,
                "crosses_total": 0.154,
                "crosses_accurate": 0.0485,
                "touches": 25.009,
                "possession_lost": 9.7428,
                "dispossessed": 0.9923,
                "duels_lost": 6.3415,
                "aerial_lost": 3.2313,
                "total_contest": 0.8309,
                "won_contest": 0.093,
                "ball_recovery": 1.252,
                "challenges_lost": 0.3879,
                "fouls": 1.0548,
                "fouls_drawn": 1.3589,
                "assists": 0.0177,
                "assist_rate": 0.0177,
                "interceptions": 0.0049,
                "tackles_won": 0.5696,
                "tackles": 0.6689,
                "clearances": 1.012,
                "blocks": 0.1116,
                "big_chances_created": 0.2111,
                "big_chances_missed": 0.3177,
                "xgot": 0.2369,
                "offsides": 0.3446,
                "ball_carries": 5.0782,
                "total_progression": 8.7279,
                "progressive_carries": 0.5521,
                "shots_off_target": 1.5734
              },
              "params": {
                "blend_weight": 0.011,
                "history_matches": 46,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.8303,
                "prior_reliability": 0.1733,
                "competition": "La Liga",
                "squad": "Alavés"
              },
              "changes": [
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.8555,
                  "after": 0.8461
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.3325,
                "goals": 0.3494,
                "goal_rate": 0.3494,
                "shots_on_target": 0.8461,
                "total_shots": 2.4268,
                "expected_assists": 0.0334,
                "key_pass": 0.5872,
                "rating": 6.7958,
                "minutes": 74.73,
                "total_pass": 13.9036,
                "accurate_pass": 8.152,
                "duels_won": 6.4989,
                "total_long_balls": 0.4751,
                "accurate_long_balls": 0.2723,
                "total_opp_half_passes": 10.9607,
                "accurate_opp_half_passes": 5.9978,
                "crosses_total": 0.154,
                "crosses_accurate": 0.0485,
                "touches": 25.009,
                "possession_lost": 9.7428,
                "dispossessed": 0.9923,
                "duels_lost": 6.3415,
                "aerial_lost": 3.2313,
                "total_contest": 0.8309,
                "won_contest": 0.093,
                "ball_recovery": 1.252,
                "challenges_lost": 0.3879,
                "fouls": 1.0548,
                "fouls_drawn": 1.3589,
                "assists": 0.0177,
                "assist_rate": 0.0177,
                "interceptions": 0.0049,
                "tackles_won": 0.5696,
                "tackles": 0.6689,
                "clearances": 1.012,
                "blocks": 0.1116,
                "big_chances_created": 0.2111,
                "big_chances_missed": 0.3177,
                "xgot": 0.2369,
                "offsides": 0.3446,
                "ball_carries": 5.0782,
                "total_progression": 8.7279,
                "progressive_carries": 0.5521,
                "shots_off_target": 1.5734
              },
              "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.2276,
                "goals": 0.2392,
                "goal_rate": 0.2392,
                "shots_on_target": 0.5792,
                "total_shots": 1.6614,
                "expected_assists": 0.0334,
                "key_pass": 0.5872,
                "rating": 6.7958,
                "minutes": 74.73,
                "total_pass": 13.9036,
                "accurate_pass": 8.152,
                "duels_won": 6.4989,
                "total_long_balls": 0.4751,
                "accurate_long_balls": 0.2723,
                "total_opp_half_passes": 10.9607,
                "accurate_opp_half_passes": 5.9978,
                "crosses_total": 0.154,
                "crosses_accurate": 0.0485,
                "touches": 25.009,
                "possession_lost": 9.7428,
                "dispossessed": 0.9923,
                "duels_lost": 6.3415,
                "aerial_lost": 3.2313,
                "total_contest": 0.8309,
                "won_contest": 0.093,
                "ball_recovery": 1.252,
                "challenges_lost": 0.3879,
                "fouls": 1.0548,
                "fouls_drawn": 1.3589,
                "assists": 0.0177,
                "assist_rate": 0.0177,
                "interceptions": 0.0049,
                "tackles_won": 0.5696,
                "tackles": 0.6689,
                "clearances": 1.012,
                "blocks": 0.1116,
                "big_chances_created": 0.2111,
                "big_chances_missed": 0.2175,
                "xgot": 0.1622,
                "offsides": 0.3446,
                "ball_carries": 5.0782,
                "total_progression": 8.7279,
                "progressive_carries": 0.5521,
                "shots_off_target": 1.0771,
                "duel_xg_multiplier": 0.6846,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Pau Cubarsí, Joan García",
                "opponent_faced": "Pau Cubarsí, Joan García",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Pau Cubarsí, Joan García",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.18,
                  "pressing_faced": "ULTRA_HIGH",
                  "numerical_situation": "1v2",
                  "xg_multiplier": 0.6846,
                  "skill_edge": -0.1806,
                  "height_edge": -0.034,
                  "attacker_skill": 0.4903,
                  "defender_skill": 0.8915,
                  "attacker_role": "ST",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Pau Cubarsí",
                      "market_value": 94000000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.8981
                    },
                    {
                      "player": "Joan García",
                      "market_value": 46000000,
                      "role": "GK",
                      "price_index": 0.55,
                      "adjusted_quality": 0.885
                    }
                  ],
                  "xg_override": 0.2276
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 2.4268,
                  "after": 1.6614
                },
                {
                  "stat": "shotOffTarget",
                  "before": 1.5734,
                  "after": 1.0771
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.8461,
                  "after": 0.5792
                },
                {
                  "stat": "goals",
                  "before": 0.3494,
                  "after": 0.2392
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.3325,
                  "after": 0.2276
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 0.3177,
                  "after": 0.2175
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.2369,
                  "after": 0.1622
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.2276,
                "goal_rate": 0.2392,
                "goals": 0,
                "shots_on_target": 0.5792,
                "total_shots": 1.6614,
                "expected_assists": 0.0334,
                "key_pass": 0.5872,
                "rating": 6.7958,
                "minutes": 74.73,
                "total_pass": 13.9036,
                "accurate_pass": 8.152,
                "duels_won": 6.4989,
                "total_long_balls": 0.4751,
                "accurate_long_balls": 0.2723,
                "total_opp_half_passes": 10.9607,
                "accurate_opp_half_passes": 5.9978,
                "crosses_total": 0.154,
                "crosses_accurate": 0.0485,
                "touches": 25.009,
                "possession_lost": 9.7428,
                "dispossessed": 0.9923,
                "duels_lost": 6.3415,
                "aerial_lost": 3.2313,
                "total_contest": 0.8309,
                "won_contest": 0.093,
                "ball_recovery": 1.252,
                "challenges_lost": 0.3879,
                "fouls": 1.0548,
                "fouls_drawn": 1.3589,
                "assist_rate": 0.0177,
                "assists": 0,
                "interceptions": 0.0049,
                "tackles_won": 0.5696,
                "tackles": 0.6689,
                "clearances": 1.012,
                "blocks": 0.1116,
                "big_chances_created": 0.2111,
                "big_chances_missed": 0.2175,
                "xgot": 0.1622,
                "offsides": 0.3446,
                "ball_carries": 5.0782,
                "total_progression": 8.7279,
                "progressive_carries": 0.5521,
                "shots_off_target": 1.0771,
                "duel_xg_multiplier": 0.6846,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Pau Cubarsí, Joan García",
                "opponent_faced": "Pau Cubarsí, Joan García",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.29 (squad xG sum 1.0060, xG scale 1.2803, xA scale 1.2803, team xA 0.96 = 0.74 x lambda)",
              "stats": {
                "expected_goals": 0.2914,
                "goal_rate": 0.2392,
                "goals": 0,
                "shots_on_target": 0.5792,
                "total_shots": 1.6614,
                "expected_assists": 0.0428,
                "key_pass": 0.5872,
                "rating": 6.7958,
                "minutes": 74.73,
                "total_pass": 13.9036,
                "accurate_pass": 8.152,
                "duels_won": 6.4989,
                "total_long_balls": 0.4751,
                "accurate_long_balls": 0.2723,
                "total_opp_half_passes": 10.9607,
                "accurate_opp_half_passes": 5.9978,
                "crosses_total": 0.154,
                "crosses_accurate": 0.0485,
                "touches": 25.009,
                "possession_lost": 9.7428,
                "dispossessed": 0.9923,
                "duels_lost": 6.3415,
                "aerial_lost": 3.2313,
                "total_contest": 0.8309,
                "won_contest": 0.093,
                "ball_recovery": 1.252,
                "challenges_lost": 0.3879,
                "fouls": 1.0548,
                "fouls_drawn": 1.3589,
                "assist_rate": 0.0177,
                "assists": 0,
                "interceptions": 0.0049,
                "tackles_won": 0.5696,
                "tackles": 0.6689,
                "clearances": 1.012,
                "blocks": 0.1116,
                "big_chances_created": 0.2111,
                "big_chances_missed": 0.2175,
                "xgot": 0.2077,
                "offsides": 0.3446,
                "ball_carries": 5.0782,
                "total_progression": 8.7279,
                "progressive_carries": 0.5521,
                "shots_off_target": 1.0771,
                "duel_xg_multiplier": 0.6846,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Pau Cubarsí, Joan García",
                "opponent_faced": "Pau Cubarsí, Joan García",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0418,
                "creation_factor": 0.8118
              },
              "params": {
                "team_lambda": 1.288,
                "squad_xg_sum": 1.006,
                "squad_xa_sum": 0.7484,
                "team_expected_assists": 0.9582,
                "team_xa_to_xg_ratio": 0.7439,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2803,
                "xa_scale": 1.2803,
                "opponent_lambda": 3.863,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.2276,
                  "after": 0.2914
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0334,
                  "after": 0.0428
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 9 by projected rating, fifa_overall 78.0)",
              "stats": {
                "expected_goals": 0.2914,
                "goal_rate": 0.2392,
                "goals": 0,
                "shots_on_target": 0.5792,
                "total_shots": 1.6614,
                "expected_assists": 0.0428,
                "key_pass": 0.5872,
                "rating": 6.7958,
                "minutes": 74.73,
                "total_pass": 13.9036,
                "accurate_pass": 8.152,
                "duels_won": 6.4989,
                "total_long_balls": 0.4751,
                "accurate_long_balls": 0.2723,
                "total_opp_half_passes": 10.9607,
                "accurate_opp_half_passes": 5.9978,
                "crosses_total": 0.154,
                "crosses_accurate": 0.0485,
                "touches": 25.009,
                "possession_lost": 9.7428,
                "dispossessed": 0.9923,
                "duels_lost": 6.3415,
                "aerial_lost": 3.2313,
                "total_contest": 0.8309,
                "won_contest": 0.093,
                "ball_recovery": 1.252,
                "challenges_lost": 0.3879,
                "fouls": 1.0548,
                "fouls_drawn": 1.3589,
                "assist_rate": 0.0177,
                "assists": 0,
                "interceptions": 0.0049,
                "tackles_won": 0.5696,
                "tackles": 0.6689,
                "clearances": 1.012,
                "blocks": 0.1116,
                "big_chances_created": 0.2111,
                "big_chances_missed": 0.2175,
                "xgot": 0.2077,
                "offsides": 0.3446,
                "ball_carries": 5.0782,
                "total_progression": 8.7279,
                "progressive_carries": 0.5521,
                "shots_off_target": 1.0771,
                "duel_xg_multiplier": 0.6846,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Pau Cubarsí, Joan García",
                "opponent_faced": "Pau Cubarsí, Joan García",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0418,
                "creation_factor": 0.8118,
                "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": 2078,
                "fifa_rank": 1236.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 78.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.2914,
                "goal_rate": 0.2392,
                "goals": 1,
                "shots_on_target": 0.5792,
                "total_shots": 1.6614,
                "expected_assists": 0.0428,
                "key_pass": 0.5872,
                "rating": 6.7958,
                "minutes": 74.73,
                "total_pass": 13.9036,
                "accurate_pass": 8.152,
                "duels_won": 6.4989,
                "total_long_balls": 0.4751,
                "accurate_long_balls": 0.2723,
                "total_opp_half_passes": 10.9607,
                "accurate_opp_half_passes": 5.9978,
                "crosses_total": 0.154,
                "crosses_accurate": 0.0485,
                "touches": 25.009,
                "possession_lost": 9.7428,
                "dispossessed": 0.9923,
                "duels_lost": 6.3415,
                "aerial_lost": 3.2313,
                "total_contest": 0.8309,
                "won_contest": 0.093,
                "ball_recovery": 1.252,
                "challenges_lost": 0.3879,
                "fouls": 1.0548,
                "fouls_drawn": 1.3589,
                "assist_rate": 0.0177,
                "assists": 0,
                "interceptions": 0.0049,
                "tackles_won": 0.5696,
                "tackles": 0.6689,
                "clearances": 1.012,
                "blocks": 0.1116,
                "big_chances_created": 0.2111,
                "big_chances_missed": 0.2175,
                "xgot": 0.2077,
                "offsides": 0.3446,
                "ball_carries": 5.0782,
                "total_progression": 8.7279,
                "progressive_carries": 0.5521,
                "shots_off_target": 1.0771,
                "duel_xg_multiplier": 0.6846,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Pau Cubarsí, Joan García",
                "opponent_faced": "Pau Cubarsí, Joan García",
                "antagonist_source": "attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.2528,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0418,
                "creation_factor": 0.8118,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 1,
                "goal_probability": 0.2528,
                "goal_rate": 0.2392,
                "scorer_weight": 0.3036,
                "squad_weight_total": 1.3792,
                "weight_share": 0.2201,
                "finishing_factor": 1.0418,
                "appearance_weight": 1.0,
                "weight_rank": 1,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Toni Martínez",
                    "weight": 0.3036,
                    "already": 0,
                    "effective_weight": 0.3036,
                    "runner_up": "Lucas Boyé",
                    "runner_up_effective_weight": 0.2934
                  }
                ]
              }
            },
            {
              "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.2914,
                "goal_rate": 0.2392,
                "goals": 1,
                "shots_on_target": 0.5792,
                "total_shots": 1.6614,
                "expected_assists": 0.0428,
                "key_pass": 0.5872,
                "rating": 6.7958,
                "minutes": 74.73,
                "total_pass": 13.9036,
                "accurate_pass": 8.152,
                "duels_won": 6.4989,
                "total_long_balls": 0.4751,
                "accurate_long_balls": 0.2723,
                "total_opp_half_passes": 10.9607,
                "accurate_opp_half_passes": 5.9978,
                "crosses_total": 0.154,
                "crosses_accurate": 0.0485,
                "touches": 25.009,
                "possession_lost": 9.7428,
                "dispossessed": 0.9923,
                "duels_lost": 6.3415,
                "aerial_lost": 3.2313,
                "total_contest": 0.8309,
                "won_contest": 0.093,
                "ball_recovery": 1.252,
                "challenges_lost": 0.3879,
                "fouls": 1.0548,
                "fouls_drawn": 1.3589,
                "assist_rate": 0.0177,
                "assists": 0,
                "interceptions": 0.0049,
                "tackles_won": 0.5696,
                "tackles": 0.6689,
                "clearances": 1.012,
                "blocks": 0.1116,
                "big_chances_created": 0.2111,
                "big_chances_missed": 0.2175,
                "xgot": 0.2077,
                "offsides": 0.3446,
                "ball_carries": 5.0782,
                "total_progression": 8.7279,
                "progressive_carries": 0.5521,
                "shots_off_target": 1.0771,
                "duel_xg_multiplier": 0.6846,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Pau Cubarsí, Joan García",
                "opponent_faced": "Pau Cubarsí, Joan García",
                "antagonist_source": "attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.2528,
                "projected_assists": 0,
                "assist_probability": 0.0419,
                "finishing_factor": 1.0418,
                "creation_factor": 0.8118,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0419,
                "assist_rate": 0.0177,
                "provider_weight": 0.0347,
                "squad_weight_total": 0.8425,
                "weight_share": 0.0412,
                "creation_factor": 0.8118,
                "appearance_weight": 1.0,
                "weight_rank": 9,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ángel Pérez",
                    "weight": 0.1853,
                    "already": 0,
                    "effective_weight": 0.1853,
                    "runner_up": "Hugo Novoa",
                    "runner_up_effective_weight": 0.1136,
                    "blocked_own_goal": [
                      "Toni Martínez"
                    ]
                  }
                ]
              }
            }
          ]
        }
      },
      "bench_players": {
        "Grégoire Swiderski": {
          "player_id": 1440572,
          "position": "G",
          "position_depth": "G_BENCH",
          "is_starter": false,
          "shirt_number": 31,
          "height": 187,
          "market_value": 240000,
          "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": 4,
            "projected_substitution_expected_count": 2.625,
            "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": null
          },
          "latest_10_games": [],
          "ranking": {
            "global_player_rank": null,
            "combined_rank_score": null,
            "ranking_source": "missing_player_rankings_csv_row",
            "ranking_status": "missing",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": null,
            "fifa_rank": null,
            "fifa_overall": null,
            "fifa_source": null,
            "match_squad_rank": 8,
            "squad_role": "substitute",
            "ranking_match": "none",
            "projected_match_rating": 6.8,
            "source_file": "data/player_rankings.csv",
            "player_name": "Grégoire Swiderski",
            "ranking_neighbors": {
              "upper": [],
              "lower": []
            }
          },
          "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": {
              "squad": "Alavés",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 0.0,
              "starts": 0.0,
              "sub_appearances": 0.0,
              "prior_reliability": 0.0
            },
            "rationale": "Bench projection from market-value prior (€240,000) scaled to 4.4 expected mins; FBref playing time empirical prior: 0.0 sub appearances, 0 mins/sub."
          },
          "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": 240000,
                "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": 4,
                "projected_substitution_expected_count": 2.625,
                "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": 4,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 8 by projected rating, fifa_overall n/a)",
              "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": 4,
                "projected_substitution_expected_count": 2.625,
                "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": null
              },
              "params": {
                "match_squad_rank": 8,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "missing_player_rankings_csv_row",
                "ranking_status": "missing",
                "ranking_match": "none"
              }
            }
          ]
        },
        "Youssef Enriquez": {
          "player_id": 1403364,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 3,
          "height": 170,
          "market_value": 5300000,
          "stats": {
            "interceptions": 0,
            "tackles": 0,
            "tackles_won": 0,
            "clearances": 0,
            "aerial_won": 0,
            "total_shots": 0,
            "rating": 6.6849,
            "minutes": 14,
            "total_pass": 5,
            "accurate_pass": 4,
            "duels_won": 1,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_own_half_passes": 3,
            "accurate_own_half_passes": 2,
            "total_opp_half_passes": 3,
            "accurate_opp_half_passes": 2,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 11,
            "possession_lost": 2.5944,
            "dispossessed": 0.1291,
            "duels_lost": 1,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0079,
            "expected_assists": 0.021,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0072,
            "ball_carries": 2,
            "total_progression": 10,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.304,
            "bench_expected_minutes": 13.68,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 4,
            "projected_substitution_expected_count": 2.625,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "available_bench_not_projected_used",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 83.0
          },
          "latest_10_games": [
            {
              "match_id": 16421077,
              "match_date": "2026-10-23",
              "home_team": "Deportivo Alavés",
              "away_team": "Málaga CF",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 35,
                "rating": 6.5,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.014,
                "expected_assists": 0.0073,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "total_pass": 20,
                "accurate_pass": 17,
                "tackles": 0,
                "tackles_won": 0,
                "interceptions": 0,
                "clearances": 0,
                "aerial_won": 0,
                "duels_won": 0,
                "ball_recovery": 0,
                "saves": 0
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416337,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 25,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0003,
                "total_shots": 0,
                "total_pass": 4,
                "accurate_pass": 3,
                "interceptions": 1,
                "clearances": 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": 16416334,
              "match_date": "2026-09-15",
              "home_team": "Deportivo Alavés",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "Valencia",
              "stats": {
                "minutes": 23,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0182,
                "expected_assists": 0.0057,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 5,
                "accurate_pass": 4,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416318,
              "match_date": "2026-09-06",
              "home_team": "Deportivo Alavés",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 19,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0338,
                "total_shots": 0,
                "total_pass": 16,
                "accurate_pass": 13,
                "key_pass": 1,
                "tackles": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416290,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 36,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0003,
                "total_shots": 0,
                "total_pass": 7,
                "accurate_pass": 4,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 4,
                "duels_won": 6,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416292,
              "match_date": "2026-08-20",
              "home_team": "Rayo Vallecano",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 20,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0741,
                "total_shots": 0,
                "total_pass": 16,
                "accurate_pass": 15,
                "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": 16421047,
              "match_date": "2026-08-15",
              "home_team": "Deportivo Alavés",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "Getafe",
              "stats": {
                "minutes": 25,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0674,
                "total_shots": 0,
                "total_pass": 8,
                "accurate_pass": 8,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 1,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083692,
              "match_date": "2026-05-17",
              "home_team": "Real Oviedo",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "Real Oviedo",
              "stats": {
                "minutes": 45,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0552,
                "total_shots": 0,
                "total_pass": 6,
                "accurate_pass": 4,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083578,
              "match_date": "2026-05-09",
              "home_team": "Elche",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "Elche",
              "stats": {
                "minutes": 23,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0189,
                "expected_assists": 0.3396,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 2,
                "accurate_pass": 1,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083295,
              "match_date": "2026-04-21",
              "home_team": "Real Madrid",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 66,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0681,
                "total_shots": 0,
                "total_pass": 15,
                "accurate_pass": 15,
                "key_pass": 1,
                "clearances": 1,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 413,
            "combined_rank_score": 283.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 257.0,
            "sofascore_rating": 7.1,
            "sofascore_appearances": 3.0,
            "fifa_rank": 310.0,
            "fifa_overall": 83.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 15,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6849,
            "source_file": "data/player_rankings.csv",
            "player_name": "Youssef Enriquez",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Jun-sang Lee",
                  "ranking": 408
                },
                {
                  "player_name": "Boburbek Yuldashov",
                  "ranking": 409
                },
                {
                  "player_name": "Dor Peretz",
                  "ranking": 410
                },
                {
                  "player_name": "Itsuki Urata",
                  "ranking": 411
                },
                {
                  "player_name": "Chi-Won Choi",
                  "ranking": 412
                }
              ],
              "lower": [
                {
                  "player_name": "Beom Song",
                  "ranking": 414
                },
                {
                  "player_name": "Irakli Azarovi",
                  "ranking": 415
                },
                {
                  "player_name": "Alexander Freeman",
                  "ranking": 416
                },
                {
                  "player_name": "Johaneko Louis Jean",
                  "ranking": 417
                },
                {
                  "player_name": "Roman Begunov",
                  "ranking": 418
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 32,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "totalTackle",
              "totalShots",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 32,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 13.684825411466107,
            "bench_appearance_prob": 0.3038557005211867,
            "market_value_adjustment": 0.9984,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost D_service (32 historical appearances) to 13.7 expected mins (appearance prob 0.30)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 0.2786,
                "tackles": 0.5099,
                "tackles_won": 0.3316,
                "clearances": 0.8967,
                "aerial_won": 0.3657,
                "total_shots": 0.1869,
                "rating": 6.6849,
                "minutes": 26.17,
                "total_pass": 10.5022,
                "accurate_pass": 8.4225,
                "duels_won": 1.4458,
                "total_long_balls": 1.6745,
                "accurate_long_balls": 0.5493,
                "total_own_half_passes": 4.7893,
                "accurate_own_half_passes": 4.1744,
                "total_opp_half_passes": 5.7129,
                "accurate_opp_half_passes": 4.2481,
                "crosses_total": 1.9716,
                "crosses_accurate": 0.5191,
                "touches": 20.9347,
                "possession_lost": 4.9694,
                "dispossessed": 0.1293,
                "duels_lost": 1.3694,
                "aerial_lost": 0.0428,
                "total_contest": 0.5271,
                "won_contest": 0.2307,
                "ball_recovery": 0.6876,
                "challenges_lost": 0.1586,
                "fouls": 0.7423,
                "fouls_drawn": 0.3362,
                "blocks": 0.082,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0152,
                "expected_assists": 0.0403,
                "shots_on_target": 0.0691,
                "big_chances_created": 0.0851,
                "xgot": 0.0138,
                "ball_carries": 4.4,
                "total_progression": 19.8617,
                "progressive_carries": 0.1875,
                "key_pass": 0.3861,
                "shots_off_target": 0.1178
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-31T10:29:25.210665+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 626,
                    "rows": 22004
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-23",
                    "opponent": "Málaga CF",
                    "minutes": 35.0,
                    "is_starting": false,
                    "weight": 0.1508,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Athletic Club",
                    "minutes": 25.0,
                    "is_starting": false,
                    "weight": 0.1282,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Valencia",
                    "minutes": 23.0,
                    "is_starting": false,
                    "weight": 0.109,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Osasuna",
                    "minutes": 19.0,
                    "is_starting": false,
                    "weight": 0.0926,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Villarreal",
                    "minutes": 36.0,
                    "is_starting": false,
                    "weight": 0.0787,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-20",
                    "opponent": "Rayo Vallecano",
                    "minutes": 20.0,
                    "is_starting": false,
                    "weight": 0.0669,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Getafe",
                    "minutes": 25.0,
                    "is_starting": false,
                    "weight": 0.0569,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Real Oviedo",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.0484,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-09",
                    "opponent": "Elche",
                    "minutes": 23.0,
                    "is_starting": false,
                    "weight": 0.0411,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-04-21",
                    "opponent": "Real Madrid",
                    "minutes": 66.0,
                    "is_starting": true,
                    "weight": 0.0349,
                    "rating": 6.2
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalClearance": 1.318,
                  "aerialWon": 0.2865,
                  "totalClearance_p90": 3.5269,
                  "totalTackle": 0.7466,
                  "totalPass": 12.8389
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.27860382199287415,
                    "model_output": 0.2786,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2977
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0446
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0318
                      },
                      {
                        "name": "touches",
                        "importance": 0.0281
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0208
                      }
                    ],
                    "decomposition": {
                      "base": 0.8678,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4611
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0442
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0295
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.014
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0068
                        }
                      ],
                      "others": -0.0336,
                      "total": 0.2786,
                      "log_link": true,
                      "margin_base": -0.141777,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.757929
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.115087
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.084943
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.042959
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.021555
                        }
                      ],
                      "others_margin": -0.113715
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 0.5098592638969421,
                    "model_output": 0.5099,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2493
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0731
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0475
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0414
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.0245
                      }
                    ],
                    "decomposition": {
                      "base": 1.3878,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.7952
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0362
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0291
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0202
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0159
                        }
                      ],
                      "others": -0.0131,
                      "total": 0.5099,
                      "log_link": true,
                      "margin_base": 0.327722,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.851005
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.06302
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.053769
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.039066
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": 0.03082
                        }
                      ],
                      "others_margin": -0.025304
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.33160388469696045,
                    "model_output": 0.3316,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1966
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0678
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0471
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0406
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0252
                      }
                    ],
                    "decomposition": {
                      "base": 0.8471,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4856
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0225
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0198
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0141
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0096
                        }
                      ],
                      "others": 0.0079,
                      "total": 0.3316,
                      "log_link": true,
                      "margin_base": -0.165887,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.851622
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.064395
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.060073
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": 0.043079
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.029341
                        }
                      ],
                      "others_margin": 0.024425
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 0.8967423439025879,
                    "model_output": 0.8967,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2929
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1447
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.1031
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0342
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0223
                      }
                    ],
                    "decomposition": {
                      "base": 3.4227,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -2.0767
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.3063
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.1029
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0661
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0556
                        }
                      ],
                      "others": 0.0816,
                      "total": 0.8967,
                      "log_link": true,
                      "margin_base": 1.230438,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.933311
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.258212
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.104257
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.073193
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.065977
                        }
                      ],
                      "others_margin": 0.095526
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.36572134494781494,
                    "model_output": 0.3657,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1591
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1548
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0782
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0406
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 1.3743,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.762
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.2212
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0362
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0289
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0197
                        }
                      ],
                      "others": 0.02,
                      "total": 0.3657,
                      "log_link": true,
                      "margin_base": 0.31798,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.808432
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.448173
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.097092
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.084938
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": 0.058678
                        }
                      ],
                      "others_margin": 0.056092
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.1869363933801651,
                    "model_output": 0.1869,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1011
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0687
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0377
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0308
                      },
                      {
                        "name": "rating",
                        "importance": 0.0275
                      }
                    ],
                    "decomposition": {
                      "base": 0.4801,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2382
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0195
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0183
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.013
                        },
                        {
                          "name": "aerialLost",
                          "contribution": 0.0098
                        }
                      ],
                      "others": -0.014,
                      "total": 0.1869,
                      "log_link": false,
                      "margin_base": 0.48008,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.238203
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.019454
                        },
                        {
                          "name": "totalProgression",
                          "margin": -0.018276
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.013025
                        },
                        {
                          "name": "aerialLost",
                          "margin": 0.009781
                        }
                      ],
                      "others_margin": -0.013966
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.68486213684082,
                    "model_output": 6.6849,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0922
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0582
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0462
                      },
                      {
                        "name": "rating",
                        "importance": 0.0313
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0279
                      }
                    ],
                    "decomposition": {
                      "base": 6.7972,
                      "items": [
                        {
                          "name": "totalPass",
                          "contribution": -0.0463
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0184
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0139
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0115
                        },
                        {
                          "name": "rating",
                          "contribution": -0.009
                        }
                      ],
                      "others": -0.0132,
                      "total": 6.6849,
                      "log_link": false,
                      "margin_base": 6.797222,
                      "item_margins": [
                        {
                          "name": "totalPass",
                          "margin": -0.046297
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.018432
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.013907
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.011495
                        },
                        {
                          "name": "rating",
                          "margin": -0.009018
                        }
                      ],
                      "others_margin": -0.01321
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 32,
                  "role_matches": 19,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9984, quality 0.466)",
              "stats": {
                "interceptions": 0.2782,
                "tackles": 0.509,
                "tackles_won": 0.3311,
                "clearances": 0.8953,
                "aerial_won": 0.3651,
                "total_shots": 0.1866,
                "rating": 6.6849,
                "minutes": 26.17,
                "total_pass": 10.4854,
                "accurate_pass": 8.409,
                "duels_won": 1.4435,
                "total_long_balls": 1.6718,
                "accurate_long_balls": 0.5484,
                "total_own_half_passes": 4.7816,
                "accurate_own_half_passes": 4.1677,
                "total_opp_half_passes": 5.7038,
                "accurate_opp_half_passes": 4.2413,
                "crosses_total": 1.9684,
                "crosses_accurate": 0.5183,
                "touches": 20.9012,
                "possession_lost": 4.9614,
                "dispossessed": 0.1291,
                "duels_lost": 1.3672,
                "aerial_lost": 0.0427,
                "total_contest": 0.5263,
                "won_contest": 0.2303,
                "ball_recovery": 0.6865,
                "challenges_lost": 0.1583,
                "fouls": 0.7411,
                "fouls_drawn": 0.3357,
                "blocks": 0.0819,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0152,
                "expected_assists": 0.0402,
                "shots_on_target": 0.069,
                "big_chances_created": 0.085,
                "xgot": 0.0138,
                "ball_carries": 4.393,
                "total_progression": 19.8299,
                "progressive_carries": 0.1872,
                "key_pass": 0.3855,
                "shots_off_target": 0.1176
              },
              "params": {
                "market_value_eur": 5300000,
                "quality_factor": 0.4659,
                "boost_factor": 0.9984,
                "reference_quality": 0.505,
                "history_matches": 32,
                "history_shrink": 0.1351,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 26.2 to 13.7 expected minutes (appearance prob 0.30)",
              "stats": {
                "interceptions": 0.1455,
                "tackles": 0.2662,
                "tackles_won": 0.1731,
                "clearances": 0.4682,
                "aerial_won": 0.1909,
                "total_shots": 0.0976,
                "rating": 6.6849,
                "minutes": 13.68,
                "total_pass": 5.483,
                "accurate_pass": 4.3972,
                "duels_won": 0.7548,
                "total_long_balls": 0.8742,
                "accurate_long_balls": 0.2868,
                "total_own_half_passes": 2.5004,
                "accurate_own_half_passes": 2.1794,
                "total_opp_half_passes": 2.9826,
                "accurate_opp_half_passes": 2.2179,
                "crosses_total": 1.0293,
                "crosses_accurate": 0.271,
                "touches": 10.9297,
                "possession_lost": 2.5944,
                "dispossessed": 0.1291,
                "duels_lost": 0.7149,
                "aerial_lost": 0.0427,
                "total_contest": 0.2752,
                "won_contest": 0.1204,
                "ball_recovery": 0.359,
                "challenges_lost": 0.1583,
                "fouls": 0.3875,
                "fouls_drawn": 0.1755,
                "blocks": 0.0428,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0079,
                "expected_assists": 0.021,
                "shots_on_target": 0.0361,
                "big_chances_created": 0.0444,
                "xgot": 0.0072,
                "ball_carries": 2.2972,
                "total_progression": 10.3695,
                "progressive_carries": 0.0979,
                "key_pass": 0.2016,
                "shots_off_target": 0.0615,
                "bench_appearance_probability": 0.304,
                "bench_expected_minutes": 13.68
              },
              "params": {
                "expected_minutes": 13.68,
                "projection_minutes": 26.17,
                "minutes_scale": 0.5229,
                "appearance_probability": 0.304
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.1455,
                "tackles": 0.2662,
                "tackles_won": 0.1731,
                "clearances": 0.4682,
                "aerial_won": 0.1909,
                "total_shots": 0.0976,
                "rating": 6.6849,
                "minutes": 13.68,
                "total_pass": 5.483,
                "accurate_pass": 4.3972,
                "duels_won": 0.7548,
                "total_long_balls": 0.8742,
                "accurate_long_balls": 0.2868,
                "total_own_half_passes": 2.5004,
                "accurate_own_half_passes": 2.1794,
                "total_opp_half_passes": 2.9826,
                "accurate_opp_half_passes": 2.2179,
                "crosses_total": 1.0293,
                "crosses_accurate": 0.271,
                "touches": 10.9297,
                "possession_lost": 2.5944,
                "dispossessed": 0.1291,
                "duels_lost": 0.7149,
                "aerial_lost": 0.0427,
                "total_contest": 0.2752,
                "won_contest": 0.1204,
                "ball_recovery": 0.359,
                "challenges_lost": 0.1583,
                "fouls": 0.3875,
                "fouls_drawn": 0.1755,
                "blocks": 0.0428,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0079,
                "expected_assists": 0.021,
                "shots_on_target": 0.0361,
                "big_chances_created": 0.0444,
                "xgot": 0.0072,
                "ball_carries": 2.2972,
                "total_progression": 10.3695,
                "progressive_carries": 0.0979,
                "key_pass": 0.2016,
                "shots_off_target": 0.0615,
                "bench_appearance_probability": 0.304,
                "bench_expected_minutes": 13.68
              },
              "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.1455,
                "tackles": 0.2662,
                "tackles_won": 0.1731,
                "clearances": 0.4682,
                "aerial_won": 0.1909,
                "total_shots": 0.0976,
                "rating": 6.6849,
                "minutes": 13.68,
                "total_pass": 5.483,
                "accurate_pass": 4.3972,
                "duels_won": 0.7548,
                "total_long_balls": 0.8742,
                "accurate_long_balls": 0.2868,
                "total_own_half_passes": 2.5004,
                "accurate_own_half_passes": 2.1794,
                "total_opp_half_passes": 2.9826,
                "accurate_opp_half_passes": 2.2179,
                "crosses_total": 1.0293,
                "crosses_accurate": 0.271,
                "touches": 10.9297,
                "possession_lost": 2.5944,
                "dispossessed": 0.1291,
                "duels_lost": 0.7149,
                "aerial_lost": 0.0427,
                "total_contest": 0.2752,
                "won_contest": 0.1204,
                "ball_recovery": 0.359,
                "challenges_lost": 0.1583,
                "fouls": 0.3875,
                "fouls_drawn": 0.1755,
                "blocks": 0.0428,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0079,
                "expected_assists": 0.021,
                "shots_on_target": 0.0361,
                "big_chances_created": 0.0444,
                "xgot": 0.0072,
                "ball_carries": 2.2972,
                "total_progression": 10.3695,
                "progressive_carries": 0.0979,
                "key_pass": 0.2016,
                "shots_off_target": 0.0615,
                "bench_appearance_probability": 0.304,
                "bench_expected_minutes": 13.68,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.625,
                "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.304,
                "projected_substitutes": 4,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 15 by projected rating, fifa_overall 83.0)",
              "stats": {
                "interceptions": 0.1455,
                "tackles": 0.2662,
                "tackles_won": 0.1731,
                "clearances": 0.4682,
                "aerial_won": 0.1909,
                "total_shots": 0.0976,
                "rating": 6.6849,
                "minutes": 13.68,
                "total_pass": 5.483,
                "accurate_pass": 4.3972,
                "duels_won": 0.7548,
                "total_long_balls": 0.8742,
                "accurate_long_balls": 0.2868,
                "total_own_half_passes": 2.5004,
                "accurate_own_half_passes": 2.1794,
                "total_opp_half_passes": 2.9826,
                "accurate_opp_half_passes": 2.2179,
                "crosses_total": 1.0293,
                "crosses_accurate": 0.271,
                "touches": 10.9297,
                "possession_lost": 2.5944,
                "dispossessed": 0.1291,
                "duels_lost": 0.7149,
                "aerial_lost": 0.0427,
                "total_contest": 0.2752,
                "won_contest": 0.1204,
                "ball_recovery": 0.359,
                "challenges_lost": 0.1583,
                "fouls": 0.3875,
                "fouls_drawn": 0.1755,
                "blocks": 0.0428,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0079,
                "expected_assists": 0.021,
                "shots_on_target": 0.0361,
                "big_chances_created": 0.0444,
                "xgot": 0.0072,
                "ball_carries": 2.2972,
                "total_progression": 10.3695,
                "progressive_carries": 0.0979,
                "key_pass": 0.2016,
                "shots_off_target": 0.0615,
                "bench_appearance_probability": 0.304,
                "bench_expected_minutes": 13.68,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.625,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 83.0
              },
              "params": {
                "match_squad_rank": 15,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 413,
                "fifa_rank": 310.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 83.0
              }
            }
          ]
        },
        "Victor Parada": {
          "player_id": 985726,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 24,
          "height": 184,
          "market_value": 3900000,
          "stats": {
            "interceptions": 0,
            "tackles": 0,
            "tackles_won": 0,
            "clearances": 1,
            "aerial_won": 0,
            "total_shots": 0,
            "rating": 6.6724,
            "minutes": 14,
            "total_pass": 4,
            "accurate_pass": 3,
            "duels_won": 1,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_own_half_passes": 1,
            "accurate_own_half_passes": 1,
            "total_opp_half_passes": 2,
            "accurate_opp_half_passes": 1,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 7,
            "possession_lost": 1.7146,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0042,
            "expected_assists": 0.0089,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 0,
            "total_progression": 0,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.301,
            "bench_expected_minutes": 13.62,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 4,
            "projected_substitution_expected_count": 2.625,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "available_bench_not_projected_used",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 77.0
          },
          "latest_10_games": [
            {
              "match_id": 14083706,
              "match_date": "2026-05-23",
              "home_team": "Deportivo Alavés",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 33,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0328,
                "expected_assists": 0.0012,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 12,
                "accurate_pass": 10,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083692,
              "match_date": "2026-05-17",
              "home_team": "Real Oviedo",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Real Oviedo",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0042,
                "total_shots": 0,
                "total_pass": 23,
                "accurate_pass": 20,
                "interceptions": 1,
                "clearances": 4,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083603,
              "match_date": "2026-05-13",
              "home_team": "Deportivo Alavés",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 80,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0015,
                "total_shots": 0,
                "total_pass": 5,
                "accurate_pass": 4,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083578,
              "match_date": "2026-05-09",
              "home_team": "Elche",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0279,
                "expected_assists": 0.0046,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 21,
                "accurate_pass": 19,
                "tackles": 4,
                "tackles_won": 3,
                "clearances": 7,
                "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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083364,
              "match_date": "2026-05-02",
              "home_team": "Deportivo Alavés",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1356,
                "total_shots": 0,
                "total_pass": 44,
                "accurate_pass": 39,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 3,
                "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": 14083202,
              "match_date": "2026-04-25",
              "home_team": "Deportivo Alavés",
              "away_team": "Mallorca",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Mallorca",
              "stats": {
                "minutes": 81,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.002,
                "total_shots": 0,
                "total_pass": 23,
                "accurate_pass": 21,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 5,
                "aerial_won": 2,
                "duels_won": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083295,
              "match_date": "2026-04-21",
              "home_team": "Real Madrid",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2795,
                "expected_assists": 0.0044,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 34,
                "accurate_pass": 32,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "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": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 5.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0262,
                "expected_assists": 0.004,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 31,
                "accurate_pass": 23,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 7,
                "aerial_won": 2,
                "duels_won": 3,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14081809,
              "match_date": "2026-04-05",
              "home_team": "Deportivo Alavés",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1129,
                "expected_assists": 0.0252,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 41,
                "accurate_pass": 38,
                "tackles": 1,
                "clearances": 1,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083689,
              "match_date": "2026-03-22",
              "home_team": "Celta Vigo",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.0162,
                "total_shots": 0,
                "total_pass": 41,
                "accurate_pass": 30,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 4,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 2617,
            "combined_rank_score": 1181.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 916.0,
            "sofascore_rating": 6.4966,
            "sofascore_appearances": 30.0,
            "fifa_rank": 1447.0,
            "fifa_overall": 77.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 16,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6724,
            "source_file": "data/player_rankings.csv",
            "player_name": "Victor Parada",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Carlos Herrera",
                  "ranking": 2612
                },
                {
                  "player_name": "Oybek Urmonjonov",
                  "ranking": 2613
                },
                {
                  "player_name": "Jeremiah Mensah",
                  "ranking": 2614
                },
                {
                  "player_name": "Bendito Mantato",
                  "ranking": 2615
                },
                {
                  "player_name": "Kieran Trippier",
                  "ranking": 2616
                }
              ],
              "lower": [
                {
                  "player_name": "Maximilian Arnold",
                  "ranking": 2618
                },
                {
                  "player_name": "Julián Alfaro",
                  "ranking": 2619
                },
                {
                  "player_name": "Min-Sung Kim",
                  "ranking": 2620
                },
                {
                  "player_name": "Mohamed Amoura",
                  "ranking": 2621
                },
                {
                  "player_name": "Łukasz Skorupski",
                  "ranking": 2622
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 30,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "totalTackle",
              "totalShots",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 30,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 13.61644058998921,
            "bench_appearance_prob": 0.30074729954496415,
            "market_value_adjustment": 0.9976,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost D_service (30 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.2883,
                "tackles": 0.5186,
                "tackles_won": 0.2682,
                "clearances": 1.068,
                "aerial_won": 0.4174,
                "total_shots": 0.1797,
                "rating": 6.6724,
                "minutes": 20.49,
                "total_pass": 5.6998,
                "accurate_pass": 4.1449,
                "duels_won": 1.6164,
                "total_long_balls": 1.2734,
                "accurate_long_balls": 0.5393,
                "total_own_half_passes": 2.1571,
                "accurate_own_half_passes": 2.1571,
                "total_opp_half_passes": 3.5427,
                "accurate_opp_half_passes": 1.9878,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 10.2428,
                "possession_lost": 2.5864,
                "dispossessed": 0.0,
                "duels_lost": 0.5512,
                "aerial_lost": 0.2696,
                "total_contest": 0.3312,
                "won_contest": 0.3312,
                "ball_recovery": 0.9745,
                "challenges_lost": 0.0,
                "fouls": 0.2815,
                "fouls_drawn": 0.0,
                "blocks": 0.2696,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0063,
                "expected_assists": 0.0134,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 0.0,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1797
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-31T10:29:25.210665+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 626,
                    "rows": 22004
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Rayo Vallecano",
                    "minutes": 33.0,
                    "is_starting": true,
                    "weight": 0.1512,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Real Oviedo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1285,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "FC Barcelona",
                    "minutes": 80.0,
                    "is_starting": true,
                    "weight": 0.1092,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-09",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0928,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0789,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-04-25",
                    "opponent": "Mallorca",
                    "minutes": 81.0,
                    "is_starting": true,
                    "weight": 0.0671,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-04-21",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.057,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-04-11",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0485,
                    "rating": 5.9
                  },
                  {
                    "match_date": "2026-04-05",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0412,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-03-22",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.035,
                    "rating": 6.3
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalClearance": 3.1828,
                  "aerialWon": 0.866,
                  "totalClearance_p90": 3.5484,
                  "totalTackle": 1.2381,
                  "totalPass": 24.4989
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.28825631737709045,
                    "model_output": 0.2883,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2977
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0446
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0318
                      },
                      {
                        "name": "touches",
                        "importance": 0.0281
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0208
                      }
                    ],
                    "decomposition": {
                      "base": 0.8678,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4845
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0454
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0092
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": -0.0082
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0078
                        }
                      ],
                      "others": -0.0244,
                      "total": 0.2883,
                      "log_link": true,
                      "margin_base": -0.141777,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.817163
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.126085
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.02767
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": -0.025162
                        },
                        {
                          "name": "touches",
                          "margin": -0.024681
                        }
                      ],
                      "others_margin": -0.081367
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 0.5186365842819214,
                    "model_output": 0.5186,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2493
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0731
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0475
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0414
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.0245
                      }
                    ],
                    "decomposition": {
                      "base": 1.3878,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.7782
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0207
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0197
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0195
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0151
                        }
                      ],
                      "others": -0.055,
                      "total": 0.5186,
                      "log_link": true,
                      "margin_base": 0.327722,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.822713
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.034582
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.034035
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.033634
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.025977
                        }
                      ],
                      "others_margin": -0.1006
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.2682022750377655,
                    "model_output": 0.2682,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1966
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0678
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0471
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0406
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0252
                      }
                    ],
                    "decomposition": {
                      "base": 0.8471,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.5079
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0097
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0092
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0088
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0085
                        }
                      ],
                      "others": -0.0542,
                      "total": 0.2682,
                      "log_link": true,
                      "margin_base": -0.165887,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.915033
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.028067
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.026846
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.026322
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.025966
                        }
                      ],
                      "others_margin": -0.184027
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 1.0680266618728638,
                    "model_output": 1.068,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2929
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1447
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.1031
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0342
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0223
                      }
                    ],
                    "decomposition": {
                      "base": 3.4227,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -2.1558
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0628
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0545
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0477
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0448
                        }
                      ],
                      "others": -0.0787,
                      "total": 1.068,
                      "log_link": true,
                      "margin_base": 1.230438,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.993865
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.050862
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.04632
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.042395
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.039889
                        }
                      ],
                      "others_margin": -0.071073
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.41736817359924316,
                    "model_output": 0.4174,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1591
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1548
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0782
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0406
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 1.3743,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.7995
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.1091
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0241
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0102
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0102
                        }
                      ],
                      "others": -0.0242,
                      "total": 0.4174,
                      "log_link": true,
                      "margin_base": 0.31798,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.871689
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.210408
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.053112
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.023364
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.023292
                        }
                      ],
                      "others_margin": -0.056486
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.17971810698509216,
                    "model_output": 0.1797,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1011
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0687
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0377
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0308
                      },
                      {
                        "name": "rating",
                        "importance": 0.0275
                      }
                    ],
                    "decomposition": {
                      "base": 0.4801,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2221
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0169
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0099
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.009
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0085
                        }
                      ],
                      "others": -0.034,
                      "total": 0.1797,
                      "log_link": false,
                      "margin_base": 0.48008,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.222126
                        },
                        {
                          "name": "rating",
                          "margin": -0.016883
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.00995
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.008985
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.008489
                        }
                      ],
                      "others_margin": -0.033929
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.672418594360352,
                    "model_output": 6.6724,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0922
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0582
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0462
                      },
                      {
                        "name": "rating",
                        "importance": 0.0313
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0279
                      }
                    ],
                    "decomposition": {
                      "base": 6.7972,
                      "items": [
                        {
                          "name": "totalPass",
                          "contribution": -0.0459
                        },
                        {
                          "name": "rating",
                          "contribution": -0.018
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0169
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0113
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0112
                        }
                      ],
                      "others": -0.0215,
                      "total": 6.6724,
                      "log_link": false,
                      "margin_base": 6.797222,
                      "item_margins": [
                        {
                          "name": "totalPass",
                          "margin": -0.045921
                        },
                        {
                          "name": "rating",
                          "margin": -0.018
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.016902
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.011342
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.011226
                        }
                      ],
                      "others_margin": -0.021413
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 30,
                  "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.9976, quality 0.449)",
              "stats": {
                "interceptions": 0.2876,
                "tackles": 0.5174,
                "tackles_won": 0.2676,
                "clearances": 1.0655,
                "aerial_won": 0.4164,
                "total_shots": 0.1793,
                "rating": 6.6724,
                "minutes": 20.49,
                "total_pass": 5.6861,
                "accurate_pass": 4.135,
                "duels_won": 1.6125,
                "total_long_balls": 1.2703,
                "accurate_long_balls": 0.538,
                "total_own_half_passes": 2.1519,
                "accurate_own_half_passes": 2.1519,
                "total_opp_half_passes": 3.5342,
                "accurate_opp_half_passes": 1.983,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 10.2182,
                "possession_lost": 2.5802,
                "dispossessed": 0.0,
                "duels_lost": 0.5499,
                "aerial_lost": 0.269,
                "total_contest": 0.3304,
                "won_contest": 0.3304,
                "ball_recovery": 0.9722,
                "challenges_lost": 0.0,
                "fouls": 0.2808,
                "fouls_drawn": 0.0,
                "blocks": 0.269,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0063,
                "expected_assists": 0.0134,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 0.0,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1793
              },
              "params": {
                "market_value_eur": 3900000,
                "quality_factor": 0.4486,
                "boost_factor": 0.9976,
                "reference_quality": 0.505,
                "history_matches": 30,
                "history_shrink": 0.1429,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 20.5 to 13.6 expected minutes (appearance prob 0.30)",
              "stats": {
                "interceptions": 0.1911,
                "tackles": 0.3438,
                "tackles_won": 0.1778,
                "clearances": 0.7081,
                "aerial_won": 0.2767,
                "total_shots": 0.1192,
                "rating": 6.6724,
                "minutes": 13.62,
                "total_pass": 3.7786,
                "accurate_pass": 2.7479,
                "duels_won": 1.0716,
                "total_long_balls": 0.8442,
                "accurate_long_balls": 0.3575,
                "total_own_half_passes": 1.43,
                "accurate_own_half_passes": 1.43,
                "total_opp_half_passes": 2.3486,
                "accurate_opp_half_passes": 1.3178,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 6.7904,
                "possession_lost": 1.7146,
                "dispossessed": 0.0,
                "duels_lost": 0.3654,
                "aerial_lost": 0.269,
                "total_contest": 0.2196,
                "won_contest": 0.2196,
                "ball_recovery": 0.6461,
                "challenges_lost": 0.0,
                "fouls": 0.1866,
                "fouls_drawn": 0.0,
                "blocks": 0.1788,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0042,
                "expected_assists": 0.0089,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 0.0,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1192,
                "bench_appearance_probability": 0.301,
                "bench_expected_minutes": 13.62
              },
              "params": {
                "expected_minutes": 13.62,
                "projection_minutes": 20.49,
                "minutes_scale": 0.6645,
                "appearance_probability": 0.301
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.1911,
                "tackles": 0.3438,
                "tackles_won": 0.1778,
                "clearances": 0.7081,
                "aerial_won": 0.2767,
                "total_shots": 0.1192,
                "rating": 6.6724,
                "minutes": 13.62,
                "total_pass": 3.7786,
                "accurate_pass": 2.7479,
                "duels_won": 1.0716,
                "total_long_balls": 0.8442,
                "accurate_long_balls": 0.3575,
                "total_own_half_passes": 1.43,
                "accurate_own_half_passes": 1.43,
                "total_opp_half_passes": 2.3486,
                "accurate_opp_half_passes": 1.3178,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 6.7904,
                "possession_lost": 1.7146,
                "dispossessed": 0.0,
                "duels_lost": 0.3654,
                "aerial_lost": 0.269,
                "total_contest": 0.2196,
                "won_contest": 0.2196,
                "ball_recovery": 0.6461,
                "challenges_lost": 0.0,
                "fouls": 0.1866,
                "fouls_drawn": 0.0,
                "blocks": 0.1788,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0042,
                "expected_assists": 0.0089,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 0.0,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1192,
                "bench_appearance_probability": 0.301,
                "bench_expected_minutes": 13.62
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "not_projected_to_play",
              "description": "Not among the projected substitutes: no share of the team's goals or assists",
              "stats": {
                "interceptions": 0.1911,
                "tackles": 0.3438,
                "tackles_won": 0.1778,
                "clearances": 0.7081,
                "aerial_won": 0.2767,
                "total_shots": 0.1192,
                "rating": 6.6724,
                "minutes": 13.62,
                "total_pass": 3.7786,
                "accurate_pass": 2.7479,
                "duels_won": 1.0716,
                "total_long_balls": 0.8442,
                "accurate_long_balls": 0.3575,
                "total_own_half_passes": 1.43,
                "accurate_own_half_passes": 1.43,
                "total_opp_half_passes": 2.3486,
                "accurate_opp_half_passes": 1.3178,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 6.7904,
                "possession_lost": 1.7146,
                "dispossessed": 0.0,
                "duels_lost": 0.3654,
                "aerial_lost": 0.269,
                "total_contest": 0.2196,
                "won_contest": 0.2196,
                "ball_recovery": 0.6461,
                "challenges_lost": 0.0,
                "fouls": 0.1866,
                "fouls_drawn": 0.0,
                "blocks": 0.1788,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0042,
                "expected_assists": 0.0089,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 0.0,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1192,
                "bench_appearance_probability": 0.301,
                "bench_expected_minutes": 13.62,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.625,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "appearance_probability": 0.301,
                "projected_substitutes": 4,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 16 by projected rating, fifa_overall 77.0)",
              "stats": {
                "interceptions": 0.1911,
                "tackles": 0.3438,
                "tackles_won": 0.1778,
                "clearances": 0.7081,
                "aerial_won": 0.2767,
                "total_shots": 0.1192,
                "rating": 6.6724,
                "minutes": 13.62,
                "total_pass": 3.7786,
                "accurate_pass": 2.7479,
                "duels_won": 1.0716,
                "total_long_balls": 0.8442,
                "accurate_long_balls": 0.3575,
                "total_own_half_passes": 1.43,
                "accurate_own_half_passes": 1.43,
                "total_opp_half_passes": 2.3486,
                "accurate_opp_half_passes": 1.3178,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 6.7904,
                "possession_lost": 1.7146,
                "dispossessed": 0.0,
                "duels_lost": 0.3654,
                "aerial_lost": 0.269,
                "total_contest": 0.2196,
                "won_contest": 0.2196,
                "ball_recovery": 0.6461,
                "challenges_lost": 0.0,
                "fouls": 0.1866,
                "fouls_drawn": 0.0,
                "blocks": 0.1788,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0042,
                "expected_assists": 0.0089,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 0.0,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1192,
                "bench_appearance_probability": 0.301,
                "bench_expected_minutes": 13.62,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.625,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 77.0
              },
              "params": {
                "match_squad_rank": 16,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 2617,
                "fifa_rank": 1447.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 77.0
              }
            }
          ]
        },
        "Carlos Vicente": {
          "player_id": 1084399,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 7,
          "height": 179,
          "market_value": 7400000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0299,
            "assist_rate": 0.0504,
            "assists": 0,
            "expected_goals": 0.0232,
            "goal_rate": 0.0309,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.8194,
            "minutes": 22,
            "total_pass": 9,
            "accurate_pass": 7,
            "duels_won": 2,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 3,
            "accurate_own_half_passes": 3,
            "total_opp_half_passes": 6,
            "accurate_opp_half_passes": 4,
            "crosses_total": 3,
            "crosses_accurate": 1,
            "touches": 17,
            "possession_lost": 5.5055,
            "dispossessed": 0.1483,
            "duels_lost": 1,
            "aerial_won": 0,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 1,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0598,
            "ball_carries": 5,
            "total_progression": 9,
            "progressive_carries": 1,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.508,
            "bench_expected_minutes": 22.19,
            "projected_substitution_order": 4,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 4,
            "projected_substitution_expected_count": 2.625,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0227,
            "projected_assists": 0,
            "assist_probability": 0.029,
            "finishing_factor": 0.9451,
            "creation_factor": 1.0469,
            "fifa_overall": 76.0
          },
          "latest_10_games": [
            {
              "match_id": 14083096,
              "match_date": "2026-01-25",
              "home_team": "Deportivo Alavés",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 83,
                "rating": 7.7,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3229,
                "expected_assists": 0.0147,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 23,
                "accurate_pass": 15,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "duels_won": 4,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083233,
              "match_date": "2026-01-18",
              "home_team": "Atlético Madrid",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.225,
                "total_shots": 0,
                "total_pass": 32,
                "accurate_pass": 27,
                "key_pass": 1,
                "tackles": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 11,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083214,
              "match_date": "2026-01-10",
              "home_team": "Villarreal",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0507,
                "expected_assists": 0.2028,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 42,
                "accurate_pass": 36,
                "key_pass": 3,
                "tackles": 2,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 8,
                "ball_recovery": 9
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083194,
              "match_date": "2026-01-04",
              "home_team": "Deportivo Alavés",
              "away_team": "Real Oviedo",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "Real Oviedo",
              "stats": {
                "minutes": 45,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0346,
                "expected_assists": 0.453,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 22,
                "accurate_pass": 17,
                "key_pass": 3,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 5,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083188,
              "match_date": "2025-12-20",
              "home_team": "Osasuna",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 45,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.046,
                "total_shots": 0,
                "total_pass": 11,
                "accurate_pass": 8,
                "key_pass": 1,
                "interceptions": 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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083164,
              "match_date": "2025-12-14",
              "home_team": "Deportivo Alavés",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 23,
                "rating": 7.7,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2448,
                "expected_assists": 0.1683,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 14,
                "accurate_pass": 9,
                "key_pass": 1,
                "aerial_won": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083150,
              "match_date": "2025-12-06",
              "home_team": "Deportivo Alavés",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 39,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0126,
                "total_shots": 0,
                "total_pass": 9,
                "accurate_pass": 5,
                "interceptions": 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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083144,
              "match_date": "2025-11-29",
              "home_team": "FC Barcelona",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 31,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1676,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 10,
                "key_pass": 2,
                "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": 14083121,
              "match_date": "2025-11-22",
              "home_team": "Deportivo Alavés",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 62,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0078,
                "total_shots": 0,
                "total_pass": 21,
                "accurate_pass": 18,
                "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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083114,
              "match_date": "2025-11-08",
              "home_team": "Girona FC",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 45,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.3619,
                "total_shots": 0,
                "total_pass": 15,
                "accurate_pass": 14,
                "key_pass": 3,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 3136,
            "combined_rank_score": 1102.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 393.0,
            "sofascore_rating": 6.9476,
            "sofascore_appearances": 21.0,
            "fifa_rank": 1812.0,
            "fifa_overall": 76.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 6,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8194,
            "source_file": "data/player_rankings.csv",
            "player_name": "Carlos Vicente",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Patrick Wimmer",
                  "ranking": 3131
                },
                {
                  "player_name": "Thomas Lemar",
                  "ranking": 3132
                },
                {
                  "player_name": "Robert Navarro",
                  "ranking": 3133
                },
                {
                  "player_name": "Luka Sučić",
                  "ranking": 3134
                },
                {
                  "player_name": "Che Adams",
                  "ranking": 3135
                }
              ],
              "lower": [
                {
                  "player_name": "Lautaro Di Lollo",
                  "ranking": 3137
                },
                {
                  "player_name": "Hugo Larsson",
                  "ranking": 3138
                },
                {
                  "player_name": "Kasper Dolberg",
                  "ranking": 3139
                },
                {
                  "player_name": "Matt Grimes",
                  "ranking": 3140
                },
                {
                  "player_name": "Sem Steijn",
                  "ranking": 3141
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "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.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 22.18617755459381,
            "bench_appearance_prob": 0.5084626161179004,
            "market_value_adjustment": 0.9992,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost M_service (21 historical appearances) to 22.2 expected mins (appearance prob 0.51)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.7302,
                "expected_assists": 0.0725,
                "assists": 0.0797,
                "assist_rate": 0.0797,
                "expected_goals": 0.0562,
                "goals": 0.0489,
                "goal_rate": 0.0489,
                "shots_on_target": 0.1991,
                "total_shots": 0.4988,
                "rating": 6.8194,
                "minutes": 35.02,
                "total_pass": 14.832,
                "accurate_pass": 11.3101,
                "duels_won": 2.4218,
                "total_long_balls": 0.5808,
                "accurate_long_balls": 0.2485,
                "total_own_half_passes": 5.1988,
                "accurate_own_half_passes": 4.3139,
                "total_opp_half_passes": 9.6333,
                "accurate_opp_half_passes": 6.9962,
                "crosses_total": 4.8483,
                "crosses_accurate": 1.7393,
                "touches": 27.1534,
                "possession_lost": 8.6972,
                "dispossessed": 0.1484,
                "duels_lost": 1.9858,
                "aerial_won": 0.4198,
                "aerial_lost": 0.447,
                "interceptions": 0.4185,
                "tackles_won": 0.1868,
                "tackles": 0.3005,
                "clearances": 0.5118,
                "total_contest": 1.1897,
                "won_contest": 0.5922,
                "challenges_lost": 0.4217,
                "fouls": 0.3711,
                "fouls_drawn": 1.1093,
                "blocks": 0.0,
                "big_chances_created": 0.6422,
                "big_chances_missed": 0.0704,
                "xgot": 0.1452,
                "ball_carries": 7.765,
                "total_progression": 14.6888,
                "progressive_carries": 1.3428,
                "shots_off_target": 0.2997
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-31T10:30:21.314387+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 902,
                    "rows": 24945
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-01-25",
                    "opponent": "Real Betis",
                    "minutes": 83.0,
                    "is_starting": true,
                    "weight": 0.1551,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-01-18",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1318,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-01-10",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1121,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-01-04",
                    "opponent": "Real Oviedo",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.0953,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2025-12-20",
                    "opponent": "Osasuna",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.081,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2025-12-14",
                    "opponent": "Real Madrid",
                    "minutes": 23.0,
                    "is_starting": false,
                    "weight": 0.0688,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2025-12-06",
                    "opponent": "Real Sociedad",
                    "minutes": 39.0,
                    "is_starting": false,
                    "weight": 0.0585,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2025-11-29",
                    "opponent": "FC Barcelona",
                    "minutes": 31.0,
                    "is_starting": false,
                    "weight": 0.0497,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2025-11-22",
                    "opponent": "Celta Vigo",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.0423,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2025-11-08",
                    "opponent": "Girona FC",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.0359,
                    "rating": 7.3
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalShots": 0.648,
                  "expectedGoals": 0.1199,
                  "creative_index": 0.6744,
                  "expectedAssists": 0.1494,
                  "keyPass": 1.462
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.7301557660102844,
                    "model_output": 0.7302,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1583
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1351
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0716
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0542
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.028
                      }
                    ],
                    "decomposition": {
                      "base": 0.8899,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3966
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.071
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0615
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0652
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.03
                        }
                      ],
                      "others": 0.0092,
                      "total": 0.7302,
                      "log_link": true,
                      "margin_base": -0.11669,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.589994
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.13449
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.10337
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.099167
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": 0.042438
                        }
                      ],
                      "others_margin": 0.012722
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.07249356061220169,
                    "model_output": 0.0725,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1213
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1076
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0864
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0618
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0476
                      }
                    ],
                    "decomposition": {
                      "base": 0.085,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0369
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0093
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0071
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0046
                        },
                        {
                          "name": "goalAssist",
                          "contribution": -0.0036
                        }
                      ],
                      "others": 0.007,
                      "total": 0.0725,
                      "log_link": true,
                      "margin_base": -2.465163,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.569905
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.176169
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.116154
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.06933
                        },
                        {
                          "name": "goalAssist",
                          "margin": -0.05369
                        }
                      ],
                      "others_margin": 0.102845
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.07965302467346191,
                    "model_output": 0.0797,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0508
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0447
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0336
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0324
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0322
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0214
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0074
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.006
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0061
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.006
                        }
                      ],
                      "others": -0.0095,
                      "total": 0.0797,
                      "log_link": true,
                      "margin_base": -2.463734,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.289477
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.110528
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.080694
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.076244
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.069437
                        }
                      ],
                      "others_margin": -0.113766
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.05622278153896332,
                    "model_output": 0.0562,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1242
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0778
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0743
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0437
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0241
                      }
                    ],
                    "decomposition": {
                      "base": 0.0911,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0378
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0106
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0054
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": 0.0022
                        },
                        {
                          "name": "goalAssist",
                          "contribution": -0.0019
                        }
                      ],
                      "others": -0.0026,
                      "total": 0.0562,
                      "log_link": true,
                      "margin_base": -2.395469,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.535651
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.180775
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.08776
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": 0.037598
                        },
                        {
                          "name": "goalAssist",
                          "margin": -0.030945
                        }
                      ],
                      "others_margin": -0.046979
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.04885829985141754,
                    "model_output": 0.0489,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0846
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0655
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0399
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0358
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0268
                      }
                    ],
                    "decomposition": {
                      "base": 0.0947,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.037
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.012
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0081
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0031
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0021
                        }
                      ],
                      "others": -0.0039,
                      "total": 0.0489,
                      "log_link": true,
                      "margin_base": -2.357331,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.496397
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.233425
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.163142
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.058507
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.040034
                        }
                      ],
                      "others_margin": -0.076346
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.1990957409143448,
                    "model_output": 0.1991,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1146
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0928
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0753
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0297
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.3177,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1392
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0195
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0183
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0099
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0063
                        }
                      ],
                      "others": 0.0056,
                      "total": 0.1991,
                      "log_link": true,
                      "margin_base": -1.146731,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.576618
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.115973
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.108781
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.054162
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.033342
                        }
                      ],
                      "others_margin": 0.029067
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.498803049325943,
                    "model_output": 0.4988,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1488
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1213
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0474
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0446
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0276
                      }
                    ],
                    "decomposition": {
                      "base": 0.9817,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4048
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1695
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0439
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0281
                        },
                        {
                          "name": "goalAssist",
                          "contribution": -0.018
                        }
                      ],
                      "others": 0.0374,
                      "total": 0.4988,
                      "log_link": false,
                      "margin_base": 0.98173,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.404822
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.169543
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.043897
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.028094
                        },
                        {
                          "name": "goalAssist",
                          "margin": -0.018007
                        }
                      ],
                      "others_margin": 0.037453
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.819421768188477,
                    "model_output": 6.8194,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.102
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0743
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0503
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0382
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 6.856,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0669
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0631
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0223
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0222
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0179
                        }
                      ],
                      "others": -0.015,
                      "total": 6.8194,
                      "log_link": false,
                      "margin_base": 6.856008,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.06695
                        },
                        {
                          "name": "rating",
                          "margin": 0.063139
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.022328
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.022199
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.017852
                        }
                      ],
                      "others_margin": -0.015053
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 21,
                  "role_matches": 10,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9992, quality 0.491)",
              "stats": {
                "key_pass": 0.7296,
                "expected_assists": 0.0724,
                "assists": 0.0796,
                "assist_rate": 0.0796,
                "expected_goals": 0.0562,
                "goals": 0.0488,
                "goal_rate": 0.0488,
                "shots_on_target": 0.1989,
                "total_shots": 0.4984,
                "rating": 6.8194,
                "minutes": 35.02,
                "total_pass": 14.8201,
                "accurate_pass": 11.3011,
                "duels_won": 2.4199,
                "total_long_balls": 0.5803,
                "accurate_long_balls": 0.2483,
                "total_own_half_passes": 5.1946,
                "accurate_own_half_passes": 4.3104,
                "total_opp_half_passes": 9.6256,
                "accurate_opp_half_passes": 6.9906,
                "crosses_total": 4.8444,
                "crosses_accurate": 1.7379,
                "touches": 27.1317,
                "possession_lost": 8.6902,
                "dispossessed": 0.1483,
                "duels_lost": 1.9842,
                "aerial_won": 0.4195,
                "aerial_lost": 0.4466,
                "interceptions": 0.4182,
                "tackles_won": 0.1867,
                "tackles": 0.3003,
                "clearances": 0.5114,
                "total_contest": 1.1887,
                "won_contest": 0.5917,
                "challenges_lost": 0.4214,
                "fouls": 0.3708,
                "fouls_drawn": 1.1084,
                "blocks": 0.0,
                "big_chances_created": 0.6417,
                "big_chances_missed": 0.0703,
                "xgot": 0.1451,
                "ball_carries": 7.7588,
                "total_progression": 14.677,
                "progressive_carries": 1.3417,
                "shots_off_target": 0.2995
              },
              "params": {
                "market_value_eur": 7400000,
                "quality_factor": 0.4915,
                "boost_factor": 0.9992,
                "reference_quality": 0.505,
                "history_matches": 21,
                "history_shrink": 0.1923,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 35.0 to 22.2 expected minutes (appearance prob 0.51)",
              "stats": {
                "key_pass": 0.4622,
                "expected_assists": 0.0459,
                "assists": 0.0504,
                "assist_rate": 0.0504,
                "expected_goals": 0.0356,
                "goals": 0.0309,
                "goal_rate": 0.0309,
                "shots_on_target": 0.126,
                "total_shots": 0.3158,
                "rating": 6.8194,
                "minutes": 22.19,
                "total_pass": 9.389,
                "accurate_pass": 7.1596,
                "duels_won": 1.5331,
                "total_long_balls": 0.3676,
                "accurate_long_balls": 0.1573,
                "total_own_half_passes": 3.2909,
                "accurate_own_half_passes": 2.7308,
                "total_opp_half_passes": 6.0981,
                "accurate_opp_half_passes": 4.4287,
                "crosses_total": 3.0691,
                "crosses_accurate": 1.101,
                "touches": 17.1887,
                "possession_lost": 5.5055,
                "dispossessed": 0.1483,
                "duels_lost": 1.257,
                "aerial_won": 0.2658,
                "aerial_lost": 0.4466,
                "interceptions": 0.2649,
                "tackles_won": 0.1183,
                "tackles": 0.1902,
                "clearances": 0.324,
                "total_contest": 0.7531,
                "won_contest": 0.3749,
                "challenges_lost": 0.4214,
                "fouls": 0.2349,
                "fouls_drawn": 0.7022,
                "blocks": 0.0,
                "big_chances_created": 0.4065,
                "big_chances_missed": 0.0445,
                "xgot": 0.0919,
                "ball_carries": 4.9154,
                "total_progression": 9.2983,
                "progressive_carries": 0.85,
                "shots_off_target": 0.1897,
                "bench_appearance_probability": 0.508,
                "bench_expected_minutes": 22.19
              },
              "params": {
                "expected_minutes": 22.19,
                "projection_minutes": 35.02,
                "minutes_scale": 0.6335,
                "appearance_probability": 0.508
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.4622,
                "expected_assists": 0.0459,
                "assists": 0.0504,
                "assist_rate": 0.0504,
                "expected_goals": 0.0356,
                "goals": 0.0309,
                "goal_rate": 0.0309,
                "shots_on_target": 0.126,
                "total_shots": 0.3158,
                "rating": 6.8194,
                "minutes": 22.19,
                "total_pass": 9.389,
                "accurate_pass": 7.1596,
                "duels_won": 1.5331,
                "total_long_balls": 0.3676,
                "accurate_long_balls": 0.1573,
                "total_own_half_passes": 3.2909,
                "accurate_own_half_passes": 2.7308,
                "total_opp_half_passes": 6.0981,
                "accurate_opp_half_passes": 4.4287,
                "crosses_total": 3.0691,
                "crosses_accurate": 1.101,
                "touches": 17.1887,
                "possession_lost": 5.5055,
                "dispossessed": 0.1483,
                "duels_lost": 1.257,
                "aerial_won": 0.2658,
                "aerial_lost": 0.4466,
                "interceptions": 0.2649,
                "tackles_won": 0.1183,
                "tackles": 0.1902,
                "clearances": 0.324,
                "total_contest": 0.7531,
                "won_contest": 0.3749,
                "challenges_lost": 0.4214,
                "fouls": 0.2349,
                "fouls_drawn": 0.7022,
                "blocks": 0.0,
                "big_chances_created": 0.4065,
                "big_chances_missed": 0.0445,
                "xgot": 0.0919,
                "ball_carries": 4.9154,
                "total_progression": 9.2983,
                "progressive_carries": 0.85,
                "shots_off_target": 0.1897,
                "bench_appearance_probability": 0.508,
                "bench_expected_minutes": 22.19
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 0.4622,
                "expected_assists": 0.0459,
                "assist_rate": 0.0504,
                "assists": 0,
                "expected_goals": 0.0356,
                "goal_rate": 0.0309,
                "goals": 0,
                "shots_on_target": 0.126,
                "total_shots": 0.3158,
                "rating": 6.8194,
                "minutes": 22.19,
                "total_pass": 9.389,
                "accurate_pass": 7.1596,
                "duels_won": 1.5331,
                "total_long_balls": 0.3676,
                "accurate_long_balls": 0.1573,
                "total_own_half_passes": 3.2909,
                "accurate_own_half_passes": 2.7308,
                "total_opp_half_passes": 6.0981,
                "accurate_opp_half_passes": 4.4287,
                "crosses_total": 3.0691,
                "crosses_accurate": 1.101,
                "touches": 17.1887,
                "possession_lost": 5.5055,
                "dispossessed": 0.1483,
                "duels_lost": 1.257,
                "aerial_won": 0.2658,
                "aerial_lost": 0.4466,
                "interceptions": 0.2649,
                "tackles_won": 0.1183,
                "tackles": 0.1902,
                "clearances": 0.324,
                "total_contest": 0.7531,
                "won_contest": 0.3749,
                "challenges_lost": 0.4214,
                "fouls": 0.2349,
                "fouls_drawn": 0.7022,
                "blocks": 0.0,
                "big_chances_created": 0.4065,
                "big_chances_missed": 0.0445,
                "xgot": 0.0919,
                "ball_carries": 4.9154,
                "total_progression": 9.2983,
                "progressive_carries": 0.85,
                "shots_off_target": 0.1897,
                "bench_appearance_probability": 0.508,
                "bench_expected_minutes": 22.19,
                "projected_substitution_order": 4,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.625,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.29 (squad xG sum 1.0060, xG scale 1.2803, xA scale 1.2803, team xA 0.96 = 0.74 x lambda)",
              "stats": {
                "key_pass": 0.4622,
                "expected_assists": 0.0299,
                "assist_rate": 0.0504,
                "assists": 0,
                "expected_goals": 0.0232,
                "goal_rate": 0.0309,
                "goals": 0,
                "shots_on_target": 0.126,
                "total_shots": 0.3158,
                "rating": 6.8194,
                "minutes": 22.19,
                "total_pass": 9.389,
                "accurate_pass": 7.1596,
                "duels_won": 1.5331,
                "total_long_balls": 0.3676,
                "accurate_long_balls": 0.1573,
                "total_own_half_passes": 3.2909,
                "accurate_own_half_passes": 2.7308,
                "total_opp_half_passes": 6.0981,
                "accurate_opp_half_passes": 4.4287,
                "crosses_total": 3.0691,
                "crosses_accurate": 1.101,
                "touches": 17.1887,
                "possession_lost": 5.5055,
                "dispossessed": 0.1483,
                "duels_lost": 1.257,
                "aerial_won": 0.2658,
                "aerial_lost": 0.4466,
                "interceptions": 0.2649,
                "tackles_won": 0.1183,
                "tackles": 0.1902,
                "clearances": 0.324,
                "total_contest": 0.7531,
                "won_contest": 0.3749,
                "challenges_lost": 0.4214,
                "fouls": 0.2349,
                "fouls_drawn": 0.7022,
                "blocks": 0.0,
                "big_chances_created": 0.4065,
                "big_chances_missed": 0.0445,
                "xgot": 0.0598,
                "ball_carries": 4.9154,
                "total_progression": 9.2983,
                "progressive_carries": 0.85,
                "shots_off_target": 0.1897,
                "bench_appearance_probability": 0.508,
                "bench_expected_minutes": 22.19,
                "projected_substitution_order": 4,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.625,
                "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.9451,
                "creation_factor": 1.0469
              },
              "params": {
                "team_lambda": 1.288,
                "squad_xg_sum": 1.006,
                "squad_xa_sum": 0.7484,
                "team_expected_assists": 0.9582,
                "team_xa_to_xg_ratio": 0.7439,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2803,
                "xa_scale": 1.2803,
                "opponent_lambda": 3.863,
                "scoreline_reset": true,
                "appearance_weight": 0.508
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0356,
                  "after": 0.0232
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0459,
                  "after": 0.0299
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 6 by projected rating, fifa_overall 76.0)",
              "stats": {
                "key_pass": 0.4622,
                "expected_assists": 0.0299,
                "assist_rate": 0.0504,
                "assists": 0,
                "expected_goals": 0.0232,
                "goal_rate": 0.0309,
                "goals": 0,
                "shots_on_target": 0.126,
                "total_shots": 0.3158,
                "rating": 6.8194,
                "minutes": 22.19,
                "total_pass": 9.389,
                "accurate_pass": 7.1596,
                "duels_won": 1.5331,
                "total_long_balls": 0.3676,
                "accurate_long_balls": 0.1573,
                "total_own_half_passes": 3.2909,
                "accurate_own_half_passes": 2.7308,
                "total_opp_half_passes": 6.0981,
                "accurate_opp_half_passes": 4.4287,
                "crosses_total": 3.0691,
                "crosses_accurate": 1.101,
                "touches": 17.1887,
                "possession_lost": 5.5055,
                "dispossessed": 0.1483,
                "duels_lost": 1.257,
                "aerial_won": 0.2658,
                "aerial_lost": 0.4466,
                "interceptions": 0.2649,
                "tackles_won": 0.1183,
                "tackles": 0.1902,
                "clearances": 0.324,
                "total_contest": 0.7531,
                "won_contest": 0.3749,
                "challenges_lost": 0.4214,
                "fouls": 0.2349,
                "fouls_drawn": 0.7022,
                "blocks": 0.0,
                "big_chances_created": 0.4065,
                "big_chances_missed": 0.0445,
                "xgot": 0.0598,
                "ball_carries": 4.9154,
                "total_progression": 9.2983,
                "progressive_carries": 0.85,
                "shots_off_target": 0.1897,
                "bench_appearance_probability": 0.508,
                "bench_expected_minutes": 22.19,
                "projected_substitution_order": 4,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.625,
                "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.9451,
                "creation_factor": 1.0469,
                "fifa_overall": 76.0
              },
              "params": {
                "match_squad_rank": 6,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3136,
                "fifa_rank": 1812.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 76.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 0.4622,
                "expected_assists": 0.0299,
                "assist_rate": 0.0504,
                "assists": 0,
                "expected_goals": 0.0232,
                "goal_rate": 0.0309,
                "goals": 0,
                "shots_on_target": 0.126,
                "total_shots": 0.3158,
                "rating": 6.8194,
                "minutes": 22.19,
                "total_pass": 9.389,
                "accurate_pass": 7.1596,
                "duels_won": 1.5331,
                "total_long_balls": 0.3676,
                "accurate_long_balls": 0.1573,
                "total_own_half_passes": 3.2909,
                "accurate_own_half_passes": 2.7308,
                "total_opp_half_passes": 6.0981,
                "accurate_opp_half_passes": 4.4287,
                "crosses_total": 3.0691,
                "crosses_accurate": 1.101,
                "touches": 17.1887,
                "possession_lost": 5.5055,
                "dispossessed": 0.1483,
                "duels_lost": 1.257,
                "aerial_won": 0.2658,
                "aerial_lost": 0.4466,
                "interceptions": 0.2649,
                "tackles_won": 0.1183,
                "tackles": 0.1902,
                "clearances": 0.324,
                "total_contest": 0.7531,
                "won_contest": 0.3749,
                "challenges_lost": 0.4214,
                "fouls": 0.2349,
                "fouls_drawn": 0.7022,
                "blocks": 0.0,
                "big_chances_created": 0.4065,
                "big_chances_missed": 0.0445,
                "xgot": 0.0598,
                "ball_carries": 4.9154,
                "total_progression": 9.2983,
                "progressive_carries": 0.85,
                "shots_off_target": 0.1897,
                "bench_appearance_probability": 0.508,
                "bench_expected_minutes": 22.19,
                "projected_substitution_order": 4,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.625,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0227,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9451,
                "creation_factor": 1.0469,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0227,
                "goal_rate": 0.0309,
                "scorer_weight": 0.0219,
                "squad_weight_total": 1.3792,
                "weight_share": 0.0159,
                "finishing_factor": 0.9451,
                "appearance_weight": 0.508,
                "weight_rank": 13,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Toni Martínez",
                    "weight": 0.3036,
                    "already": 0,
                    "effective_weight": 0.3036,
                    "runner_up": "Lucas Boyé",
                    "runner_up_effective_weight": 0.2934
                  }
                ]
              }
            },
            {
              "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.4622,
                "expected_assists": 0.0299,
                "assist_rate": 0.0504,
                "assists": 0,
                "expected_goals": 0.0232,
                "goal_rate": 0.0309,
                "goals": 0,
                "shots_on_target": 0.126,
                "total_shots": 0.3158,
                "rating": 6.8194,
                "minutes": 22.19,
                "total_pass": 9.389,
                "accurate_pass": 7.1596,
                "duels_won": 1.5331,
                "total_long_balls": 0.3676,
                "accurate_long_balls": 0.1573,
                "total_own_half_passes": 3.2909,
                "accurate_own_half_passes": 2.7308,
                "total_opp_half_passes": 6.0981,
                "accurate_opp_half_passes": 4.4287,
                "crosses_total": 3.0691,
                "crosses_accurate": 1.101,
                "touches": 17.1887,
                "possession_lost": 5.5055,
                "dispossessed": 0.1483,
                "duels_lost": 1.257,
                "aerial_won": 0.2658,
                "aerial_lost": 0.4466,
                "interceptions": 0.2649,
                "tackles_won": 0.1183,
                "tackles": 0.1902,
                "clearances": 0.324,
                "total_contest": 0.7531,
                "won_contest": 0.3749,
                "challenges_lost": 0.4214,
                "fouls": 0.2349,
                "fouls_drawn": 0.7022,
                "blocks": 0.0,
                "big_chances_created": 0.4065,
                "big_chances_missed": 0.0445,
                "xgot": 0.0598,
                "ball_carries": 4.9154,
                "total_progression": 9.2983,
                "progressive_carries": 0.85,
                "shots_off_target": 0.1897,
                "bench_appearance_probability": 0.508,
                "bench_expected_minutes": 22.19,
                "projected_substitution_order": 4,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.625,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0227,
                "projected_assists": 0,
                "assist_probability": 0.029,
                "finishing_factor": 0.9451,
                "creation_factor": 1.0469,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.029,
                "assist_rate": 0.0504,
                "provider_weight": 0.0313,
                "squad_weight_total": 0.8425,
                "weight_share": 0.0372,
                "creation_factor": 1.0469,
                "appearance_weight": 0.508,
                "weight_rank": 10,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ángel Pérez",
                    "weight": 0.1853,
                    "already": 0,
                    "effective_weight": 0.1853,
                    "runner_up": "Hugo Novoa",
                    "runner_up_effective_weight": 0.1136,
                    "blocked_own_goal": [
                      "Toni Martínez"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Carles Aleñá": {
          "player_id": 794937,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 10,
          "height": 180,
          "market_value": 2800000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0422,
            "assist_rate": 0.0464,
            "assists": 0,
            "expected_goals": 0.0307,
            "goal_rate": 0.0336,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.7181,
            "minutes": 13,
            "total_pass": 7,
            "accurate_pass": 7,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 2,
            "accurate_own_half_passes": 2,
            "total_opp_half_passes": 6,
            "accurate_opp_half_passes": 5,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 11,
            "possession_lost": 2.5505,
            "dispossessed": 0.8022,
            "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": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0012,
            "ball_carries": 3,
            "total_progression": 4,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.692,
            "bench_expected_minutes": 13.19,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 4,
            "projected_substitution_expected_count": 2.625,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.03,
            "projected_assists": 0,
            "assist_probability": 0.0409,
            "finishing_factor": 0.9882,
            "creation_factor": 0.9877,
            "fifa_overall": 78.0
          },
          "latest_10_games": [
            {
              "match_id": 16421077,
              "match_date": "2026-10-23",
              "home_team": "Deportivo Alavés",
              "away_team": "Málaga CF",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 45,
                "rating": 6.8,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1621,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "total_pass": 12,
                "accurate_pass": 10,
                "key_pass": 3,
                "tackles": 0,
                "tackles_won": 0,
                "interceptions": 0,
                "clearances": 0,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 0,
                "saves": 0
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421069,
              "match_date": "2026-10-18",
              "home_team": "Celta Vigo",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 62,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0714,
                "expected_assists": 0.0742,
                "total_shots": 1,
                "total_pass": 32,
                "accurate_pass": 28,
                "key_pass": 2,
                "aerial_won": 1,
                "duels_won": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416337,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 11,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0012,
                "total_shots": 0,
                "total_pass": 5,
                "accurate_pass": 5,
                "duels_won": 1,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416334,
              "match_date": "2026-09-15",
              "home_team": "Deportivo Alavés",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "Valencia",
              "stats": {
                "minutes": 11,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0065,
                "total_shots": 0,
                "total_pass": 7,
                "accurate_pass": 6,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416328,
              "match_date": "2026-09-12",
              "home_team": "Real Racing Club",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 23,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0039,
                "total_shots": 0,
                "total_pass": 10,
                "accurate_pass": 5,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416318,
              "match_date": "2026-09-06",
              "home_team": "Deportivo Alavés",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 71,
                "rating": 6.6,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.0901,
                "expected_assists": 0.0221,
                "total_shots": 1,
                "total_pass": 30,
                "accurate_pass": 25,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 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": 16416292,
              "match_date": "2026-08-20",
              "home_team": "Rayo Vallecano",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 10,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0106,
                "total_shots": 0,
                "total_pass": 9,
                "accurate_pass": 8,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421047,
              "match_date": "2026-08-15",
              "home_team": "Deportivo Alavés",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "Getafe",
              "stats": {
                "minutes": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0174,
                "expected_assists": 0.0054,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 9,
                "accurate_pass": 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": 14083364,
              "match_date": "2026-05-02",
              "home_team": "Deportivo Alavés",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 17,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0495,
                "total_shots": 0,
                "total_pass": 7,
                "accurate_pass": 7,
                "tackles": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083202,
              "match_date": "2026-04-25",
              "home_team": "Deportivo Alavés",
              "away_team": "Mallorca",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Mallorca",
              "stats": {
                "minutes": 63,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0271,
                "expected_assists": 0.1834,
                "total_shots": 1,
                "total_pass": 23,
                "accurate_pass": 18,
                "key_pass": 3,
                "tackles": 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"
            }
          ],
          "ranking": {
            "global_player_rank": 2212,
            "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": 14,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7181,
            "source_file": "data/player_rankings.csv",
            "player_name": "Carles Aleñá",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Darko Velkovski",
                  "ranking": 2207
                },
                {
                  "player_name": "Sandro Wieser",
                  "ranking": 2208
                },
                {
                  "player_name": "Zafar Sadullayev",
                  "ranking": 2209
                },
                {
                  "player_name": "Tyrell Malacia",
                  "ranking": 2210
                },
                {
                  "player_name": "Yeremay Hernández",
                  "ranking": 2211
                }
              ],
              "lower": [
                {
                  "player_name": "Jorge Cestero",
                  "ranking": 2213
                },
                {
                  "player_name": "Wallace Yan",
                  "ranking": 2214
                },
                {
                  "player_name": "Behruz Uktamov",
                  "ranking": 2215
                },
                {
                  "player_name": "Ilkhomzhon Kenzhaev",
                  "ranking": 2216
                },
                {
                  "player_name": "Ravshanbek Yagudin",
                  "ranking": 2217
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.751,
          "history_matches": 42,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 42,
            "data_confidence": 0.751,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 13.19,
            "bench_appearance_prob": 0.692,
            "market_value_adjustment": 0.9978,
            "fbref_prior_metrics": {
              "squad": "Alavés",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 0.0,
              "sub_appearances": 2.0,
              "minutes_per_sub": 6.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.0067
            },
            "rationale": "Bench projection scaled from XGBoost M_service (42 historical appearances) to 13.2 expected mins (appearance prob 0.69); FBref playing time empirical prior: 2.0 sub appearances, 6.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.6022,
                "expected_assists": 0.0657,
                "assists": 0.0642,
                "assist_rate": 0.0642,
                "expected_goals": 0.0478,
                "goals": 0.0464,
                "goal_rate": 0.0464,
                "shots_on_target": 0.1712,
                "total_shots": 0.4695,
                "rating": 6.7181,
                "minutes": 18.18,
                "total_pass": 10.3258,
                "accurate_pass": 9.0704,
                "duels_won": 0.9854,
                "total_long_balls": 0.467,
                "accurate_long_balls": 0.3216,
                "total_own_half_passes": 2.4329,
                "accurate_own_half_passes": 2.2796,
                "total_opp_half_passes": 7.8929,
                "accurate_opp_half_passes": 6.7908,
                "crosses_total": 1.4543,
                "crosses_accurate": 0.2959,
                "touches": 15.2867,
                "possession_lost": 3.5232,
                "dispossessed": 0.804,
                "duels_lost": 1.4241,
                "aerial_won": 0.0,
                "aerial_lost": 0.2203,
                "interceptions": 0.0,
                "tackles_won": 0.2812,
                "tackles": 0.3531,
                "clearances": 0.0196,
                "total_contest": 0.3506,
                "won_contest": 0.149,
                "challenges_lost": 0.0271,
                "fouls": 0.171,
                "fouls_drawn": 0.4833,
                "blocks": 0.0,
                "big_chances_created": 0.1386,
                "big_chances_missed": 0.0,
                "xgot": 0.0018,
                "ball_carries": 4.2971,
                "total_progression": 5.2545,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2982
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-31T10:30:21.314387+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 902,
                    "rows": 24945
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-23",
                    "opponent": "Málaga CF",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.1502,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-10-18",
                    "opponent": "Celta Vigo",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.1276,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Athletic Club",
                    "minutes": 11.0,
                    "is_starting": false,
                    "weight": 0.1085,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Valencia",
                    "minutes": 11.0,
                    "is_starting": false,
                    "weight": 0.0922,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Real Racing Club",
                    "minutes": 23.0,
                    "is_starting": false,
                    "weight": 0.0784,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Osasuna",
                    "minutes": 71.0,
                    "is_starting": true,
                    "weight": 0.0666,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-20",
                    "opponent": "Rayo Vallecano",
                    "minutes": 10.0,
                    "is_starting": false,
                    "weight": 0.0566,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Getafe",
                    "minutes": 1.0,
                    "is_starting": false,
                    "weight": 0.0481,
                    "rating": 0.0
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Athletic Club",
                    "minutes": 17.0,
                    "is_starting": false,
                    "weight": 0.0409,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-04-25",
                    "opponent": "Mallorca",
                    "minutes": 63.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalShots": 0.4761,
                  "expectedGoals": 0.0339,
                  "creative_index": 0.5133,
                  "expectedAssists": 0.0665,
                  "keyPass": 1.1837
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.6022000312805176,
                    "model_output": 0.6022,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1583
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1351
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0716
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0542
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.028
                      }
                    ],
                    "decomposition": {
                      "base": 0.8899,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4457
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0425
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0276
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.022
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0187
                        }
                      ],
                      "others": 0.0472,
                      "total": 0.6022,
                      "log_link": true,
                      "margin_base": -0.11669,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.694832
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.091375
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.05507
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.041842
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": 0.034223
                        }
                      ],
                      "others_margin": 0.081846
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.06570276618003845,
                    "model_output": 0.0657,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1213
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1076
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0864
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0618
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0476
                      }
                    ],
                    "decomposition": {
                      "base": 0.085,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0368
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0095
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0029
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0029
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0031
                        }
                      ],
                      "others": 0.0049,
                      "total": 0.0657,
                      "log_link": true,
                      "margin_base": -2.465163,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.566611
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.180611
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.052226
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.052189
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": 0.052109
                        }
                      ],
                      "others_margin": 0.076478
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.0641602873802185,
                    "model_output": 0.0642,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0508
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0447
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0336
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0324
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0322
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0227
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0075
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0069
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.006
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0057
                        }
                      ],
                      "others": -0.0123,
                      "total": 0.0642,
                      "log_link": true,
                      "margin_base": -2.463734,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.309642
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.113707
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.094477
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.081046
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.077236
                        }
                      ],
                      "others_margin": -0.177368
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.04782458394765854,
                    "model_output": 0.0478,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1242
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0778
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0743
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0437
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0241
                      }
                    ],
                    "decomposition": {
                      "base": 0.0911,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0385
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0069
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.005
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0043
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0029
                        }
                      ],
                      "others": -0.0043,
                      "total": 0.0478,
                      "log_link": true,
                      "margin_base": -2.395469,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.548555
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.139998
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.103709
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.080485
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.054058
                        }
                      ],
                      "others_margin": -0.08633
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.04637611284852028,
                    "model_output": 0.0464,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0846
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0655
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0399
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0358
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0268
                      }
                    ],
                    "decomposition": {
                      "base": 0.0947,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0361
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0113
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0046
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0047
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0045
                        }
                      ],
                      "others": -0.0057,
                      "total": 0.0464,
                      "log_link": true,
                      "margin_base": -2.357331,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.480716
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.213818
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.093106
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.086352
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.082039
                        }
                      ],
                      "others_margin": -0.116524
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.17124520242214203,
                    "model_output": 0.1712,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1146
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0928
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0753
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0297
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.3177,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1102
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.044
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": -0.0203
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0171
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0102
                        }
                      ],
                      "others": 0.0007,
                      "total": 0.1712,
                      "log_link": true,
                      "margin_base": -1.146731,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.425887
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.238117
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": -0.132644
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.112611
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.061466
                        }
                      ],
                      "others_margin": 0.004643
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.4694708287715912,
                    "model_output": 0.4695,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1488
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1213
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0474
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0446
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0276
                      }
                    ],
                    "decomposition": {
                      "base": 0.9817,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3737
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.2085
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.081
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0318
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": -0.0255
                        }
                      ],
                      "others": 0.0463,
                      "total": 0.4695,
                      "log_link": false,
                      "margin_base": 0.98173,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.373668
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.208541
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.081049
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.031789
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": -0.025527
                        }
                      ],
                      "others_margin": 0.046217
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.718099594116211,
                    "model_output": 6.7181,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.102
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0743
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0503
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0382
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 6.856,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0904
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0405
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.033
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0233
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0107
                        }
                      ],
                      "others": -0.008,
                      "total": 6.7181,
                      "log_link": false,
                      "margin_base": 6.856008,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.090439
                        },
                        {
                          "name": "rating",
                          "margin": -0.040496
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.03295
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.023257
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.010721
                        }
                      ],
                      "others_margin": -0.008003
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 42,
                  "role_matches": 16,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9978, quality 0.437)",
              "stats": {
                "key_pass": 0.6009,
                "expected_assists": 0.0656,
                "assists": 0.064,
                "assist_rate": 0.064,
                "expected_goals": 0.0477,
                "goals": 0.0463,
                "goal_rate": 0.0463,
                "shots_on_target": 0.1709,
                "total_shots": 0.4684,
                "rating": 6.7181,
                "minutes": 18.18,
                "total_pass": 10.3031,
                "accurate_pass": 9.0504,
                "duels_won": 0.9832,
                "total_long_balls": 0.466,
                "accurate_long_balls": 0.3209,
                "total_own_half_passes": 2.4275,
                "accurate_own_half_passes": 2.2746,
                "total_opp_half_passes": 7.8755,
                "accurate_opp_half_passes": 6.7759,
                "crosses_total": 1.4511,
                "crosses_accurate": 0.2952,
                "touches": 15.2531,
                "possession_lost": 3.5154,
                "dispossessed": 0.8022,
                "duels_lost": 1.421,
                "aerial_won": 0.0,
                "aerial_lost": 0.2198,
                "interceptions": 0.0,
                "tackles_won": 0.2806,
                "tackles": 0.3523,
                "clearances": 0.0196,
                "total_contest": 0.3498,
                "won_contest": 0.1487,
                "challenges_lost": 0.027,
                "fouls": 0.1706,
                "fouls_drawn": 0.4822,
                "blocks": 0.0,
                "big_chances_created": 0.1383,
                "big_chances_missed": 0.0,
                "xgot": 0.0018,
                "ball_carries": 4.2876,
                "total_progression": 5.2429,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2975
              },
              "params": {
                "market_value_eur": 2800000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9978,
                "reference_quality": 0.505,
                "history_matches": 42,
                "history_shrink": 0.1064,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0005)",
              "stats": {
                "key_pass": 0.6009,
                "expected_assists": 0.0656,
                "assists": 0.064,
                "assist_rate": 0.064,
                "expected_goals": 0.0477,
                "goals": 0.0463,
                "goal_rate": 0.0463,
                "shots_on_target": 0.1715,
                "total_shots": 0.4689,
                "rating": 6.7181,
                "minutes": 18.18,
                "total_pass": 10.3031,
                "accurate_pass": 9.0504,
                "duels_won": 0.9832,
                "total_long_balls": 0.466,
                "accurate_long_balls": 0.3209,
                "total_own_half_passes": 2.4275,
                "accurate_own_half_passes": 2.2746,
                "total_opp_half_passes": 7.8755,
                "accurate_opp_half_passes": 6.7759,
                "crosses_total": 1.4523,
                "crosses_accurate": 0.2952,
                "touches": 15.2531,
                "possession_lost": 3.5154,
                "dispossessed": 0.8022,
                "duels_lost": 1.421,
                "aerial_won": 0.0,
                "aerial_lost": 0.2198,
                "interceptions": 0.0,
                "tackles_won": 0.2814,
                "tackles": 0.3523,
                "clearances": 0.0196,
                "total_contest": 0.3498,
                "won_contest": 0.1487,
                "challenges_lost": 0.027,
                "fouls": 0.1705,
                "fouls_drawn": 0.482,
                "blocks": 0.0,
                "big_chances_created": 0.1383,
                "big_chances_missed": 0.0,
                "xgot": 0.0018,
                "ball_carries": 4.2876,
                "total_progression": 5.2429,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2975
              },
              "params": {
                "blend_weight": 0.0005,
                "history_matches": 42,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.202,
                "prior_reliability": 0.0067,
                "competition": "La Liga",
                "squad": "Alavés"
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 18.2 to 13.2 expected minutes (appearance prob 0.69)",
              "stats": {
                "key_pass": 0.436,
                "expected_assists": 0.0476,
                "assists": 0.0464,
                "assist_rate": 0.0464,
                "expected_goals": 0.0346,
                "goals": 0.0336,
                "goal_rate": 0.0336,
                "shots_on_target": 0.1244,
                "total_shots": 0.3403,
                "rating": 6.7181,
                "minutes": 13.19,
                "total_pass": 7.4751,
                "accurate_pass": 6.5663,
                "duels_won": 0.7133,
                "total_long_balls": 0.3381,
                "accurate_long_balls": 0.2328,
                "total_own_half_passes": 1.7612,
                "accurate_own_half_passes": 1.6503,
                "total_opp_half_passes": 5.7139,
                "accurate_opp_half_passes": 4.9161,
                "crosses_total": 1.0537,
                "crosses_accurate": 0.2142,
                "touches": 11.0665,
                "possession_lost": 2.5505,
                "dispossessed": 0.8022,
                "duels_lost": 1.031,
                "aerial_won": 0.0,
                "aerial_lost": 0.2198,
                "interceptions": 0.0,
                "tackles_won": 0.2042,
                "tackles": 0.2556,
                "clearances": 0.0142,
                "total_contest": 0.2538,
                "won_contest": 0.1079,
                "challenges_lost": 0.027,
                "fouls": 0.1237,
                "fouls_drawn": 0.3497,
                "blocks": 0.0,
                "big_chances_created": 0.1003,
                "big_chances_missed": 0.0,
                "xgot": 0.0013,
                "ball_carries": 3.1108,
                "total_progression": 3.8038,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2158,
                "bench_appearance_probability": 0.692,
                "bench_expected_minutes": 13.19
              },
              "params": {
                "expected_minutes": 13.19,
                "projection_minutes": 18.18,
                "minutes_scale": 0.7255,
                "appearance_probability": 0.692
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.436,
                "expected_assists": 0.0476,
                "assists": 0.0464,
                "assist_rate": 0.0464,
                "expected_goals": 0.0346,
                "goals": 0.0336,
                "goal_rate": 0.0336,
                "shots_on_target": 0.1244,
                "total_shots": 0.3403,
                "rating": 6.7181,
                "minutes": 13.19,
                "total_pass": 7.4751,
                "accurate_pass": 6.5663,
                "duels_won": 0.7133,
                "total_long_balls": 0.3381,
                "accurate_long_balls": 0.2328,
                "total_own_half_passes": 1.7612,
                "accurate_own_half_passes": 1.6503,
                "total_opp_half_passes": 5.7139,
                "accurate_opp_half_passes": 4.9161,
                "crosses_total": 1.0537,
                "crosses_accurate": 0.2142,
                "touches": 11.0665,
                "possession_lost": 2.5505,
                "dispossessed": 0.8022,
                "duels_lost": 1.031,
                "aerial_won": 0.0,
                "aerial_lost": 0.2198,
                "interceptions": 0.0,
                "tackles_won": 0.2042,
                "tackles": 0.2556,
                "clearances": 0.0142,
                "total_contest": 0.2538,
                "won_contest": 0.1079,
                "challenges_lost": 0.027,
                "fouls": 0.1237,
                "fouls_drawn": 0.3497,
                "blocks": 0.0,
                "big_chances_created": 0.1003,
                "big_chances_missed": 0.0,
                "xgot": 0.0013,
                "ball_carries": 3.1108,
                "total_progression": 3.8038,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2158,
                "bench_appearance_probability": 0.692,
                "bench_expected_minutes": 13.19
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 0.436,
                "expected_assists": 0.0476,
                "assist_rate": 0.0464,
                "assists": 0,
                "expected_goals": 0.0346,
                "goal_rate": 0.0336,
                "goals": 0,
                "shots_on_target": 0.1244,
                "total_shots": 0.3403,
                "rating": 6.7181,
                "minutes": 13.19,
                "total_pass": 7.4751,
                "accurate_pass": 6.5663,
                "duels_won": 0.7133,
                "total_long_balls": 0.3381,
                "accurate_long_balls": 0.2328,
                "total_own_half_passes": 1.7612,
                "accurate_own_half_passes": 1.6503,
                "total_opp_half_passes": 5.7139,
                "accurate_opp_half_passes": 4.9161,
                "crosses_total": 1.0537,
                "crosses_accurate": 0.2142,
                "touches": 11.0665,
                "possession_lost": 2.5505,
                "dispossessed": 0.8022,
                "duels_lost": 1.031,
                "aerial_won": 0.0,
                "aerial_lost": 0.2198,
                "interceptions": 0.0,
                "tackles_won": 0.2042,
                "tackles": 0.2556,
                "clearances": 0.0142,
                "total_contest": 0.2538,
                "won_contest": 0.1079,
                "challenges_lost": 0.027,
                "fouls": 0.1237,
                "fouls_drawn": 0.3497,
                "blocks": 0.0,
                "big_chances_created": 0.1003,
                "big_chances_missed": 0.0,
                "xgot": 0.0013,
                "ball_carries": 3.1108,
                "total_progression": 3.8038,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2158,
                "bench_appearance_probability": 0.692,
                "bench_expected_minutes": 13.19,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.625,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.29 (squad xG sum 1.0060, xG scale 1.2803, xA scale 1.2803, team xA 0.96 = 0.74 x lambda)",
              "stats": {
                "key_pass": 0.436,
                "expected_assists": 0.0422,
                "assist_rate": 0.0464,
                "assists": 0,
                "expected_goals": 0.0307,
                "goal_rate": 0.0336,
                "goals": 0,
                "shots_on_target": 0.1244,
                "total_shots": 0.3403,
                "rating": 6.7181,
                "minutes": 13.19,
                "total_pass": 7.4751,
                "accurate_pass": 6.5663,
                "duels_won": 0.7133,
                "total_long_balls": 0.3381,
                "accurate_long_balls": 0.2328,
                "total_own_half_passes": 1.7612,
                "accurate_own_half_passes": 1.6503,
                "total_opp_half_passes": 5.7139,
                "accurate_opp_half_passes": 4.9161,
                "crosses_total": 1.0537,
                "crosses_accurate": 0.2142,
                "touches": 11.0665,
                "possession_lost": 2.5505,
                "dispossessed": 0.8022,
                "duels_lost": 1.031,
                "aerial_won": 0.0,
                "aerial_lost": 0.2198,
                "interceptions": 0.0,
                "tackles_won": 0.2042,
                "tackles": 0.2556,
                "clearances": 0.0142,
                "total_contest": 0.2538,
                "won_contest": 0.1079,
                "challenges_lost": 0.027,
                "fouls": 0.1237,
                "fouls_drawn": 0.3497,
                "blocks": 0.0,
                "big_chances_created": 0.1003,
                "big_chances_missed": 0.0,
                "xgot": 0.0012,
                "ball_carries": 3.1108,
                "total_progression": 3.8038,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2158,
                "bench_appearance_probability": 0.692,
                "bench_expected_minutes": 13.19,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.625,
                "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.9882,
                "creation_factor": 0.9877
              },
              "params": {
                "team_lambda": 1.288,
                "squad_xg_sum": 1.006,
                "squad_xa_sum": 0.7484,
                "team_expected_assists": 0.9582,
                "team_xa_to_xg_ratio": 0.7439,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2803,
                "xa_scale": 1.2803,
                "opponent_lambda": 3.863,
                "scoreline_reset": true,
                "appearance_weight": 0.692
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.0476,
                  "after": 0.0422
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 14 by projected rating, fifa_overall 78.0)",
              "stats": {
                "key_pass": 0.436,
                "expected_assists": 0.0422,
                "assist_rate": 0.0464,
                "assists": 0,
                "expected_goals": 0.0307,
                "goal_rate": 0.0336,
                "goals": 0,
                "shots_on_target": 0.1244,
                "total_shots": 0.3403,
                "rating": 6.7181,
                "minutes": 13.19,
                "total_pass": 7.4751,
                "accurate_pass": 6.5663,
                "duels_won": 0.7133,
                "total_long_balls": 0.3381,
                "accurate_long_balls": 0.2328,
                "total_own_half_passes": 1.7612,
                "accurate_own_half_passes": 1.6503,
                "total_opp_half_passes": 5.7139,
                "accurate_opp_half_passes": 4.9161,
                "crosses_total": 1.0537,
                "crosses_accurate": 0.2142,
                "touches": 11.0665,
                "possession_lost": 2.5505,
                "dispossessed": 0.8022,
                "duels_lost": 1.031,
                "aerial_won": 0.0,
                "aerial_lost": 0.2198,
                "interceptions": 0.0,
                "tackles_won": 0.2042,
                "tackles": 0.2556,
                "clearances": 0.0142,
                "total_contest": 0.2538,
                "won_contest": 0.1079,
                "challenges_lost": 0.027,
                "fouls": 0.1237,
                "fouls_drawn": 0.3497,
                "blocks": 0.0,
                "big_chances_created": 0.1003,
                "big_chances_missed": 0.0,
                "xgot": 0.0012,
                "ball_carries": 3.1108,
                "total_progression": 3.8038,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2158,
                "bench_appearance_probability": 0.692,
                "bench_expected_minutes": 13.19,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.625,
                "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.9882,
                "creation_factor": 0.9877,
                "fifa_overall": 78.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": 2212,
                "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: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 0.436,
                "expected_assists": 0.0422,
                "assist_rate": 0.0464,
                "assists": 0,
                "expected_goals": 0.0307,
                "goal_rate": 0.0336,
                "goals": 0,
                "shots_on_target": 0.1244,
                "total_shots": 0.3403,
                "rating": 6.7181,
                "minutes": 13.19,
                "total_pass": 7.4751,
                "accurate_pass": 6.5663,
                "duels_won": 0.7133,
                "total_long_balls": 0.3381,
                "accurate_long_balls": 0.2328,
                "total_own_half_passes": 1.7612,
                "accurate_own_half_passes": 1.6503,
                "total_opp_half_passes": 5.7139,
                "accurate_opp_half_passes": 4.9161,
                "crosses_total": 1.0537,
                "crosses_accurate": 0.2142,
                "touches": 11.0665,
                "possession_lost": 2.5505,
                "dispossessed": 0.8022,
                "duels_lost": 1.031,
                "aerial_won": 0.0,
                "aerial_lost": 0.2198,
                "interceptions": 0.0,
                "tackles_won": 0.2042,
                "tackles": 0.2556,
                "clearances": 0.0142,
                "total_contest": 0.2538,
                "won_contest": 0.1079,
                "challenges_lost": 0.027,
                "fouls": 0.1237,
                "fouls_drawn": 0.3497,
                "blocks": 0.0,
                "big_chances_created": 0.1003,
                "big_chances_missed": 0.0,
                "xgot": 0.0012,
                "ball_carries": 3.1108,
                "total_progression": 3.8038,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2158,
                "bench_appearance_probability": 0.692,
                "bench_expected_minutes": 13.19,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.625,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.03,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9882,
                "creation_factor": 0.9877,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.03,
                "goal_rate": 0.0336,
                "scorer_weight": 0.0303,
                "squad_weight_total": 1.3792,
                "weight_share": 0.022,
                "finishing_factor": 0.9882,
                "appearance_weight": 0.692,
                "weight_rank": 12,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Toni Martínez",
                    "weight": 0.3036,
                    "already": 0,
                    "effective_weight": 0.3036,
                    "runner_up": "Lucas Boyé",
                    "runner_up_effective_weight": 0.2934
                  }
                ]
              }
            },
            {
              "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.436,
                "expected_assists": 0.0422,
                "assist_rate": 0.0464,
                "assists": 0,
                "expected_goals": 0.0307,
                "goal_rate": 0.0336,
                "goals": 0,
                "shots_on_target": 0.1244,
                "total_shots": 0.3403,
                "rating": 6.7181,
                "minutes": 13.19,
                "total_pass": 7.4751,
                "accurate_pass": 6.5663,
                "duels_won": 0.7133,
                "total_long_balls": 0.3381,
                "accurate_long_balls": 0.2328,
                "total_own_half_passes": 1.7612,
                "accurate_own_half_passes": 1.6503,
                "total_opp_half_passes": 5.7139,
                "accurate_opp_half_passes": 4.9161,
                "crosses_total": 1.0537,
                "crosses_accurate": 0.2142,
                "touches": 11.0665,
                "possession_lost": 2.5505,
                "dispossessed": 0.8022,
                "duels_lost": 1.031,
                "aerial_won": 0.0,
                "aerial_lost": 0.2198,
                "interceptions": 0.0,
                "tackles_won": 0.2042,
                "tackles": 0.2556,
                "clearances": 0.0142,
                "total_contest": 0.2538,
                "won_contest": 0.1079,
                "challenges_lost": 0.027,
                "fouls": 0.1237,
                "fouls_drawn": 0.3497,
                "blocks": 0.0,
                "big_chances_created": 0.1003,
                "big_chances_missed": 0.0,
                "xgot": 0.0012,
                "ball_carries": 3.1108,
                "total_progression": 3.8038,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2158,
                "bench_appearance_probability": 0.692,
                "bench_expected_minutes": 13.19,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.625,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.03,
                "projected_assists": 0,
                "assist_probability": 0.0409,
                "finishing_factor": 0.9882,
                "creation_factor": 0.9877,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0409,
                "assist_rate": 0.0464,
                "provider_weight": 0.0417,
                "squad_weight_total": 0.8425,
                "weight_share": 0.0495,
                "creation_factor": 0.9877,
                "appearance_weight": 0.692,
                "weight_rank": 7,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ángel Pérez",
                    "weight": 0.1853,
                    "already": 0,
                    "effective_weight": 0.1853,
                    "runner_up": "Hugo Novoa",
                    "runner_up_effective_weight": 0.1136,
                    "blocked_own_goal": [
                      "Toni Martínez"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Miguel Rodríguez": {
          "player_id": 1014118,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 22,
          "height": 179,
          "market_value": 4600000,
          "stats": {
            "expected_goals": 0.0646,
            "goal_rate": 0.1087,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0304,
            "key_pass": 1,
            "rating": 6.6467,
            "minutes": 25,
            "total_pass": 3,
            "accurate_pass": 2,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 3,
            "accurate_opp_half_passes": 2,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 8,
            "possession_lost": 3.1464,
            "dispossessed": 0.7705,
            "duels_lost": 2,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 2,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 1,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "offsides": 0,
            "ball_carries": 3,
            "total_progression": 23,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.562,
            "bench_expected_minutes": 25.37,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 4,
            "projected_substitution_expected_count": 2.625,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.061,
            "projected_assists": 0,
            "assist_probability": 0.0296,
            "finishing_factor": 1.1352,
            "creation_factor": 0.8,
            "fifa_overall": 72.0
          },
          "latest_10_games": [
            {
              "match_id": 16416334,
              "match_date": "2026-09-15",
              "home_team": "Deportivo Alavés",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "Valencia",
              "stats": {
                "minutes": 11,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0172,
                "total_shots": 0,
                "total_pass": 4,
                "accurate_pass": 3,
                "key_pass": 2,
                "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": 16416328,
              "match_date": "2026-09-12",
              "home_team": "Real Racing Club",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0091,
                "total_shots": 0,
                "total_pass": 1,
                "accurate_pass": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416318,
              "match_date": "2026-09-06",
              "home_team": "Deportivo Alavés",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 12,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0,
                "total_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"
            }
          ],
          "ranking": {
            "global_player_rank": 4196,
            "combined_rank_score": 2227.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": 0.0,
            "fifa_rank": 4258.0,
            "fifa_overall": 72.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 17,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6467,
            "source_file": "data/player_rankings.csv",
            "player_name": "Miguel Rodríguez",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "José Sosa",
                  "ranking": 4191
                },
                {
                  "player_name": "Jason Knight",
                  "ranking": 4192
                },
                {
                  "player_name": "Pablo Marín",
                  "ranking": 4193
                },
                {
                  "player_name": "Yvan Neyou",
                  "ranking": 4194
                },
                {
                  "player_name": "Sidiki Cherif",
                  "ranking": 4195
                }
              ],
              "lower": [
                {
                  "player_name": "Federico Navarro",
                  "ranking": 4197
                },
                {
                  "player_name": "Yukinari Sugawara",
                  "ranking": 4198
                },
                {
                  "player_name": "Patrick Pentz",
                  "ranking": 4199
                },
                {
                  "player_name": "Álex Sancris",
                  "ranking": 4200
                },
                {
                  "player_name": "Bartosz Slisz",
                  "ranking": 4201
                }
              ]
            }
          },
          "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.37070150421028,
            "bench_appearance_prob": 0.56230461382774,
            "market_value_adjustment": 0.991,
            "fbref_prior_metrics": {
              "squad": "Alavés",
              "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 F_service (3 historical appearances) to 25.4 expected mins (appearance prob 0.56); FBref playing time empirical prior: 0.0 sub appearances, 0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.0604,
                "goals": 0.0731,
                "goal_rate": 0.0731,
                "shots_on_target": 0.2373,
                "total_shots": 0.6221,
                "expected_assists": 0.0284,
                "key_pass": 0.3975,
                "rating": 6.6467,
                "minutes": 12.79,
                "total_pass": 2.1662,
                "accurate_pass": 1.4966,
                "duels_won": 0.7775,
                "total_long_balls": 0.3304,
                "accurate_long_balls": 0.3304,
                "total_opp_half_passes": 2.1662,
                "accurate_opp_half_passes": 1.4966,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 5.449,
                "possession_lost": 2.1166,
                "dispossessed": 0.7775,
                "duels_lost": 1.0583,
                "aerial_lost": 0.2809,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.1662,
                "challenges_lost": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.3887,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.3887,
                "tackles": 0.3887,
                "clearances": 0.2809,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 1.8853,
                "total_progression": 15.6129,
                "progressive_carries": 0.3887,
                "shots_off_target": 0.3847
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-31T10:30:56.271646+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 610,
                    "rows": 17075
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Valencia",
                    "minutes": 11.0,
                    "is_starting": false,
                    "weight": 0.3887,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Real Racing Club",
                    "minutes": 1.0,
                    "is_starting": false,
                    "weight": 0.3304,
                    "rating": 0.0
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Osasuna",
                    "minutes": 12.0,
                    "is_starting": false,
                    "weight": 0.2809,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 0.0,
                  "accurateOppositionHalfPasses": 1.4966,
                  "expectedGoals": 0.0,
                  "totalOppositionHalfPasses": 2.1662,
                  "accuratePass": 1.4966,
                  "totalShots": 0.0
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.060393571853637695,
                    "model_output": 0.0604,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.282
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0898
                      },
                      {
                        "name": "goals",
                        "importance": 0.0323
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0316
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0236
                      }
                    ],
                    "decomposition": {
                      "base": 0.1945,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0841
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0155
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0102
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.005
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.0041
                        }
                      ],
                      "others": -0.0152,
                      "total": 0.0604,
                      "log_link": true,
                      "margin_base": -1.637486,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.566561
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.151637
                        },
                        {
                          "name": "goals",
                          "margin": -0.114089
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.061267
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": -0.053544
                        }
                      ],
                      "others_margin": -0.222289
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.07312189042568207,
                    "model_output": 0.0731,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.144
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0742
                      },
                      {
                        "name": "goals",
                        "importance": 0.053
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0321
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0311
                      }
                    ],
                    "decomposition": {
                      "base": 0.199,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0767
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0195
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0096
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0083
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0072
                        }
                      ],
                      "others": -0.0238,
                      "total": 0.0731,
                      "log_link": true,
                      "margin_base": -1.614663,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.486862
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.174179
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.089297
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.076559
                        },
                        {
                          "name": "goals",
                          "margin": -0.071296
                        }
                      ],
                      "others_margin": -0.281365
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.23734575510025024,
                    "model_output": 0.2373,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2115
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.066
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0499
                      },
                      {
                        "name": "goals",
                        "importance": 0.0473
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0333
                      }
                    ],
                    "decomposition": {
                      "base": 0.5305,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2379
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0231
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0159
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0139
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0105
                        }
                      ],
                      "others": -0.0237,
                      "total": 0.2373,
                      "log_link": true,
                      "margin_base": -0.633985,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.595216
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.082248
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.057251
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.049771
                        },
                        {
                          "name": "goals",
                          "margin": -0.039294
                        }
                      ],
                      "others_margin": -0.094975
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.6220871806144714,
                    "model_output": 0.6221,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2934
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0662
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.05
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0272
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.027
                      }
                    ],
                    "decomposition": {
                      "base": 1.3805,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4978
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.126
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0415
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.038
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": -0.0297
                        }
                      ],
                      "others": -0.1014,
                      "total": 0.6221,
                      "log_link": false,
                      "margin_base": 1.38048,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.49776
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.125981
                        },
                        {
                          "name": "goals",
                          "margin": -0.041524
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.038043
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": -0.029744
                        }
                      ],
                      "others_margin": -0.101426
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.02843313105404377,
                    "model_output": 0.0284,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1135
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0826
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0722
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0587
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0552
                      }
                    ],
                    "decomposition": {
                      "base": 0.0647,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0194
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0122
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0051
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.003
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0028
                        }
                      ],
                      "others": 0.0002,
                      "total": 0.0284,
                      "log_link": true,
                      "margin_base": -2.738275,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.356913
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.314347
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.167729
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.102934
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.093501
                        }
                      ],
                      "others_margin": 0.00763
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.3974663019180298,
                    "model_output": 0.3975,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1545
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.1071
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0923
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0893
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0298
                      }
                    ],
                    "decomposition": {
                      "base": 0.6939,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2709
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0517
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0333
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0237
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0234
                        }
                      ],
                      "others": -0.0436,
                      "total": 0.3975,
                      "log_link": true,
                      "margin_base": -0.365451,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.494997
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.115375
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.072661
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.055118
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.054438
                        }
                      ],
                      "others_margin": -0.10423
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.646739482879639,
                    "model_output": 6.6467,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0529
                      },
                      {
                        "name": "rating",
                        "importance": 0.0463
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.044
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0417
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0371
                      }
                    ],
                    "decomposition": {
                      "base": 6.7735,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0618
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0299
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0132
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0128
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0089
                        }
                      ],
                      "others": -0.06,
                      "total": 6.6467,
                      "log_link": false,
                      "margin_base": 6.773504,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.061783
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.029914
                        },
                        {
                          "name": "rating",
                          "margin": -0.013172
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.01281
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.008884
                        }
                      ],
                      "others_margin": -0.060028
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 3,
                  "role_matches": 3,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9910, quality 0.457)",
              "stats": {
                "expected_goals": 0.0599,
                "goals": 0.0725,
                "goal_rate": 0.0725,
                "shots_on_target": 0.2352,
                "total_shots": 0.6165,
                "expected_assists": 0.0282,
                "key_pass": 0.3939,
                "rating": 6.6467,
                "minutes": 12.79,
                "total_pass": 2.1467,
                "accurate_pass": 1.4831,
                "duels_won": 0.7705,
                "total_long_balls": 0.3274,
                "accurate_long_balls": 0.3274,
                "total_opp_half_passes": 2.1467,
                "accurate_opp_half_passes": 1.4831,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 5.4,
                "possession_lost": 2.0976,
                "dispossessed": 0.7705,
                "duels_lost": 1.0488,
                "aerial_lost": 0.2784,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.1557,
                "challenges_lost": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.3852,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.3852,
                "tackles": 0.3852,
                "clearances": 0.2784,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 1.8683,
                "total_progression": 15.4724,
                "progressive_carries": 0.3852,
                "shots_off_target": 0.3812
              },
              "params": {
                "market_value_eur": 4600000,
                "quality_factor": 0.4572,
                "boost_factor": 0.991,
                "reference_quality": 0.505,
                "history_matches": 3,
                "history_shrink": 0.625,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 12.8 to 25.4 expected minutes (appearance prob 0.56)",
              "stats": {
                "expected_goals": 0.0898,
                "goals": 0.1087,
                "goal_rate": 0.1087,
                "shots_on_target": 0.3528,
                "total_shots": 0.9248,
                "expected_assists": 0.0423,
                "key_pass": 0.5908,
                "rating": 6.6467,
                "minutes": 25.37,
                "total_pass": 3.2201,
                "accurate_pass": 2.2247,
                "duels_won": 1.1557,
                "total_long_balls": 0.4911,
                "accurate_long_balls": 0.4911,
                "total_opp_half_passes": 3.2201,
                "accurate_opp_half_passes": 2.2247,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 8.1,
                "possession_lost": 3.1464,
                "dispossessed": 0.7705,
                "duels_lost": 1.5732,
                "aerial_lost": 0.2784,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.7335,
                "challenges_lost": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.5778,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.5778,
                "tackles": 0.5778,
                "clearances": 0.4176,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 2.8025,
                "total_progression": 23.2086,
                "progressive_carries": 0.5778,
                "shots_off_target": 0.5718,
                "bench_appearance_probability": 0.562,
                "bench_expected_minutes": 25.37
              },
              "params": {
                "expected_minutes": 25.37,
                "projection_minutes": 12.79,
                "minutes_scale": 1.5,
                "appearance_probability": 0.562
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0898,
                "goals": 0.1087,
                "goal_rate": 0.1087,
                "shots_on_target": 0.3528,
                "total_shots": 0.9248,
                "expected_assists": 0.0423,
                "key_pass": 0.5908,
                "rating": 6.6467,
                "minutes": 25.37,
                "total_pass": 3.2201,
                "accurate_pass": 2.2247,
                "duels_won": 1.1557,
                "total_long_balls": 0.4911,
                "accurate_long_balls": 0.4911,
                "total_opp_half_passes": 3.2201,
                "accurate_opp_half_passes": 2.2247,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 8.1,
                "possession_lost": 3.1464,
                "dispossessed": 0.7705,
                "duels_lost": 1.5732,
                "aerial_lost": 0.2784,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.7335,
                "challenges_lost": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.5778,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.5778,
                "tackles": 0.5778,
                "clearances": 0.4176,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 2.8025,
                "total_progression": 23.2086,
                "progressive_carries": 0.5778,
                "shots_off_target": 0.5718,
                "bench_appearance_probability": 0.562,
                "bench_expected_minutes": 25.37
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.0898,
                "goal_rate": 0.1087,
                "goals": 0,
                "shots_on_target": 0.3528,
                "total_shots": 0.9248,
                "expected_assists": 0.0423,
                "key_pass": 0.5908,
                "rating": 6.6467,
                "minutes": 25.37,
                "total_pass": 3.2201,
                "accurate_pass": 2.2247,
                "duels_won": 1.1557,
                "total_long_balls": 0.4911,
                "accurate_long_balls": 0.4911,
                "total_opp_half_passes": 3.2201,
                "accurate_opp_half_passes": 2.2247,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 8.1,
                "possession_lost": 3.1464,
                "dispossessed": 0.7705,
                "duels_lost": 1.5732,
                "aerial_lost": 0.2784,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.7335,
                "challenges_lost": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.5778,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.5778,
                "tackles": 0.5778,
                "clearances": 0.4176,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 2.8025,
                "total_progression": 23.2086,
                "progressive_carries": 0.5778,
                "shots_off_target": 0.5718,
                "bench_appearance_probability": 0.562,
                "bench_expected_minutes": 25.37,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.625,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.29 (squad xG sum 1.0060, xG scale 1.2803, xA scale 1.2803, team xA 0.96 = 0.74 x lambda)",
              "stats": {
                "expected_goals": 0.0646,
                "goal_rate": 0.1087,
                "goals": 0,
                "shots_on_target": 0.3528,
                "total_shots": 0.9248,
                "expected_assists": 0.0304,
                "key_pass": 0.5908,
                "rating": 6.6467,
                "minutes": 25.37,
                "total_pass": 3.2201,
                "accurate_pass": 2.2247,
                "duels_won": 1.1557,
                "total_long_balls": 0.4911,
                "accurate_long_balls": 0.4911,
                "total_opp_half_passes": 3.2201,
                "accurate_opp_half_passes": 2.2247,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 8.1,
                "possession_lost": 3.1464,
                "dispossessed": 0.7705,
                "duels_lost": 1.5732,
                "aerial_lost": 0.2784,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.7335,
                "challenges_lost": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.5778,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.5778,
                "tackles": 0.5778,
                "clearances": 0.4176,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 2.8025,
                "total_progression": 23.2086,
                "progressive_carries": 0.5778,
                "shots_off_target": 0.5718,
                "bench_appearance_probability": 0.562,
                "bench_expected_minutes": 25.37,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.625,
                "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.1352,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.288,
                "squad_xg_sum": 1.006,
                "squad_xa_sum": 0.7484,
                "team_expected_assists": 0.9582,
                "team_xa_to_xg_ratio": 0.7439,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2803,
                "xa_scale": 1.2803,
                "opponent_lambda": 3.863,
                "scoreline_reset": true,
                "appearance_weight": 0.562
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0898,
                  "after": 0.0646
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0423,
                  "after": 0.0304
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 17 by projected rating, fifa_overall 72.0)",
              "stats": {
                "expected_goals": 0.0646,
                "goal_rate": 0.1087,
                "goals": 0,
                "shots_on_target": 0.3528,
                "total_shots": 0.9248,
                "expected_assists": 0.0304,
                "key_pass": 0.5908,
                "rating": 6.6467,
                "minutes": 25.37,
                "total_pass": 3.2201,
                "accurate_pass": 2.2247,
                "duels_won": 1.1557,
                "total_long_balls": 0.4911,
                "accurate_long_balls": 0.4911,
                "total_opp_half_passes": 3.2201,
                "accurate_opp_half_passes": 2.2247,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 8.1,
                "possession_lost": 3.1464,
                "dispossessed": 0.7705,
                "duels_lost": 1.5732,
                "aerial_lost": 0.2784,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.7335,
                "challenges_lost": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.5778,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.5778,
                "tackles": 0.5778,
                "clearances": 0.4176,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 2.8025,
                "total_progression": 23.2086,
                "progressive_carries": 0.5778,
                "shots_off_target": 0.5718,
                "bench_appearance_probability": 0.562,
                "bench_expected_minutes": 25.37,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.625,
                "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.1352,
                "creation_factor": 0.8,
                "fifa_overall": 72.0
              },
              "params": {
                "match_squad_rank": 17,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 4196,
                "fifa_rank": 4258.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 72.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.0646,
                "goal_rate": 0.1087,
                "goals": 0,
                "shots_on_target": 0.3528,
                "total_shots": 0.9248,
                "expected_assists": 0.0304,
                "key_pass": 0.5908,
                "rating": 6.6467,
                "minutes": 25.37,
                "total_pass": 3.2201,
                "accurate_pass": 2.2247,
                "duels_won": 1.1557,
                "total_long_balls": 0.4911,
                "accurate_long_balls": 0.4911,
                "total_opp_half_passes": 3.2201,
                "accurate_opp_half_passes": 2.2247,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 8.1,
                "possession_lost": 3.1464,
                "dispossessed": 0.7705,
                "duels_lost": 1.5732,
                "aerial_lost": 0.2784,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.7335,
                "challenges_lost": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.5778,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.5778,
                "tackles": 0.5778,
                "clearances": 0.4176,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 2.8025,
                "total_progression": 23.2086,
                "progressive_carries": 0.5778,
                "shots_off_target": 0.5718,
                "bench_appearance_probability": 0.562,
                "bench_expected_minutes": 25.37,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.625,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.061,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1352,
                "creation_factor": 0.8,
                "fifa_overall": 72.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.061,
                "goal_rate": 0.1087,
                "scorer_weight": 0.0733,
                "squad_weight_total": 1.3792,
                "weight_share": 0.0532,
                "finishing_factor": 1.1352,
                "appearance_weight": 0.562,
                "weight_rank": 6,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Toni Martínez",
                    "weight": 0.3036,
                    "already": 0,
                    "effective_weight": 0.3036,
                    "runner_up": "Lucas Boyé",
                    "runner_up_effective_weight": 0.2934
                  }
                ]
              }
            },
            {
              "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.0646,
                "goal_rate": 0.1087,
                "goals": 0,
                "shots_on_target": 0.3528,
                "total_shots": 0.9248,
                "expected_assists": 0.0304,
                "key_pass": 0.5908,
                "rating": 6.6467,
                "minutes": 25.37,
                "total_pass": 3.2201,
                "accurate_pass": 2.2247,
                "duels_won": 1.1557,
                "total_long_balls": 0.4911,
                "accurate_long_balls": 0.4911,
                "total_opp_half_passes": 3.2201,
                "accurate_opp_half_passes": 2.2247,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 8.1,
                "possession_lost": 3.1464,
                "dispossessed": 0.7705,
                "duels_lost": 1.5732,
                "aerial_lost": 0.2784,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.7335,
                "challenges_lost": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.5778,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.5778,
                "tackles": 0.5778,
                "clearances": 0.4176,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 2.8025,
                "total_progression": 23.2086,
                "progressive_carries": 0.5778,
                "shots_off_target": 0.5718,
                "bench_appearance_probability": 0.562,
                "bench_expected_minutes": 25.37,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.625,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.061,
                "projected_assists": 0,
                "assist_probability": 0.0296,
                "finishing_factor": 1.1352,
                "creation_factor": 0.8,
                "fifa_overall": 72.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0296,
                "assist_rate": 0.0,
                "provider_weight": 0.0243,
                "squad_weight_total": 0.8425,
                "weight_share": 0.0289,
                "creation_factor": 0.8,
                "appearance_weight": 0.562,
                "weight_rank": 12,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ángel Pérez",
                    "weight": 0.1853,
                    "already": 0,
                    "effective_weight": 0.1853,
                    "runner_up": "Hugo Novoa",
                    "runner_up_effective_weight": 0.1136,
                    "blocked_own_goal": [
                      "Toni Martínez"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Ibrahim Diabaté": {
          "player_id": 1084043,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 22,
          "height": 185,
          "market_value": 1400000,
          "stats": {
            "expected_goals": 0.0628,
            "goal_rate": 0.096,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0058,
            "key_pass": 0,
            "rating": 6.6111,
            "minutes": 25,
            "total_pass": 5,
            "accurate_pass": 3,
            "duels_won": 2,
            "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": 2.8552,
            "dispossessed": 0.2649,
            "duels_lost": 1,
            "aerial_lost": 1,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0127,
            "offsides": 0,
            "ball_carries": 3,
            "total_progression": 3,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.559,
            "bench_expected_minutes": 25.29,
            "projected_substitution_order": 3,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 4,
            "projected_substitution_expected_count": 2.625,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0594,
            "projected_assists": 0,
            "assist_probability": 0.0058,
            "finishing_factor": 1.0595,
            "creation_factor": 0.8606,
            "fifa_overall": 72.0
          },
          "latest_10_games": [
            {
              "match_id": 14083706,
              "match_date": "2026-05-23",
              "home_team": "Deportivo Alavés",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 12,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0807,
                "expected_assists": 0.0028,
                "total_shots": 1,
                "total_pass": 4,
                "accurate_pass": 3,
                "aerial_won": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083692,
              "match_date": "2026-05-17",
              "home_team": "Real Oviedo",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Real Oviedo",
              "stats": {
                "minutes": 68,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0689,
                "expected_assists": 0.0242,
                "total_shots": 1,
                "total_pass": 11,
                "accurate_pass": 4,
                "key_pass": 1,
                "tackles": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "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": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 64,
                "rating": 7.1,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.4045,
                "expected_assists": 0.0006,
                "total_shots": 3,
                "shots_on_target": 2,
                "total_pass": 4,
                "accurate_pass": 3,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "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": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Elche",
              "stats": {
                "minutes": 82,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.4694,
                "expected_assists": 0.0026,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 11,
                "accurate_pass": 5,
                "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": 14083364,
              "match_date": "2026-05-02",
              "home_team": "Deportivo Alavés",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 73,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0456,
                "expected_assists": 0.0113,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 11,
                "accurate_pass": 8,
                "key_pass": 1,
                "interceptions": 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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083202,
              "match_date": "2026-04-25",
              "home_team": "Deportivo Alavés",
              "away_team": "Mallorca",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "Mallorca",
              "stats": {
                "minutes": 86,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0633,
                "expected_assists": 0.0071,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 13,
                "accurate_pass": 9,
                "clearances": 1,
                "aerial_won": 6,
                "duels_won": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083295,
              "match_date": "2026-04-21",
              "home_team": "Real Madrid",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 24,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0506,
                "expected_assists": 0.0042,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 2,
                "accurate_pass": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083152,
              "match_date": "2026-04-11",
              "home_team": "Real Sociedad",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 60,
                "rating": 7.1,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3196,
                "expected_assists": 0.0066,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 8,
                "accurate_pass": 7,
                "interceptions": 1,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14081809,
              "match_date": "2026-04-05",
              "home_team": "Deportivo Alavés",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 73,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.186,
                "expected_assists": 0.0074,
                "total_shots": 1,
                "total_pass": 17,
                "accurate_pass": 11,
                "aerial_won": 2,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083689,
              "match_date": "2026-03-22",
              "home_team": "Celta Vigo",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 45,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1104,
                "expected_assists": 0.0036,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 9,
                "accurate_pass": 5,
                "tackles": 2,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 4539,
            "combined_rank_score": 2590.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 883.0,
            "sofascore_rating": 6.54,
            "sofascore_appearances": 10.0,
            "fifa_rank": 4298.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.6111,
            "source_file": "data/player_rankings.csv",
            "player_name": "Ibrahim Diabaté",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Patrick Beach",
                  "ranking": 4534
                },
                {
                  "player_name": "Angus Gunn",
                  "ranking": 4535
                },
                {
                  "player_name": "Zakaria Eddahchouri",
                  "ranking": 4536
                },
                {
                  "player_name": "Willy Kambwala",
                  "ranking": 4537
                },
                {
                  "player_name": "Federico Carrizo",
                  "ranking": 4538
                }
              ],
              "lower": [
                {
                  "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
                },
                {
                  "player_name": "Ximo Navarro",
                  "ranking": 4544
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 10,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 10,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 25.292222187561247,
            "bench_appearance_prob": 0.5587373721618749,
            "market_value_adjustment": 0.9932,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (10 historical appearances) to 25.3 expected mins (appearance prob 0.56)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.1184,
                "goals": 0.1295,
                "goal_rate": 0.1295,
                "shots_on_target": 0.309,
                "total_shots": 0.7683,
                "expected_assists": 0.0108,
                "key_pass": 0.2451,
                "rating": 6.6111,
                "minutes": 33.88,
                "total_pass": 6.9108,
                "accurate_pass": 4.5324,
                "duels_won": 2.8802,
                "total_long_balls": 0.5335,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 5.2657,
                "accurate_opp_half_passes": 3.3468,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 12.2952,
                "possession_lost": 3.8509,
                "dispossessed": 0.2667,
                "duels_lost": 1.9459,
                "aerial_lost": 1.2197,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.1927,
                "challenges_lost": 0.0,
                "fouls": 0.4595,
                "fouls_drawn": 0.5806,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.3854,
                "clearances": 0.2667,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0241,
                "offsides": 0.1927,
                "ball_carries": 3.6266,
                "total_progression": 4.2359,
                "progressive_carries": 0.5065,
                "shots_off_target": 0.4593
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-31T10:30:56.271646+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 610,
                    "rows": 17075
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Rayo Vallecano",
                    "minutes": 12.0,
                    "is_starting": false,
                    "weight": 0.1868,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Real Oviedo",
                    "minutes": 68.0,
                    "is_starting": true,
                    "weight": 0.1588,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "FC Barcelona",
                    "minutes": 64.0,
                    "is_starting": true,
                    "weight": 0.1349,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-05-09",
                    "opponent": "Elche",
                    "minutes": 82.0,
                    "is_starting": true,
                    "weight": 0.1147,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Athletic Club",
                    "minutes": 73.0,
                    "is_starting": true,
                    "weight": 0.0975,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-04-25",
                    "opponent": "Mallorca",
                    "minutes": 86.0,
                    "is_starting": false,
                    "weight": 0.0829,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-04-21",
                    "opponent": "Real Madrid",
                    "minutes": 24.0,
                    "is_starting": false,
                    "weight": 0.0704,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-04-11",
                    "opponent": "Real Sociedad",
                    "minutes": 60.0,
                    "is_starting": true,
                    "weight": 0.0599,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-04-05",
                    "opponent": "Osasuna",
                    "minutes": 73.0,
                    "is_starting": true,
                    "weight": 0.0509,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-03-22",
                    "opponent": "Celta Vigo",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.0433,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 10.0,
                  "is_starting_11": 0.0,
                  "accurateOppositionHalfPasses": 3.4954,
                  "expectedGoals": 0.1811,
                  "totalOppositionHalfPasses": 6.5748,
                  "accuratePass": 4.9651,
                  "totalShots": 1.5107
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.11841163039207458,
                    "model_output": 0.1184,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.282
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0898
                      },
                      {
                        "name": "goals",
                        "importance": 0.0323
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0316
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0236
                      }
                    ],
                    "decomposition": {
                      "base": 0.1945,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0925
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0065
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.004
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.004
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0038
                        }
                      ],
                      "others": 0.0061,
                      "total": 0.1184,
                      "log_link": true,
                      "margin_base": -1.637486,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.645191
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.061855
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.035941
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.035879
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.034124
                        }
                      ],
                      "others_margin": 0.053046
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.12945148348808289,
                    "model_output": 0.1295,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.144
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0742
                      },
                      {
                        "name": "goals",
                        "importance": 0.053
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0321
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0311
                      }
                    ],
                    "decomposition": {
                      "base": 0.199,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0903
                        },
                        {
                          "name": "dispossessed",
                          "contribution": -0.0082
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.008
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0059
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.006
                        }
                      ],
                      "others": 0.0091,
                      "total": 0.1295,
                      "log_link": true,
                      "margin_base": -1.614663,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.604897
                        },
                        {
                          "name": "dispossessed",
                          "margin": -0.078273
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.07693
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.052865
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.051304
                        }
                      ],
                      "others_margin": 0.072285
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.30899539589881897,
                    "model_output": 0.309,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2115
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.066
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0499
                      },
                      {
                        "name": "goals",
                        "importance": 0.0473
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0333
                      }
                    ],
                    "decomposition": {
                      "base": 0.5305,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2289
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.013
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0116
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": -0.0109
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0065
                        }
                      ],
                      "others": 0.0002,
                      "total": 0.309,
                      "log_link": true,
                      "margin_base": -0.633985,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.564805
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.042107
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.036125
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": -0.033928
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.020834
                        }
                      ],
                      "others_margin": 0.000891
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.7683103084564209,
                    "model_output": 0.7683,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2934
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0662
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.05
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0272
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.027
                      }
                    ],
                    "decomposition": {
                      "base": 1.3805,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.6338
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0398
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": -0.0345
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0334
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0217
                        }
                      ],
                      "others": 0.0046,
                      "total": 0.7683,
                      "log_link": false,
                      "margin_base": 1.38048,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.63384
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.03979
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": -0.034481
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.033366
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.021742
                        }
                      ],
                      "others_margin": 0.004739
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.010831216350197792,
                    "model_output": 0.0108,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1135
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0826
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0722
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0587
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0552
                      }
                    ],
                    "decomposition": {
                      "base": 0.0647,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0223
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0129
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0036
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0028
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0021
                        }
                      ],
                      "others": -0.0102,
                      "total": 0.0108,
                      "log_link": true,
                      "margin_base": -2.738275,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.423158
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.361479
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.130521
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.116264
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.093688
                        }
                      ],
                      "others_margin": -0.661938
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.24509161710739136,
                    "model_output": 0.2451,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1545
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.1071
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0923
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0893
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0298
                      }
                    ],
                    "decomposition": {
                      "base": 0.6939,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2677
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0327
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0248
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.019
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0158
                        }
                      ],
                      "others": -0.0888,
                      "total": 0.2451,
                      "log_link": true,
                      "margin_base": -0.365451,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.487328
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.079838
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.065217
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.053012
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.046202
                        }
                      ],
                      "others_margin": -0.309074
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.611083507537842,
                    "model_output": 6.6111,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0529
                      },
                      {
                        "name": "rating",
                        "importance": 0.0463
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.044
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0417
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0371
                      }
                    ],
                    "decomposition": {
                      "base": 6.7735,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0593
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0221
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0107
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0105
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0094
                        }
                      ],
                      "others": -0.0504,
                      "total": 6.6111,
                      "log_link": false,
                      "margin_base": 6.773504,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.059334
                        },
                        {
                          "name": "rating",
                          "margin": -0.022102
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.010656
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.010515
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.009359
                        }
                      ],
                      "others_margin": -0.050455
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 10,
                  "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.9932, quality 0.437)",
              "stats": {
                "expected_goals": 0.1176,
                "goals": 0.1286,
                "goal_rate": 0.1286,
                "shots_on_target": 0.3069,
                "total_shots": 0.7631,
                "expected_assists": 0.0108,
                "key_pass": 0.2434,
                "rating": 6.6111,
                "minutes": 33.88,
                "total_pass": 6.8638,
                "accurate_pass": 4.5016,
                "duels_won": 2.8606,
                "total_long_balls": 0.5299,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 5.2299,
                "accurate_opp_half_passes": 3.324,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 12.2116,
                "possession_lost": 3.8247,
                "dispossessed": 0.2649,
                "duels_lost": 1.9327,
                "aerial_lost": 1.2114,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.1914,
                "challenges_lost": 0.0,
                "fouls": 0.4564,
                "fouls_drawn": 0.5767,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.3828,
                "clearances": 0.2649,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0239,
                "offsides": 0.1914,
                "ball_carries": 3.6019,
                "total_progression": 4.2071,
                "progressive_carries": 0.5031,
                "shots_off_target": 0.4562
              },
              "params": {
                "market_value_eur": 1400000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9932,
                "reference_quality": 0.505,
                "history_matches": 10,
                "history_shrink": 0.3333,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 33.9 to 25.3 expected minutes (appearance prob 0.56)",
              "stats": {
                "expected_goals": 0.0878,
                "goals": 0.096,
                "goal_rate": 0.096,
                "shots_on_target": 0.2291,
                "total_shots": 0.5697,
                "expected_assists": 0.0081,
                "key_pass": 0.1817,
                "rating": 6.6111,
                "minutes": 25.29,
                "total_pass": 5.124,
                "accurate_pass": 3.3606,
                "duels_won": 2.1355,
                "total_long_balls": 0.3956,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 3.9042,
                "accurate_opp_half_passes": 2.4814,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 9.1162,
                "possession_lost": 2.8552,
                "dispossessed": 0.2649,
                "duels_lost": 1.4428,
                "aerial_lost": 1.2114,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.1429,
                "challenges_lost": 0.0,
                "fouls": 0.3407,
                "fouls_drawn": 0.4305,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.2858,
                "clearances": 0.1978,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0178,
                "offsides": 0.1914,
                "ball_carries": 2.6889,
                "total_progression": 3.1407,
                "progressive_carries": 0.3756,
                "shots_off_target": 0.3406,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29
              },
              "params": {
                "expected_minutes": 25.29,
                "projection_minutes": 33.88,
                "minutes_scale": 0.7465,
                "appearance_probability": 0.559
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0878,
                "goals": 0.096,
                "goal_rate": 0.096,
                "shots_on_target": 0.2291,
                "total_shots": 0.5697,
                "expected_assists": 0.0081,
                "key_pass": 0.1817,
                "rating": 6.6111,
                "minutes": 25.29,
                "total_pass": 5.124,
                "accurate_pass": 3.3606,
                "duels_won": 2.1355,
                "total_long_balls": 0.3956,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 3.9042,
                "accurate_opp_half_passes": 2.4814,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 9.1162,
                "possession_lost": 2.8552,
                "dispossessed": 0.2649,
                "duels_lost": 1.4428,
                "aerial_lost": 1.2114,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.1429,
                "challenges_lost": 0.0,
                "fouls": 0.3407,
                "fouls_drawn": 0.4305,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.2858,
                "clearances": 0.1978,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0178,
                "offsides": 0.1914,
                "ball_carries": 2.6889,
                "total_progression": 3.1407,
                "progressive_carries": 0.3756,
                "shots_off_target": 0.3406,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.0878,
                "goal_rate": 0.096,
                "goals": 0,
                "shots_on_target": 0.2291,
                "total_shots": 0.5697,
                "expected_assists": 0.0081,
                "key_pass": 0.1817,
                "rating": 6.6111,
                "minutes": 25.29,
                "total_pass": 5.124,
                "accurate_pass": 3.3606,
                "duels_won": 2.1355,
                "total_long_balls": 0.3956,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 3.9042,
                "accurate_opp_half_passes": 2.4814,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 9.1162,
                "possession_lost": 2.8552,
                "dispossessed": 0.2649,
                "duels_lost": 1.4428,
                "aerial_lost": 1.2114,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.1429,
                "challenges_lost": 0.0,
                "fouls": 0.3407,
                "fouls_drawn": 0.4305,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.2858,
                "clearances": 0.1978,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0178,
                "offsides": 0.1914,
                "ball_carries": 2.6889,
                "total_progression": 3.1407,
                "progressive_carries": 0.3756,
                "shots_off_target": 0.3406,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.625,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.29 (squad xG sum 1.0060, xG scale 1.2803, xA scale 1.2803, team xA 0.96 = 0.74 x lambda)",
              "stats": {
                "expected_goals": 0.0628,
                "goal_rate": 0.096,
                "goals": 0,
                "shots_on_target": 0.2291,
                "total_shots": 0.5697,
                "expected_assists": 0.0058,
                "key_pass": 0.1817,
                "rating": 6.6111,
                "minutes": 25.29,
                "total_pass": 5.124,
                "accurate_pass": 3.3606,
                "duels_won": 2.1355,
                "total_long_balls": 0.3956,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 3.9042,
                "accurate_opp_half_passes": 2.4814,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 9.1162,
                "possession_lost": 2.8552,
                "dispossessed": 0.2649,
                "duels_lost": 1.4428,
                "aerial_lost": 1.2114,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.1429,
                "challenges_lost": 0.0,
                "fouls": 0.3407,
                "fouls_drawn": 0.4305,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.2858,
                "clearances": 0.1978,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0127,
                "offsides": 0.1914,
                "ball_carries": 2.6889,
                "total_progression": 3.1407,
                "progressive_carries": 0.3756,
                "shots_off_target": 0.3406,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.625,
                "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.0595,
                "creation_factor": 0.8606
              },
              "params": {
                "team_lambda": 1.288,
                "squad_xg_sum": 1.006,
                "squad_xa_sum": 0.7484,
                "team_expected_assists": 0.9582,
                "team_xa_to_xg_ratio": 0.7439,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2803,
                "xa_scale": 1.2803,
                "opponent_lambda": 3.863,
                "scoreline_reset": true,
                "appearance_weight": 0.559
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0878,
                  "after": 0.0628
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 18 by projected rating, fifa_overall 72.0)",
              "stats": {
                "expected_goals": 0.0628,
                "goal_rate": 0.096,
                "goals": 0,
                "shots_on_target": 0.2291,
                "total_shots": 0.5697,
                "expected_assists": 0.0058,
                "key_pass": 0.1817,
                "rating": 6.6111,
                "minutes": 25.29,
                "total_pass": 5.124,
                "accurate_pass": 3.3606,
                "duels_won": 2.1355,
                "total_long_balls": 0.3956,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 3.9042,
                "accurate_opp_half_passes": 2.4814,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 9.1162,
                "possession_lost": 2.8552,
                "dispossessed": 0.2649,
                "duels_lost": 1.4428,
                "aerial_lost": 1.2114,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.1429,
                "challenges_lost": 0.0,
                "fouls": 0.3407,
                "fouls_drawn": 0.4305,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.2858,
                "clearances": 0.1978,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0127,
                "offsides": 0.1914,
                "ball_carries": 2.6889,
                "total_progression": 3.1407,
                "progressive_carries": 0.3756,
                "shots_off_target": 0.3406,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.625,
                "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.0595,
                "creation_factor": 0.8606,
                "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": 4539,
                "fifa_rank": 4298.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 72.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.0628,
                "goal_rate": 0.096,
                "goals": 0,
                "shots_on_target": 0.2291,
                "total_shots": 0.5697,
                "expected_assists": 0.0058,
                "key_pass": 0.1817,
                "rating": 6.6111,
                "minutes": 25.29,
                "total_pass": 5.124,
                "accurate_pass": 3.3606,
                "duels_won": 2.1355,
                "total_long_balls": 0.3956,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 3.9042,
                "accurate_opp_half_passes": 2.4814,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 9.1162,
                "possession_lost": 2.8552,
                "dispossessed": 0.2649,
                "duels_lost": 1.4428,
                "aerial_lost": 1.2114,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.1429,
                "challenges_lost": 0.0,
                "fouls": 0.3407,
                "fouls_drawn": 0.4305,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.2858,
                "clearances": 0.1978,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0127,
                "offsides": 0.1914,
                "ball_carries": 2.6889,
                "total_progression": 3.1407,
                "progressive_carries": 0.3756,
                "shots_off_target": 0.3406,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.625,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0594,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0595,
                "creation_factor": 0.8606,
                "fifa_overall": 72.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0594,
                "goal_rate": 0.096,
                "scorer_weight": 0.0665,
                "squad_weight_total": 1.3792,
                "weight_share": 0.0482,
                "finishing_factor": 1.0595,
                "appearance_weight": 0.559,
                "weight_rank": 8,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Toni Martínez",
                    "weight": 0.3036,
                    "already": 0,
                    "effective_weight": 0.3036,
                    "runner_up": "Lucas Boyé",
                    "runner_up_effective_weight": 0.2934
                  }
                ]
              }
            },
            {
              "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.0628,
                "goal_rate": 0.096,
                "goals": 0,
                "shots_on_target": 0.2291,
                "total_shots": 0.5697,
                "expected_assists": 0.0058,
                "key_pass": 0.1817,
                "rating": 6.6111,
                "minutes": 25.29,
                "total_pass": 5.124,
                "accurate_pass": 3.3606,
                "duels_won": 2.1355,
                "total_long_balls": 0.3956,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 3.9042,
                "accurate_opp_half_passes": 2.4814,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 9.1162,
                "possession_lost": 2.8552,
                "dispossessed": 0.2649,
                "duels_lost": 1.4428,
                "aerial_lost": 1.2114,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.1429,
                "challenges_lost": 0.0,
                "fouls": 0.3407,
                "fouls_drawn": 0.4305,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.2858,
                "clearances": 0.1978,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0127,
                "offsides": 0.1914,
                "ball_carries": 2.6889,
                "total_progression": 3.1407,
                "progressive_carries": 0.3756,
                "shots_off_target": 0.3406,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.625,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0594,
                "projected_assists": 0,
                "assist_probability": 0.0058,
                "finishing_factor": 1.0595,
                "creation_factor": 0.8606,
                "fifa_overall": 72.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0058,
                "assist_rate": 0.0,
                "provider_weight": 0.005,
                "squad_weight_total": 0.8425,
                "weight_share": 0.0059,
                "creation_factor": 0.8606,
                "appearance_weight": 0.559,
                "weight_rank": 14,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ángel Pérez",
                    "weight": 0.1853,
                    "already": 0,
                    "effective_weight": 0.1853,
                    "runner_up": "Hugo Novoa",
                    "runner_up_effective_weight": 0.1136,
                    "blocked_own_goal": [
                      "Toni Martínez"
                    ]
                  }
                ]
              }
            }
          ]
        }
      },
      "substitutes": {
        "Carles Aleñá": {
          "player_id": 794937,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 10,
          "height": 180,
          "market_value": 2800000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0422,
            "assist_rate": 0.0464,
            "assists": 0,
            "expected_goals": 0.0307,
            "goal_rate": 0.0336,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.7181,
            "minutes": 13,
            "total_pass": 7,
            "accurate_pass": 7,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 2,
            "accurate_own_half_passes": 2,
            "total_opp_half_passes": 6,
            "accurate_opp_half_passes": 5,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 11,
            "possession_lost": 2.5505,
            "dispossessed": 0.8022,
            "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": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0012,
            "ball_carries": 3,
            "total_progression": 4,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.692,
            "bench_expected_minutes": 13.19,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 4,
            "projected_substitution_expected_count": 2.625,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.03,
            "projected_assists": 0,
            "assist_probability": 0.0409,
            "finishing_factor": 0.9882,
            "creation_factor": 0.9877,
            "fifa_overall": 78.0
          },
          "latest_10_games": [
            {
              "match_id": 16421077,
              "match_date": "2026-10-23",
              "home_team": "Deportivo Alavés",
              "away_team": "Málaga CF",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 45,
                "rating": 6.8,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1621,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "total_pass": 12,
                "accurate_pass": 10,
                "key_pass": 3,
                "tackles": 0,
                "tackles_won": 0,
                "interceptions": 0,
                "clearances": 0,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 0,
                "saves": 0
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421069,
              "match_date": "2026-10-18",
              "home_team": "Celta Vigo",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 62,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0714,
                "expected_assists": 0.0742,
                "total_shots": 1,
                "total_pass": 32,
                "accurate_pass": 28,
                "key_pass": 2,
                "aerial_won": 1,
                "duels_won": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416337,
              "match_date": "2026-09-19",
              "home_team": "Athletic Club",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 11,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0012,
                "total_shots": 0,
                "total_pass": 5,
                "accurate_pass": 5,
                "duels_won": 1,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416334,
              "match_date": "2026-09-15",
              "home_team": "Deportivo Alavés",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "Valencia",
              "stats": {
                "minutes": 11,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0065,
                "total_shots": 0,
                "total_pass": 7,
                "accurate_pass": 6,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416328,
              "match_date": "2026-09-12",
              "home_team": "Real Racing Club",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 23,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0039,
                "total_shots": 0,
                "total_pass": 10,
                "accurate_pass": 5,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416318,
              "match_date": "2026-09-06",
              "home_team": "Deportivo Alavés",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 71,
                "rating": 6.6,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.0901,
                "expected_assists": 0.0221,
                "total_shots": 1,
                "total_pass": 30,
                "accurate_pass": 25,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 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": 16416292,
              "match_date": "2026-08-20",
              "home_team": "Rayo Vallecano",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 10,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0106,
                "total_shots": 0,
                "total_pass": 9,
                "accurate_pass": 8,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421047,
              "match_date": "2026-08-15",
              "home_team": "Deportivo Alavés",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "Getafe",
              "stats": {
                "minutes": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0174,
                "expected_assists": 0.0054,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 9,
                "accurate_pass": 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": 14083364,
              "match_date": "2026-05-02",
              "home_team": "Deportivo Alavés",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 17,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0495,
                "total_shots": 0,
                "total_pass": 7,
                "accurate_pass": 7,
                "tackles": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083202,
              "match_date": "2026-04-25",
              "home_team": "Deportivo Alavés",
              "away_team": "Mallorca",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Mallorca",
              "stats": {
                "minutes": 63,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0271,
                "expected_assists": 0.1834,
                "total_shots": 1,
                "total_pass": 23,
                "accurate_pass": 18,
                "key_pass": 3,
                "tackles": 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"
            }
          ],
          "ranking": {
            "global_player_rank": 2212,
            "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": 14,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7181,
            "source_file": "data/player_rankings.csv",
            "player_name": "Carles Aleñá",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Darko Velkovski",
                  "ranking": 2207
                },
                {
                  "player_name": "Sandro Wieser",
                  "ranking": 2208
                },
                {
                  "player_name": "Zafar Sadullayev",
                  "ranking": 2209
                },
                {
                  "player_name": "Tyrell Malacia",
                  "ranking": 2210
                },
                {
                  "player_name": "Yeremay Hernández",
                  "ranking": 2211
                }
              ],
              "lower": [
                {
                  "player_name": "Jorge Cestero",
                  "ranking": 2213
                },
                {
                  "player_name": "Wallace Yan",
                  "ranking": 2214
                },
                {
                  "player_name": "Behruz Uktamov",
                  "ranking": 2215
                },
                {
                  "player_name": "Ilkhomzhon Kenzhaev",
                  "ranking": 2216
                },
                {
                  "player_name": "Ravshanbek Yagudin",
                  "ranking": 2217
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.751,
          "history_matches": 42,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 42,
            "data_confidence": 0.751,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 13.19,
            "bench_appearance_prob": 0.692,
            "market_value_adjustment": 0.9978,
            "fbref_prior_metrics": {
              "squad": "Alavés",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 0.0,
              "sub_appearances": 2.0,
              "minutes_per_sub": 6.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.0067
            },
            "rationale": "Bench projection scaled from XGBoost M_service (42 historical appearances) to 13.2 expected mins (appearance prob 0.69); FBref playing time empirical prior: 2.0 sub appearances, 6.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.6022,
                "expected_assists": 0.0657,
                "assists": 0.0642,
                "assist_rate": 0.0642,
                "expected_goals": 0.0478,
                "goals": 0.0464,
                "goal_rate": 0.0464,
                "shots_on_target": 0.1712,
                "total_shots": 0.4695,
                "rating": 6.7181,
                "minutes": 18.18,
                "total_pass": 10.3258,
                "accurate_pass": 9.0704,
                "duels_won": 0.9854,
                "total_long_balls": 0.467,
                "accurate_long_balls": 0.3216,
                "total_own_half_passes": 2.4329,
                "accurate_own_half_passes": 2.2796,
                "total_opp_half_passes": 7.8929,
                "accurate_opp_half_passes": 6.7908,
                "crosses_total": 1.4543,
                "crosses_accurate": 0.2959,
                "touches": 15.2867,
                "possession_lost": 3.5232,
                "dispossessed": 0.804,
                "duels_lost": 1.4241,
                "aerial_won": 0.0,
                "aerial_lost": 0.2203,
                "interceptions": 0.0,
                "tackles_won": 0.2812,
                "tackles": 0.3531,
                "clearances": 0.0196,
                "total_contest": 0.3506,
                "won_contest": 0.149,
                "challenges_lost": 0.0271,
                "fouls": 0.171,
                "fouls_drawn": 0.4833,
                "blocks": 0.0,
                "big_chances_created": 0.1386,
                "big_chances_missed": 0.0,
                "xgot": 0.0018,
                "ball_carries": 4.2971,
                "total_progression": 5.2545,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2982
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-31T10:30:21.314387+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 902,
                    "rows": 24945
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-23",
                    "opponent": "Málaga CF",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.1502,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-10-18",
                    "opponent": "Celta Vigo",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.1276,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-19",
                    "opponent": "Athletic Club",
                    "minutes": 11.0,
                    "is_starting": false,
                    "weight": 0.1085,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Valencia",
                    "minutes": 11.0,
                    "is_starting": false,
                    "weight": 0.0922,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Real Racing Club",
                    "minutes": 23.0,
                    "is_starting": false,
                    "weight": 0.0784,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Osasuna",
                    "minutes": 71.0,
                    "is_starting": true,
                    "weight": 0.0666,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-20",
                    "opponent": "Rayo Vallecano",
                    "minutes": 10.0,
                    "is_starting": false,
                    "weight": 0.0566,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-15",
                    "opponent": "Getafe",
                    "minutes": 1.0,
                    "is_starting": false,
                    "weight": 0.0481,
                    "rating": 0.0
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Athletic Club",
                    "minutes": 17.0,
                    "is_starting": false,
                    "weight": 0.0409,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-04-25",
                    "opponent": "Mallorca",
                    "minutes": 63.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalShots": 0.4761,
                  "expectedGoals": 0.0339,
                  "creative_index": 0.5133,
                  "expectedAssists": 0.0665,
                  "keyPass": 1.1837
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.6022000312805176,
                    "model_output": 0.6022,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1583
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1351
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0716
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0542
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.028
                      }
                    ],
                    "decomposition": {
                      "base": 0.8899,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4457
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0425
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0276
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.022
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0187
                        }
                      ],
                      "others": 0.0472,
                      "total": 0.6022,
                      "log_link": true,
                      "margin_base": -0.11669,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.694832
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.091375
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.05507
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.041842
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": 0.034223
                        }
                      ],
                      "others_margin": 0.081846
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.06570276618003845,
                    "model_output": 0.0657,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1213
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1076
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0864
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0618
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0476
                      }
                    ],
                    "decomposition": {
                      "base": 0.085,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0368
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0095
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0029
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0029
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0031
                        }
                      ],
                      "others": 0.0049,
                      "total": 0.0657,
                      "log_link": true,
                      "margin_base": -2.465163,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.566611
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.180611
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.052226
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.052189
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": 0.052109
                        }
                      ],
                      "others_margin": 0.076478
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.0641602873802185,
                    "model_output": 0.0642,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0508
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0447
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0336
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0324
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0322
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0227
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0075
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0069
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.006
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0057
                        }
                      ],
                      "others": -0.0123,
                      "total": 0.0642,
                      "log_link": true,
                      "margin_base": -2.463734,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.309642
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.113707
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.094477
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.081046
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.077236
                        }
                      ],
                      "others_margin": -0.177368
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.04782458394765854,
                    "model_output": 0.0478,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1242
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0778
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0743
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0437
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0241
                      }
                    ],
                    "decomposition": {
                      "base": 0.0911,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0385
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0069
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.005
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0043
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0029
                        }
                      ],
                      "others": -0.0043,
                      "total": 0.0478,
                      "log_link": true,
                      "margin_base": -2.395469,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.548555
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.139998
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.103709
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.080485
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.054058
                        }
                      ],
                      "others_margin": -0.08633
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.04637611284852028,
                    "model_output": 0.0464,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0846
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0655
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0399
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0358
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0268
                      }
                    ],
                    "decomposition": {
                      "base": 0.0947,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0361
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0113
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0046
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0047
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0045
                        }
                      ],
                      "others": -0.0057,
                      "total": 0.0464,
                      "log_link": true,
                      "margin_base": -2.357331,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.480716
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.213818
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.093106
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.086352
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.082039
                        }
                      ],
                      "others_margin": -0.116524
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.17124520242214203,
                    "model_output": 0.1712,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1146
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0928
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0753
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0297
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.3177,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1102
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.044
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": -0.0203
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0171
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0102
                        }
                      ],
                      "others": 0.0007,
                      "total": 0.1712,
                      "log_link": true,
                      "margin_base": -1.146731,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.425887
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.238117
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": -0.132644
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.112611
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.061466
                        }
                      ],
                      "others_margin": 0.004643
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.4694708287715912,
                    "model_output": 0.4695,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1488
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1213
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0474
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0446
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0276
                      }
                    ],
                    "decomposition": {
                      "base": 0.9817,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3737
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.2085
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.081
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0318
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": -0.0255
                        }
                      ],
                      "others": 0.0463,
                      "total": 0.4695,
                      "log_link": false,
                      "margin_base": 0.98173,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.373668
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.208541
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.081049
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.031789
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": -0.025527
                        }
                      ],
                      "others_margin": 0.046217
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.718099594116211,
                    "model_output": 6.7181,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.102
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0743
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0503
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0382
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 6.856,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0904
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0405
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.033
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0233
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0107
                        }
                      ],
                      "others": -0.008,
                      "total": 6.7181,
                      "log_link": false,
                      "margin_base": 6.856008,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.090439
                        },
                        {
                          "name": "rating",
                          "margin": -0.040496
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.03295
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.023257
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.010721
                        }
                      ],
                      "others_margin": -0.008003
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 42,
                  "role_matches": 16,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9978, quality 0.437)",
              "stats": {
                "key_pass": 0.6009,
                "expected_assists": 0.0656,
                "assists": 0.064,
                "assist_rate": 0.064,
                "expected_goals": 0.0477,
                "goals": 0.0463,
                "goal_rate": 0.0463,
                "shots_on_target": 0.1709,
                "total_shots": 0.4684,
                "rating": 6.7181,
                "minutes": 18.18,
                "total_pass": 10.3031,
                "accurate_pass": 9.0504,
                "duels_won": 0.9832,
                "total_long_balls": 0.466,
                "accurate_long_balls": 0.3209,
                "total_own_half_passes": 2.4275,
                "accurate_own_half_passes": 2.2746,
                "total_opp_half_passes": 7.8755,
                "accurate_opp_half_passes": 6.7759,
                "crosses_total": 1.4511,
                "crosses_accurate": 0.2952,
                "touches": 15.2531,
                "possession_lost": 3.5154,
                "dispossessed": 0.8022,
                "duels_lost": 1.421,
                "aerial_won": 0.0,
                "aerial_lost": 0.2198,
                "interceptions": 0.0,
                "tackles_won": 0.2806,
                "tackles": 0.3523,
                "clearances": 0.0196,
                "total_contest": 0.3498,
                "won_contest": 0.1487,
                "challenges_lost": 0.027,
                "fouls": 0.1706,
                "fouls_drawn": 0.4822,
                "blocks": 0.0,
                "big_chances_created": 0.1383,
                "big_chances_missed": 0.0,
                "xgot": 0.0018,
                "ball_carries": 4.2876,
                "total_progression": 5.2429,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2975
              },
              "params": {
                "market_value_eur": 2800000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9978,
                "reference_quality": 0.505,
                "history_matches": 42,
                "history_shrink": 0.1064,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0005)",
              "stats": {
                "key_pass": 0.6009,
                "expected_assists": 0.0656,
                "assists": 0.064,
                "assist_rate": 0.064,
                "expected_goals": 0.0477,
                "goals": 0.0463,
                "goal_rate": 0.0463,
                "shots_on_target": 0.1715,
                "total_shots": 0.4689,
                "rating": 6.7181,
                "minutes": 18.18,
                "total_pass": 10.3031,
                "accurate_pass": 9.0504,
                "duels_won": 0.9832,
                "total_long_balls": 0.466,
                "accurate_long_balls": 0.3209,
                "total_own_half_passes": 2.4275,
                "accurate_own_half_passes": 2.2746,
                "total_opp_half_passes": 7.8755,
                "accurate_opp_half_passes": 6.7759,
                "crosses_total": 1.4523,
                "crosses_accurate": 0.2952,
                "touches": 15.2531,
                "possession_lost": 3.5154,
                "dispossessed": 0.8022,
                "duels_lost": 1.421,
                "aerial_won": 0.0,
                "aerial_lost": 0.2198,
                "interceptions": 0.0,
                "tackles_won": 0.2814,
                "tackles": 0.3523,
                "clearances": 0.0196,
                "total_contest": 0.3498,
                "won_contest": 0.1487,
                "challenges_lost": 0.027,
                "fouls": 0.1705,
                "fouls_drawn": 0.482,
                "blocks": 0.0,
                "big_chances_created": 0.1383,
                "big_chances_missed": 0.0,
                "xgot": 0.0018,
                "ball_carries": 4.2876,
                "total_progression": 5.2429,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2975
              },
              "params": {
                "blend_weight": 0.0005,
                "history_matches": 42,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.202,
                "prior_reliability": 0.0067,
                "competition": "La Liga",
                "squad": "Alavés"
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 18.2 to 13.2 expected minutes (appearance prob 0.69)",
              "stats": {
                "key_pass": 0.436,
                "expected_assists": 0.0476,
                "assists": 0.0464,
                "assist_rate": 0.0464,
                "expected_goals": 0.0346,
                "goals": 0.0336,
                "goal_rate": 0.0336,
                "shots_on_target": 0.1244,
                "total_shots": 0.3403,
                "rating": 6.7181,
                "minutes": 13.19,
                "total_pass": 7.4751,
                "accurate_pass": 6.5663,
                "duels_won": 0.7133,
                "total_long_balls": 0.3381,
                "accurate_long_balls": 0.2328,
                "total_own_half_passes": 1.7612,
                "accurate_own_half_passes": 1.6503,
                "total_opp_half_passes": 5.7139,
                "accurate_opp_half_passes": 4.9161,
                "crosses_total": 1.0537,
                "crosses_accurate": 0.2142,
                "touches": 11.0665,
                "possession_lost": 2.5505,
                "dispossessed": 0.8022,
                "duels_lost": 1.031,
                "aerial_won": 0.0,
                "aerial_lost": 0.2198,
                "interceptions": 0.0,
                "tackles_won": 0.2042,
                "tackles": 0.2556,
                "clearances": 0.0142,
                "total_contest": 0.2538,
                "won_contest": 0.1079,
                "challenges_lost": 0.027,
                "fouls": 0.1237,
                "fouls_drawn": 0.3497,
                "blocks": 0.0,
                "big_chances_created": 0.1003,
                "big_chances_missed": 0.0,
                "xgot": 0.0013,
                "ball_carries": 3.1108,
                "total_progression": 3.8038,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2158,
                "bench_appearance_probability": 0.692,
                "bench_expected_minutes": 13.19
              },
              "params": {
                "expected_minutes": 13.19,
                "projection_minutes": 18.18,
                "minutes_scale": 0.7255,
                "appearance_probability": 0.692
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.436,
                "expected_assists": 0.0476,
                "assists": 0.0464,
                "assist_rate": 0.0464,
                "expected_goals": 0.0346,
                "goals": 0.0336,
                "goal_rate": 0.0336,
                "shots_on_target": 0.1244,
                "total_shots": 0.3403,
                "rating": 6.7181,
                "minutes": 13.19,
                "total_pass": 7.4751,
                "accurate_pass": 6.5663,
                "duels_won": 0.7133,
                "total_long_balls": 0.3381,
                "accurate_long_balls": 0.2328,
                "total_own_half_passes": 1.7612,
                "accurate_own_half_passes": 1.6503,
                "total_opp_half_passes": 5.7139,
                "accurate_opp_half_passes": 4.9161,
                "crosses_total": 1.0537,
                "crosses_accurate": 0.2142,
                "touches": 11.0665,
                "possession_lost": 2.5505,
                "dispossessed": 0.8022,
                "duels_lost": 1.031,
                "aerial_won": 0.0,
                "aerial_lost": 0.2198,
                "interceptions": 0.0,
                "tackles_won": 0.2042,
                "tackles": 0.2556,
                "clearances": 0.0142,
                "total_contest": 0.2538,
                "won_contest": 0.1079,
                "challenges_lost": 0.027,
                "fouls": 0.1237,
                "fouls_drawn": 0.3497,
                "blocks": 0.0,
                "big_chances_created": 0.1003,
                "big_chances_missed": 0.0,
                "xgot": 0.0013,
                "ball_carries": 3.1108,
                "total_progression": 3.8038,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2158,
                "bench_appearance_probability": 0.692,
                "bench_expected_minutes": 13.19
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 0.436,
                "expected_assists": 0.0476,
                "assist_rate": 0.0464,
                "assists": 0,
                "expected_goals": 0.0346,
                "goal_rate": 0.0336,
                "goals": 0,
                "shots_on_target": 0.1244,
                "total_shots": 0.3403,
                "rating": 6.7181,
                "minutes": 13.19,
                "total_pass": 7.4751,
                "accurate_pass": 6.5663,
                "duels_won": 0.7133,
                "total_long_balls": 0.3381,
                "accurate_long_balls": 0.2328,
                "total_own_half_passes": 1.7612,
                "accurate_own_half_passes": 1.6503,
                "total_opp_half_passes": 5.7139,
                "accurate_opp_half_passes": 4.9161,
                "crosses_total": 1.0537,
                "crosses_accurate": 0.2142,
                "touches": 11.0665,
                "possession_lost": 2.5505,
                "dispossessed": 0.8022,
                "duels_lost": 1.031,
                "aerial_won": 0.0,
                "aerial_lost": 0.2198,
                "interceptions": 0.0,
                "tackles_won": 0.2042,
                "tackles": 0.2556,
                "clearances": 0.0142,
                "total_contest": 0.2538,
                "won_contest": 0.1079,
                "challenges_lost": 0.027,
                "fouls": 0.1237,
                "fouls_drawn": 0.3497,
                "blocks": 0.0,
                "big_chances_created": 0.1003,
                "big_chances_missed": 0.0,
                "xgot": 0.0013,
                "ball_carries": 3.1108,
                "total_progression": 3.8038,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2158,
                "bench_appearance_probability": 0.692,
                "bench_expected_minutes": 13.19,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.625,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.29 (squad xG sum 1.0060, xG scale 1.2803, xA scale 1.2803, team xA 0.96 = 0.74 x lambda)",
              "stats": {
                "key_pass": 0.436,
                "expected_assists": 0.0422,
                "assist_rate": 0.0464,
                "assists": 0,
                "expected_goals": 0.0307,
                "goal_rate": 0.0336,
                "goals": 0,
                "shots_on_target": 0.1244,
                "total_shots": 0.3403,
                "rating": 6.7181,
                "minutes": 13.19,
                "total_pass": 7.4751,
                "accurate_pass": 6.5663,
                "duels_won": 0.7133,
                "total_long_balls": 0.3381,
                "accurate_long_balls": 0.2328,
                "total_own_half_passes": 1.7612,
                "accurate_own_half_passes": 1.6503,
                "total_opp_half_passes": 5.7139,
                "accurate_opp_half_passes": 4.9161,
                "crosses_total": 1.0537,
                "crosses_accurate": 0.2142,
                "touches": 11.0665,
                "possession_lost": 2.5505,
                "dispossessed": 0.8022,
                "duels_lost": 1.031,
                "aerial_won": 0.0,
                "aerial_lost": 0.2198,
                "interceptions": 0.0,
                "tackles_won": 0.2042,
                "tackles": 0.2556,
                "clearances": 0.0142,
                "total_contest": 0.2538,
                "won_contest": 0.1079,
                "challenges_lost": 0.027,
                "fouls": 0.1237,
                "fouls_drawn": 0.3497,
                "blocks": 0.0,
                "big_chances_created": 0.1003,
                "big_chances_missed": 0.0,
                "xgot": 0.0012,
                "ball_carries": 3.1108,
                "total_progression": 3.8038,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2158,
                "bench_appearance_probability": 0.692,
                "bench_expected_minutes": 13.19,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.625,
                "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.9882,
                "creation_factor": 0.9877
              },
              "params": {
                "team_lambda": 1.288,
                "squad_xg_sum": 1.006,
                "squad_xa_sum": 0.7484,
                "team_expected_assists": 0.9582,
                "team_xa_to_xg_ratio": 0.7439,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2803,
                "xa_scale": 1.2803,
                "opponent_lambda": 3.863,
                "scoreline_reset": true,
                "appearance_weight": 0.692
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.0476,
                  "after": 0.0422
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 14 by projected rating, fifa_overall 78.0)",
              "stats": {
                "key_pass": 0.436,
                "expected_assists": 0.0422,
                "assist_rate": 0.0464,
                "assists": 0,
                "expected_goals": 0.0307,
                "goal_rate": 0.0336,
                "goals": 0,
                "shots_on_target": 0.1244,
                "total_shots": 0.3403,
                "rating": 6.7181,
                "minutes": 13.19,
                "total_pass": 7.4751,
                "accurate_pass": 6.5663,
                "duels_won": 0.7133,
                "total_long_balls": 0.3381,
                "accurate_long_balls": 0.2328,
                "total_own_half_passes": 1.7612,
                "accurate_own_half_passes": 1.6503,
                "total_opp_half_passes": 5.7139,
                "accurate_opp_half_passes": 4.9161,
                "crosses_total": 1.0537,
                "crosses_accurate": 0.2142,
                "touches": 11.0665,
                "possession_lost": 2.5505,
                "dispossessed": 0.8022,
                "duels_lost": 1.031,
                "aerial_won": 0.0,
                "aerial_lost": 0.2198,
                "interceptions": 0.0,
                "tackles_won": 0.2042,
                "tackles": 0.2556,
                "clearances": 0.0142,
                "total_contest": 0.2538,
                "won_contest": 0.1079,
                "challenges_lost": 0.027,
                "fouls": 0.1237,
                "fouls_drawn": 0.3497,
                "blocks": 0.0,
                "big_chances_created": 0.1003,
                "big_chances_missed": 0.0,
                "xgot": 0.0012,
                "ball_carries": 3.1108,
                "total_progression": 3.8038,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2158,
                "bench_appearance_probability": 0.692,
                "bench_expected_minutes": 13.19,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.625,
                "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.9882,
                "creation_factor": 0.9877,
                "fifa_overall": 78.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": 2212,
                "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: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 0.436,
                "expected_assists": 0.0422,
                "assist_rate": 0.0464,
                "assists": 0,
                "expected_goals": 0.0307,
                "goal_rate": 0.0336,
                "goals": 0,
                "shots_on_target": 0.1244,
                "total_shots": 0.3403,
                "rating": 6.7181,
                "minutes": 13.19,
                "total_pass": 7.4751,
                "accurate_pass": 6.5663,
                "duels_won": 0.7133,
                "total_long_balls": 0.3381,
                "accurate_long_balls": 0.2328,
                "total_own_half_passes": 1.7612,
                "accurate_own_half_passes": 1.6503,
                "total_opp_half_passes": 5.7139,
                "accurate_opp_half_passes": 4.9161,
                "crosses_total": 1.0537,
                "crosses_accurate": 0.2142,
                "touches": 11.0665,
                "possession_lost": 2.5505,
                "dispossessed": 0.8022,
                "duels_lost": 1.031,
                "aerial_won": 0.0,
                "aerial_lost": 0.2198,
                "interceptions": 0.0,
                "tackles_won": 0.2042,
                "tackles": 0.2556,
                "clearances": 0.0142,
                "total_contest": 0.2538,
                "won_contest": 0.1079,
                "challenges_lost": 0.027,
                "fouls": 0.1237,
                "fouls_drawn": 0.3497,
                "blocks": 0.0,
                "big_chances_created": 0.1003,
                "big_chances_missed": 0.0,
                "xgot": 0.0012,
                "ball_carries": 3.1108,
                "total_progression": 3.8038,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2158,
                "bench_appearance_probability": 0.692,
                "bench_expected_minutes": 13.19,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.625,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.03,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9882,
                "creation_factor": 0.9877,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.03,
                "goal_rate": 0.0336,
                "scorer_weight": 0.0303,
                "squad_weight_total": 1.3792,
                "weight_share": 0.022,
                "finishing_factor": 0.9882,
                "appearance_weight": 0.692,
                "weight_rank": 12,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Toni Martínez",
                    "weight": 0.3036,
                    "already": 0,
                    "effective_weight": 0.3036,
                    "runner_up": "Lucas Boyé",
                    "runner_up_effective_weight": 0.2934
                  }
                ]
              }
            },
            {
              "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.436,
                "expected_assists": 0.0422,
                "assist_rate": 0.0464,
                "assists": 0,
                "expected_goals": 0.0307,
                "goal_rate": 0.0336,
                "goals": 0,
                "shots_on_target": 0.1244,
                "total_shots": 0.3403,
                "rating": 6.7181,
                "minutes": 13.19,
                "total_pass": 7.4751,
                "accurate_pass": 6.5663,
                "duels_won": 0.7133,
                "total_long_balls": 0.3381,
                "accurate_long_balls": 0.2328,
                "total_own_half_passes": 1.7612,
                "accurate_own_half_passes": 1.6503,
                "total_opp_half_passes": 5.7139,
                "accurate_opp_half_passes": 4.9161,
                "crosses_total": 1.0537,
                "crosses_accurate": 0.2142,
                "touches": 11.0665,
                "possession_lost": 2.5505,
                "dispossessed": 0.8022,
                "duels_lost": 1.031,
                "aerial_won": 0.0,
                "aerial_lost": 0.2198,
                "interceptions": 0.0,
                "tackles_won": 0.2042,
                "tackles": 0.2556,
                "clearances": 0.0142,
                "total_contest": 0.2538,
                "won_contest": 0.1079,
                "challenges_lost": 0.027,
                "fouls": 0.1237,
                "fouls_drawn": 0.3497,
                "blocks": 0.0,
                "big_chances_created": 0.1003,
                "big_chances_missed": 0.0,
                "xgot": 0.0012,
                "ball_carries": 3.1108,
                "total_progression": 3.8038,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2158,
                "bench_appearance_probability": 0.692,
                "bench_expected_minutes": 13.19,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.625,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.03,
                "projected_assists": 0,
                "assist_probability": 0.0409,
                "finishing_factor": 0.9882,
                "creation_factor": 0.9877,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0409,
                "assist_rate": 0.0464,
                "provider_weight": 0.0417,
                "squad_weight_total": 0.8425,
                "weight_share": 0.0495,
                "creation_factor": 0.9877,
                "appearance_weight": 0.692,
                "weight_rank": 7,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ángel Pérez",
                    "weight": 0.1853,
                    "already": 0,
                    "effective_weight": 0.1853,
                    "runner_up": "Hugo Novoa",
                    "runner_up_effective_weight": 0.1136,
                    "blocked_own_goal": [
                      "Toni Martínez"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Miguel Rodríguez": {
          "player_id": 1014118,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 22,
          "height": 179,
          "market_value": 4600000,
          "stats": {
            "expected_goals": 0.0646,
            "goal_rate": 0.1087,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0304,
            "key_pass": 1,
            "rating": 6.6467,
            "minutes": 25,
            "total_pass": 3,
            "accurate_pass": 2,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 3,
            "accurate_opp_half_passes": 2,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 8,
            "possession_lost": 3.1464,
            "dispossessed": 0.7705,
            "duels_lost": 2,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 2,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 1,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "offsides": 0,
            "ball_carries": 3,
            "total_progression": 23,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.562,
            "bench_expected_minutes": 25.37,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 4,
            "projected_substitution_expected_count": 2.625,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.061,
            "projected_assists": 0,
            "assist_probability": 0.0296,
            "finishing_factor": 1.1352,
            "creation_factor": 0.8,
            "fifa_overall": 72.0
          },
          "latest_10_games": [
            {
              "match_id": 16416334,
              "match_date": "2026-09-15",
              "home_team": "Deportivo Alavés",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "Valencia",
              "stats": {
                "minutes": 11,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0172,
                "total_shots": 0,
                "total_pass": 4,
                "accurate_pass": 3,
                "key_pass": 2,
                "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": 16416328,
              "match_date": "2026-09-12",
              "home_team": "Real Racing Club",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0091,
                "total_shots": 0,
                "total_pass": 1,
                "accurate_pass": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416318,
              "match_date": "2026-09-06",
              "home_team": "Deportivo Alavés",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 12,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0,
                "total_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"
            }
          ],
          "ranking": {
            "global_player_rank": 4196,
            "combined_rank_score": 2227.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": 0.0,
            "fifa_rank": 4258.0,
            "fifa_overall": 72.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 17,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6467,
            "source_file": "data/player_rankings.csv",
            "player_name": "Miguel Rodríguez",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "José Sosa",
                  "ranking": 4191
                },
                {
                  "player_name": "Jason Knight",
                  "ranking": 4192
                },
                {
                  "player_name": "Pablo Marín",
                  "ranking": 4193
                },
                {
                  "player_name": "Yvan Neyou",
                  "ranking": 4194
                },
                {
                  "player_name": "Sidiki Cherif",
                  "ranking": 4195
                }
              ],
              "lower": [
                {
                  "player_name": "Federico Navarro",
                  "ranking": 4197
                },
                {
                  "player_name": "Yukinari Sugawara",
                  "ranking": 4198
                },
                {
                  "player_name": "Patrick Pentz",
                  "ranking": 4199
                },
                {
                  "player_name": "Álex Sancris",
                  "ranking": 4200
                },
                {
                  "player_name": "Bartosz Slisz",
                  "ranking": 4201
                }
              ]
            }
          },
          "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.37070150421028,
            "bench_appearance_prob": 0.56230461382774,
            "market_value_adjustment": 0.991,
            "fbref_prior_metrics": {
              "squad": "Alavés",
              "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 F_service (3 historical appearances) to 25.4 expected mins (appearance prob 0.56); FBref playing time empirical prior: 0.0 sub appearances, 0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.0604,
                "goals": 0.0731,
                "goal_rate": 0.0731,
                "shots_on_target": 0.2373,
                "total_shots": 0.6221,
                "expected_assists": 0.0284,
                "key_pass": 0.3975,
                "rating": 6.6467,
                "minutes": 12.79,
                "total_pass": 2.1662,
                "accurate_pass": 1.4966,
                "duels_won": 0.7775,
                "total_long_balls": 0.3304,
                "accurate_long_balls": 0.3304,
                "total_opp_half_passes": 2.1662,
                "accurate_opp_half_passes": 1.4966,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 5.449,
                "possession_lost": 2.1166,
                "dispossessed": 0.7775,
                "duels_lost": 1.0583,
                "aerial_lost": 0.2809,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.1662,
                "challenges_lost": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.3887,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.3887,
                "tackles": 0.3887,
                "clearances": 0.2809,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 1.8853,
                "total_progression": 15.6129,
                "progressive_carries": 0.3887,
                "shots_off_target": 0.3847
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-31T10:30:56.271646+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 610,
                    "rows": 17075
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Valencia",
                    "minutes": 11.0,
                    "is_starting": false,
                    "weight": 0.3887,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Real Racing Club",
                    "minutes": 1.0,
                    "is_starting": false,
                    "weight": 0.3304,
                    "rating": 0.0
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Osasuna",
                    "minutes": 12.0,
                    "is_starting": false,
                    "weight": 0.2809,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 0.0,
                  "accurateOppositionHalfPasses": 1.4966,
                  "expectedGoals": 0.0,
                  "totalOppositionHalfPasses": 2.1662,
                  "accuratePass": 1.4966,
                  "totalShots": 0.0
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.060393571853637695,
                    "model_output": 0.0604,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.282
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0898
                      },
                      {
                        "name": "goals",
                        "importance": 0.0323
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0316
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0236
                      }
                    ],
                    "decomposition": {
                      "base": 0.1945,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0841
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0155
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0102
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.005
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.0041
                        }
                      ],
                      "others": -0.0152,
                      "total": 0.0604,
                      "log_link": true,
                      "margin_base": -1.637486,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.566561
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.151637
                        },
                        {
                          "name": "goals",
                          "margin": -0.114089
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.061267
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": -0.053544
                        }
                      ],
                      "others_margin": -0.222289
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.07312189042568207,
                    "model_output": 0.0731,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.144
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0742
                      },
                      {
                        "name": "goals",
                        "importance": 0.053
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0321
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0311
                      }
                    ],
                    "decomposition": {
                      "base": 0.199,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0767
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0195
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0096
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0083
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0072
                        }
                      ],
                      "others": -0.0238,
                      "total": 0.0731,
                      "log_link": true,
                      "margin_base": -1.614663,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.486862
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.174179
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.089297
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.076559
                        },
                        {
                          "name": "goals",
                          "margin": -0.071296
                        }
                      ],
                      "others_margin": -0.281365
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.23734575510025024,
                    "model_output": 0.2373,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2115
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.066
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0499
                      },
                      {
                        "name": "goals",
                        "importance": 0.0473
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0333
                      }
                    ],
                    "decomposition": {
                      "base": 0.5305,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2379
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0231
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0159
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0139
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0105
                        }
                      ],
                      "others": -0.0237,
                      "total": 0.2373,
                      "log_link": true,
                      "margin_base": -0.633985,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.595216
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.082248
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.057251
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.049771
                        },
                        {
                          "name": "goals",
                          "margin": -0.039294
                        }
                      ],
                      "others_margin": -0.094975
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.6220871806144714,
                    "model_output": 0.6221,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2934
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0662
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.05
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0272
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.027
                      }
                    ],
                    "decomposition": {
                      "base": 1.3805,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4978
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.126
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0415
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.038
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": -0.0297
                        }
                      ],
                      "others": -0.1014,
                      "total": 0.6221,
                      "log_link": false,
                      "margin_base": 1.38048,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.49776
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.125981
                        },
                        {
                          "name": "goals",
                          "margin": -0.041524
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.038043
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": -0.029744
                        }
                      ],
                      "others_margin": -0.101426
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.02843313105404377,
                    "model_output": 0.0284,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1135
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0826
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0722
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0587
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0552
                      }
                    ],
                    "decomposition": {
                      "base": 0.0647,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0194
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0122
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0051
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.003
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0028
                        }
                      ],
                      "others": 0.0002,
                      "total": 0.0284,
                      "log_link": true,
                      "margin_base": -2.738275,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.356913
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.314347
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.167729
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.102934
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.093501
                        }
                      ],
                      "others_margin": 0.00763
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.3974663019180298,
                    "model_output": 0.3975,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1545
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.1071
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0923
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0893
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0298
                      }
                    ],
                    "decomposition": {
                      "base": 0.6939,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2709
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0517
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0333
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0237
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0234
                        }
                      ],
                      "others": -0.0436,
                      "total": 0.3975,
                      "log_link": true,
                      "margin_base": -0.365451,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.494997
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.115375
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.072661
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.055118
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.054438
                        }
                      ],
                      "others_margin": -0.10423
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.646739482879639,
                    "model_output": 6.6467,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0529
                      },
                      {
                        "name": "rating",
                        "importance": 0.0463
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.044
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0417
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0371
                      }
                    ],
                    "decomposition": {
                      "base": 6.7735,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0618
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0299
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0132
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0128
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0089
                        }
                      ],
                      "others": -0.06,
                      "total": 6.6467,
                      "log_link": false,
                      "margin_base": 6.773504,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.061783
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.029914
                        },
                        {
                          "name": "rating",
                          "margin": -0.013172
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.01281
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.008884
                        }
                      ],
                      "others_margin": -0.060028
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 3,
                  "role_matches": 3,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9910, quality 0.457)",
              "stats": {
                "expected_goals": 0.0599,
                "goals": 0.0725,
                "goal_rate": 0.0725,
                "shots_on_target": 0.2352,
                "total_shots": 0.6165,
                "expected_assists": 0.0282,
                "key_pass": 0.3939,
                "rating": 6.6467,
                "minutes": 12.79,
                "total_pass": 2.1467,
                "accurate_pass": 1.4831,
                "duels_won": 0.7705,
                "total_long_balls": 0.3274,
                "accurate_long_balls": 0.3274,
                "total_opp_half_passes": 2.1467,
                "accurate_opp_half_passes": 1.4831,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 5.4,
                "possession_lost": 2.0976,
                "dispossessed": 0.7705,
                "duels_lost": 1.0488,
                "aerial_lost": 0.2784,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.1557,
                "challenges_lost": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.3852,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.3852,
                "tackles": 0.3852,
                "clearances": 0.2784,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 1.8683,
                "total_progression": 15.4724,
                "progressive_carries": 0.3852,
                "shots_off_target": 0.3812
              },
              "params": {
                "market_value_eur": 4600000,
                "quality_factor": 0.4572,
                "boost_factor": 0.991,
                "reference_quality": 0.505,
                "history_matches": 3,
                "history_shrink": 0.625,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 12.8 to 25.4 expected minutes (appearance prob 0.56)",
              "stats": {
                "expected_goals": 0.0898,
                "goals": 0.1087,
                "goal_rate": 0.1087,
                "shots_on_target": 0.3528,
                "total_shots": 0.9248,
                "expected_assists": 0.0423,
                "key_pass": 0.5908,
                "rating": 6.6467,
                "minutes": 25.37,
                "total_pass": 3.2201,
                "accurate_pass": 2.2247,
                "duels_won": 1.1557,
                "total_long_balls": 0.4911,
                "accurate_long_balls": 0.4911,
                "total_opp_half_passes": 3.2201,
                "accurate_opp_half_passes": 2.2247,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 8.1,
                "possession_lost": 3.1464,
                "dispossessed": 0.7705,
                "duels_lost": 1.5732,
                "aerial_lost": 0.2784,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.7335,
                "challenges_lost": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.5778,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.5778,
                "tackles": 0.5778,
                "clearances": 0.4176,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 2.8025,
                "total_progression": 23.2086,
                "progressive_carries": 0.5778,
                "shots_off_target": 0.5718,
                "bench_appearance_probability": 0.562,
                "bench_expected_minutes": 25.37
              },
              "params": {
                "expected_minutes": 25.37,
                "projection_minutes": 12.79,
                "minutes_scale": 1.5,
                "appearance_probability": 0.562
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0898,
                "goals": 0.1087,
                "goal_rate": 0.1087,
                "shots_on_target": 0.3528,
                "total_shots": 0.9248,
                "expected_assists": 0.0423,
                "key_pass": 0.5908,
                "rating": 6.6467,
                "minutes": 25.37,
                "total_pass": 3.2201,
                "accurate_pass": 2.2247,
                "duels_won": 1.1557,
                "total_long_balls": 0.4911,
                "accurate_long_balls": 0.4911,
                "total_opp_half_passes": 3.2201,
                "accurate_opp_half_passes": 2.2247,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 8.1,
                "possession_lost": 3.1464,
                "dispossessed": 0.7705,
                "duels_lost": 1.5732,
                "aerial_lost": 0.2784,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.7335,
                "challenges_lost": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.5778,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.5778,
                "tackles": 0.5778,
                "clearances": 0.4176,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 2.8025,
                "total_progression": 23.2086,
                "progressive_carries": 0.5778,
                "shots_off_target": 0.5718,
                "bench_appearance_probability": 0.562,
                "bench_expected_minutes": 25.37
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.0898,
                "goal_rate": 0.1087,
                "goals": 0,
                "shots_on_target": 0.3528,
                "total_shots": 0.9248,
                "expected_assists": 0.0423,
                "key_pass": 0.5908,
                "rating": 6.6467,
                "minutes": 25.37,
                "total_pass": 3.2201,
                "accurate_pass": 2.2247,
                "duels_won": 1.1557,
                "total_long_balls": 0.4911,
                "accurate_long_balls": 0.4911,
                "total_opp_half_passes": 3.2201,
                "accurate_opp_half_passes": 2.2247,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 8.1,
                "possession_lost": 3.1464,
                "dispossessed": 0.7705,
                "duels_lost": 1.5732,
                "aerial_lost": 0.2784,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.7335,
                "challenges_lost": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.5778,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.5778,
                "tackles": 0.5778,
                "clearances": 0.4176,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 2.8025,
                "total_progression": 23.2086,
                "progressive_carries": 0.5778,
                "shots_off_target": 0.5718,
                "bench_appearance_probability": 0.562,
                "bench_expected_minutes": 25.37,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.625,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.29 (squad xG sum 1.0060, xG scale 1.2803, xA scale 1.2803, team xA 0.96 = 0.74 x lambda)",
              "stats": {
                "expected_goals": 0.0646,
                "goal_rate": 0.1087,
                "goals": 0,
                "shots_on_target": 0.3528,
                "total_shots": 0.9248,
                "expected_assists": 0.0304,
                "key_pass": 0.5908,
                "rating": 6.6467,
                "minutes": 25.37,
                "total_pass": 3.2201,
                "accurate_pass": 2.2247,
                "duels_won": 1.1557,
                "total_long_balls": 0.4911,
                "accurate_long_balls": 0.4911,
                "total_opp_half_passes": 3.2201,
                "accurate_opp_half_passes": 2.2247,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 8.1,
                "possession_lost": 3.1464,
                "dispossessed": 0.7705,
                "duels_lost": 1.5732,
                "aerial_lost": 0.2784,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.7335,
                "challenges_lost": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.5778,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.5778,
                "tackles": 0.5778,
                "clearances": 0.4176,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 2.8025,
                "total_progression": 23.2086,
                "progressive_carries": 0.5778,
                "shots_off_target": 0.5718,
                "bench_appearance_probability": 0.562,
                "bench_expected_minutes": 25.37,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.625,
                "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.1352,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.288,
                "squad_xg_sum": 1.006,
                "squad_xa_sum": 0.7484,
                "team_expected_assists": 0.9582,
                "team_xa_to_xg_ratio": 0.7439,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2803,
                "xa_scale": 1.2803,
                "opponent_lambda": 3.863,
                "scoreline_reset": true,
                "appearance_weight": 0.562
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0898,
                  "after": 0.0646
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0423,
                  "after": 0.0304
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 17 by projected rating, fifa_overall 72.0)",
              "stats": {
                "expected_goals": 0.0646,
                "goal_rate": 0.1087,
                "goals": 0,
                "shots_on_target": 0.3528,
                "total_shots": 0.9248,
                "expected_assists": 0.0304,
                "key_pass": 0.5908,
                "rating": 6.6467,
                "minutes": 25.37,
                "total_pass": 3.2201,
                "accurate_pass": 2.2247,
                "duels_won": 1.1557,
                "total_long_balls": 0.4911,
                "accurate_long_balls": 0.4911,
                "total_opp_half_passes": 3.2201,
                "accurate_opp_half_passes": 2.2247,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 8.1,
                "possession_lost": 3.1464,
                "dispossessed": 0.7705,
                "duels_lost": 1.5732,
                "aerial_lost": 0.2784,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.7335,
                "challenges_lost": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.5778,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.5778,
                "tackles": 0.5778,
                "clearances": 0.4176,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 2.8025,
                "total_progression": 23.2086,
                "progressive_carries": 0.5778,
                "shots_off_target": 0.5718,
                "bench_appearance_probability": 0.562,
                "bench_expected_minutes": 25.37,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.625,
                "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.1352,
                "creation_factor": 0.8,
                "fifa_overall": 72.0
              },
              "params": {
                "match_squad_rank": 17,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 4196,
                "fifa_rank": 4258.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 72.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.0646,
                "goal_rate": 0.1087,
                "goals": 0,
                "shots_on_target": 0.3528,
                "total_shots": 0.9248,
                "expected_assists": 0.0304,
                "key_pass": 0.5908,
                "rating": 6.6467,
                "minutes": 25.37,
                "total_pass": 3.2201,
                "accurate_pass": 2.2247,
                "duels_won": 1.1557,
                "total_long_balls": 0.4911,
                "accurate_long_balls": 0.4911,
                "total_opp_half_passes": 3.2201,
                "accurate_opp_half_passes": 2.2247,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 8.1,
                "possession_lost": 3.1464,
                "dispossessed": 0.7705,
                "duels_lost": 1.5732,
                "aerial_lost": 0.2784,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.7335,
                "challenges_lost": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.5778,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.5778,
                "tackles": 0.5778,
                "clearances": 0.4176,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 2.8025,
                "total_progression": 23.2086,
                "progressive_carries": 0.5778,
                "shots_off_target": 0.5718,
                "bench_appearance_probability": 0.562,
                "bench_expected_minutes": 25.37,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.625,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.061,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1352,
                "creation_factor": 0.8,
                "fifa_overall": 72.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.061,
                "goal_rate": 0.1087,
                "scorer_weight": 0.0733,
                "squad_weight_total": 1.3792,
                "weight_share": 0.0532,
                "finishing_factor": 1.1352,
                "appearance_weight": 0.562,
                "weight_rank": 6,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Toni Martínez",
                    "weight": 0.3036,
                    "already": 0,
                    "effective_weight": 0.3036,
                    "runner_up": "Lucas Boyé",
                    "runner_up_effective_weight": 0.2934
                  }
                ]
              }
            },
            {
              "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.0646,
                "goal_rate": 0.1087,
                "goals": 0,
                "shots_on_target": 0.3528,
                "total_shots": 0.9248,
                "expected_assists": 0.0304,
                "key_pass": 0.5908,
                "rating": 6.6467,
                "minutes": 25.37,
                "total_pass": 3.2201,
                "accurate_pass": 2.2247,
                "duels_won": 1.1557,
                "total_long_balls": 0.4911,
                "accurate_long_balls": 0.4911,
                "total_opp_half_passes": 3.2201,
                "accurate_opp_half_passes": 2.2247,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 8.1,
                "possession_lost": 3.1464,
                "dispossessed": 0.7705,
                "duels_lost": 1.5732,
                "aerial_lost": 0.2784,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.7335,
                "challenges_lost": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.5778,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.5778,
                "tackles": 0.5778,
                "clearances": 0.4176,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 2.8025,
                "total_progression": 23.2086,
                "progressive_carries": 0.5778,
                "shots_off_target": 0.5718,
                "bench_appearance_probability": 0.562,
                "bench_expected_minutes": 25.37,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.625,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.061,
                "projected_assists": 0,
                "assist_probability": 0.0296,
                "finishing_factor": 1.1352,
                "creation_factor": 0.8,
                "fifa_overall": 72.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0296,
                "assist_rate": 0.0,
                "provider_weight": 0.0243,
                "squad_weight_total": 0.8425,
                "weight_share": 0.0289,
                "creation_factor": 0.8,
                "appearance_weight": 0.562,
                "weight_rank": 12,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ángel Pérez",
                    "weight": 0.1853,
                    "already": 0,
                    "effective_weight": 0.1853,
                    "runner_up": "Hugo Novoa",
                    "runner_up_effective_weight": 0.1136,
                    "blocked_own_goal": [
                      "Toni Martínez"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Ibrahim Diabaté": {
          "player_id": 1084043,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 22,
          "height": 185,
          "market_value": 1400000,
          "stats": {
            "expected_goals": 0.0628,
            "goal_rate": 0.096,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0058,
            "key_pass": 0,
            "rating": 6.6111,
            "minutes": 25,
            "total_pass": 5,
            "accurate_pass": 3,
            "duels_won": 2,
            "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": 2.8552,
            "dispossessed": 0.2649,
            "duels_lost": 1,
            "aerial_lost": 1,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0127,
            "offsides": 0,
            "ball_carries": 3,
            "total_progression": 3,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.559,
            "bench_expected_minutes": 25.29,
            "projected_substitution_order": 3,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 4,
            "projected_substitution_expected_count": 2.625,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0594,
            "projected_assists": 0,
            "assist_probability": 0.0058,
            "finishing_factor": 1.0595,
            "creation_factor": 0.8606,
            "fifa_overall": 72.0
          },
          "latest_10_games": [
            {
              "match_id": 14083706,
              "match_date": "2026-05-23",
              "home_team": "Deportivo Alavés",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 12,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0807,
                "expected_assists": 0.0028,
                "total_shots": 1,
                "total_pass": 4,
                "accurate_pass": 3,
                "aerial_won": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083692,
              "match_date": "2026-05-17",
              "home_team": "Real Oviedo",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Real Oviedo",
              "stats": {
                "minutes": 68,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0689,
                "expected_assists": 0.0242,
                "total_shots": 1,
                "total_pass": 11,
                "accurate_pass": 4,
                "key_pass": 1,
                "tackles": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "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": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 64,
                "rating": 7.1,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.4045,
                "expected_assists": 0.0006,
                "total_shots": 3,
                "shots_on_target": 2,
                "total_pass": 4,
                "accurate_pass": 3,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "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": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Elche",
              "stats": {
                "minutes": 82,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.4694,
                "expected_assists": 0.0026,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 11,
                "accurate_pass": 5,
                "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": 14083364,
              "match_date": "2026-05-02",
              "home_team": "Deportivo Alavés",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 73,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0456,
                "expected_assists": 0.0113,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 11,
                "accurate_pass": 8,
                "key_pass": 1,
                "interceptions": 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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083202,
              "match_date": "2026-04-25",
              "home_team": "Deportivo Alavés",
              "away_team": "Mallorca",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "Mallorca",
              "stats": {
                "minutes": 86,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0633,
                "expected_assists": 0.0071,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 13,
                "accurate_pass": 9,
                "clearances": 1,
                "aerial_won": 6,
                "duels_won": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083295,
              "match_date": "2026-04-21",
              "home_team": "Real Madrid",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 24,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0506,
                "expected_assists": 0.0042,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 2,
                "accurate_pass": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083152,
              "match_date": "2026-04-11",
              "home_team": "Real Sociedad",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 60,
                "rating": 7.1,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3196,
                "expected_assists": 0.0066,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 8,
                "accurate_pass": 7,
                "interceptions": 1,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14081809,
              "match_date": "2026-04-05",
              "home_team": "Deportivo Alavés",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 73,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.186,
                "expected_assists": 0.0074,
                "total_shots": 1,
                "total_pass": 17,
                "accurate_pass": 11,
                "aerial_won": 2,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083689,
              "match_date": "2026-03-22",
              "home_team": "Celta Vigo",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 45,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1104,
                "expected_assists": 0.0036,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 9,
                "accurate_pass": 5,
                "tackles": 2,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 4539,
            "combined_rank_score": 2590.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 883.0,
            "sofascore_rating": 6.54,
            "sofascore_appearances": 10.0,
            "fifa_rank": 4298.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.6111,
            "source_file": "data/player_rankings.csv",
            "player_name": "Ibrahim Diabaté",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Patrick Beach",
                  "ranking": 4534
                },
                {
                  "player_name": "Angus Gunn",
                  "ranking": 4535
                },
                {
                  "player_name": "Zakaria Eddahchouri",
                  "ranking": 4536
                },
                {
                  "player_name": "Willy Kambwala",
                  "ranking": 4537
                },
                {
                  "player_name": "Federico Carrizo",
                  "ranking": 4538
                }
              ],
              "lower": [
                {
                  "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
                },
                {
                  "player_name": "Ximo Navarro",
                  "ranking": 4544
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 10,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 10,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 25.292222187561247,
            "bench_appearance_prob": 0.5587373721618749,
            "market_value_adjustment": 0.9932,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (10 historical appearances) to 25.3 expected mins (appearance prob 0.56)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.1184,
                "goals": 0.1295,
                "goal_rate": 0.1295,
                "shots_on_target": 0.309,
                "total_shots": 0.7683,
                "expected_assists": 0.0108,
                "key_pass": 0.2451,
                "rating": 6.6111,
                "minutes": 33.88,
                "total_pass": 6.9108,
                "accurate_pass": 4.5324,
                "duels_won": 2.8802,
                "total_long_balls": 0.5335,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 5.2657,
                "accurate_opp_half_passes": 3.3468,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 12.2952,
                "possession_lost": 3.8509,
                "dispossessed": 0.2667,
                "duels_lost": 1.9459,
                "aerial_lost": 1.2197,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.1927,
                "challenges_lost": 0.0,
                "fouls": 0.4595,
                "fouls_drawn": 0.5806,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.3854,
                "clearances": 0.2667,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0241,
                "offsides": 0.1927,
                "ball_carries": 3.6266,
                "total_progression": 4.2359,
                "progressive_carries": 0.5065,
                "shots_off_target": 0.4593
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-31T10:30:56.271646+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 610,
                    "rows": 17075
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Rayo Vallecano",
                    "minutes": 12.0,
                    "is_starting": false,
                    "weight": 0.1868,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Real Oviedo",
                    "minutes": 68.0,
                    "is_starting": true,
                    "weight": 0.1588,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "FC Barcelona",
                    "minutes": 64.0,
                    "is_starting": true,
                    "weight": 0.1349,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-05-09",
                    "opponent": "Elche",
                    "minutes": 82.0,
                    "is_starting": true,
                    "weight": 0.1147,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Athletic Club",
                    "minutes": 73.0,
                    "is_starting": true,
                    "weight": 0.0975,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-04-25",
                    "opponent": "Mallorca",
                    "minutes": 86.0,
                    "is_starting": false,
                    "weight": 0.0829,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-04-21",
                    "opponent": "Real Madrid",
                    "minutes": 24.0,
                    "is_starting": false,
                    "weight": 0.0704,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-04-11",
                    "opponent": "Real Sociedad",
                    "minutes": 60.0,
                    "is_starting": true,
                    "weight": 0.0599,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-04-05",
                    "opponent": "Osasuna",
                    "minutes": 73.0,
                    "is_starting": true,
                    "weight": 0.0509,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-03-22",
                    "opponent": "Celta Vigo",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.0433,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 10.0,
                  "is_starting_11": 0.0,
                  "accurateOppositionHalfPasses": 3.4954,
                  "expectedGoals": 0.1811,
                  "totalOppositionHalfPasses": 6.5748,
                  "accuratePass": 4.9651,
                  "totalShots": 1.5107
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.11841163039207458,
                    "model_output": 0.1184,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.282
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0898
                      },
                      {
                        "name": "goals",
                        "importance": 0.0323
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0316
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0236
                      }
                    ],
                    "decomposition": {
                      "base": 0.1945,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0925
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0065
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.004
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.004
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0038
                        }
                      ],
                      "others": 0.0061,
                      "total": 0.1184,
                      "log_link": true,
                      "margin_base": -1.637486,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.645191
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.061855
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.035941
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.035879
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.034124
                        }
                      ],
                      "others_margin": 0.053046
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.12945148348808289,
                    "model_output": 0.1295,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.144
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0742
                      },
                      {
                        "name": "goals",
                        "importance": 0.053
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0321
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0311
                      }
                    ],
                    "decomposition": {
                      "base": 0.199,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0903
                        },
                        {
                          "name": "dispossessed",
                          "contribution": -0.0082
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.008
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0059
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.006
                        }
                      ],
                      "others": 0.0091,
                      "total": 0.1295,
                      "log_link": true,
                      "margin_base": -1.614663,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.604897
                        },
                        {
                          "name": "dispossessed",
                          "margin": -0.078273
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.07693
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.052865
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.051304
                        }
                      ],
                      "others_margin": 0.072285
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.30899539589881897,
                    "model_output": 0.309,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2115
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.066
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0499
                      },
                      {
                        "name": "goals",
                        "importance": 0.0473
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0333
                      }
                    ],
                    "decomposition": {
                      "base": 0.5305,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2289
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.013
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0116
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": -0.0109
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0065
                        }
                      ],
                      "others": 0.0002,
                      "total": 0.309,
                      "log_link": true,
                      "margin_base": -0.633985,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.564805
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.042107
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.036125
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": -0.033928
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.020834
                        }
                      ],
                      "others_margin": 0.000891
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.7683103084564209,
                    "model_output": 0.7683,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2934
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0662
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.05
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0272
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.027
                      }
                    ],
                    "decomposition": {
                      "base": 1.3805,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.6338
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0398
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": -0.0345
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0334
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0217
                        }
                      ],
                      "others": 0.0046,
                      "total": 0.7683,
                      "log_link": false,
                      "margin_base": 1.38048,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.63384
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.03979
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": -0.034481
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.033366
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.021742
                        }
                      ],
                      "others_margin": 0.004739
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.010831216350197792,
                    "model_output": 0.0108,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1135
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0826
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0722
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0587
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0552
                      }
                    ],
                    "decomposition": {
                      "base": 0.0647,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0223
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0129
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0036
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0028
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0021
                        }
                      ],
                      "others": -0.0102,
                      "total": 0.0108,
                      "log_link": true,
                      "margin_base": -2.738275,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.423158
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.361479
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.130521
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.116264
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.093688
                        }
                      ],
                      "others_margin": -0.661938
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.24509161710739136,
                    "model_output": 0.2451,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1545
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.1071
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0923
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0893
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0298
                      }
                    ],
                    "decomposition": {
                      "base": 0.6939,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2677
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0327
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0248
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.019
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0158
                        }
                      ],
                      "others": -0.0888,
                      "total": 0.2451,
                      "log_link": true,
                      "margin_base": -0.365451,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.487328
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.079838
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.065217
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.053012
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.046202
                        }
                      ],
                      "others_margin": -0.309074
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.611083507537842,
                    "model_output": 6.6111,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0529
                      },
                      {
                        "name": "rating",
                        "importance": 0.0463
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.044
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0417
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0371
                      }
                    ],
                    "decomposition": {
                      "base": 6.7735,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0593
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0221
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0107
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0105
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0094
                        }
                      ],
                      "others": -0.0504,
                      "total": 6.6111,
                      "log_link": false,
                      "margin_base": 6.773504,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.059334
                        },
                        {
                          "name": "rating",
                          "margin": -0.022102
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.010656
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.010515
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.009359
                        }
                      ],
                      "others_margin": -0.050455
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 10,
                  "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.9932, quality 0.437)",
              "stats": {
                "expected_goals": 0.1176,
                "goals": 0.1286,
                "goal_rate": 0.1286,
                "shots_on_target": 0.3069,
                "total_shots": 0.7631,
                "expected_assists": 0.0108,
                "key_pass": 0.2434,
                "rating": 6.6111,
                "minutes": 33.88,
                "total_pass": 6.8638,
                "accurate_pass": 4.5016,
                "duels_won": 2.8606,
                "total_long_balls": 0.5299,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 5.2299,
                "accurate_opp_half_passes": 3.324,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 12.2116,
                "possession_lost": 3.8247,
                "dispossessed": 0.2649,
                "duels_lost": 1.9327,
                "aerial_lost": 1.2114,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.1914,
                "challenges_lost": 0.0,
                "fouls": 0.4564,
                "fouls_drawn": 0.5767,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.3828,
                "clearances": 0.2649,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0239,
                "offsides": 0.1914,
                "ball_carries": 3.6019,
                "total_progression": 4.2071,
                "progressive_carries": 0.5031,
                "shots_off_target": 0.4562
              },
              "params": {
                "market_value_eur": 1400000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9932,
                "reference_quality": 0.505,
                "history_matches": 10,
                "history_shrink": 0.3333,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 33.9 to 25.3 expected minutes (appearance prob 0.56)",
              "stats": {
                "expected_goals": 0.0878,
                "goals": 0.096,
                "goal_rate": 0.096,
                "shots_on_target": 0.2291,
                "total_shots": 0.5697,
                "expected_assists": 0.0081,
                "key_pass": 0.1817,
                "rating": 6.6111,
                "minutes": 25.29,
                "total_pass": 5.124,
                "accurate_pass": 3.3606,
                "duels_won": 2.1355,
                "total_long_balls": 0.3956,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 3.9042,
                "accurate_opp_half_passes": 2.4814,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 9.1162,
                "possession_lost": 2.8552,
                "dispossessed": 0.2649,
                "duels_lost": 1.4428,
                "aerial_lost": 1.2114,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.1429,
                "challenges_lost": 0.0,
                "fouls": 0.3407,
                "fouls_drawn": 0.4305,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.2858,
                "clearances": 0.1978,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0178,
                "offsides": 0.1914,
                "ball_carries": 2.6889,
                "total_progression": 3.1407,
                "progressive_carries": 0.3756,
                "shots_off_target": 0.3406,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29
              },
              "params": {
                "expected_minutes": 25.29,
                "projection_minutes": 33.88,
                "minutes_scale": 0.7465,
                "appearance_probability": 0.559
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0878,
                "goals": 0.096,
                "goal_rate": 0.096,
                "shots_on_target": 0.2291,
                "total_shots": 0.5697,
                "expected_assists": 0.0081,
                "key_pass": 0.1817,
                "rating": 6.6111,
                "minutes": 25.29,
                "total_pass": 5.124,
                "accurate_pass": 3.3606,
                "duels_won": 2.1355,
                "total_long_balls": 0.3956,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 3.9042,
                "accurate_opp_half_passes": 2.4814,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 9.1162,
                "possession_lost": 2.8552,
                "dispossessed": 0.2649,
                "duels_lost": 1.4428,
                "aerial_lost": 1.2114,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.1429,
                "challenges_lost": 0.0,
                "fouls": 0.3407,
                "fouls_drawn": 0.4305,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.2858,
                "clearances": 0.1978,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0178,
                "offsides": 0.1914,
                "ball_carries": 2.6889,
                "total_progression": 3.1407,
                "progressive_carries": 0.3756,
                "shots_off_target": 0.3406,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.0878,
                "goal_rate": 0.096,
                "goals": 0,
                "shots_on_target": 0.2291,
                "total_shots": 0.5697,
                "expected_assists": 0.0081,
                "key_pass": 0.1817,
                "rating": 6.6111,
                "minutes": 25.29,
                "total_pass": 5.124,
                "accurate_pass": 3.3606,
                "duels_won": 2.1355,
                "total_long_balls": 0.3956,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 3.9042,
                "accurate_opp_half_passes": 2.4814,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 9.1162,
                "possession_lost": 2.8552,
                "dispossessed": 0.2649,
                "duels_lost": 1.4428,
                "aerial_lost": 1.2114,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.1429,
                "challenges_lost": 0.0,
                "fouls": 0.3407,
                "fouls_drawn": 0.4305,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.2858,
                "clearances": 0.1978,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0178,
                "offsides": 0.1914,
                "ball_carries": 2.6889,
                "total_progression": 3.1407,
                "progressive_carries": 0.3756,
                "shots_off_target": 0.3406,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.625,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.29 (squad xG sum 1.0060, xG scale 1.2803, xA scale 1.2803, team xA 0.96 = 0.74 x lambda)",
              "stats": {
                "expected_goals": 0.0628,
                "goal_rate": 0.096,
                "goals": 0,
                "shots_on_target": 0.2291,
                "total_shots": 0.5697,
                "expected_assists": 0.0058,
                "key_pass": 0.1817,
                "rating": 6.6111,
                "minutes": 25.29,
                "total_pass": 5.124,
                "accurate_pass": 3.3606,
                "duels_won": 2.1355,
                "total_long_balls": 0.3956,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 3.9042,
                "accurate_opp_half_passes": 2.4814,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 9.1162,
                "possession_lost": 2.8552,
                "dispossessed": 0.2649,
                "duels_lost": 1.4428,
                "aerial_lost": 1.2114,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.1429,
                "challenges_lost": 0.0,
                "fouls": 0.3407,
                "fouls_drawn": 0.4305,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.2858,
                "clearances": 0.1978,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0127,
                "offsides": 0.1914,
                "ball_carries": 2.6889,
                "total_progression": 3.1407,
                "progressive_carries": 0.3756,
                "shots_off_target": 0.3406,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.625,
                "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.0595,
                "creation_factor": 0.8606
              },
              "params": {
                "team_lambda": 1.288,
                "squad_xg_sum": 1.006,
                "squad_xa_sum": 0.7484,
                "team_expected_assists": 0.9582,
                "team_xa_to_xg_ratio": 0.7439,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2803,
                "xa_scale": 1.2803,
                "opponent_lambda": 3.863,
                "scoreline_reset": true,
                "appearance_weight": 0.559
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0878,
                  "after": 0.0628
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 18 by projected rating, fifa_overall 72.0)",
              "stats": {
                "expected_goals": 0.0628,
                "goal_rate": 0.096,
                "goals": 0,
                "shots_on_target": 0.2291,
                "total_shots": 0.5697,
                "expected_assists": 0.0058,
                "key_pass": 0.1817,
                "rating": 6.6111,
                "minutes": 25.29,
                "total_pass": 5.124,
                "accurate_pass": 3.3606,
                "duels_won": 2.1355,
                "total_long_balls": 0.3956,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 3.9042,
                "accurate_opp_half_passes": 2.4814,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 9.1162,
                "possession_lost": 2.8552,
                "dispossessed": 0.2649,
                "duels_lost": 1.4428,
                "aerial_lost": 1.2114,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.1429,
                "challenges_lost": 0.0,
                "fouls": 0.3407,
                "fouls_drawn": 0.4305,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.2858,
                "clearances": 0.1978,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0127,
                "offsides": 0.1914,
                "ball_carries": 2.6889,
                "total_progression": 3.1407,
                "progressive_carries": 0.3756,
                "shots_off_target": 0.3406,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.625,
                "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.0595,
                "creation_factor": 0.8606,
                "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": 4539,
                "fifa_rank": 4298.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 72.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.0628,
                "goal_rate": 0.096,
                "goals": 0,
                "shots_on_target": 0.2291,
                "total_shots": 0.5697,
                "expected_assists": 0.0058,
                "key_pass": 0.1817,
                "rating": 6.6111,
                "minutes": 25.29,
                "total_pass": 5.124,
                "accurate_pass": 3.3606,
                "duels_won": 2.1355,
                "total_long_balls": 0.3956,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 3.9042,
                "accurate_opp_half_passes": 2.4814,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 9.1162,
                "possession_lost": 2.8552,
                "dispossessed": 0.2649,
                "duels_lost": 1.4428,
                "aerial_lost": 1.2114,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.1429,
                "challenges_lost": 0.0,
                "fouls": 0.3407,
                "fouls_drawn": 0.4305,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.2858,
                "clearances": 0.1978,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0127,
                "offsides": 0.1914,
                "ball_carries": 2.6889,
                "total_progression": 3.1407,
                "progressive_carries": 0.3756,
                "shots_off_target": 0.3406,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.625,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0594,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0595,
                "creation_factor": 0.8606,
                "fifa_overall": 72.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0594,
                "goal_rate": 0.096,
                "scorer_weight": 0.0665,
                "squad_weight_total": 1.3792,
                "weight_share": 0.0482,
                "finishing_factor": 1.0595,
                "appearance_weight": 0.559,
                "weight_rank": 8,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Toni Martínez",
                    "weight": 0.3036,
                    "already": 0,
                    "effective_weight": 0.3036,
                    "runner_up": "Lucas Boyé",
                    "runner_up_effective_weight": 0.2934
                  }
                ]
              }
            },
            {
              "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.0628,
                "goal_rate": 0.096,
                "goals": 0,
                "shots_on_target": 0.2291,
                "total_shots": 0.5697,
                "expected_assists": 0.0058,
                "key_pass": 0.1817,
                "rating": 6.6111,
                "minutes": 25.29,
                "total_pass": 5.124,
                "accurate_pass": 3.3606,
                "duels_won": 2.1355,
                "total_long_balls": 0.3956,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 3.9042,
                "accurate_opp_half_passes": 2.4814,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 9.1162,
                "possession_lost": 2.8552,
                "dispossessed": 0.2649,
                "duels_lost": 1.4428,
                "aerial_lost": 1.2114,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.1429,
                "challenges_lost": 0.0,
                "fouls": 0.3407,
                "fouls_drawn": 0.4305,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.2858,
                "clearances": 0.1978,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0127,
                "offsides": 0.1914,
                "ball_carries": 2.6889,
                "total_progression": 3.1407,
                "progressive_carries": 0.3756,
                "shots_off_target": 0.3406,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.625,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0594,
                "projected_assists": 0,
                "assist_probability": 0.0058,
                "finishing_factor": 1.0595,
                "creation_factor": 0.8606,
                "fifa_overall": 72.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0058,
                "assist_rate": 0.0,
                "provider_weight": 0.005,
                "squad_weight_total": 0.8425,
                "weight_share": 0.0059,
                "creation_factor": 0.8606,
                "appearance_weight": 0.559,
                "weight_rank": 14,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ángel Pérez",
                    "weight": 0.1853,
                    "already": 0,
                    "effective_weight": 0.1853,
                    "runner_up": "Hugo Novoa",
                    "runner_up_effective_weight": 0.1136,
                    "blocked_own_goal": [
                      "Toni Martínez"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Carlos Vicente": {
          "player_id": 1084399,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 7,
          "height": 179,
          "market_value": 7400000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0299,
            "assist_rate": 0.0504,
            "assists": 0,
            "expected_goals": 0.0232,
            "goal_rate": 0.0309,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.8194,
            "minutes": 22,
            "total_pass": 9,
            "accurate_pass": 7,
            "duels_won": 2,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 3,
            "accurate_own_half_passes": 3,
            "total_opp_half_passes": 6,
            "accurate_opp_half_passes": 4,
            "crosses_total": 3,
            "crosses_accurate": 1,
            "touches": 17,
            "possession_lost": 5.5055,
            "dispossessed": 0.1483,
            "duels_lost": 1,
            "aerial_won": 0,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 1,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0598,
            "ball_carries": 5,
            "total_progression": 9,
            "progressive_carries": 1,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.508,
            "bench_expected_minutes": 22.19,
            "projected_substitution_order": 4,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 4,
            "projected_substitution_expected_count": 2.625,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0227,
            "projected_assists": 0,
            "assist_probability": 0.029,
            "finishing_factor": 0.9451,
            "creation_factor": 1.0469,
            "fifa_overall": 76.0
          },
          "latest_10_games": [
            {
              "match_id": 14083096,
              "match_date": "2026-01-25",
              "home_team": "Deportivo Alavés",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 83,
                "rating": 7.7,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3229,
                "expected_assists": 0.0147,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 23,
                "accurate_pass": 15,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "duels_won": 4,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083233,
              "match_date": "2026-01-18",
              "home_team": "Atlético Madrid",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.225,
                "total_shots": 0,
                "total_pass": 32,
                "accurate_pass": 27,
                "key_pass": 1,
                "tackles": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 11,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083214,
              "match_date": "2026-01-10",
              "home_team": "Villarreal",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0507,
                "expected_assists": 0.2028,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 42,
                "accurate_pass": 36,
                "key_pass": 3,
                "tackles": 2,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 8,
                "ball_recovery": 9
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083194,
              "match_date": "2026-01-04",
              "home_team": "Deportivo Alavés",
              "away_team": "Real Oviedo",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "Real Oviedo",
              "stats": {
                "minutes": 45,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0346,
                "expected_assists": 0.453,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 22,
                "accurate_pass": 17,
                "key_pass": 3,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 5,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083188,
              "match_date": "2025-12-20",
              "home_team": "Osasuna",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 45,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.046,
                "total_shots": 0,
                "total_pass": 11,
                "accurate_pass": 8,
                "key_pass": 1,
                "interceptions": 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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083164,
              "match_date": "2025-12-14",
              "home_team": "Deportivo Alavés",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 23,
                "rating": 7.7,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2448,
                "expected_assists": 0.1683,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 14,
                "accurate_pass": 9,
                "key_pass": 1,
                "aerial_won": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083150,
              "match_date": "2025-12-06",
              "home_team": "Deportivo Alavés",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 39,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0126,
                "total_shots": 0,
                "total_pass": 9,
                "accurate_pass": 5,
                "interceptions": 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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083144,
              "match_date": "2025-11-29",
              "home_team": "FC Barcelona",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 31,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1676,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 10,
                "key_pass": 2,
                "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": 14083121,
              "match_date": "2025-11-22",
              "home_team": "Deportivo Alavés",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Deportivo Alavés",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 62,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0078,
                "total_shots": 0,
                "total_pass": 21,
                "accurate_pass": 18,
                "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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083114,
              "match_date": "2025-11-08",
              "home_team": "Girona FC",
              "away_team": "Deportivo Alavés",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Deportivo Alavés",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 45,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.3619,
                "total_shots": 0,
                "total_pass": 15,
                "accurate_pass": 14,
                "key_pass": 3,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 3136,
            "combined_rank_score": 1102.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 393.0,
            "sofascore_rating": 6.9476,
            "sofascore_appearances": 21.0,
            "fifa_rank": 1812.0,
            "fifa_overall": 76.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 6,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8194,
            "source_file": "data/player_rankings.csv",
            "player_name": "Carlos Vicente",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Patrick Wimmer",
                  "ranking": 3131
                },
                {
                  "player_name": "Thomas Lemar",
                  "ranking": 3132
                },
                {
                  "player_name": "Robert Navarro",
                  "ranking": 3133
                },
                {
                  "player_name": "Luka Sučić",
                  "ranking": 3134
                },
                {
                  "player_name": "Che Adams",
                  "ranking": 3135
                }
              ],
              "lower": [
                {
                  "player_name": "Lautaro Di Lollo",
                  "ranking": 3137
                },
                {
                  "player_name": "Hugo Larsson",
                  "ranking": 3138
                },
                {
                  "player_name": "Kasper Dolberg",
                  "ranking": 3139
                },
                {
                  "player_name": "Matt Grimes",
                  "ranking": 3140
                },
                {
                  "player_name": "Sem Steijn",
                  "ranking": 3141
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "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.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 22.18617755459381,
            "bench_appearance_prob": 0.5084626161179004,
            "market_value_adjustment": 0.9992,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost M_service (21 historical appearances) to 22.2 expected mins (appearance prob 0.51)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.7302,
                "expected_assists": 0.0725,
                "assists": 0.0797,
                "assist_rate": 0.0797,
                "expected_goals": 0.0562,
                "goals": 0.0489,
                "goal_rate": 0.0489,
                "shots_on_target": 0.1991,
                "total_shots": 0.4988,
                "rating": 6.8194,
                "minutes": 35.02,
                "total_pass": 14.832,
                "accurate_pass": 11.3101,
                "duels_won": 2.4218,
                "total_long_balls": 0.5808,
                "accurate_long_balls": 0.2485,
                "total_own_half_passes": 5.1988,
                "accurate_own_half_passes": 4.3139,
                "total_opp_half_passes": 9.6333,
                "accurate_opp_half_passes": 6.9962,
                "crosses_total": 4.8483,
                "crosses_accurate": 1.7393,
                "touches": 27.1534,
                "possession_lost": 8.6972,
                "dispossessed": 0.1484,
                "duels_lost": 1.9858,
                "aerial_won": 0.4198,
                "aerial_lost": 0.447,
                "interceptions": 0.4185,
                "tackles_won": 0.1868,
                "tackles": 0.3005,
                "clearances": 0.5118,
                "total_contest": 1.1897,
                "won_contest": 0.5922,
                "challenges_lost": 0.4217,
                "fouls": 0.3711,
                "fouls_drawn": 1.1093,
                "blocks": 0.0,
                "big_chances_created": 0.6422,
                "big_chances_missed": 0.0704,
                "xgot": 0.1452,
                "ball_carries": 7.765,
                "total_progression": 14.6888,
                "progressive_carries": 1.3428,
                "shots_off_target": 0.2997
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-31T10:30:21.314387+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 902,
                    "rows": 24945
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-01-25",
                    "opponent": "Real Betis",
                    "minutes": 83.0,
                    "is_starting": true,
                    "weight": 0.1551,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-01-18",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1318,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-01-10",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1121,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-01-04",
                    "opponent": "Real Oviedo",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.0953,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2025-12-20",
                    "opponent": "Osasuna",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.081,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2025-12-14",
                    "opponent": "Real Madrid",
                    "minutes": 23.0,
                    "is_starting": false,
                    "weight": 0.0688,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2025-12-06",
                    "opponent": "Real Sociedad",
                    "minutes": 39.0,
                    "is_starting": false,
                    "weight": 0.0585,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2025-11-29",
                    "opponent": "FC Barcelona",
                    "minutes": 31.0,
                    "is_starting": false,
                    "weight": 0.0497,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2025-11-22",
                    "opponent": "Celta Vigo",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.0423,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2025-11-08",
                    "opponent": "Girona FC",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.0359,
                    "rating": 7.3
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalShots": 0.648,
                  "expectedGoals": 0.1199,
                  "creative_index": 0.6744,
                  "expectedAssists": 0.1494,
                  "keyPass": 1.462
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.7301557660102844,
                    "model_output": 0.7302,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1583
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1351
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0716
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0542
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.028
                      }
                    ],
                    "decomposition": {
                      "base": 0.8899,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3966
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.071
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0615
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0652
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.03
                        }
                      ],
                      "others": 0.0092,
                      "total": 0.7302,
                      "log_link": true,
                      "margin_base": -0.11669,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.589994
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.13449
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.10337
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.099167
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": 0.042438
                        }
                      ],
                      "others_margin": 0.012722
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.07249356061220169,
                    "model_output": 0.0725,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1213
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1076
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0864
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0618
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0476
                      }
                    ],
                    "decomposition": {
                      "base": 0.085,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0369
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0093
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0071
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0046
                        },
                        {
                          "name": "goalAssist",
                          "contribution": -0.0036
                        }
                      ],
                      "others": 0.007,
                      "total": 0.0725,
                      "log_link": true,
                      "margin_base": -2.465163,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.569905
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.176169
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.116154
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.06933
                        },
                        {
                          "name": "goalAssist",
                          "margin": -0.05369
                        }
                      ],
                      "others_margin": 0.102845
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.07965302467346191,
                    "model_output": 0.0797,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0508
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0447
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0336
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0324
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0322
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0214
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0074
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.006
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0061
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.006
                        }
                      ],
                      "others": -0.0095,
                      "total": 0.0797,
                      "log_link": true,
                      "margin_base": -2.463734,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.289477
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.110528
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.080694
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.076244
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.069437
                        }
                      ],
                      "others_margin": -0.113766
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.05622278153896332,
                    "model_output": 0.0562,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1242
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0778
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0743
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0437
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0241
                      }
                    ],
                    "decomposition": {
                      "base": 0.0911,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0378
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0106
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0054
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": 0.0022
                        },
                        {
                          "name": "goalAssist",
                          "contribution": -0.0019
                        }
                      ],
                      "others": -0.0026,
                      "total": 0.0562,
                      "log_link": true,
                      "margin_base": -2.395469,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.535651
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.180775
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.08776
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": 0.037598
                        },
                        {
                          "name": "goalAssist",
                          "margin": -0.030945
                        }
                      ],
                      "others_margin": -0.046979
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.04885829985141754,
                    "model_output": 0.0489,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0846
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0655
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0399
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0358
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0268
                      }
                    ],
                    "decomposition": {
                      "base": 0.0947,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.037
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.012
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0081
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0031
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0021
                        }
                      ],
                      "others": -0.0039,
                      "total": 0.0489,
                      "log_link": true,
                      "margin_base": -2.357331,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.496397
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.233425
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.163142
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.058507
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.040034
                        }
                      ],
                      "others_margin": -0.076346
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.1990957409143448,
                    "model_output": 0.1991,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1146
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0928
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0753
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0297
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.3177,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1392
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0195
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0183
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0099
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0063
                        }
                      ],
                      "others": 0.0056,
                      "total": 0.1991,
                      "log_link": true,
                      "margin_base": -1.146731,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.576618
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.115973
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.108781
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.054162
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.033342
                        }
                      ],
                      "others_margin": 0.029067
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.498803049325943,
                    "model_output": 0.4988,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1488
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1213
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0474
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0446
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0276
                      }
                    ],
                    "decomposition": {
                      "base": 0.9817,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4048
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1695
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0439
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0281
                        },
                        {
                          "name": "goalAssist",
                          "contribution": -0.018
                        }
                      ],
                      "others": 0.0374,
                      "total": 0.4988,
                      "log_link": false,
                      "margin_base": 0.98173,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.404822
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.169543
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.043897
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.028094
                        },
                        {
                          "name": "goalAssist",
                          "margin": -0.018007
                        }
                      ],
                      "others_margin": 0.037453
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.819421768188477,
                    "model_output": 6.8194,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.102
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0743
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0503
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0382
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 6.856,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0669
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0631
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0223
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0222
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0179
                        }
                      ],
                      "others": -0.015,
                      "total": 6.8194,
                      "log_link": false,
                      "margin_base": 6.856008,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.06695
                        },
                        {
                          "name": "rating",
                          "margin": 0.063139
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.022328
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.022199
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.017852
                        }
                      ],
                      "others_margin": -0.015053
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 21,
                  "role_matches": 10,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9992, quality 0.491)",
              "stats": {
                "key_pass": 0.7296,
                "expected_assists": 0.0724,
                "assists": 0.0796,
                "assist_rate": 0.0796,
                "expected_goals": 0.0562,
                "goals": 0.0488,
                "goal_rate": 0.0488,
                "shots_on_target": 0.1989,
                "total_shots": 0.4984,
                "rating": 6.8194,
                "minutes": 35.02,
                "total_pass": 14.8201,
                "accurate_pass": 11.3011,
                "duels_won": 2.4199,
                "total_long_balls": 0.5803,
                "accurate_long_balls": 0.2483,
                "total_own_half_passes": 5.1946,
                "accurate_own_half_passes": 4.3104,
                "total_opp_half_passes": 9.6256,
                "accurate_opp_half_passes": 6.9906,
                "crosses_total": 4.8444,
                "crosses_accurate": 1.7379,
                "touches": 27.1317,
                "possession_lost": 8.6902,
                "dispossessed": 0.1483,
                "duels_lost": 1.9842,
                "aerial_won": 0.4195,
                "aerial_lost": 0.4466,
                "interceptions": 0.4182,
                "tackles_won": 0.1867,
                "tackles": 0.3003,
                "clearances": 0.5114,
                "total_contest": 1.1887,
                "won_contest": 0.5917,
                "challenges_lost": 0.4214,
                "fouls": 0.3708,
                "fouls_drawn": 1.1084,
                "blocks": 0.0,
                "big_chances_created": 0.6417,
                "big_chances_missed": 0.0703,
                "xgot": 0.1451,
                "ball_carries": 7.7588,
                "total_progression": 14.677,
                "progressive_carries": 1.3417,
                "shots_off_target": 0.2995
              },
              "params": {
                "market_value_eur": 7400000,
                "quality_factor": 0.4915,
                "boost_factor": 0.9992,
                "reference_quality": 0.505,
                "history_matches": 21,
                "history_shrink": 0.1923,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 35.0 to 22.2 expected minutes (appearance prob 0.51)",
              "stats": {
                "key_pass": 0.4622,
                "expected_assists": 0.0459,
                "assists": 0.0504,
                "assist_rate": 0.0504,
                "expected_goals": 0.0356,
                "goals": 0.0309,
                "goal_rate": 0.0309,
                "shots_on_target": 0.126,
                "total_shots": 0.3158,
                "rating": 6.8194,
                "minutes": 22.19,
                "total_pass": 9.389,
                "accurate_pass": 7.1596,
                "duels_won": 1.5331,
                "total_long_balls": 0.3676,
                "accurate_long_balls": 0.1573,
                "total_own_half_passes": 3.2909,
                "accurate_own_half_passes": 2.7308,
                "total_opp_half_passes": 6.0981,
                "accurate_opp_half_passes": 4.4287,
                "crosses_total": 3.0691,
                "crosses_accurate": 1.101,
                "touches": 17.1887,
                "possession_lost": 5.5055,
                "dispossessed": 0.1483,
                "duels_lost": 1.257,
                "aerial_won": 0.2658,
                "aerial_lost": 0.4466,
                "interceptions": 0.2649,
                "tackles_won": 0.1183,
                "tackles": 0.1902,
                "clearances": 0.324,
                "total_contest": 0.7531,
                "won_contest": 0.3749,
                "challenges_lost": 0.4214,
                "fouls": 0.2349,
                "fouls_drawn": 0.7022,
                "blocks": 0.0,
                "big_chances_created": 0.4065,
                "big_chances_missed": 0.0445,
                "xgot": 0.0919,
                "ball_carries": 4.9154,
                "total_progression": 9.2983,
                "progressive_carries": 0.85,
                "shots_off_target": 0.1897,
                "bench_appearance_probability": 0.508,
                "bench_expected_minutes": 22.19
              },
              "params": {
                "expected_minutes": 22.19,
                "projection_minutes": 35.02,
                "minutes_scale": 0.6335,
                "appearance_probability": 0.508
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.4622,
                "expected_assists": 0.0459,
                "assists": 0.0504,
                "assist_rate": 0.0504,
                "expected_goals": 0.0356,
                "goals": 0.0309,
                "goal_rate": 0.0309,
                "shots_on_target": 0.126,
                "total_shots": 0.3158,
                "rating": 6.8194,
                "minutes": 22.19,
                "total_pass": 9.389,
                "accurate_pass": 7.1596,
                "duels_won": 1.5331,
                "total_long_balls": 0.3676,
                "accurate_long_balls": 0.1573,
                "total_own_half_passes": 3.2909,
                "accurate_own_half_passes": 2.7308,
                "total_opp_half_passes": 6.0981,
                "accurate_opp_half_passes": 4.4287,
                "crosses_total": 3.0691,
                "crosses_accurate": 1.101,
                "touches": 17.1887,
                "possession_lost": 5.5055,
                "dispossessed": 0.1483,
                "duels_lost": 1.257,
                "aerial_won": 0.2658,
                "aerial_lost": 0.4466,
                "interceptions": 0.2649,
                "tackles_won": 0.1183,
                "tackles": 0.1902,
                "clearances": 0.324,
                "total_contest": 0.7531,
                "won_contest": 0.3749,
                "challenges_lost": 0.4214,
                "fouls": 0.2349,
                "fouls_drawn": 0.7022,
                "blocks": 0.0,
                "big_chances_created": 0.4065,
                "big_chances_missed": 0.0445,
                "xgot": 0.0919,
                "ball_carries": 4.9154,
                "total_progression": 9.2983,
                "progressive_carries": 0.85,
                "shots_off_target": 0.1897,
                "bench_appearance_probability": 0.508,
                "bench_expected_minutes": 22.19
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 0.4622,
                "expected_assists": 0.0459,
                "assist_rate": 0.0504,
                "assists": 0,
                "expected_goals": 0.0356,
                "goal_rate": 0.0309,
                "goals": 0,
                "shots_on_target": 0.126,
                "total_shots": 0.3158,
                "rating": 6.8194,
                "minutes": 22.19,
                "total_pass": 9.389,
                "accurate_pass": 7.1596,
                "duels_won": 1.5331,
                "total_long_balls": 0.3676,
                "accurate_long_balls": 0.1573,
                "total_own_half_passes": 3.2909,
                "accurate_own_half_passes": 2.7308,
                "total_opp_half_passes": 6.0981,
                "accurate_opp_half_passes": 4.4287,
                "crosses_total": 3.0691,
                "crosses_accurate": 1.101,
                "touches": 17.1887,
                "possession_lost": 5.5055,
                "dispossessed": 0.1483,
                "duels_lost": 1.257,
                "aerial_won": 0.2658,
                "aerial_lost": 0.4466,
                "interceptions": 0.2649,
                "tackles_won": 0.1183,
                "tackles": 0.1902,
                "clearances": 0.324,
                "total_contest": 0.7531,
                "won_contest": 0.3749,
                "challenges_lost": 0.4214,
                "fouls": 0.2349,
                "fouls_drawn": 0.7022,
                "blocks": 0.0,
                "big_chances_created": 0.4065,
                "big_chances_missed": 0.0445,
                "xgot": 0.0919,
                "ball_carries": 4.9154,
                "total_progression": 9.2983,
                "progressive_carries": 0.85,
                "shots_off_target": 0.1897,
                "bench_appearance_probability": 0.508,
                "bench_expected_minutes": 22.19,
                "projected_substitution_order": 4,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.625,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.29 (squad xG sum 1.0060, xG scale 1.2803, xA scale 1.2803, team xA 0.96 = 0.74 x lambda)",
              "stats": {
                "key_pass": 0.4622,
                "expected_assists": 0.0299,
                "assist_rate": 0.0504,
                "assists": 0,
                "expected_goals": 0.0232,
                "goal_rate": 0.0309,
                "goals": 0,
                "shots_on_target": 0.126,
                "total_shots": 0.3158,
                "rating": 6.8194,
                "minutes": 22.19,
                "total_pass": 9.389,
                "accurate_pass": 7.1596,
                "duels_won": 1.5331,
                "total_long_balls": 0.3676,
                "accurate_long_balls": 0.1573,
                "total_own_half_passes": 3.2909,
                "accurate_own_half_passes": 2.7308,
                "total_opp_half_passes": 6.0981,
                "accurate_opp_half_passes": 4.4287,
                "crosses_total": 3.0691,
                "crosses_accurate": 1.101,
                "touches": 17.1887,
                "possession_lost": 5.5055,
                "dispossessed": 0.1483,
                "duels_lost": 1.257,
                "aerial_won": 0.2658,
                "aerial_lost": 0.4466,
                "interceptions": 0.2649,
                "tackles_won": 0.1183,
                "tackles": 0.1902,
                "clearances": 0.324,
                "total_contest": 0.7531,
                "won_contest": 0.3749,
                "challenges_lost": 0.4214,
                "fouls": 0.2349,
                "fouls_drawn": 0.7022,
                "blocks": 0.0,
                "big_chances_created": 0.4065,
                "big_chances_missed": 0.0445,
                "xgot": 0.0598,
                "ball_carries": 4.9154,
                "total_progression": 9.2983,
                "progressive_carries": 0.85,
                "shots_off_target": 0.1897,
                "bench_appearance_probability": 0.508,
                "bench_expected_minutes": 22.19,
                "projected_substitution_order": 4,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.625,
                "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.9451,
                "creation_factor": 1.0469
              },
              "params": {
                "team_lambda": 1.288,
                "squad_xg_sum": 1.006,
                "squad_xa_sum": 0.7484,
                "team_expected_assists": 0.9582,
                "team_xa_to_xg_ratio": 0.7439,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2803,
                "xa_scale": 1.2803,
                "opponent_lambda": 3.863,
                "scoreline_reset": true,
                "appearance_weight": 0.508
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0356,
                  "after": 0.0232
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0459,
                  "after": 0.0299
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 6 by projected rating, fifa_overall 76.0)",
              "stats": {
                "key_pass": 0.4622,
                "expected_assists": 0.0299,
                "assist_rate": 0.0504,
                "assists": 0,
                "expected_goals": 0.0232,
                "goal_rate": 0.0309,
                "goals": 0,
                "shots_on_target": 0.126,
                "total_shots": 0.3158,
                "rating": 6.8194,
                "minutes": 22.19,
                "total_pass": 9.389,
                "accurate_pass": 7.1596,
                "duels_won": 1.5331,
                "total_long_balls": 0.3676,
                "accurate_long_balls": 0.1573,
                "total_own_half_passes": 3.2909,
                "accurate_own_half_passes": 2.7308,
                "total_opp_half_passes": 6.0981,
                "accurate_opp_half_passes": 4.4287,
                "crosses_total": 3.0691,
                "crosses_accurate": 1.101,
                "touches": 17.1887,
                "possession_lost": 5.5055,
                "dispossessed": 0.1483,
                "duels_lost": 1.257,
                "aerial_won": 0.2658,
                "aerial_lost": 0.4466,
                "interceptions": 0.2649,
                "tackles_won": 0.1183,
                "tackles": 0.1902,
                "clearances": 0.324,
                "total_contest": 0.7531,
                "won_contest": 0.3749,
                "challenges_lost": 0.4214,
                "fouls": 0.2349,
                "fouls_drawn": 0.7022,
                "blocks": 0.0,
                "big_chances_created": 0.4065,
                "big_chances_missed": 0.0445,
                "xgot": 0.0598,
                "ball_carries": 4.9154,
                "total_progression": 9.2983,
                "progressive_carries": 0.85,
                "shots_off_target": 0.1897,
                "bench_appearance_probability": 0.508,
                "bench_expected_minutes": 22.19,
                "projected_substitution_order": 4,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.625,
                "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.9451,
                "creation_factor": 1.0469,
                "fifa_overall": 76.0
              },
              "params": {
                "match_squad_rank": 6,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3136,
                "fifa_rank": 1812.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 76.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 0.4622,
                "expected_assists": 0.0299,
                "assist_rate": 0.0504,
                "assists": 0,
                "expected_goals": 0.0232,
                "goal_rate": 0.0309,
                "goals": 0,
                "shots_on_target": 0.126,
                "total_shots": 0.3158,
                "rating": 6.8194,
                "minutes": 22.19,
                "total_pass": 9.389,
                "accurate_pass": 7.1596,
                "duels_won": 1.5331,
                "total_long_balls": 0.3676,
                "accurate_long_balls": 0.1573,
                "total_own_half_passes": 3.2909,
                "accurate_own_half_passes": 2.7308,
                "total_opp_half_passes": 6.0981,
                "accurate_opp_half_passes": 4.4287,
                "crosses_total": 3.0691,
                "crosses_accurate": 1.101,
                "touches": 17.1887,
                "possession_lost": 5.5055,
                "dispossessed": 0.1483,
                "duels_lost": 1.257,
                "aerial_won": 0.2658,
                "aerial_lost": 0.4466,
                "interceptions": 0.2649,
                "tackles_won": 0.1183,
                "tackles": 0.1902,
                "clearances": 0.324,
                "total_contest": 0.7531,
                "won_contest": 0.3749,
                "challenges_lost": 0.4214,
                "fouls": 0.2349,
                "fouls_drawn": 0.7022,
                "blocks": 0.0,
                "big_chances_created": 0.4065,
                "big_chances_missed": 0.0445,
                "xgot": 0.0598,
                "ball_carries": 4.9154,
                "total_progression": 9.2983,
                "progressive_carries": 0.85,
                "shots_off_target": 0.1897,
                "bench_appearance_probability": 0.508,
                "bench_expected_minutes": 22.19,
                "projected_substitution_order": 4,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.625,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0227,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9451,
                "creation_factor": 1.0469,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0227,
                "goal_rate": 0.0309,
                "scorer_weight": 0.0219,
                "squad_weight_total": 1.3792,
                "weight_share": 0.0159,
                "finishing_factor": 0.9451,
                "appearance_weight": 0.508,
                "weight_rank": 13,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Toni Martínez",
                    "weight": 0.3036,
                    "already": 0,
                    "effective_weight": 0.3036,
                    "runner_up": "Lucas Boyé",
                    "runner_up_effective_weight": 0.2934
                  }
                ]
              }
            },
            {
              "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.4622,
                "expected_assists": 0.0299,
                "assist_rate": 0.0504,
                "assists": 0,
                "expected_goals": 0.0232,
                "goal_rate": 0.0309,
                "goals": 0,
                "shots_on_target": 0.126,
                "total_shots": 0.3158,
                "rating": 6.8194,
                "minutes": 22.19,
                "total_pass": 9.389,
                "accurate_pass": 7.1596,
                "duels_won": 1.5331,
                "total_long_balls": 0.3676,
                "accurate_long_balls": 0.1573,
                "total_own_half_passes": 3.2909,
                "accurate_own_half_passes": 2.7308,
                "total_opp_half_passes": 6.0981,
                "accurate_opp_half_passes": 4.4287,
                "crosses_total": 3.0691,
                "crosses_accurate": 1.101,
                "touches": 17.1887,
                "possession_lost": 5.5055,
                "dispossessed": 0.1483,
                "duels_lost": 1.257,
                "aerial_won": 0.2658,
                "aerial_lost": 0.4466,
                "interceptions": 0.2649,
                "tackles_won": 0.1183,
                "tackles": 0.1902,
                "clearances": 0.324,
                "total_contest": 0.7531,
                "won_contest": 0.3749,
                "challenges_lost": 0.4214,
                "fouls": 0.2349,
                "fouls_drawn": 0.7022,
                "blocks": 0.0,
                "big_chances_created": 0.4065,
                "big_chances_missed": 0.0445,
                "xgot": 0.0598,
                "ball_carries": 4.9154,
                "total_progression": 9.2983,
                "progressive_carries": 0.85,
                "shots_off_target": 0.1897,
                "bench_appearance_probability": 0.508,
                "bench_expected_minutes": 22.19,
                "projected_substitution_order": 4,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.625,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0227,
                "projected_assists": 0,
                "assist_probability": 0.029,
                "finishing_factor": 0.9451,
                "creation_factor": 1.0469,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.029,
                "assist_rate": 0.0504,
                "provider_weight": 0.0313,
                "squad_weight_total": 0.8425,
                "weight_share": 0.0372,
                "creation_factor": 1.0469,
                "appearance_weight": 0.508,
                "weight_rank": 10,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ángel Pérez",
                    "weight": 0.1853,
                    "already": 0,
                    "effective_weight": 0.1853,
                    "runner_up": "Hugo Novoa",
                    "runner_up_effective_weight": 0.1136,
                    "blocked_own_goal": [
                      "Toni Martínez"
                    ]
                  }
                ]
              }
            }
          ]
        }
      },
      "team_totals": {
        "projected_goals": 1,
        "expected_goals": 1.29,
        "expected_assists": 0.96,
        "total_shots": 13,
        "shots_on_target": 2,
        "total_passes": 334,
        "interceptions": 8,
        "tackles": 19,
        "avg_rating": 6.83,
        "possession_estimated_pct": 46.9,
        "pressing_actions_per_90": 6.6
      }
    }
  },
  "antagonist_report": {
    "home_attacking_duels": [
      {
        "attacker": "Raphinha",
        "attacker_role": "LW",
        "attacker_market_value": 63000000,
        "attacker_height": 176,
        "attacker_skill_quality": 0.859,
        "defenders": [
          "Jonny Otto"
        ],
        "defender_roles": [
          "RB"
        ],
        "def_skill_quality_avg": 0.437,
        "duel_zone": "Left Wing vs Right Back — Flank Battle",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.674,
        "xg_contribution": 0.8222,
        "xg_multiplier": 1.2847,
        "shots_in_zone": 2.4,
        "dribbles_attempted": 4,
        "dribbles_successful": 2.4,
        "aerial_duels": 2,
        "aerial_won": 0.9,
        "crosses_in_zone": 2.6,
        "fouls_drawn": 1.0,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Jonny Otto",
            "role": "RB",
            "market_value": 2100000,
            "tackles_attempted": 1.9,
            "tackles_won": 1.3,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 1.1,
            "defensive_success_rate": 0.326
          }
        ],
        "duel_analysis": "Raphinha (LW) has a clear attacking advantage against Jonny Otto in a direct 1v1 contest. Duel win probability: 67%. The quality gap is significant (€63M vs €2M avg). Matchup xG multiplier ×1.28 (×1.00 = his usual level). Projected xG contribution: 0.822 — and projects to generate high-quality chances."
      },
      {
        "attacker": "Karim Adeyemi",
        "attacker_role": "RW",
        "attacker_market_value": 41000000,
        "attacker_height": 180,
        "attacker_skill_quality": 0.786,
        "defenders": [
          "Hugo Novoa"
        ],
        "defender_roles": [
          "LB"
        ],
        "def_skill_quality_avg": 0.437,
        "duel_zone": "Right Wing vs Left Back — Flank Battle",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.629,
        "xg_contribution": 0.306,
        "xg_multiplier": 1.2188,
        "shots_in_zone": 2.3,
        "dribbles_attempted": 4,
        "dribbles_successful": 2.2,
        "aerial_duels": 2,
        "aerial_won": 1.1,
        "crosses_in_zone": 2.5,
        "fouls_drawn": 1.1,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Hugo Novoa",
            "role": "LB",
            "market_value": 725000,
            "tackles_attempted": 1.9,
            "tackles_won": 1.4,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 0.9,
            "defensive_success_rate": 0.371
          }
        ],
        "duel_analysis": "Karim Adeyemi (RW) has a clear attacking advantage against Hugo Novoa in a direct 1v1 contest. Duel win probability: 63%. The quality gap is significant (€41M vs €1M avg). Matchup xG multiplier ×1.22 (×1.00 = his usual level). Projected xG contribution: 0.306 — and projects to generate high-quality chances."
      },
      {
        "attacker": "Lamine Yamal",
        "attacker_role": "ST",
        "attacker_market_value": 237000000,
        "attacker_height": 183,
        "attacker_skill_quality": 0.9,
        "defenders": [
          "Nahuel Tenaglia",
          "Ville Koski"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.447,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.395,
        "xg_contribution": 0.6414,
        "xg_multiplier": 1.2867,
        "shots_in_zone": 2.9,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.7,
        "aerial_duels": 3,
        "aerial_won": 1.7,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.5,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Nahuel Tenaglia",
            "role": "CB",
            "market_value": 3200000,
            "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.605
          },
          {
            "player": "Ville Koski",
            "role": "CB",
            "market_value": 4300000,
            "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.605
          }
        ],
        "duel_analysis": "Lamine Yamal (ST) has a clear attacking advantage against Nahuel Tenaglia and Ville Koski in a 2-defender block. Duel win probability: 40%. The quality gap is significant (€237M vs €4M avg). Matchup xG multiplier ×1.29 (×1.00 = his usual level). Projected xG contribution: 0.641 — and projects to generate high-quality chances."
      },
      {
        "attacker": "Rodri",
        "attacker_role": "CDM",
        "attacker_market_value": 54000000,
        "attacker_height": 191,
        "attacker_skill_quality": 0.837,
        "defenders": [
          "Pablo Ibáñez"
        ],
        "defender_roles": [
          "CM"
        ],
        "def_skill_quality_avg": 0.451,
        "duel_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.629,
        "xg_contribution": 0.1252,
        "xg_multiplier": 1.3373,
        "shots_in_zone": 1.3,
        "dribbles_attempted": 2,
        "dribbles_successful": 1.1,
        "aerial_duels": 2,
        "aerial_won": 1.3,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.1,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Pablo Ibáñez",
            "role": "CM",
            "market_value": 4099999,
            "tackles_attempted": 1.9,
            "tackles_won": 1.4,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.371
          }
        ],
        "duel_analysis": "Rodri (CDM) has a clear attacking advantage against Pablo Ibáñez in a direct 1v1 contest. Duel win probability: 63%. The quality gap is significant (€54M vs €4M avg). Matchup xG multiplier ×1.34 (×1.00 = his usual level). Projected xG contribution: 0.125 — and projects to generate high-quality chances."
      },
      {
        "attacker": "Pedri",
        "attacker_role": "CM",
        "attacker_market_value": 164000000,
        "attacker_height": 174,
        "attacker_skill_quality": 0.9,
        "defenders": [
          "Pablo Ibáñez"
        ],
        "defender_roles": [
          "CM"
        ],
        "def_skill_quality_avg": 0.451,
        "duel_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.599,
        "xg_contribution": 0.091,
        "xg_multiplier": 1.2638,
        "shots_in_zone": 2.0,
        "dribbles_attempted": 3,
        "dribbles_successful": 1.6,
        "aerial_duels": 2,
        "aerial_won": 0.9,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.2,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Pablo Ibáñez",
            "role": "CM",
            "market_value": 4099999,
            "tackles_attempted": 1.9,
            "tackles_won": 1.4,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 1.1,
            "defensive_success_rate": 0.401
          }
        ],
        "duel_analysis": "Pedri (CM) has a clear attacking advantage against Pablo Ibáñez in a direct 1v1 contest. Duel win probability: 60%. The quality gap is significant (€164M vs €4M avg). Matchup xG multiplier ×1.26 (×1.00 = his usual level). Projected xG contribution: 0.091 — and projects to generate high-quality chances."
      },
      {
        "attacker": "Fermín López",
        "attacker_role": "CM",
        "attacker_market_value": 113000000,
        "attacker_height": 176,
        "attacker_skill_quality": 0.896,
        "defenders": [
          "Pablo Ibáñez"
        ],
        "defender_roles": [
          "CM"
        ],
        "def_skill_quality_avg": 0.451,
        "duel_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.607,
        "xg_contribution": 0.2295,
        "xg_multiplier": 1.2744,
        "shots_in_zone": 2.0,
        "dribbles_attempted": 3,
        "dribbles_successful": 1.6,
        "aerial_duels": 2,
        "aerial_won": 0.9,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.2,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Pablo Ibáñez",
            "role": "CM",
            "market_value": 4099999,
            "tackles_attempted": 1.9,
            "tackles_won": 1.4,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 1.1,
            "defensive_success_rate": 0.393
          }
        ],
        "duel_analysis": "Fermín López (CM) has a clear attacking advantage against Pablo Ibáñez in a direct 1v1 contest. Duel win probability: 61%. The quality gap is significant (€113M vs €4M avg). Matchup xG multiplier ×1.27 (×1.00 = his usual level). Projected xG contribution: 0.230 — and projects to generate high-quality chances."
      },
      {
        "attacker": "Brian Fariñas",
        "attacker_role": "CM",
        "attacker_market_value": 5500000,
        "attacker_height": 180,
        "attacker_skill_quality": 0.468,
        "defenders": [
          "Pablo Ibáñez"
        ],
        "defender_roles": [
          "CM"
        ],
        "def_skill_quality_avg": 0.451,
        "duel_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.433,
        "xg_contribution": 0.0876,
        "xg_multiplier": 1.0185,
        "shots_in_zone": 1.6,
        "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": "Pablo Ibáñez",
            "role": "CM",
            "market_value": 4099999,
            "tackles_attempted": 1.9,
            "tackles_won": 1.6,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.9,
            "defensive_success_rate": 0.567
          }
        ],
        "duel_analysis": "Brian Fariñas (CM) is evenly matched against Pablo Ibáñez in a direct 1v1 contest. Duel win probability: 43%.  Matchup xG multiplier ×1.02 (×1.00 = his usual level). Projected xG contribution: 0.088 — with neither side clearly dominant."
      },
      {
        "attacker": "Frenkie de Jong",
        "attacker_role": "CM",
        "attacker_market_value": 23000000,
        "attacker_height": 180,
        "attacker_skill_quality": 0.66,
        "defenders": [
          "Pablo Ibáñez"
        ],
        "defender_roles": [
          "CM"
        ],
        "def_skill_quality_avg": 0.451,
        "duel_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.525,
        "xg_contribution": 0.0767,
        "xg_multiplier": 1.155,
        "shots_in_zone": 1.8,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.9,
        "aerial_duels": 2,
        "aerial_won": 1.1,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.2,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Pablo Ibáñez",
            "role": "CM",
            "market_value": 4099999,
            "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.475
          }
        ],
        "duel_analysis": "Frenkie de Jong (CM) is slightly favored against Pablo Ibáñez in a direct 1v1 contest. Duel win probability: 53%. The quality gap is significant (€23M vs €4M avg). Matchup xG multiplier ×1.15 (×1.00 = his usual level). Projected xG contribution: 0.077 — creating consistent moderate threat."
      }
    ],
    "away_attacking_duels": [
      {
        "attacker": "Lucas Boyé",
        "attacker_role": "ST",
        "attacker_market_value": 5300000,
        "attacker_height": 183,
        "attacker_skill_quality": 0.466,
        "defenders": [
          "Pau Cubarsí",
          "Joan García"
        ],
        "defender_roles": [
          "CB",
          "GK"
        ],
        "def_skill_quality_avg": 0.85,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.18,
        "xg_contribution": 0.2087,
        "xg_multiplier": 0.6861,
        "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": "ULTRA_HIGH",
        "defender_stats": [
          {
            "player": "Pau Cubarsí",
            "role": "CB",
            "market_value": 94000000,
            "tackles_attempted": 1.2,
            "tackles_won": 1.1,
            "fouls_committed": 0.4,
            "interceptions_in_zone": 1.4,
            "clearances_in_zone": 1.2,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.82
          },
          {
            "player": "Joan García",
            "role": "GK",
            "market_value": 46000000,
            "tackles_attempted": 1.1,
            "tackles_won": 1.0,
            "fouls_committed": 0.4,
            "interceptions_in_zone": 1.3,
            "clearances_in_zone": 1.1,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.82
          }
        ],
        "duel_analysis": "Lucas Boyé (ST) is heavily outmatched defensively against Pau Cubarsí and Joan García in a 2-defender block. Duel win probability: 18%. The quality gap is significant (€5M vs €70M avg). Matchup xG multiplier ×0.69 (×1.00 = his usual level). Projected xG contribution: 0.209 — with very limited chance creation expected."
      },
      {
        "attacker": "Toni Martínez",
        "attacker_role": "ST",
        "attacker_market_value": 7300000,
        "attacker_height": 180,
        "attacker_skill_quality": 0.49,
        "defenders": [
          "Pau Cubarsí",
          "Joan García"
        ],
        "defender_roles": [
          "CB",
          "GK"
        ],
        "def_skill_quality_avg": 0.85,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.18,
        "xg_contribution": 0.2276,
        "xg_multiplier": 0.6846,
        "shots_in_zone": 2.0,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.3,
        "aerial_duels": 3,
        "aerial_won": 1.6,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.5,
        "pressing_intensity_on_attacker": "ULTRA_HIGH",
        "defender_stats": [
          {
            "player": "Pau Cubarsí",
            "role": "CB",
            "market_value": 94000000,
            "tackles_attempted": 1.2,
            "tackles_won": 1.1,
            "fouls_committed": 0.4,
            "interceptions_in_zone": 1.4,
            "clearances_in_zone": 1.2,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.82
          },
          {
            "player": "Joan García",
            "role": "GK",
            "market_value": 46000000,
            "tackles_attempted": 1.1,
            "tackles_won": 1.0,
            "fouls_committed": 0.4,
            "interceptions_in_zone": 1.3,
            "clearances_in_zone": 1.1,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.82
          }
        ],
        "duel_analysis": "Toni Martínez (ST) is heavily outmatched defensively against Pau Cubarsí and Joan García in a 2-defender block. Duel win probability: 18%. The quality gap is significant (€7M vs €70M avg). Matchup xG multiplier ×0.68 (×1.00 = his usual level). Projected xG contribution: 0.228 — with very limited chance creation expected."
      },
      {
        "attacker": "Abderrahman Rebbach",
        "attacker_role": "ST",
        "attacker_market_value": 2400000,
        "attacker_height": 176,
        "attacker_skill_quality": 0.437,
        "defenders": [
          "Pau Cubarsí",
          "Joan García"
        ],
        "defender_roles": [
          "CB",
          "GK"
        ],
        "def_skill_quality_avg": 0.85,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.18,
        "xg_contribution": 0.0453,
        "xg_multiplier": 0.6261,
        "shots_in_zone": 2.0,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.3,
        "aerial_duels": 3,
        "aerial_won": 1.4,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.4,
        "pressing_intensity_on_attacker": "ULTRA_HIGH",
        "defender_stats": [
          {
            "player": "Pau Cubarsí",
            "role": "CB",
            "market_value": 94000000,
            "tackles_attempted": 1.2,
            "tackles_won": 1.1,
            "fouls_committed": 0.4,
            "interceptions_in_zone": 1.4,
            "clearances_in_zone": 1.2,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.82
          },
          {
            "player": "Joan García",
            "role": "GK",
            "market_value": 46000000,
            "tackles_attempted": 1.1,
            "tackles_won": 1.0,
            "fouls_committed": 0.4,
            "interceptions_in_zone": 1.3,
            "clearances_in_zone": 1.1,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.82
          }
        ],
        "duel_analysis": "Abderrahman Rebbach (ST) is heavily outmatched defensively against Pau Cubarsí and Joan García in a 2-defender block. Duel win probability: 18%. The quality gap is significant (€2M vs €70M avg). Matchup xG multiplier ×0.63 (×1.00 = his usual level). Projected xG contribution: 0.045 — with very limited chance creation expected."
      },
      {
        "attacker": "Ángel Pérez",
        "attacker_role": "LM",
        "attacker_market_value": 4600000,
        "attacker_height": 183,
        "attacker_skill_quality": 0.457,
        "defenders": [
          "Joan García"
        ],
        "defender_roles": [
          "GK"
        ],
        "def_skill_quality_avg": 0.809,
        "duel_zone": "Left Mid vs Right Back — Wide Channel",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.19,
        "xg_contribution": 0.0969,
        "xg_multiplier": 0.6624,
        "shots_in_zone": 1.0,
        "dribbles_attempted": 3,
        "dribbles_successful": 0.5,
        "aerial_duels": 2,
        "aerial_won": 1.1,
        "crosses_in_zone": 2.1,
        "fouls_drawn": 1.5,
        "pressing_intensity_on_attacker": "ULTRA_HIGH",
        "defender_stats": [
          {
            "player": "Joan García",
            "role": "GK",
            "market_value": 46000000,
            "tackles_attempted": 2.3,
            "tackles_won": 2.1,
            "fouls_committed": 0.4,
            "interceptions_in_zone": 1.3,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.9,
            "defensive_success_rate": 0.81
          }
        ],
        "duel_analysis": "Ángel Pérez (LM) is heavily outmatched defensively against Joan García in a direct 1v1 contest. Duel win probability: 19%. The quality gap is significant (€5M vs €46M avg). Matchup xG multiplier ×0.66 (×1.00 = his usual level). Projected xG contribution: 0.097 — with very limited chance creation expected."
      },
      {
        "attacker": "Pablo Ibáñez",
        "attacker_role": "CM",
        "attacker_market_value": 4099999,
        "attacker_height": 179,
        "attacker_skill_quality": 0.451,
        "defenders": [
          "Rodri",
          "Pedri"
        ],
        "defender_roles": [
          "CDM",
          "CM"
        ],
        "def_skill_quality_avg": 0.868,
        "duel_zone": "CM vs CDM + CM",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.18,
        "xg_contribution": 0.0511,
        "xg_multiplier": 0.6995,
        "shots_in_zone": 1.1,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.3,
        "aerial_duels": 2,
        "aerial_won": 1.0,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.5,
        "pressing_intensity_on_attacker": "ULTRA_HIGH",
        "defender_stats": [
          {
            "player": "Rodri",
            "role": "CDM",
            "market_value": 54000000,
            "tackles_attempted": 1.1,
            "tackles_won": 1.0,
            "fouls_committed": 0.4,
            "interceptions_in_zone": 1.3,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.5,
            "defensive_success_rate": 0.82
          },
          {
            "player": "Pedri",
            "role": "CM",
            "market_value": 164000000,
            "tackles_attempted": 1.2,
            "tackles_won": 1.1,
            "fouls_committed": 0.4,
            "interceptions_in_zone": 1.4,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.5,
            "defensive_success_rate": 0.82
          }
        ],
        "duel_analysis": "Pablo Ibáñez (CM) is heavily outmatched defensively against Rodri and Pedri in a 2-defender block. Duel win probability: 18%. The quality gap is significant (€4M vs €109M avg). Matchup xG multiplier ×0.70 (×1.00 = his usual level). Projected xG contribution: 0.051 — with very limited chance creation expected."
      },
      {
        "attacker": "Antonio Blanco",
        "attacker_role": "CM",
        "attacker_market_value": 9700000,
        "attacker_height": 176,
        "attacker_skill_quality": 0.519,
        "defenders": [
          "Rodri",
          "Pedri"
        ],
        "defender_roles": [
          "CDM",
          "CM"
        ],
        "def_skill_quality_avg": 0.868,
        "duel_zone": "CM vs CDM + CM",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.18,
        "xg_contribution": 0.031,
        "xg_multiplier": 0.7313,
        "shots_in_zone": 1.1,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.3,
        "aerial_duels": 2,
        "aerial_won": 0.9,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.5,
        "pressing_intensity_on_attacker": "ULTRA_HIGH",
        "defender_stats": [
          {
            "player": "Rodri",
            "role": "CDM",
            "market_value": 54000000,
            "tackles_attempted": 1.1,
            "tackles_won": 1.0,
            "fouls_committed": 0.4,
            "interceptions_in_zone": 1.3,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.5,
            "defensive_success_rate": 0.82
          },
          {
            "player": "Pedri",
            "role": "CM",
            "market_value": 164000000,
            "tackles_attempted": 1.2,
            "tackles_won": 1.1,
            "fouls_committed": 0.4,
            "interceptions_in_zone": 1.4,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.5,
            "defensive_success_rate": 0.82
          }
        ],
        "duel_analysis": "Antonio Blanco (CM) is heavily outmatched defensively against Rodri and Pedri in a 2-defender block. Duel win probability: 18%. The quality gap is significant (€10M vs €109M avg). Matchup xG multiplier ×0.73 (×1.00 = his usual level). Projected xG contribution: 0.031 — with very limited chance creation expected."
      }
    ],
    "midfield_battle": {
      "home_midfield_power": 0.802,
      "away_midfield_power": 0.476,
      "home_creative_power": 0.775,
      "away_creative_power": 0.483,
      "home_defensive_power": 0.636,
      "away_defensive_power": 0.48,
      "home_dominance_ratio": 0.628,
      "home_midfield_count": 5,
      "away_midfield_count": 3,
      "home_midfield_players": [
        "Brian Fariñas",
        "Frenkie de Jong",
        "Pedri",
        "Fermín López",
        "Rodri"
      ],
      "away_midfield_players": [
        "Ángel Pérez",
        "Pablo Ibáñez",
        "Antonio Blanco"
      ],
      "possession_advantage": "home",
      "estimated_possession_home_pct": 53.1,
      "estimated_possession_away_pct": 46.9,
      "home_pressing_actions_per_90": 7.9,
      "away_pressing_actions_per_90": 6.6,
      "home_key_passes_projected": 6.2,
      "away_key_passes_projected": 4.4,
      "home_throughball_threat": 2.9,
      "away_throughball_threat": 2.1,
      "key_personal_duel": "Pedri vs Antonio Blanco",
      "midfield_lambda_factor_home": 1.045,
      "midfield_lambda_factor_away": 0.962
    },
    "formation_analysis": {
      "home_formation": "4-3-3",
      "away_formation": "4-4-2",
      "home_tactical_bonus": 0.05,
      "away_tactical_bonus": -0.05,
      "formation_verdict": "Tactical parity between 4-3-3 and 4-4-2. Match outcome driven primarily by individual player quality."
    },
    "home_lambda": 3.863,
    "away_lambda": 1.288,
    "home_top_threat_zones": [
      "Left Wing vs Right Back — Flank Battle",
      "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle"
    ],
    "away_top_threat_zones": [
      "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
      "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle"
    ],
    "home_player_antagonists": {
      "Raphinha": {
        "opponents": [
          "Jonny Otto"
        ],
        "primary_zone": "Left Wing vs Right Back — Flank Battle",
        "source": "attacking_duel"
      },
      "Karim Adeyemi": {
        "opponents": [
          "Hugo Novoa"
        ],
        "primary_zone": "Right Wing vs Left Back — Flank Battle",
        "source": "attacking_duel"
      },
      "Lamine Yamal": {
        "opponents": [
          "Nahuel Tenaglia",
          "Ville Koski"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Rodri": {
        "opponents": [
          "Pablo Ibáñez",
          "Antonio Blanco"
        ],
        "primary_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
        "source": "attacking_duel, defensive_duel, midfield_pairing"
      },
      "Pedri": {
        "opponents": [
          "Pablo Ibáñez",
          "Antonio Blanco"
        ],
        "primary_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
        "source": "attacking_duel, defensive_duel, midfield_pairing"
      },
      "Fermín López": {
        "opponents": [
          "Pablo Ibáñez",
          "Ángel Pérez"
        ],
        "primary_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
        "source": "attacking_duel, midfield_pairing"
      },
      "Brian Fariñas": {
        "opponents": [
          "Pablo Ibáñez"
        ],
        "primary_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
        "source": "attacking_duel, midfield_pairing"
      },
      "Frenkie de Jong": {
        "opponents": [
          "Pablo Ibáñez",
          "Antonio Blanco"
        ],
        "primary_zone": "Central Mid vs Central Mid — Box-to-Box Midfield Contest",
        "source": "attacking_duel, midfield_pairing"
      },
      "Pau Cubarsí": {
        "opponents": [
          "Lucas Boyé",
          "Toni Martínez",
          "Abderrahman Rebbach"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Joan García": {
        "opponents": [
          "Lucas Boyé",
          "Toni Martínez",
          "Abderrahman Rebbach",
          "Ángel Pérez"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "João Cancelo": {
        "opponents": [
          "Toni Martínez"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      }
    },
    "away_player_antagonists": {
      "Jonny Otto": {
        "opponents": [
          "Raphinha"
        ],
        "primary_zone": "Left Wing vs Right Back — Flank Battle",
        "source": "defensive_duel"
      },
      "Hugo Novoa": {
        "opponents": [
          "Karim Adeyemi"
        ],
        "primary_zone": "Right Wing vs Left Back — Flank Battle",
        "source": "defensive_duel"
      },
      "Nahuel Tenaglia": {
        "opponents": [
          "Lamine Yamal"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Ville Koski": {
        "opponents": [
          "Lamine Yamal"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Pablo Ibáñez": {
        "opponents": [
          "Rodri",
          "Pedri",
          "Fermín López",
          "Brian Fariñas",
          "Frenkie de Jong"
        ],
        "primary_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
        "source": "defensive_duel, attacking_duel, midfield_pairing"
      },
      "Lucas Boyé": {
        "opponents": [
          "Pau Cubarsí",
          "Joan García"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Toni Martínez": {
        "opponents": [
          "Pau Cubarsí",
          "Joan García"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Abderrahman Rebbach": {
        "opponents": [
          "Pau Cubarsí",
          "Joan García"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Ángel Pérez": {
        "opponents": [
          "Joan García",
          "Fermín López"
        ],
        "primary_zone": "Left Mid vs Right Back — Wide Channel",
        "source": "attacking_duel, midfield_pairing"
      },
      "Antonio Blanco": {
        "opponents": [
          "Rodri",
          "Pedri",
          "Frenkie de Jong"
        ],
        "primary_zone": "CM vs CDM + CM",
        "source": "attacking_duel, midfield_pairing"
      },
      "Antonio Sivera": {
        "opponents": [
          "Raphinha",
          "Karim Adeyemi"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      }
    },
    "key_tactical_insight": "Home midfield dominates with ~53% possession expected (Pedri vs Antonio Blanco). Total antagonist xG — Home: 2.38, Away: 0.66. Home danger zone: Left Wing vs Right Back — Flank Battle. Away danger zone: Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle.",
    "lambda_factors": {
      "league_anchor": 1.35,
      "home_advantage_factor": 1.3418,
      "ha_source": "estimated:league",
      "home_gk_opposition_factor": 0.9975,
      "away_gk_opposition_factor": 0.8584,
      "home_set_piece_bonus": 0.0752,
      "away_set_piece_bonus": 0.005,
      "home_defensive_solidity_vs": 1.0047,
      "away_defensive_solidity_vs": 0.9256,
      "home_midfield_factor": 1.045,
      "away_midfield_factor": 0.962,
      "stage_discount": 1.0,
      "quality_gap_applied": true,
      "home_avg_quality": 0.769,
      "away_avg_quality": 0.4589,
      "avg_quality_gap": 0.31,
      "squad_value_gap_log": 2.7156,
      "top5_value_gap_log": 2.8051,
      "attack_value_gap_log": 2.7955,
      "elite_count_gap": 7,
      "combined_quality_gap": 0.7394,
      "stronger_lambda_boost": 0.4067,
      "weaker_lambda_suppression": 0.2366,
      "home_lambda_chain": [
        {
          "label": "league_anchor",
          "value": 1.35
        },
        {
          "label": "duel_blend",
          "raw_xg": 2.3796,
          "n_duels": 8,
          "duel_confidence": 0.75,
          "result": 2.1222
        },
        {
          "label": "midfield_factor",
          "factor": 1.045,
          "result": 2.2177
        },
        {
          "label": "formation_bonus",
          "factor": 1.05,
          "result": 2.3286
        },
        {
          "label": "home_advantage",
          "factor": 1.3418,
          "result": 3.1244
        },
        {
          "label": "standing_factor",
          "factor": 1.2048,
          "result": 3.7643
        },
        {
          "label": "gk_opposition",
          "factor": 0.9975,
          "result": 3.7548
        },
        {
          "label": "defensive_solidity",
          "factor": 1.0047,
          "result": 3.7725
        },
        {
          "label": "set_piece_bonus",
          "bonus": 0.0752,
          "result": 3.8477
        },
        {
          "label": "engine_clamp",
          "pre": 3.8477,
          "result": 3.8477,
          "band": [
            0.6,
            4.0
          ],
          "clamped": false
        },
        {
          "label": "quality_gap",
          "applied": true,
          "combined_quality_gap": 0.7394,
          "factor": 1.4067,
          "pre": 3.8477,
          "result": 4.5
        },
        {
          "label": "stage_discount",
          "applied": false,
          "factor": 1.0,
          "result": 4.5
        },
        {
          "label": "bench_bonus",
          "side": "home",
          "bonus": 0.22,
          "result": 4.72
        },
        {
          "label": "fbref_blend",
          "side": "home",
          "applied": true,
          "blending_weight": 0.228,
          "empirical_lambda": 3.5,
          "result": 4.4418
        },
        {
          "label": "router_clamp",
          "pre": 4.4418,
          "result": 4.442,
          "band": [
            0.65,
            4.8
          ]
        },
        {
          "label": "second_leg",
          "applied": true,
          "factor": 1.1,
          "result": 4.886
        },
        {
          "label": "h2h_adjustment",
          "applied": true,
          "multiplier": 1.0429,
          "pre": 4.886,
          "result": 5.0956,
          "available": true
        },
        {
          "label": "mismatch_pressure",
          "applied": true,
          "factor": 1.1899,
          "pre": 5.0956,
          "result": 4.8
        },
        {
          "label": "underdog_floor",
          "applied": false,
          "reason": "lambda gap >= 1.25 (clear mismatch)",
          "result": 4.8
        },
        {
          "label": "redistribution",
          "applied": true,
          "factor": 1.0141,
          "input_total": 6.127,
          "result": 4.8675
        },
        {
          "label": "final_clamp",
          "applied": true,
          "pre": 4.8675,
          "result": 4.8,
          "band": [
            0.65,
            4.8
          ]
        },
        {
          "label": "competition_calibration",
          "applied": true,
          "reason": "competition_intensity_calibration",
          "samples": 124,
          "scale": 0.85,
          "observed_total_goals": 2.984,
          "result": 3.863
        }
      ],
      "away_lambda_chain": [
        {
          "label": "league_anchor",
          "value": 1.35
        },
        {
          "label": "duel_blend",
          "raw_xg": 0.6606,
          "n_duels": 6,
          "duel_confidence": 0.75,
          "result": 0.833
        },
        {
          "label": "midfield_factor",
          "factor": 0.962,
          "result": 0.8013
        },
        {
          "label": "formation_bonus",
          "factor": 0.95,
          "result": 0.7612
        },
        {
          "label": "home_advantage",
          "factor": 1.0,
          "result": 0.7612
        },
        {
          "label": "standing_factor",
          "factor": 0.9307,
          "result": 0.7085
        },
        {
          "label": "gk_opposition",
          "factor": 0.8584,
          "result": 0.6081
        },
        {
          "label": "defensive_solidity",
          "factor": 0.9256,
          "result": 0.5629
        },
        {
          "label": "set_piece_bonus",
          "bonus": 0.005,
          "result": 0.5679
        },
        {
          "label": "engine_clamp",
          "pre": 0.5679,
          "result": 0.6,
          "band": [
            0.6,
            4.0
          ],
          "clamped": true
        },
        {
          "label": "quality_gap",
          "applied": true,
          "combined_quality_gap": 0.7394,
          "factor": 0.7634,
          "pre": 0.6,
          "result": 0.65
        },
        {
          "label": "stage_discount",
          "applied": false,
          "factor": 1.0,
          "result": 0.65
        },
        {
          "label": "bench_bonus",
          "side": "away",
          "bonus": 0.1667,
          "result": 0.8167
        },
        {
          "label": "fbref_blend",
          "side": "away",
          "applied": true,
          "blending_weight": 0.228,
          "empirical_lambda": 3.5,
          "result": 1.4285
        },
        {
          "label": "router_clamp",
          "pre": 1.4285,
          "result": 1.429,
          "band": [
            0.65,
            4.8
          ]
        },
        {
          "label": "second_leg",
          "applied": true,
          "factor": 0.97,
          "result": 1.386
        },
        {
          "label": "h2h_adjustment",
          "applied": true,
          "multiplier": 0.9571,
          "pre": 1.386,
          "result": 1.3265,
          "available": true
        },
        {
          "label": "mismatch_pressure",
          "applied": true,
          "factor": 0.9361,
          "pre": 1.3265,
          "result": 1.242
        },
        {
          "label": "underdog_floor",
          "applied": false,
          "reason": "lambda gap >= 1.25 (clear mismatch)",
          "result": 1.242
        },
        {
          "label": "redistribution",
          "applied": true,
          "factor": 1.0141,
          "input_total": 6.127,
          "result": 1.2595
        },
        {
          "label": "final_clamp",
          "applied": true,
          "pre": 1.2595,
          "result": 1.259,
          "band": [
            0.65,
            4.8
          ]
        },
        {
          "label": "competition_calibration",
          "applied": true,
          "reason": "competition_intensity_calibration",
          "samples": 124,
          "scale": 0.85,
          "observed_total_goals": 2.984,
          "result": 1.288
        }
      ],
      "home_bench_lambda_bonus": 0.22,
      "away_bench_lambda_bonus": 0.1667,
      "home_bench_players_modelled": 7,
      "away_bench_players_modelled": 7,
      "fbref_team_priors": {
        "applied": true,
        "home_squad": "FC Barcelona",
        "away_squad": "Deportivo Alavés",
        "home_goals_per90": 3.6666666666666665,
        "away_goals_against_per90": 1.67,
        "away_goals_per90": 1.6666666666666667,
        "home_goals_against_per90": 4.0,
        "home_empirical_lambda": 3.5,
        "away_empirical_lambda": 3.5,
        "blending_weight": 0.228
      },
      "mismatch_score_pressure_applied": true,
      "mismatch_score_pressure_gap": 0.7394,
      "mismatch_favorite_lambda_boost": 1.1899,
      "mismatch_underdog_lambda_factor": 0.9361,
      "pre_mismatch_home_lambda": 5.0956,
      "pre_mismatch_away_lambda": 1.3265,
      "competitive_underdog_floor_applied": false,
      "pre_calibration_home_lambda": 4.4418,
      "pre_calibration_away_lambda": 1.4285,
      "competition_calibration_applied": true,
      "competition_calibration_reason": "competition_intensity_calibration",
      "competition_calibration_samples": 124,
      "competition_observed_total_goals": 2.984,
      "competition_calibration_scale": 0.85,
      "neutral_share_preserved": false,
      "final_home_lambda": 3.863,
      "final_away_lambda": 1.288
    }
  },
  "home_standing": {
    "available": true,
    "team_position": 1,
    "opponent_position": 7,
    "standing_lambda_multiplier": 1.2048,
    "attack_index": 1.762,
    "defense_concede_index": 0.88,
    "form_multiplier": 1.044,
    "team_attack_rate_contextual": 2.63,
    "opp_defense_rate_contextual": 1.32,
    "team_ppg": 2.2,
    "opponent_ppg": 1.26
  },
  "away_standing": {
    "available": true,
    "team_position": 7,
    "opponent_position": 1,
    "standing_lambda_multiplier": 0.9307,
    "attack_index": 0.971,
    "defense_concede_index": 0.88,
    "form_multiplier": 0.956,
    "team_attack_rate_contextual": 1.45,
    "opp_defense_rate_contextual": 1.32,
    "team_ppg": 1.26,
    "opponent_ppg": 2.2
  },
  "xgboost_reasoning": {
    "summary": "Antagonist + XGBoost match analysis for Barcelona vs Alavés. Player statistics regressed using position-specific XGBoost models (G, D, M, F) with 2026-2027 FBref priors. Micro-duels resolved across 4-3-3 vs 4-4-2 (duel lambdas: Home 4.442, Away 1.429). Final calibrated Poisson lambdas: Home 3.863, Away 1.288 (most likely score 3-1).",
    "competition": "LaLiga",
    "model_coverage": {
      "home_starters_count": 11,
      "home_xgboost_players": 10,
      "home_fbref_players": 9,
      "away_starters_count": 11,
      "away_xgboost_players": 11,
      "away_fbref_players": 8,
      "home_bench_modelled": 7,
      "away_bench_modelled": 7
    },
    "team_priors": {
      "applied": true,
      "home_squad": "FC Barcelona",
      "away_squad": "Deportivo Alavés",
      "home_goals_per90": 3.6666666666666665,
      "away_goals_against_per90": 1.67,
      "away_goals_per90": 1.6666666666666667,
      "home_goals_against_per90": 4.0,
      "home_empirical_lambda": 3.5,
      "away_empirical_lambda": 3.5,
      "blending_weight": 0.228
    },
    "pipeline_stages": [
      "1. XGBoost player regressions for volume & event rates with market-value quality scaling",
      "2. Multi-source prior blending (FBref 2026-2027 tables + Sofascore season history)",
      "3. Antagonist formation duel matrix resolving 1v1 and zonal matchups",
      "4. Team-level prior calibration (FBref possession and attack/defense efficiencies)",
      "5. Bivariate Poisson matrix with Dixon-Coles low-score correction"
    ],
    "final_lambdas": {
      "home_lambda": 3.863,
      "away_lambda": 1.288,
      "micro_duel_home_lambda": 4.442,
      "micro_duel_away_lambda": 1.429
    },
    "calibration_and_pressure": {
      "competition_calibration_applied": true,
      "competition_calibration_scale": 0.85,
      "mismatch_pressure_applied": true,
      "underdog_floor_applied": false
    }
  },
  "timestamp": "2026-10-31T13:33:49Z",
  "outcome_baseline": null,
  "stat_limits": {
    "saves": 15.0,
    "goalsPrevented": 5.0,
    "keeperSaveValue": 3.0,
    "interceptionWon": 10.0,
    "totalTackle": 12.0,
    "wonTackle": 10.0,
    "totalClearance": 18.0,
    "aerialWon": 15.0,
    "aerialLost": 12.0,
    "totalPass": 150.0,
    "accuratePass": 145.0,
    "keyPass": 8.0,
    "expectedAssists": 1.5,
    "goalAssist": 4.0,
    "expectedGoals": 3.0,
    "expectedGoalsOnTarget": 6.0,
    "xgot": 6.0,
    "goals": 5.0,
    "totalShots": 12.0,
    "onTargetScoringAttempt": 8.0,
    "shotOffTarget": 8.0,
    "rating": 10.0,
    "minutesPlayed": 130.0,
    "duelWon": 20.0,
    "duelLost": 20.0,
    "ballRecovery": 18.0,
    "fouls": 12.0
  }
}